]> cat aescling's git repositories - mastodon.git/commit
Add conversations API (#8832)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 7 Oct 2018 21:44:58 +0000 (23:44 +0200)
committerGitHub <noreply@github.com>
Sun, 7 Oct 2018 21:44:58 +0000 (23:44 +0200)
commit774ac473736cbf348827cf6d861e7fbbb72d7623
treec8ce87b43cd8fa58f7124a8a6baf93a71cb274e8
parent25744d43b0c9ae58227e1e46ac9e2b33a7944925
Add conversations API (#8832)

* Add conversations API

* Add web UI for conversations

* Add test for conversations API

* Add tests for ConversationAccount

* Improve web UI

* Rename ConversationAccount to AccountConversation

* Remove conversations on block and mute

* Change last_status_id to be a denormalization of status_ids

* Add optimistic locking
33 files changed:
app/controllers/api/v1/conversations_controller.rb [new file with mode: 0644]
app/javascript/mastodon/actions/conversations.js [new file with mode: 0644]
app/javascript/mastodon/actions/streaming.js
app/javascript/mastodon/actions/timelines.js
app/javascript/mastodon/components/display_name.js
app/javascript/mastodon/features/direct_timeline/components/conversation.js [new file with mode: 0644]
app/javascript/mastodon/features/direct_timeline/components/conversations_list.js [new file with mode: 0644]
app/javascript/mastodon/features/direct_timeline/containers/conversation_container.js [new file with mode: 0644]
app/javascript/mastodon/features/direct_timeline/containers/conversations_list_container.js [new file with mode: 0644]
app/javascript/mastodon/features/direct_timeline/index.js
app/javascript/mastodon/reducers/conversations.js [new file with mode: 0644]
app/javascript/mastodon/reducers/index.js
app/javascript/mastodon/reducers/notifications.js
app/javascript/styles/mastodon/components.scss
app/lib/inline_renderer.rb
app/models/account_conversation.rb [new file with mode: 0644]
app/models/status.rb
app/serializers/rest/conversation_serializer.rb [new file with mode: 0644]
app/services/after_block_service.rb
app/services/fan_out_on_write_service.rb
app/services/mute_service.rb
app/services/notify_service.rb
app/workers/block_worker.rb
app/workers/mute_worker.rb [new file with mode: 0644]
app/workers/push_conversation_worker.rb [new file with mode: 0644]
config/environments/development.rb
config/routes.rb
db/migrate/20180929222014_create_account_conversations.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/api/v1/conversations_controller_spec.rb [new file with mode: 0644]
spec/fabricators/conversation_account_fabricator.rb [new file with mode: 0644]
spec/models/account_conversation_spec.rb [new file with mode: 0644]
streaming/index.js