37 Commits (121c7a784718a18ad3789afcd9e546abfea09c6d)

Author SHA1 Message Date
Claire 43eff898a0
Prepare Mastodon for Rails 6 (#15911) 4 years ago
abcang 7ab53f221a
Improved performance of notification preloading (#15640) 4 years ago
ThibG 54d4e5252b
Use Rails' index_by where it makes sense (#15542) 4 years ago
luigi 087ed84367
Optimize map { ... }.compact calls (#15513) 4 years ago
Eugen Rochko 974b1b79ce
Add option to be notified when a followed user posts (#13546) 4 years ago
Eugen Rochko e6b272e5c9
Change REST API to return empty data for suspended accounts (#14765) 4 years ago
ThibG 911cc14481 Add follow_request notification type (#12198) 5 years ago
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796) 6 years ago
Eugen Rochko f1bc90ab50
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401) 6 years ago
ThibG 3a92885a86 Support pushing and receiving updates to poll tallies (#10209) 6 years ago
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table (#9295) 6 years ago
Eugen Rochko 8069fd636b
Remove intermediary arrays when creating hash maps from results (#9291) 6 years ago
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950) 6 years ago
Eugen Rochko 83746b6364
Remove annoying Notification#cache_ids scope warning (#8333) 6 years ago
Yamagishi Kazutoshi 9613a53cb3 Update dependencies for Ruby (2018-04-23) (#7237) 7 years ago
Yamagishi Kazutoshi 50529cbceb Upgrade Rails to version 5.2.0 (#5898) 7 years ago
Akihiko Odaki b2a4ffd3a9 Change columns in notifications nonnullable (#6764) 7 years ago
abcang 298c81c00f Clear account cache of notification target_status (#6442) 7 years ago
Yamagishi Kazutoshi 238de58e65 Change belongs_to_required_by_default to true (#5888) 7 years ago
abcang 53e95c4efc Fix N+1 at notification (#5752) 7 years ago
Eugen Rochko 24cafd73a2
Lists (#5703) 7 years ago
Daniel Hunsaker cf7e840990 Update model annotations to use BIGINT for IDs (#5461) 7 years ago
Eugen Rochko b8db386e05 Fix UserTrackingConcern firing on every request, optimize some queries (#5368) 7 years ago
Matt Jankowski 2212dc4aaa Update Rails to version 5.1.1 (#3121) 8 years ago
Yamagishi Kazutoshi bca334cd28 Remove arguments in association reader (#3305) 8 years ago
alpaca-tc 05b72368ed Fixes slow query in notifications api (#2851) 8 years ago
yhirano 298796cc7b annotate models (#2697) 8 years ago
Eugen 2810013b93 API param to exclude notification types from response (#1341) 8 years ago
Eugen Rochko cc5c1e5feb Removed accidental n+1 query from notifications, updated some deps, 8 years ago
Eugen cea9fb31fe Mitigate inconsistent notifications 8 years ago
Eugen Rochko 2146ac91a0 Follow requests send e-mail notifications, but are excluded from notifications API 8 years ago
Eugen Rochko b14b5e3b44 Improve notification model 8 years ago
Eugen Rochko 816284d739 Fix #248 - Reload all accounts when fetching from cache 8 years ago
Eugen Rochko a21bcac9e1 Further abstract caching for includes 8 years ago
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously 8 years ago
Eugen Rochko 52119104b9 Remove some n+1 queries from notifications API 8 years ago
Eugen Rochko da2ef4d676 Adding unified streamable notifications 8 years ago