39 Commits (82f9fd7dce72fa69ddc9cdeff72dbf0c7bf0a930)

Author SHA1 Message Date
Claire 598ae4f2da
Add endpoints for unread notifications count (#31191) 2 years ago
Matt Jankowski 65e82211cd
Rename `cache_*` methods to `preload_*` in controller concern (#30209) 2 years ago
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class (#29606) 2 years ago
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller (#28844) 2 years ago
Eugen Rochko 50b17f7e10
Add notification policies and notification requests (#29366) 2 years ago
Eugen Rochko fdc3ff7c2d
Change notifications API to use a replica (#25874) 3 years ago
Nick Schonning 434770f580
Autofix Rubocop Rails/FindById (#23762) 3 years ago
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697) 3 years ago
Eugen Rochko 21780c0204
Change notifications per page from 15 to 40 in REST API (#23348) 3 years ago
nametoolong 63b379c2d9
Fix N+1 queries from in NotificationsController (#21202) 3 years ago
Eugen Rochko e6ffbfb5e7
Add `types` param to `GET /api/v1/notifications` in REST API (#17767) 4 years ago
abcang 7ab53f221a
Improved performance of notification preloading (#15640) 5 years ago
Eugen Rochko e6b272e5c9
Change REST API to return empty data for suspended accounts (#14765) 6 years ago
Akihiko Odaki 64ef37b89d
Introduce ApplicationController#cache_collection_paginated_by_id (#14677) 6 years ago
Eugen Rochko 0ae5c6312f
Remove useless `respond_to` calls (#13208) 6 years ago
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796) 7 years ago
Eugen Rochko f0fff3eb10
Support min_id-based pagination in REST API (#8736) 8 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929) 8 years ago
Eugen Rochko 33513753b9
Fix unpermitted parameters warning when generating pagination URLs (#6995) 8 years ago
Eugen Rochko 8b2cad5637 Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 9 years ago
Yamagishi Kazutoshi 0a0b9a271a Improve RuboCop rules (compatibility to Code Climate) (#3636) 9 years ago
Matt Jankowski 73540ffe6b Clean up for api/base controller (#3629) 9 years ago
Matt Jankowski 9c7505489f Refactor api/v1/notifications controller (#3470) 9 years ago
Ashley 05ac28f3e4 Added API for single notification dismissal (#2251) 9 years ago
Eugen 2810013b93 API param to exclude notification types from response (#1341) 9 years ago
Eugen b89f007862 Make public timelines API not require user context/app credentials (#1291) 9 years ago
Eugen Rochko de22c202f5 Add counter caches for a large performance increase on API requests 9 years ago
Eugen Rochko 35933167c0 Add counter caches for a large performance increase on API requests 9 years ago
Eugen Rochko 3e9d794ea5 Add tuning documentation, add <content> tags back to most salmons, 9 years ago
Eugen Rochko 905c829179 Improve infinite scroll on notifications 9 years ago
Eugen Rochko 1f5792c834 API now respects ?limit param as long as it's within 2x default limit 9 years ago
Eugen Rochko f392030ab8 Add /api/v1/notifications/clear, non-existing link cards for statuses will 9 years ago
Eugen Rochko 3a4b5961be Method to fetch a single notification 9 years ago
Eugen Rochko 2146ac91a0 Follow requests send e-mail notifications, but are excluded from notifications API 9 years ago
Eugen Rochko 7e90772c92 Unify collection caching code 10 years ago
Eugen Rochko 8a3745a4df Remove stale entries from cache results 10 years ago
Eugen Rochko 4bdb6a0eaf Rename "publish" to "toot" in english locale, fix lightbox showing old image 10 years ago
Eugen Rochko f88ca4a206 Performance improvement for notifications API 10 years ago
Eugen Rochko 52119104b9 Remove some n+1 queries from notifications API 10 years ago
Eugen Rochko da2ef4d676 Adding unified streamable notifications 10 years ago