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 |
|
wukko
|
3317726afe
|
api/core: rename req and next args to indicate that they're unused
|
2024-09-09 19:44:40 +06:00 |
|
wukko
|
0aae3fe7f0
|
api/core: rename err argument to indicate that it's unused
|
2024-09-09 19:41:44 +06:00 |
|
wukko
|
de5162e417
|
api/jwt: remove redundant exports
|
2024-09-09 19:39:07 +06:00 |
|
wukko
|
2dbcdb18f9
|
api/bluesky: remove redundant await & async
|
2024-09-09 19:32:17 +06:00 |
|
dumbmoron
|
fba64df118
|
api/snapchat: fix regex matching to thumbnail
|
2024-09-09 12:53:46 +00:00 |
|
wukko
|
498e6f4419
|
api/snapchat: fix spotlight url extraction
|
2024-09-09 18:40:59 +06:00 |
|
wukko
|
002e70cb89
|
api/schema: make tiktokFullAudio false by default
|
2024-09-08 22:03:29 +06:00 |
|
dumbmoron
|
9a504443fd
|
api/stream: add support for 8kbps option for mp3 downloads
|
2024-09-07 16:28:34 +00:00 |
|
dumbmoron
|
5af4114c61
|
api/test: add facebook to finnicky services
|
2024-09-07 12:29:01 +00:00 |
|
dumbmoron
|
08490c54e4
|
api: include generated filename in api response
|
2024-09-07 12:26:43 +00:00 |
|
dumbmoron
|
438fce3c58
|
api/processing: append audio extension to filename before response
|
2024-09-07 12:26:43 +00: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
|
645542c910
|
api/bluesky: catch video errors & prevent loading videos not from bsky
|
2024-09-03 13:24:08 +06:00 |
|
dumbmoron
|
4b4fce326f
|
test: update match() arguments to new format
|
2024-09-02 14:18:11 +00:00 |
|
wukko
|
8cee4e58c5
|
api/match: accept object as single argument
hi im what i do
|
2024-09-02 08:27:31 +06:00 |
|
wukko
|
93f2a6b226
|
api/bluesky: add support for saving images
one or multiple, everything works
|
2024-09-01 16:37:24 +06:00 |
|
wukko
|
d9925f2233
|
api/core: move friendly name map to server info
|
2024-09-01 16:02:06 +06:00 |
|
wukko
|
805e5d42c0
|
api/config: apply friendly name in a map
filter doesn't allow changing the value
|
2024-09-01 15:56:51 +06:00 |
|
wukko
|
c71ed59660
|
api/url: return friendly name in unsupported link error
|
2024-09-01 15:51:35 +06:00 |
|
wukko
|
97fb6e60a2
|
api/service-alias: refactor
|
2024-09-01 15:35:49 +06:00 |
|
wukko
|
740a75851e
|
api: add support for service name aliases
currently only used for bluesky
|
2024-09-01 15:28:29 +06:00 |
|
wukko
|
57050fb742
|
api/match-action: fix mute tag assignment for default filename
it's also no longer applied to photos and gifs LMFAOOO
|
2024-09-01 14:59:35 +06:00 |
|
wukko
|
67073b274d
|
api/tests: add bluesky tests
|
2024-09-01 14:41:41 +06:00 |
|
wukko
|
b727a56d67
|
api/bluesky: catch fetch errors (oops)
|
2024-09-01 14:39:28 +06:00 |
|
wukko
|
6c9601690b
|
api: add support for bluesky videos & clean up service patterns
|
2024-09-01 14:34:44 +06:00 |
|
wukko
|
4478a963c5
|
api/config: add cobalt user agent
|
2024-09-01 14:15:16 +06:00 |
|
wukko
|
f3521da9c1
|
api/stream/remux: convert audio to aac to increase compatibility
only applies to hls exceptions
|
2024-09-01 14:09:58 +06:00 |
|
wukko
|
ccdcd4cb09
|
api/url: add missing break to dailymotion case
|
2024-09-01 12:00:48 +06:00 |
|
wukko
|
f464d87585
|
api/tiktok: add support for proxying images in a picker
|
2024-08-31 15:01:09 +06:00 |
|
wukko
|
0852f5dc09
|
api/snapchat: always proxy picker thumbs & support proxying everything
|
2024-08-31 14:52:12 +06:00 |
|
wukko
|
892b875e3f
|
api/reddit: add a filename to returned gifs
|
2024-08-31 14:27:46 +06:00 |
|
wukko
|
10717c69f6
|
api/twitter: support proxying videos & images in a picker
|
2024-08-31 14:23:18 +06:00 |
|
wukko
|
00da2a9339
|
api/twitter: return a filename for images
|
2024-08-31 14:19:01 +06:00 |
|
wukko
|
d026eb75a5
|
api/instagram: add support for proxying everything in a picker
|
2024-08-31 14:10:03 +06:00 |
|
wukko
|
4476ae0672
|
api/pinterest: add missing filenames to images & gifs
|
2024-08-31 14:09:34 +06:00 |
|
wukko
|
a9e65b0da0
|
api: add an option to always proxy files
|
2024-08-31 14:07:37 +06:00 |
|
dumbmoron
|
2f63f6bab7
|
api/proxy: add support for proxying range requests
|
2024-08-31 07:15:20 +00:00 |
|
wukko
|
d8bacbeeef
|
api/tests/twitter: allow retweeted video tests to fail
|
2024-08-30 21:35:29 +06:00 |
|
dumbmoron
|
5cbc91cba9
|
tests: mark "twitter voice" test as canFail
|
2024-08-30 08:40:04 +00:00 |
|
dumbmoron
|
97266a46fa
|
ci: shuffle ciphers before running service tests
|
2024-08-30 08:30:34 +00:00 |
|
wukko
|
7f8204bc0c
|
api/core: handle all express errors, not just path parsing (wtf)
|
2024-08-30 14:25:46 +06:00 |
|
wukko
|
329b068038
|
api/schema: don't decode the url
this is from the dinosaur era of cobalt and hasn't been used since we moved to POST requests
|
2024-08-30 14:09:18 +06:00 |
|
wukko
|
3295afdaae
|
api/create-filename: don't add dub name when it doesn't exist
|
2024-08-28 00:35:53 +06:00 |
|
wukko
|
a589bf7e54
|
api/youtube: fix audio dub track detection
|
2024-08-25 14:48:46 +06:00 |
|
wukko
|
6dcd951e21
|
api/create-filename: refactor
|
2024-08-25 14:48:28 +06:00 |
|
wukko
|
0bbf822d70
|
api/youtube: catch token expiration error
|
2024-08-24 18:34:02 +06:00 |
|
wukko
|
856004366e
|
api/match: fix typo in fetch.critical code
|
2024-08-24 17:28:43 +06:00 |
|
wukko
|
7478a373fc
|
api & web: add service context to api.fetch.critical error
|
2024-08-24 17:24:51 +06:00 |
|
wukko
|
7ac0726f37
|
api: move error context to matcher
|
2024-08-24 16:56:07 +06:00 |
|
wukko
|
37efa035a2
|
api/twitter: update no tweet error code
|
2024-08-24 16:31:19 +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
|
ee375a27cd
|
api/schema: enable tiktok full audio by default
|
2024-08-22 23:17:49 +06:00 |
|
wukko
|
a21c9e7632
|
api/core/api: clean up imports
|
2024-08-22 23:04:11 +06:00 |
|
wukko
|
102dec4a84
|
api/match-action: clean up audio action
|
2024-08-22 22:45:26 +06:00 |
|
wukko
|
ff9efdc471
|
api & web: update default audio bitrate to be 128kbps
|
2024-08-22 20:50:21 +06:00 |
|
wukko
|
42ff874c95
|
api/schema: add 8bkps audio bitrate option
|
2024-08-22 20:06:54 +06:00 |
|
wukko
|
91fd26e880
|
api: add audio bitrate functionality
|
2024-08-22 19:35:17 +06:00 |
|
wukko
|
fb5d68a830
|
api/instagram: add file name for proxied image thumbs
|
2024-08-22 18:02:53 +06:00 |
|
wukko
|
76fa1b2b87
|
api/twitter: add proper file name for proxied thumb
|
2024-08-22 17:40:44 +06:00 |
|
wukko
|
facf7741ce
|
api/stream: standardize stream types & clean up related functions
|
2024-08-22 17:37:31 +06:00 |
|
wukko
|
1064be6a7a
|
api/twitter: proxy thumbnails
|
2024-08-22 13:38:16 +06:00 |
|
wukko
|
07dc176024
|
api/stream/types: fix cross origin resource policy for proxy
|
2024-08-22 13:38:04 +06:00 |
|
wukko
|
281ae25d4a
|
api/youtube: prefer higher quality even if premuxed video is available
|
2024-08-20 22:27:03 +06:00 |
|
wukko
|
555625878e
|
api/schema: update twitterGif & videoQuality defaults
|
2024-08-20 22:04:17 +06:00 |
|
wukko
|
05abf9ad3e
|
api: update error codes in services, add more error codes where needed
|
2024-08-20 21:10:37 +06:00 |
|
wukko
|
c698d272a1
|
api/jwt: return relative expiration date to accommodate offset clocks
|
2024-08-19 22:25:21 +06:00 |
|
wukko
|
1f3509db07
|
api: update error codes in api core functions
|
2024-08-19 21:51:45 +06:00 |
|
wukko
|
9592e59f76
|
api/jwt: fix timestamp to match the spec
|
2024-08-17 17:58:40 +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 |
|
wukko
|
c1813aa33f
|
api/stream: rename bridge mode to proxy
|
2024-08-15 19:58:40 +06:00 |
|
wukko
|
e727e3a95b
|
api/processing: slightly reformat code related to zod
|
2024-08-08 23:43:04 +06:00 |
|
dumbmoron
|
66d70ffc44
|
test: update match() call format
|
2024-08-08 16:35:19 +00:00 |
|
dumbmoron
|
f32f624916
|
api: use zod for request schema validation
|
2024-08-08 16:34:54 +00:00 |
|
wukko
|
03152375ec
|
api/snapchat: fix the reverse strict not equals operator
oh my god
|
2024-08-06 21:35:39 +06:00 |
|
wukko
|
9ff27391d0
|
api/snapchat: don't return thumb for photos in a picker
prevents saving low quality images with a long press
|
2024-08-06 21:31:43 +06:00 |
|
wukko
|
72a21b203e
|
api/twitter: don't return thumb for photos in a picker
it's the same image anyway, this just makes the response smaller
|
2024-08-06 21:31:15 +06:00 |
|
wukko
|
95f5fd978f
|
api: merge two picker types into one
|
2024-08-06 21:30:18 +06:00 |
|
wukko
|
f96c1cd13b
|
api: remove deprecated statuses & clean up related code
|
2024-08-06 20:45:04 +06:00 |
|
dumbmoron
|
168c1bdbbb
|
api/test: update tests to use new request format
|
2024-08-03 17:33:56 +00:00 |
|
dumbmoron
|
94c2545ca6
|
api/serverInfo: make cors into boolean
|
2024-08-03 17:11:18 +00:00 |
|
wukko
|
0a28b4091f
|
api/youtube: small indentation fix
|
2024-08-03 23:08:59 +06:00 |
|
wukko
|
5ea71ee58e
|
api: update post parameters
they're now way easier to read
|
2024-08-03 23:06:32 +06:00 |
|
dumbmoron
|
c751837ed8
|
api/package: change name to @imput/cobalt-api
|
2024-08-03 16:48:57 +00:00 |
|
wukko
|
e58bca0cdd
|
api: remove alias mapping for deprecated env variables
|
2024-08-03 22:05:50 +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
|
bef9b5b172
|
snapchat: add support for android short links
|
2024-08-03 16:50:57 +06:00 |
|
wukko
|
417a21ea91
|
ci: fix service config retrieval
|
2024-08-03 16:36:01 +06:00 |
|
wukko
|
0a411196e9
|
api/config: clean up (better formatting)
|
2024-08-03 16:33:36 +06:00 |
|
wukko
|
332eae16b2
|
api: convert service config to JS and remove it from main config
|
2024-08-03 16:27:20 +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
|
8e7b63ade6
|
api/match: fix audio format variable typo
|
2024-08-03 15:05:00 +06:00 |
|
wukko
|
0ffea2d886
|
api/match: pass action parameters as object
|
2024-08-03 15:02:59 +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 |
|
dumbmoron
|
3fdf266ad0
|
youtube: periodically refresh innertube player
|
2024-08-03 12:46:01 +06:00 |
|
wukko
|
dd30973601
|
package: update version to 10.0.0
|
2024-08-02 22:35:56 +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
|
2575b0c145
|
api: remove web mode & variables
|
2024-08-02 21:32:00 +06:00 |
|
wukko
|
eede972ace
|
api: remove old frontend files
|
2024-08-02 21:23:56 +06:00 |
|
wukko
|
c1179e2c9b
|
merge: svelte branch into 10
|
2024-08-02 20:57:29 +06:00 |
|
wukko
|
a7087336ca
|
repo: move api src from root to own subdir
|
2024-08-02 20:41:52 +06:00 |
|