Eugen Rochko
20e15ecfb3
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ( #4090 )
7 years ago
Yamagishi Kazutoshi
5da41e0cae
Improve RuboCop rules (compatibility to Code Climate) ( #3636 )
...
08f8de84eb/Gemfile.lock (L38)
Code Climate is using RuboCop v0.46.0.
Change several rules to maintain compatibility.
8 years ago
Matt Jankowski
76f986d07b
Clean up for api/base controller ( #3629 )
...
* Move ApiController to Api/BaseController
* API controllers inherit from Api::BaseController
* Add coverage for various error cases in api/base controller
8 years ago
Matt Jankowski
7b8b5b9f1e
Refactor api/v1/notifications controller ( #3470 )
8 years ago
Ashley
b970cf6988
Added API for single notification dismissal ( #2251 )
...
* Added API backend for notification dismissal
* Added render statement
* Changed statement
8 years ago
Eugen
68f3ce7d0c
API param to exclude notification types from response ( #1341 )
...
* Add exclude_types param to /api/v1/notifications
* Exclude notification types in web UI through exclude_types in the API
8 years ago
Eugen
3047a8da74
Make public timelines API not require user context/app credentials ( #1291 )
...
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix #1156 - respect query params when generating pagination links in API
* Apply pagination fix to more APIs
8 years ago
Eugen Rochko
96e58cf289
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
5157e25aab
Add tuning documentation, add <content> tags back to most salmons,
...
make status pagination headers generation more lax about next page
existing
8 years ago
Eugen Rochko
2efefb380b
Improve infinite scroll on notifications
8 years ago
Eugen Rochko
b4ec84067a
API now respects ?limit param as long as it's within 2x default limit
8 years ago
Eugen Rochko
4d39cc7bf9
Add /api/v1/notifications/clear, non-existing link cards for statuses will
...
now return empty hash instead of throwing a 404 error. When following,
merge into timeline will filter statuses
8 years ago
Eugen Rochko
f4836b9077
Method to fetch a single notification
8 years ago
Eugen Rochko
cef68b9b1c
Follow requests send e-mail notifications, but are excluded from notifications API
...
Better initial state for unlisted/nsfw toggles
8 years ago
Eugen Rochko
bee7aeaea5
Unify collection caching code
8 years ago
Eugen Rochko
666eda7256
Remove stale entries from cache results
8 years ago
Eugen Rochko
c60df460af
Rename "publish" to "toot" in english locale, fix lightbox showing old image
...
before loading new one, cache notifications API, fix missing follow button
on public profiles
8 years ago
Eugen Rochko
0a68464995
Performance improvement for notifications API
8 years ago
Eugen Rochko
4d100a1b36
Remove some n+1 queries from notifications API
8 years ago
Eugen Rochko
38025dfea3
Adding unified streamable notifications
8 years ago