Commit Graph

65 Commits

Author SHA1 Message Date
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
oSumAtrIX
ef927688a3 fix: Use correct proxy path 2024-07-08 13:49:21 +02:00
oSumAtrIX
c6cacef907 fix: Set body for all eligible request methods 2024-07-08 13:49:21 +02:00
oSumAtrIX
659cce3e03 chore: Move files to correct folders 2024-07-08 13:49:21 +02:00
oSumAtrIX
9d816223fb build: Update dockerfile and env vars 2024-07-08 13:49:20 +02:00
oSumAtrIX
0904390481 refactor: Lint & code cleanup 2024-07-08 13:49:20 +02:00
oSumAtrIX
39f54bbb32 feat: Add proxy for old API 2024-07-08 13:49:20 +02:00
oSumAtrIX
fa2f8b2f86 refactor: Refactor into services and repositories 2024-07-08 13:49:19 +02:00
oSumAtrIX
7a1957d013 perf: Cache patches list instead of just the patches file 2024-07-08 13:49:19 +02:00
oSumAtrIX
6c930fff9a feat: Add /list route 2024-07-08 13:49:19 +02:00
oSumAtrIX
e798a4c070 style: Lint code 2024-07-08 13:49:18 +02:00