Commit graph

162 commits

Author SHA1 Message Date
wukko 16c5450d40
api/cobalt: update api url error message 2024-10-20 19:07:42 +06:00
wukko 9d68247523
api: remove the outdated setup script 2024-10-20 19:06:48 +06:00
wukko 6499d079ef
api/readme: add supported services & acknowledgements 2024-10-20 17:49:37 +06:00
wukko 51adfc85cd
api: update readme 2024-10-20 17:20:38 +06:00
jj c3f3499a42
api/util: add script to generate secure JWT_SECRET 2024-10-20 10:44:13 +00:00
jj f5d09f86db
tests/soundcloud: replace private link 2024-10-20 10:18:51 +00:00
jj d55dddea2e
core/api: normalize bearer authorization 2024-10-20 10:05:34 +00:00
wukko c33017283d
api/twitter: fix gifs having a wrong file extension in a picker
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-10-13 09:59:52 +06:00
wukko fe1d17ba8d
api/service-patterns: update the tiktok tester 2024-10-12 23:29:19 +06:00
wukko 6ad838b649
api/tiktok: fix url patterns 2024-10-12 22:06:54 +06:00
dumbmoron 7c0fb16fdb
api/keys: fix prefix size calculation for individual ipv6 addresses 2024-10-12 11:24:29 +00:00
wukko 1e26788a1e
api/match-action: add missing ok case to video switch
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
closes #797
2024-10-08 16:09:08 +06:00
KwiatekMiki 1b48a2218c api/setup: use pnpm instead of npm
Some checks are pending
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2024-10-06 16:11:23 +02:00
wukko 3749fb2aa8
repo: update dependencies 2024-10-05 22:09:00 +06:00
dumbmoron cfd54e91d5
security/api-keys: add support for unlimited limit 2024-10-04 17:41:05 +00:00
dumbmoron 9cc6fd13fa
api/core: skip turnstile verification if user authed with api key 2024-10-04 17:37:57 +00:00
dumbmoron 3d7713a942
security/api-keys: clarify error when number is not positive 2024-10-04 17:34:15 +00:00
dumbmoron 81818f8741
api/core: implement authentication with api keys 2024-10-04 16:50:55 +00:00
dumbmoron dcd33803c1
api/core: generate JWT rate limiting key in auth handler 2024-10-04 17:03:57 +00:00
dumbmoron 418602ca87
api/core: add rate limiter for session 2024-10-04 17:02:00 +00:00
dumbmoron 38fcee4a50
api/core: rename tunnel limiter, move to endpoint 2024-10-04 17:00:58 +00:00
dumbmoron f2248d4e9a
api/core: move api limiter after authentication 2024-10-04 16:59:53 +00:00
dumbmoron 034f7ebe4a
api/core: extract rate limit response to function 2024-10-04 16:58:15 +00:00
dumbmoron 741dfd40f5
api/security: implement api keys as method of authentication 2024-10-04 14:58:56 +00:00
lath c2d7e1df12
api/config: add configuration for streamLifespan (#792)
Some checks failed
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-10-03 12:27:28 +06:00
KwiatekMiki b3137ad9ac
feat/api: add support for twitter bookmark links (#706)
* feat: add support for twitter bookmark links

* feat: add tests for bookmark twitter links
2024-10-03 12:26:38 +06:00
wukko bf7a48a36c
api/youtube: fix youtube music metadata parsing
Some checks failed
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
still pretty crappy tho
2024-09-28 02:01:43 +06:00
wukko 2a42ed38b6
repo: merge new commits from main into develop
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-09-23 20:27:32 +06:00
dumbmoron f83537a73e
tests/bsky: fix tests & use dids instead of usernames
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-09-21 13:24:40 +00:00
dumbmoron 8ae48fa524
api: allow colons (:) in url paths 2024-09-21 13:24:39 +00:00
dumbmoron d560c0d34a
api: return correct extension for gif downloads in api response
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-09-18 18:03:04 +00:00
wukko a6b940e6c9
api/package: bump version to 10.1.0 2024-09-18 21:24:24 +06:00
wukko 0cc18b488c
api/core: return public turnstile sitekey in server info 2024-09-17 22:40:07 +06:00
dumbmoron 29f967a3ec
api: fix accept & content-type validation when not using authentication
Some checks are pending
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2024-09-17 15:37:21 +00:00
GuriZenit 99937f61f6 api/setup: fix wrong misc path 2024-09-16 11:05:04 +06:00
wukko 5facbc9657
api/tests/bluesky: update deleted post test 2024-09-13 23:28:14 +06:00
wukko a2414682c7
api/tests: update bluesky tests
Some checks are pending
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2024-09-13 09:55:06 +06:00
wukko a1feadb917
api/bluesky: add support for recordWithMedia embed type
& catch various api errors
2024-09-13 09:54:05 +06:00
wukko ca538a2e6c
api/youtube: use webm container for av1 and opus 2024-09-12 20:07:56 +06:00
wukko b90a58f4f0
api/tests/twitch: fix expected twitch status 2024-09-12 14:38:36 +06:00
wukko e768e7f6fa
api/create-filename: don't assign any of potentially blank tags 2024-09-12 14:35:42 +06:00
wukko 80a01494c7
api/match-action: add missing twitch case to redirect group
closes #741
2024-09-12 14:30:21 +06:00
wukko 64173f7a03
api/create-filename: don't push youtubeFormat if it doesn't exist
Some checks are pending
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run service tests / test service functionality (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
oops
2024-09-11 22:18:51 +06:00
wukko 0a5405a3b4
api/tests/twitter: update age restricted video test
Some checks failed
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2024-09-09 22:21:27 +06:00
dumbmoron a86a96d8ce
docs/api: also link to old docs for now 2024-09-09 15:50:51 +00:00
dumbmoron 99d4f9e8c9
api/README: remove leftover links 2024-09-09 15:45:06 +00:00
dumbmoron 7b06a5047f
repo: split README into subproject READMEs 2024-09-09 15:44:37 +00:00
wukko ce7633c81a
api: move agpl license into subdir 2024-09-09 21:21:13 +06:00
dumbmoron 15a90e9b11
api/stream: use Map for storing info about internal streams 2024-09-09 14:29:06 +00:00
dumbmoron 57c9836f56
api/core: move ratelimiters before authentication handler 2024-09-09 14:21:19 +00:00