Commit Graph

75 Commits

Author SHA1 Message Date
oSumAtrIX
1e3e46ff4f fix: Respond with JSON when returning token 2024-09-27 20:19:27 +02:00
oSumAtrIX
977d252497 feat: Improve response info description wording 2024-09-27 19:18:32 +02:00
oSumAtrIX
96bcd7719a chore: Remove unnecessary JWT token field 2024-09-27 19:16:34 +02:00
oSumAtrIX
c26e129bda fix: Expire token relative to current date time instead of just time 2024-09-27 14:16:45 +02:00
oSumAtrIX
491533d3f4 feat: Add missing parameter and response documentation 2024-09-09 11:59:03 +02:00
oSumAtrIX
9f0eb5bfe9 fix: Add back deprecated routes for backwards compatibility 2024-09-06 12:25:10 +04:00
oSumAtrIX
32bedb7fad fix: Make sure, expected paths in configuration exist 2024-09-06 11:40:10 +04:00
Ushie
74e53891a1 fix: Return correct GPG keys url (#187)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
2024-09-04 17:18:21 +02:00
oSumAtrIX
df116bd221 feat: Respond to all ping request methods 2024-08-24 22:32:37 +02:00
oSumAtrIX
4e8e83db1a feat: Move /latest routes to parent
There is only ever current releases, so a latest route doesn't make sense.
2024-08-17 01:01:33 +02:00
oSumAtrIX
e113daa089 build: Bump dependencies to correctly serialize patches as JSON 2024-08-17 00:53:13 +02:00
oSumAtrIX
dfe6df3ef6 feat: Convert static about file to documented route & add key parameter to about route 2024-07-15 03:12:39 +02:00
oSumAtrIX
39d0b78c79 feat: Add static file paths to remove env specific files in resources 2024-07-15 02:30:21 +02:00
oSumAtrIX
435beae383 fix: Don't encode public keys & instead send them raw 2024-07-15 01:52:16 +02:00
oSumAtrIX
541783d959 fix: Fix OpenAPI docs casing of a word 2024-07-13 15:38:28 +02:00
oSumAtrIX
c40d50c013 feat: Add bio field for team members 2024-07-13 02:47:03 +02:00
oSumAtrIX
f814fe5825 feat: Add manager route 2024-07-13 01:34:42 +02:00
oSumAtrIX
ad7d4b226f feat: Add configuration to specify public key id 2024-07-13 00:28:16 +02:00
oSumAtrIX
97a5d119ec fix: Only list public members 2024-07-13 00:28:16 +02:00
oSumAtrIX
2ade550d58 fix: Move robots.txt to root 2024-07-13 00:28:15 +02:00
oSumAtrIX
19ebc827bf feat: List more repository contributors 2024-07-11 22:53:27 +02:00
oSumAtrIX
7e99e49af2 fix: Move old API endpoint configuration from env to configuration file 2024-07-11 04:27:02 +02:00
oSumAtrIX
2ed4cf3b40 fix: Configure CORS correctly 2024-07-11 03:50:48 +02:00
oSumAtrIX
a2c97dd655 chore: Use Kotlin for ReVanced API (#169)
This commit converts the entire project to a KTor project written in Kotlin.
Various APIs have been updated, removed, or changed.
A proxy is present to allow migration between the old and this API, which can serve requests to endpoints from the old API.
2024-07-11 01:55:59 +02:00
oSumAtrIX
e8c2488bc6 fix: Add uri to rate limiter request key 2024-07-08 13:49:30 +02:00
oSumAtrIX
a6008a2fb6 fix: Add missing auth realm 2024-07-08 13:49:30 +02:00
oSumAtrIX
d4ac47194e fix: Add missing OpenAPI docs 2024-07-08 13:49:30 +02:00
oSumAtrIX
89e2acfebb feat: Use auth digest instead of basic auth 2024-07-08 13:49:30 +02:00
oSumAtrIX
89a577e91a fix: Finish DB Model to API model transformation inside transaction 2024-07-08 13:49:29 +02:00
oSumAtrIX
1ca9952de8 perf: Cache latest announcements for constant access time 2024-07-08 13:49:29 +02:00
oSumAtrIX
a7d1892343 perf: Make async db transactions and use List instead of Set 2024-07-08 13:49:29 +02:00
oSumAtrIX
d4b228faa7 Use correct server url in OpenAPI spec 2024-07-08 13:49:29 +02:00
oSumAtrIX
d9c6e521a6 Rename field 2024-07-08 13:49:28 +02:00
oSumAtrIX
7f8f1ff589 Use IO context for IO operations 2024-07-08 13:49:28 +02:00
oSumAtrIX
e9d1c8fae0 fix: Encode defaults to fix OpenAPI spec 2024-07-08 13:49:28 +02:00
oSumAtrIX
7c20e0fe99 build: Update Kompendium 2024-07-08 13:49:27 +02:00
oSumAtrIX
d92c1cf373 Add swagger and redoc routes 2024-07-08 13:49:27 +02:00
oSumAtrIX
4a685a2b53 Send signatures and verify signature of patches file before loading it 2024-07-08 13:49:26 +02:00
oSumAtrIX
f9cae1ea56 fix: Remove punctuation 2024-07-08 13:49:26 +02:00
oSumAtrIX
cd5d57f8f8 feat: Add local ReVanced API server 2024-07-08 13:49:26 +02:00
oSumAtrIX
17ecf58e55 fix: Fix spelling mistake 2024-07-08 13:49:26 +02:00
oSumAtrIX
6ea63be490 feat: Add OpenAPI docs and cache to routes 2024-07-08 13:49:26 +02:00
oSumAtrIX
205bcde77a feat: Setup cors and cache 2024-07-08 13:49:25 +02:00
oSumAtrIX
81cc5968d4 refactor: Move files to correct folder 2024-07-08 13:49:25 +02:00
oSumAtrIX
80403f7130 feat: Add rate limiting to routes 2024-07-08 13:49:25 +02:00
oSumAtrIX
b9671703be feat: Add backend rate limit route 2024-07-08 13:49:25 +02:00
oSumAtrIX
71f58cf352 feat: Add GPG key to team members 2024-07-08 13:49:25 +02:00
oSumAtrIX
6a9f0cadac feat: Move config file to CLI argument 2024-07-08 13:49:22 +02:00
oSumAtrIX
9825865bbc feat: Change default port to avoid using existing port 2024-07-08 13:49:22 +02:00
oSumAtrIX
c23cd5cdad feat: Use Jetty instead of Netty 2024-07-08 13:49:21 +02:00