Commit graph

49 commits

Author SHA1 Message Date
wukko
5940bf0b18 comment 2023-05-22 01:14:59 +06:00
wukko
9edc4bd61b new inner layout
- one main controlling script (cobalt.js).
- added api server name to serverInfo endpoint.
- one dockerfile.
- less mess.
2023-05-22 01:13:05 +06:00
wukko
4d369170ff separated web and api, build improvements
wip:
- separate web and api servers.
- script for building static pages.
- building improvements.
- async localisation preloading.
2023-05-19 16:13:38 +06:00
wukko
d85205649e 5.6: tiny quality of life improvements
- remember celebratory emoji changes? they've been fixed, and are now dynamically loaded!
- changelog history now lets you try to load it again if first attempt failed for whatever reason.
- added glow to the donation button to make it more visible.
- cleaned up frontend js a little bit.
- updated some links in tests.
2023-05-17 02:13:11 +06:00
wukko
6e097de2db 5.4.7: added support for ancient vk videos & salt improvements
- now you can download 240p hardbass videos from 2008!
- implemented updated stream salt and ip salt properly
2023-04-29 21:30:59 +06:00
wukko
d8e9fc16d0 make stream salt change on every server start 2023-04-29 17:40:08 +06:00
wukko
5696d4091d OH FUCK 2023-04-09 11:12:11 +06:00
wukko
e9e0fa82c7 testing git info retrieval in docker 2023-04-09 11:11:06 +06:00
wukko
7dc8ab252d change the way user ip address is retrieved 2023-04-09 10:58:23 +06:00
wukko
b8330fc855 minor clean up 2023-04-09 10:42:18 +06:00
wukko
450d01753d update the way environment variables are checked
no longer checking for .env file, just the variables
2023-04-09 09:40:13 +06:00
wukko
a3e4c8dcfd added a status check endpoint 2023-04-09 08:40:07 +06:00
wukko
307da3dce4 5.3.1: tiny fixes
- fixed backdrop on press for "copy url" button in mobile "how to save?" popup
- added ability to disable cors via env file
2023-04-08 16:58:44 +06:00
wukko
35e89f30a4 revert april fools 2023-04-02 21:53:23 +06:00
wukko
49e85efe23 catch connection resets in streamables and other error handling improvements 2023-03-31 11:20:49 +06:00
josephangelobravo@gmail.com
87e684543e change: enable CORS preflight on /api/:type 2023-03-28 15:05:06 -07:00
wukko
1890b44ea3 fix rate limiting 2023-03-25 00:14:44 +06:00
wukko
a3daa65148 5.2
- page render caching
- onDemand block caching
- page html minify
- better rate limiting
- minor cobalt.js clean up
- page render platform indication in settings popup

all these changes are aimed to improve performance and responsiveness

!! not final version of 5.2 !!
2023-03-10 00:41:17 +06:00
wukko
6465ac8d6f 5.1
closes #62, #66, #75
2023-02-26 22:49:25 +06:00
wukko
3c578d6d49 cleaning up what i missed 2023-02-13 20:02:52 +06:00
wukko
dacaaf5b27 5.0-dev1
- rewrote and/or optimized all service modules
- rewrote matching and processing modules to optimize readability and performance
- added support for reddit gifs
- fixed various issues with twitter error explanations
- code optimizations and enhancements (such as finally getting rid of ==, prettier and more readable formatting, etc)
- added branch information
- all functions in currentCommit submodule run only once and cache received data
- added a test script. only twitter and soundcloud are 100% covered and tested atm, will add tests (and probably fixes) for the rest of services in next commits
- changed some localization strings for russian
- added more clarity to rate limit message
- moved services folder into processing folder
2023-02-12 13:40:49 +06:00
wukko
3432c91482 refactoring & fixes
- added duration check to vimeo module
- fixed quality picking in vimeo module for progressive video type
- dropping requests from ie users instead of redirecting
- probably something else but i forgot to be honest
2023-02-09 20:45:17 +06:00
wukko
3b5bf51ba7 4.7
fixes #63, #67, #68, and #71, among other issues
2023-01-14 00:34:48 +06:00
wukko
8d3ffe3ea4 updated the startup message one more time 2022-12-17 17:40:20 +06:00
wukko
cfc461f2af fixed the date in startup message 2022-12-17 17:36:15 +06:00
wukko
b0039466db oops 2022-12-17 17:31:31 +06:00
wukko
498bdabb86 removed legacy stuff 2022-12-17 17:29:40 +06:00
wukko
7f1ba6b36b 4.6.0: video muting and soundcloud client_id 2022-12-17 17:09:49 +06:00
wukko
f13a82e152 4.5 2022-12-07 01:21:07 +06:00
wukko
316e6423f4 4.3: open api + post method for main endpoint 2022-11-12 22:40:11 +06:00
wukko
378fecd849 8k and quality picker revamp 2022-11-04 14:49:58 +06:00
wukko
c532062aa2 twitter spaces and a ton of improvements 2022-10-24 19:03:11 +06:00
wukko
ad0846ac73 disabled tiktok and made it impossible to run the server unless all requirements are met 2022-09-20 13:54:44 +06:00
wukko
c6d1761b11 vk fixes and new changelog system 2022-09-11 21:04:06 +06:00
wukko
378e1d2118 Update cobalt.js 2022-09-04 11:32:06 +06:00
wukko
ecf2dac5d8 fixed a silly mistake that broke soundcloud
also added an error handler for this issue if it happens ever again
2022-09-04 10:14:25 +06:00
wukko
9ea832caf5 tiktok images and crowdin 2022-09-03 21:32:39 +06:00
wukko
f70128f4fc fix small issues 2022-09-01 19:51:18 +06:00
wukko
a8b5555a1b added ability to download full audios from tiktok (3.3.5)
- it's now possible to download full audios from tiktok videos, you just have to turn that on in settings.
- tiktok audios are better in quality when it's possible to get exact audio used in video and not the full version of it.
- cleaned up the way user preference stuff is passed over between modules, should be way more flexible now.
- added audio ignore list to services config json instead of hardcoding it.
2022-08-23 20:43:56 +06:00
wukko
a7ea766289 3.1 2022-08-16 16:31:41 +06:00
wukko
e11ee6fb62 clean up 2022-08-16 13:14:19 +06:00
wukko
a5e081e2bf prevent crash if youtube video is fucked up
ill remake a youtube function to pick a good video instead of broken one later, i just dont want cobalt to hang if one youtube cdn is down

i hate youtube so much
2022-08-14 23:09:06 +06:00
wukko
54c14232d5 3.0
probably the biggest update in history of cobalt
2022-08-12 19:36:19 +06:00
wukko
2212ea7dc8 just a clean up
- moved pattern testers out of match module (thanks you @radkii)
- button borders are now easier to see

the reason this commit exists is because i tried to implement a language picker and failed to do it properly so here we are
2022-08-04 17:22:40 +06:00
wukko
c0289b6a8c basically new readme and more languages
- indonesian localization by @LyfeV
- rewrote readme
- added new line at the end for files that were missing it
2022-08-01 21:48:37 +06:00
wukko
22c16b2fc8 implemented esbuild and cleaned up stuff
cobalt should now load even faster
2022-07-30 15:01:54 +06:00
wukko
a4a9af6120 remade localization system once again
- new localization system: fast, dynamic, way more organized
- localization strings are WAY more descriptive
- it's now easier to add support for other languages (just one loc file instead of five)
- localization now falls back to english if localized string isnt available
- got rid of all static language selectors (probably)
- slightly updated english and russian strings
- miscellaneous settings items have been bundled together and moved to the bottom, cause they're used the least
- bottom links should no longer touch the popup border on overflow
- rearranged popup order in the rendered page
- bumped version up to 2.2.5

if you see strings that are like this: !!EXAMPLE!! or withoutspace please file an issue on github
2022-07-24 16:54:05 +06:00
wukko
299fe6336b got rid of dash in file names 2022-07-17 17:21:51 +06:00
wukko
67223b3acd internal changes only
- remade config module
- renamed loc to i18n because that's what all developers do
- moved code to src to make repo look cleaner
- fixed some i18n strings
2022-07-17 17:08:49 +06:00
Renamed from cobalt.js (Browse further)