jj
f5df78ffec
api/utils: retry getting redirecting url with fetch() if request() fails
2025-04-02 12:29:18 +00:00
Felix Vuong 🍂
a6240d0192
api/url: replace user-agent argument with headers
in redirect helpers
2025-04-02 11:44:13 +00:00
jj
92061f2e82
api/run-test: print error code for unexpected errors
2025-02-10 22:06:30 +00:00
jj
59cb6b05be
api/test: add test for private instagram posts
2025-02-09 11:50:26 +00:00
wukko
b3b893b8f3
api/misc/utils: add one (1) line break
2025-02-09 17:48:37 +06:00
jj
6e8b4f30c1
api/url: add function for resolving shortlinks
...
motivation: we frequently need to resolve shortlinks to full URLs
let's have a common standard function for doing this safely
instead of reinventing the wheel in every single service module
2025-02-08 13:53:29 +00:00
wukko
0ab3fe4d2a
api: itunnel transplants ( #1065 )
2025-01-21 00:10:49 +06:00
jj
600c769141
api/stream: implement itunnel transplants
2025-01-20 15:55:26 +00:00
wukko
de5eca19a5
api/utils: replace redirectStatuses array with a set
...
Co-authored-by: jj <log@riseup.net>
2025-01-20 19:30:11 +06:00
wukko
9bdcb9d821
api/utils: update getRedirectingURL to accept more statuses & dispatcher
2025-01-20 18:51:37 +06:00
wukko
1cbffc2d75
api/stream/types: convert metadata in one place
...
also sanitize values & throw an error if tag isn't supported
2024-11-24 18:13:22 +06:00
wukko
6770738116
api/create-filename: build & sanitize filenames in one place
2024-11-24 18:12:21 +06:00
wukko
407c27ed86
api/utils: rename metadata converter function
2024-11-24 14:55:46 +06:00
wukko
6a430545d2
api/utils/cleanString: add more forbidden chars
2024-11-24 14:55:10 +06:00
jj
91e8ef8ab4
api/test-ci: add functionality for running all tests
2024-11-13 17:26:15 +00:00
jj
d48cc8fc07
api/cookie: implement cluster synchronization
2024-11-01 16:43:01 +00:00
jj
1c78dac7ed
api/cluster: implement broadcast helper
2024-11-01 14:49:52 +00:00
jj
66cb8d360d
api: move hmac secrets to single file
2024-11-01 12:16:53 +00:00
jj
40d6a02b61
api: cluster support
...
still missing synchronization for some structures
2024-10-31 22:59:06 +00:00
jj
2d6d406f48
api/crypto: use buffers for salt directly instead of hex strings
2024-10-31 22:42:46 +00:00
wukko
0b4d703d0f
api/utils: remove unused functions
2024-10-28 19:56:37 +06:00
jj
5ea23bee13
api/console-text: refactor
2024-10-27 17:52:04 +00:00
dumbmoron
741dfd40f5
api/security: implement api keys as method of authentication
2024-10-04 14:58:56 +00:00
dumbmoron
d560c0d34a
api: return correct extension for gif downloads in api response
2024-09-18 18:03:04 +00: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
dumbmoron
4b4fce326f
test: update match() arguments to new format
2024-09-02 14:18:11 +00: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
dumbmoron
168c1bdbbb
api/test: update tests to use new request format
2024-08-03 17:33:56 +00:00
wukko
e58bca0cdd
api: remove alias mapping for deprecated env variables
2024-08-03 22:05:50 +06:00
wukko
40425ad3bf
api: use version-info package & clean up start message
2024-08-03 21:34:02 +06:00
dumbmoron
6d817f149e
api/load-from-fs: refactor loadFile, use in loadJSON
2024-08-03 09:29:33 +00:00
dumbmoron
0e0ad7cb0e
api/load-from-fs: always load files from root of api folder
2024-08-03 09:29:33 +00:00
wukko
dd831e13e8
api: flatten code directories, better filenames, remove old files
2024-08-03 14:47:13 +06:00