1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-25 15:46:24 +09:00
mastodon/app
ThibG a24605961a Fixes/do not override timestamps (#7336)
* Revert "Fixes/do not override timestamps (#7331)"

This reverts commit 581a5c9d29.

* Document Snowflake ID corner-case a bit more

Snowflake IDs are used for two purposes: making object identifiers harder to
guess and ensuring they are in chronological order. For this reason, they
are based on the `created_at` attribute of the object.

Unfortunately, inserting items with older snowflakes IDs will break the
assumption of consumers of the paging APIs that new items will always have
a greater identifier than the last seen one.

* Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
2018-05-03 23:02:46 +02:00
..
chewy Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
controllers Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
helpers Add el and te (#7332) 2018-05-03 15:54:10 +02:00
javascript Do not re-position scroll when loading more (inserting items from below) (#7344) 2018-05-03 22:32:05 +02:00
lib Fixes/do not override timestamps (#7336) 2018-05-03 23:02:46 +02:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Fixes/do not override timestamps (#7336) 2018-05-03 23:02:46 +02:00
policies Fix n+1 queries in StatusThreadingConcern (#7321) 2018-05-03 10:41:58 +02:00
presenters Redesign landing page (again) (#6486) 2018-02-22 01:03:48 +01:00
serializers Allow updating bio fields via PUT /api/v1/accounts/update_credentials (#7288) 2018-05-02 15:57:37 +02:00
services Improve PostStatusService performance (#7317) 2018-05-02 22:10:57 +02:00
validators Implement the ability for instances to define a list of disallowed hashtags (#7176) 2018-04-23 23:52:58 +02:00
views Serialize webfinger XML with Ox instead of Nokogiri (#7319) 2018-05-02 22:28:46 +02:00
workers Fixes/do not override timestamps (#7336) 2018-05-03 23:02:46 +02:00