]> cat aescling's git repositories - mastodon.git/commit
Fix regressions from #2683 (#2970)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 10 May 2017 22:28:10 +0000 (00:28 +0200)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 22:28:10 +0000 (00:28 +0200)
commit72698bc3b49925a2b2955f32e5a562c1eecd729b
tree747cf619113cc7377a4e48eaf504892b45a2696f
parent65027657ec5595131bfd82fce1458c9e2cd1afc6
Fix regressions from #2683 (#2970)

* Fix regressions from #2683

Properly format spoiler text HTML, while keeping old logic for blankness intact
Process hashtags and mentions in spoiler text
Format spoiler text for Atom
Change "show more" toggle into a button instead of anchor
Fix style regression on dropdowns for detailed statuses

* Fix lint issue

* Convert spoiler text to plaintext in desktop notifications
14 files changed:
app/javascript/mastodon/actions/notifications.js
app/javascript/mastodon/components/status_action_bar.js
app/javascript/mastodon/components/status_content.js
app/javascript/mastodon/features/status/components/action_bar.js
app/javascript/packs/public.js
app/javascript/styles/components.scss
app/lib/atom_serializer.rb
app/lib/formatter.rb
app/services/process_hashtags_service.rb
app/services/process_mentions_service.rb
app/views/api/v1/statuses/_show.rabl
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
spec/lib/formatter_spec.rb