237 Commits

Author SHA1 Message Date
oSumAtrIX
170edd3157
build: Bump Gradle 2024-08-17 00:20:07 +02:00
semantic-release-bot
d18e09cba3 chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/ReVanced/revanced-api/compare/v1.0.0...v1.1.0) (2024-07-15)

### Bug Fixes

* Don't encode public keys & instead send them raw ([435beae](435beae383))

### Features

* Add static file paths to remove env specific files in resources ([39d0b78](39d0b78c79))
* Convert static about file to documented route & add key parameter to about route ([dfe6df3](dfe6df3ef6))
v1.1.0
2024-07-15 18:20:46 +00:00
oSumAtrIX
bc919b85f5
chore: Merge branch dev to main (#183) 2024-07-15 20:18:36 +02:00
semantic-release-bot
665de7bcd0 chore(release): 1.1.0-dev.1 [skip ci]
# [1.1.0-dev.1](https://github.com/ReVanced/revanced-api/compare/v1.0.0...v1.1.0-dev.1) (2024-07-15)

### Bug Fixes

* Don't encode public keys & instead send them raw ([435beae](435beae383))

### Features

* Add static file paths to remove env specific files in resources ([39d0b78](39d0b78c79))
* Convert static about file to documented route & add key parameter to about route ([dfe6df3](dfe6df3ef6))
v1.1.0-dev.1
2024-07-15 01:15:03 +00: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
semantic-release-bot
03fb28cd10 chore(release): 1.0.0 [skip ci]
# 1.0.0 (2024-07-13)

### Bug Fixes

* Add missing auth realm ([a6008a2](a6008a2fb6))
* Add missing OpenAPI docs ([d4ac471](d4ac47194e))
* add required headers ([#8](https://github.com/ReVanced/revanced-api/issues/8)) ([f4c10dc](f4c10dc064))
* Add uri to rate limiter request key ([e8c2488](e8c2488bc6))
* **ci:** add git dep ([d61ddcc](d61ddcc8ac))
* **ci:** fix git deps ([5564c2d](5564c2da09))
* Configure CORS correctly ([2ed4cf3](2ed4cf3b40))
* Correct env var comment ([9d7b049](9d7b049349))
* Correct persistence directory name ([6238e33](6238e33c42))
* **deps:** fix requirements file ([5f0ab26](5f0ab26ced))
* **deps:** missing pydantic ([089f29e](089f29e95f))
* **deps:** update poetry.lock ([b2c2fa7](b2c2fa7136))
* Don't configure server ([280dbc3](280dbc30f6))
* Encode defaults to fix OpenAPI spec ([e9d1c8f](e9d1c8fae0))
* Finish DB Model to API model transformation inside transaction ([89a577e](89a577e91a))
* fix codeql issues ([b5568db](b5568db79f))
* Fix OpenAPI docs casing of a word ([541783d](541783d959))
* Fix spelling mistake ([17ecf58](17ecf58e55))
* Increase pool size to mitigate overflow ([#113](https://github.com/ReVanced/revanced-api/issues/113)) ([5aed3d6](5aed3d6ce6))
* Move old API endpoint configuration from env to configuration file ([7e99e49](7e99e49af2))
* Move robots.txt to root ([2ade550](2ade550d58))
* Only list public members ([97a5d11](97a5d119ec))
* Remove punctuation ([f9cae1e](f9cae1ea56))
* remove revanced-api from tools map ([4800ee9](4800ee96a8))
* Serialize response correctly ([1dccfd2](1dccfd2def))
* Set body for all eligible request methods ([c6cacef](c6cacef907))
* unversioned endpoints placement under v0 should be at root ([8b29f49](8b29f49805))
* Use correct persistance folder path ([500a589](500a5896e3))
* Use correct proxy path ([ef92768](ef927688a3))
* Use correct resource path ([4dffd32](4dffd32c99))
* Use multidict 6.0.5, add setup tools as dev dependency ([af19446](af19446a67))

### Features

* Add `/list` route ([6c930ff](6c930fff9a))
* Add `preferred` field to socials ([#100](https://github.com/ReVanced/revanced-api/issues/100)) ([24c8f60](24c8f60a70))
* Add announcements API ([42f7318](42f731854d))
* Add announcements endpoints ([#91](https://github.com/ReVanced/revanced-api/issues/91)) ([8583e2a](8583e2a2bb))
* Add backend rate limit route ([b967170](b9671703be))
* Add bio field for team members ([c40d50c](c40d50c013))
* Add CLI ([a988ffb](a988ffbd23))
* Add configuration to specify public key id ([ad7d4b2](ad7d4b226f))
* add download_count to releases ([#118](https://github.com/ReVanced/revanced-api/issues/118)) ([665b913](665b913c04))
* add friendly crypto names ([#53](https://github.com/ReVanced/revanced-api/issues/53)) ([7b70780](7b707807cc))
* Add GPG key to team members ([71f58cf](71f58cf352))
* Add local ReVanced API server ([cd5d57f](cd5d57f8f8))
* Add manager route ([f814fe5](f814fe5825))
* add member gpg keys ([80cdb3b](80cdb3be6a))
* Add OpenAPI docs and cache to routes ([6ea63be](6ea63be490))
* add preferred field to donations ([#56](https://github.com/ReVanced/revanced-api/issues/56)) ([6b705b1](6b705b1054))
* Add proxy for old API ([39f54bb](39f54bbb32))
* Add rate limiting to routes ([80403f7](80403f7130))
* added branding ([#104](https://github.com/ReVanced/revanced-api/issues/104)) ([edcad62](edcad620f2))
* API Fixes and Adjustments ([#23](https://github.com/ReVanced/revanced-api/issues/23)) ([b18097e](b18097e030))
* API rewrite ([#2](https://github.com/ReVanced/revanced-api/issues/2)) ([45ef337](45ef33741c))
* better versioning engine ([8d36663](8d36663610))
* Change default port to avoid using existing port ([9825865](9825865bbc))
* Disallow all web crawlers ([#111](https://github.com/ReVanced/revanced-api/issues/111)) ([b69acfa](b69acfa8d7))
* Do not ignore, if `.env` file is missing ([24c6f4e](24c6f4e435))
* favicon ([a8126d7](a8126d785f))
* hostname filtering ([5482d9c](5482d9c442))
* Implement more routes and add configuration ([9999b24](9999b242ad))
* Improve routing paths ([df999c0](df999c00c4))
* info endpoint ([#71](https://github.com/ReVanced/revanced-api/issues/71)) ([9bbd056](9bbd056c1b))
* Initialize project ([8ae50b5](8ae50b543e))
* List more repository contributors ([19ebc82](19ebc827bf))
* Load system properties ([e373d26](e373d26998))
* manager-related endpoints ([3a128c4](3a128c4661))
* Move config file to CLI argument ([6a9f0ca](6a9f0cadac))
* **observability:** sentry ([99e645c](99e645c5f5))
* project init ([856fc66](856fc66717))
* remove appinfo capabilities ([10f5225](10f5225f51))
* remove codecov tests ([9c69fa3](9c69fa3b92))
* Remove Swagger and OpenAPI ([af0b086](af0b0865f4))
* Setup CI/CD ([c736a75](c736a75d92))
* Setup cors and cache ([205bcde](205bcde77a))
* Show default CLI option values ([db0bfc3](db0bfc3be5))
* Use auth digest instead of basic auth ([89e2acf](89e2acfebb))
* Use Jetty instead of Netty ([c23cd5c](c23cd5cdad))
* use objects for /socials and /donations ([#51](https://github.com/ReVanced/revanced-api/issues/51)) ([d4eac5c](d4eac5c757))
* use objects for contact field ([5922830](5922830e0b))

### Performance Improvements

* Cache latest announcements for constant access time ([1ca9952](1ca9952de8))
* Cache patches list instead of just the patches file ([7a1957d](7a1957d013))
* Make async db transactions and use List instead of Set ([a7d1892](a7d1892343))
v1.0.0
2024-07-13 14:30:19 +00:00
oSumAtrIX
7214214d42
chore: Merge branch dev to main (#180) 2024-07-13 16:28:12 +02:00
semantic-release-bot
236e7e7907 chore(release): 1.0.0-dev.7 [skip ci]
# [1.0.0-dev.7](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.6...v1.0.0-dev.7) (2024-07-13)

### Bug Fixes

* Fix OpenAPI docs casing of a word ([541783d](541783d959))
v1.0.0-dev.7
2024-07-13 13:40:16 +00:00
oSumAtrIX
541783d959
fix: Fix OpenAPI docs casing of a word 2024-07-13 15:38:28 +02:00
semantic-release-bot
db41081155 chore(release): 1.0.0-dev.6 [skip ci]
# [1.0.0-dev.6](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.5...v1.0.0-dev.6) (2024-07-13)

### Features

* Add bio field for team members ([c40d50c](c40d50c013))
v1.0.0-dev.6
2024-07-13 00:48:57 +00:00
oSumAtrIX
c40d50c013
feat: Add bio field for team members 2024-07-13 02:47:03 +02:00
semantic-release-bot
b3c82535eb chore(release): 1.0.0-dev.5 [skip ci]
# [1.0.0-dev.5](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.4...v1.0.0-dev.5) (2024-07-12)

### Bug Fixes

* Move robots.txt to root ([2ade550](2ade550d58))
* Only list public members ([97a5d11](97a5d119ec))

### Features

* Add configuration to specify public key id ([ad7d4b2](ad7d4b226f))
* Add manager route ([f814fe5](f814fe5825))
v1.0.0-dev.5
2024-07-12 23:36:46 +00:00
oSumAtrIX
f814fe5825
feat: Add manager route 2024-07-13 01:34:42 +02:00
oSumAtrIX
a34b7c8c31
ci: Correct usage of repository variable 2024-07-13 00:46:19 +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
semantic-release-bot
f754ebb25c chore(release): 1.0.0-dev.4 [skip ci]
# [1.0.0-dev.4](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.3...v1.0.0-dev.4) (2024-07-11)

### Features

* List more repository contributors ([19ebc82](19ebc827bf))
v1.0.0-dev.4
2024-07-11 20:55:17 +00:00
oSumAtrIX
19ebc827bf
feat: List more repository contributors 2024-07-11 22:53:27 +02:00
semantic-release-bot
e92fbdf1f4 chore(release): 1.0.0-dev.3 [skip ci]
# [1.0.0-dev.3](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.2...v1.0.0-dev.3) (2024-07-11)

### Bug Fixes

* Move old API endpoint configuration from env to configuration file ([7e99e49](7e99e49af2))
v1.0.0-dev.3
2024-07-11 02:28:50 +00:00
oSumAtrIX
7e99e49af2
fix: Move old API endpoint configuration from env to configuration file 2024-07-11 04:27:02 +02:00
semantic-release-bot
8f77736a69 chore(release): 1.0.0-dev.2 [skip ci]
# [1.0.0-dev.2](https://github.com/ReVanced/revanced-api/compare/v1.0.0-dev.1...v1.0.0-dev.2) (2024-07-11)

### Bug Fixes

* Configure CORS correctly ([2ed4cf3](2ed4cf3b40))
v1.0.0-dev.2
2024-07-11 01:52:59 +00:00
oSumAtrIX
2ed4cf3b40
fix: Configure CORS correctly 2024-07-11 03:50:48 +02:00
semantic-release-bot
a7666ba29d chore(release): 1.0.0-dev.1 [skip ci]
# 1.0.0-dev.1 (2024-07-10)

### Bug Fixes

* Add missing auth realm ([a6008a2](a6008a2fb6))
* Add missing OpenAPI docs ([d4ac471](d4ac47194e))
* add required headers ([#8](https://github.com/ReVanced/revanced-api/issues/8)) ([f4c10dc](f4c10dc064))
* Add uri to rate limiter request key ([e8c2488](e8c2488bc6))
* **ci:** add git dep ([d61ddcc](d61ddcc8ac))
* **ci:** fix git deps ([5564c2d](5564c2da09))
* Correct env var comment ([9d7b049](9d7b049349))
* Correct persistence directory name ([6238e33](6238e33c42))
* **deps:** fix requirements file ([5f0ab26](5f0ab26ced))
* **deps:** missing pydantic ([089f29e](089f29e95f))
* **deps:** update poetry.lock ([b2c2fa7](b2c2fa7136))
* Don't configure server ([280dbc3](280dbc30f6))
* Encode defaults to fix OpenAPI spec ([e9d1c8f](e9d1c8fae0))
* Finish DB Model to API model transformation inside transaction ([89a577e](89a577e91a))
* fix codeql issues ([b5568db](b5568db79f))
* Fix spelling mistake ([17ecf58](17ecf58e55))
* Increase pool size to mitigate overflow ([#113](https://github.com/ReVanced/revanced-api/issues/113)) ([5aed3d6](5aed3d6ce6))
* Remove punctuation ([f9cae1e](f9cae1ea56))
* remove revanced-api from tools map ([4800ee9](4800ee96a8))
* Serialize response correctly ([1dccfd2](1dccfd2def))
* Set body for all eligible request methods ([c6cacef](c6cacef907))
* unversioned endpoints placement under v0 should be at root ([8b29f49](8b29f49805))
* Use correct persistance folder path ([500a589](500a5896e3))
* Use correct proxy path ([ef92768](ef927688a3))
* Use correct resource path ([4dffd32](4dffd32c99))
* Use multidict 6.0.5, add setup tools as dev dependency ([af19446](af19446a67))

### Features

* Add `/list` route ([6c930ff](6c930fff9a))
* Add `preferred` field to socials ([#100](https://github.com/ReVanced/revanced-api/issues/100)) ([24c8f60](24c8f60a70))
* Add announcements API ([42f7318](42f731854d))
* Add announcements endpoints ([#91](https://github.com/ReVanced/revanced-api/issues/91)) ([8583e2a](8583e2a2bb))
* Add backend rate limit route ([b967170](b9671703be))
* Add CLI ([a988ffb](a988ffbd23))
* add download_count to releases ([#118](https://github.com/ReVanced/revanced-api/issues/118)) ([665b913](665b913c04))
* add friendly crypto names ([#53](https://github.com/ReVanced/revanced-api/issues/53)) ([7b70780](7b707807cc))
* Add GPG key to team members ([71f58cf](71f58cf352))
* Add local ReVanced API server ([cd5d57f](cd5d57f8f8))
* add member gpg keys ([80cdb3b](80cdb3be6a))
* Add OpenAPI docs and cache to routes ([6ea63be](6ea63be490))
* add preferred field to donations ([#56](https://github.com/ReVanced/revanced-api/issues/56)) ([6b705b1](6b705b1054))
* Add proxy for old API ([39f54bb](39f54bbb32))
* Add rate limiting to routes ([80403f7](80403f7130))
* added branding ([#104](https://github.com/ReVanced/revanced-api/issues/104)) ([edcad62](edcad620f2))
* API Fixes and Adjustments ([#23](https://github.com/ReVanced/revanced-api/issues/23)) ([b18097e](b18097e030))
* API rewrite ([#2](https://github.com/ReVanced/revanced-api/issues/2)) ([45ef337](45ef33741c))
* better versioning engine ([8d36663](8d36663610))
* Change default port to avoid using existing port ([9825865](9825865bbc))
* Disallow all web crawlers ([#111](https://github.com/ReVanced/revanced-api/issues/111)) ([b69acfa](b69acfa8d7))
* Do not ignore, if `.env` file is missing ([24c6f4e](24c6f4e435))
* favicon ([a8126d7](a8126d785f))
* hostname filtering ([5482d9c](5482d9c442))
* Implement more routes and add configuration ([9999b24](9999b242ad))
* Improve routing paths ([df999c0](df999c00c4))
* info endpoint ([#71](https://github.com/ReVanced/revanced-api/issues/71)) ([9bbd056](9bbd056c1b))
* Initialize project ([8ae50b5](8ae50b543e))
* Load system properties ([e373d26](e373d26998))
* manager-related endpoints ([3a128c4](3a128c4661))
* Move config file to CLI argument ([6a9f0ca](6a9f0cadac))
* **observability:** sentry ([99e645c](99e645c5f5))
* project init ([856fc66](856fc66717))
* remove appinfo capabilities ([10f5225](10f5225f51))
* remove codecov tests ([9c69fa3](9c69fa3b92))
* Remove Swagger and OpenAPI ([af0b086](af0b0865f4))
* Setup CI/CD ([c736a75](c736a75d92))
* Setup cors and cache ([205bcde](205bcde77a))
* Show default CLI option values ([db0bfc3](db0bfc3be5))
* Use auth digest instead of basic auth ([89e2acf](89e2acfebb))
* Use Jetty instead of Netty ([c23cd5c](c23cd5cdad))
* use objects for /socials and /donations ([#51](https://github.com/ReVanced/revanced-api/issues/51)) ([d4eac5c](d4eac5c757))
* use objects for contact field ([5922830](5922830e0b))

### Performance Improvements

* Cache latest announcements for constant access time ([1ca9952](1ca9952de8))
* Cache patches list instead of just the patches file ([7a1957d](7a1957d013))
* Make async db transactions and use List instead of Set ([a7d1892](a7d1892343))
v1.0.0-dev.1
2024-07-10 23:58:20 +00: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
267546fc32
build: Set JVM source and target version 2024-07-08 14:02:40 +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
01780188b9
build: Update dependencies 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
Ushie
df32531770
build: Publish Docker images with semantic-release (#179) 2024-07-08 13:49:28 +02:00
oSumAtrIX
1ec6999ddb
Bump packages and add files to .gitignore 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
744aafa9f0
chore: Fix Docker compose port mapping 2024-07-08 13:49:27 +02:00
oSumAtrIX
7c20e0fe99
build: Update Kompendium 2024-07-08 13:49:27 +02:00
oSumAtrIX
ba936ad134
ci: Add deployment steps 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