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 )
08f8de84eb/Gemfile.lock (L38)
Code Climate is using RuboCop v0.46.0.
Change several rules to maintain compatibility.
7 years ago
Matt Jankowski
73540ffe6b
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
7 years ago
Matt Jankowski
9c7505489f
Refactor api/v1/notifications controller ( #3470 )
7 years ago
Ashley
05ac28f3e4
Added API for single notification dismissal ( #2251 )
* Added API backend for notification dismissal
* Added render statement
* Changed statement
7 years ago
Eugen
2810013b93
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
7 years ago
Eugen
b89f007862
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
7 years ago
Eugen Rochko
de22c202f5
Add counter caches for a large performance increase on API requests
7 years ago
Eugen Rochko
35933167c0
Add counter caches for a large performance increase on API requests
7 years ago
Eugen Rochko
3e9d794ea5
Add tuning documentation, add <content> tags back to most salmons,
make status pagination headers generation more lax about next page
existing
7 years ago
Eugen Rochko
905c829179
Improve infinite scroll on notifications
7 years ago
Eugen Rochko
1f5792c834
API now respects ?limit param as long as it's within 2x default limit
7 years ago
Eugen Rochko
f392030ab8
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
7 years ago
Eugen Rochko
3a4b5961be
Method to fetch a single notification
7 years ago
Eugen Rochko
2146ac91a0
Follow requests send e-mail notifications, but are excluded from notifications API
Better initial state for unlisted/nsfw toggles
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
before loading new one, cache notifications API, fix missing follow button
on public profiles
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