Commit graph

29 commits

Author SHA1 Message Date
wukko
0aae3fe7f0
api/core: rename err argument to indicate that it's unused 2024-09-09 19:41:44 +06:00
wukko
97866fb306
api/core: update the emoticon in startup message 2024-09-05 07:53:55 +06:00
wukko
fff1c6c7a6
web & api: rename stream to tunnel
- updated the endpoint to /tunnel
- updated status to tunnel
- fixed one incorrectly named error in web
2024-09-05 00:26:48 +06:00
wukko
8cee4e58c5
api/match: accept object as single argument
hi im what i do
2024-09-02 08:27:31 +06:00
wukko
d9925f2233
api/core: move friendly name map to server info 2024-09-01 16:02:06 +06:00
dumbmoron
2f63f6bab7
api/proxy: add support for proxying range requests 2024-08-31 07:15:20 +00:00
wukko
7f8204bc0c
api/core: handle all express errors, not just path parsing (wtf) 2024-08-30 14:25:46 +06:00
wukko
7041d61d80
api/core: fix link parsing error handling 2024-08-24 16:13:42 +06:00
wukko
70264f3691
api/core: update server info
- cache server info as string
- serve a list of services & duration limit in server info
2024-08-23 00:33:52 +06:00
wukko
7a557a97c3
api: move service disabling to DISABLED_SERVICES env 2024-08-23 00:16:26 +06:00
wukko
a21c9e7632
api/core/api: clean up imports 2024-08-22 23:04:11 +06:00
wukko
1f3509db07
api: update error codes in api core functions 2024-08-19 21:51:45 +06:00
wukko
974b98f0ac
api/core: fix & clean up auth middleware 2024-08-17 00:59:59 +06:00
wukko
30c51b9fe8
api/core: rate limit by token if it's present 2024-08-17 00:55:26 +06:00
wukko
c54294601b
api/core: limit authorization header length 2024-08-17 00:13:26 +06:00
wukko
51bd2f72fd
api/core: fix typo 2024-08-16 23:41:20 +06:00
wukko
16acf62886
api/security: jwt session token 2024-08-16 23:28:03 +06:00
wukko
4283774c6c
api: add support for cloudflare turnstile 2024-08-16 00:10:17 +06:00
dumbmoron
f32f624916
api: use zod for request schema validation 2024-08-08 16:34:54 +00:00
wukko
f96c1cd13b
api: remove deprecated statuses & clean up related code 2024-08-06 20:45:04 +06:00
dumbmoron
94c2545ca6
api/serverInfo: make cors into boolean 2024-08-03 17:11:18 +00:00
wukko
5ea71ee58e
api: update post parameters
they're now way easier to read
2024-08-03 23:06:32 +06:00
wukko
3bd1a00855
api: renovate endpoints
no more redundant "/api" path
2024-08-03 21:51:05 +06:00
wukko
40425ad3bf
api: use version-info package & clean up start message 2024-08-03 21:34:02 +06:00
wukko
dd831e13e8
api: flatten code directories, better filenames, remove old files 2024-08-03 14:47:13 +06:00
wukko
aff22e8560
api: remove localization, renovate error response 2024-08-03 13:51:09 +06:00
wukko
f66ae63d57
api/core: remove favicon 2024-08-02 22:35:49 +06:00
wukko
012fadd2f0
api: remove API_NAME env variable & from server info 2024-08-02 21:33:59 +06:00
wukko
a7087336ca
repo: move api src from root to own subdir 2024-08-02 20:41:52 +06:00
Renamed from src/core/api.js (Browse further)