mastodon/app
Lex Alexander b8bae96647 Retoot count increases without reason (#5363)
* Retoot count increases without reason

-The store_uri method for Statuses was being called on after_create and causing reblogs to be incremented twice.
-This calls it when the transaction is finished by using after_create_commit.
-Fixes #4916.

* Added test case for after_create_commit callback for checking reblog count.

* Rewrote test to keep original, but added one for only the after_create_commit callback.
2017-10-13 02:52:09 +02:00
..
controllers sign_in and sign_up views present og meta infos (#5308) 2017-10-11 00:52:25 +02:00
helpers Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
javascript Reduce discrepancies between server and client-side character count (#5360) 2017-10-12 23:26:34 +02:00
lib Fix #5271 - Fix missing attribute in remove_from_feed (#5277) 2017-10-08 21:55:34 +02:00
mailers Supply @instance variable in password reset instructions / password change mailer (#5215) 2017-10-04 13:25:24 +02:00
models Retoot count increases without reason (#5363) 2017-10-13 02:52:09 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Compact status_ids in StatusRelationshipsPresenter (#5073) 2017-09-24 11:18:32 +02:00
serializers Fix #5178 - Use object URI only in Announce, instead of embedding (#5266) 2017-10-08 14:41:59 +02:00
services Fix some failure cases on FetchLinkCardService (#5347) 2017-10-12 12:01:32 +02:00
validators Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
views fix presented og:url is incorrect (#5320) 2017-10-11 19:22:21 +02:00
workers Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00