49 Commits (0bfa4a990fe837705d19ff49c5a0b6745dbe50ac)

Author SHA1 Message Date
Claire 4ed09276d5 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning 434770f580
Autofix Rubocop Rails/FindById (#23762)
2 years ago
Claire 7452a95998 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Nick Schonning e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697)
2 years ago
Claire aeacebb3d7 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 21780c0204
Change notifications per page from 15 to 40 in REST API (#23348)
2 years ago
Claire f3a4d57be1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
nametoolong 63b379c2d9
Fix N+1 queries from in NotificationsController (#21202)
2 years ago
Claire 6dd7180f05
Fix incorrect permission check for notifications destroy/dismiss endpoints (#1787)
3 years ago
Claire c79a03b319 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Eugen Rochko e6ffbfb5e7
Add `types` param to `GET /api/v1/notifications` in REST API (#17767)
3 years ago
Claire 4d40685850 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
abcang 7ab53f221a
Improved performance of notification preloading (#15640)
4 years ago
Thibaut Girka a7aedebc31 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko e6b272e5c9
Change REST API to return empty data for suspended accounts (#14765)
4 years ago
Thibaut Girka 8c3c27bf06 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Akihiko Odaki 64ef37b89d
Introduce ApplicationController#cache_collection_paginated_by_id (#14677)
4 years ago
Thibaut Girka c790ecb14d Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 0ae5c6312f
Remove useless `respond_to` calls (#13208)
5 years ago
Thibaut Girka c0dc247bce Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Paul Woolcock 0c933c1b8c Add `account_id` param to `GET /api/v1/notifications` (#10796)
6 years ago
Thibaut Girka c91d9b7389 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko f0fff3eb10
Support min_id-based pagination in REST API (#8736)
6 years ago
Thibaut Girka d392020da6 Merge branch 'master' into glitch-soc/tentative-merge
6 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929)
6 years ago
David Yip eb39db7f93
Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Eugen Rochko 33513753b9
Fix unpermitted parameters warning when generating pagination URLs (#6995)
7 years ago
Ondřej Hruška 604654ccb4 New notification cleaning mode (#89)
7 years ago
Ondřej Hruška 75aafc932e Added buttons and menu items to dismiss individual notifications (#76)
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