34 Commits (2cbdff97cedcf87f567effa782e0314c849334c6)

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