]> cat aescling's git repositories - mastodon.git/commit
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler...
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 24 Jan 2017 23:49:08 +0000 (00:49 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 25 Jan 2017 00:29:16 +0000 (01:29 +0100)
commit999cde94a6a2d67cf36160365378951d3b55b868
tree51d86739522f79ee545f7c821507997f0a4914cb
parentf8da0dd4907490f57cb14b052b767c66c95c4db3
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
23 files changed:
app/assets/javascripts/components/actions/compose.jsx
app/assets/javascripts/components/components/status_content.jsx
app/assets/javascripts/components/features/compose/components/compose_form.jsx
app/assets/javascripts/components/features/compose/components/upload_form.jsx
app/assets/javascripts/components/reducers/compose.jsx
app/assets/javascripts/extras.jsx
app/assets/stylesheets/stream_entries.scss
app/controllers/api/v1/statuses_controller.rb
app/helpers/atom_builder_helper.rb
app/lib/formatter.rb
app/lib/status_length_validator.rb [new file with mode: 0644]
app/models/status.rb
app/services/fetch_link_card_service.rb
app/services/post_status_service.rb
app/services/process_feed_service.rb
app/services/process_hashtags_service.rb
app/validators/status_length_validator.rb [deleted file]
app/views/api/v1/statuses/_show.rabl
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
config/locales/en.yml
db/migrate/20170112041538_add_spoiler_to_statuses.rb [deleted file]
db/schema.rb