Commit Graph

17 Commits (03ccbb053b06bb196babfbf8c97af9fff4d73198)

Author SHA1 Message Date
Claire e82696a4b9 Fix /api/v1/instance/domain_blocks being unconditionally cached () 2023-04-26 11:42:47 +02:00
Claire 0cfbe4c4af Fix some user-independent endpoints potentially reading session cookies () 2023-04-25 22:14:44 +02:00
Eugen Rochko b61ff36351 Change unauthenticated responses to be cached in REST API () 2023-04-25 15:41:34 +02:00
Eugen Rochko 3ca64638d4 Refactor `Cache-Control` and `Vary` definitions () 2023-04-19 16:07:29 +02:00
Christian Schmidt 7583523bf0 Replace `Status#translatable?` with language matrix in separate endpoint () 2023-03-16 11:07:24 +01:00
Eugen Rochko e376f33207 Change about page to be mounted in the web UI () 2022-10-13 14:42:37 +02:00
Eugen Rochko 378e00b59c Change privacy policy to be rendered in web UI, add REST API ()
Source string no longer localized, Markdown instead of raw HTML
2022-10-08 06:01:11 +02:00
Eugen Rochko cad446611c Add graphs and retention metrics to admin dashboard () 2021-10-14 20:44:59 +02:00
Eugen Rochko 4930e71ae7 Add server rules () 2021-02-21 19:50:12 +01:00
Eugen Rochko df8874b24e Fix performance on instances list in admin UI ()
- Reduce duplicate queries
- Remove n+1 queries
- Add accounts count to detailed view
- Add separate action log entry for updating existing domain blocks
2020-12-14 09:06:34 +01:00
Eugen Rochko 9619521459 Remove useless `respond_to` calls () 2020-03-06 01:29:38 +01:00
Eugen Rochko 6b96a6dd15 Fix `GET /api/v1/instance` REST APIs being unavailable in secure mode () 2019-10-06 22:11:29 +02:00
Eugen Rochko 825dc3ca22 Add whitelist mode () 2019-07-30 11:10:46 +02:00
Eugen Rochko 79b9eee938 Add (back) rails-level JSON caching () 2019-07-21 22:32:16 +02:00
ThibG 4c4f9d78fd Explicitly disable storage of REST API results ()
Fixes 
2019-05-03 20:39:19 +02:00
TheKinrar 3491c5e145 Represent numbers by strings in instance activity API ()
Fixes .
2018-01-05 22:38:33 +01:00
Eugen Rochko 9427823d5c Add more instance stats APIs ()
* Add GET /api/v1/instance/peers API to reveal known domains

* Add GET /api/v1/instance/activity API

* Make new APIs disableable, exclude private statuses from activity stats

* Fix code style issue

* Fix week timestamps
2017-12-29 19:52:04 +01:00