Commit graph

1949 commits

Author SHA1 Message Date
Blobadoodle
df894864ce useless comments 2023-08-19 18:34:43 +01:00
Blobadoodle
cd1d699886 feat: streamable support 2023-08-19 17:42:10 +01:00
dumbmoron
b0bed82167 always send something on stream failure
prevents reverse proxies (namely nginx) from assuming the server died because of an empty response
2023-08-17 21:04:17 +00:00
dumbmoron
a2216510b7 add cookie support
usage:
 - create cookies.json file somewhere, preferrably outside cobalt directory
 - in docker, you can bind mount it (`volumes` in composefile)
   - if you don't want cobalt to update the cookies, set it to `:ro` (cobalt will print a warning about this, ignore it)
 - set COOKIE_PATH to the absolute path of this file
 - enjoy?

usage in services: probably the simplest api ever
 - import { getCookie, updateCookie } from '../../cookie/manager.js';
 - const cookie = getCookie('<service_name>');
   - add this to headers - `headers: { cookie }`
 - after fetch is done, save potential cookie updates: updateCookie(cookie, fetch.headers)
 - see instagram.js for example usage
2023-08-16 19:59:33 +00:00
wukko
91a60c1ec2 oops 2023-08-16 16:44:33 +06:00
wukko
5541acee88 7.0.1: ui tweaks
- fixed streamable downloads in safari
- added background blur to popup backdrop
- reduced shadow blur for popups
- fixed content going out of corners in picker
2023-08-16 16:08:24 +06:00
wukko
2038050a2d fix streamable downloads on ios 2023-08-15 18:48:57 +06:00
wukko
2302c1dbe4
7.0 release 2023-08-15 16:15:11 +06:00
wukko
fe56cc84aa temp fix until future update 2023-08-15 16:14:17 +06:00
wukko
bf506f5da9 updated readme 2023-08-15 16:12:38 +06:00
wukko
a1637e249f
fix soundcloud pattern test
merge pull request #167 from dumbmoron/fix-soundcloud-pattern-test
2023-08-15 16:10:39 +06:00
wukko
47924b9273
fix instagram downloads
merge pull request #169 from dumbmoron/fix-instagram
2023-08-15 16:10:19 +06:00
wukko
5bc65ad44c 7.0 changelog 2023-08-15 16:07:43 +06:00
wukko
27d872363d graphql twitter api & soundcloud fix
closes #127
2023-08-15 14:37:59 +06:00
wukko
789acbc99b fix download audio button in picker 2023-08-14 02:07:05 +06:00
wukko
f4b486a236 actually use rate-limit status 2023-08-14 01:51:55 +06:00
wukko
c4830cac08 made picker usable in new ui, but still ugly
download audio button still dies after 20 seconds, have to change url from stream to direct file (because tiktok audio links are static)
2023-08-14 01:36:19 +06:00
wukko
5955594e48 even more cleansing
- added support for x.com urls
- removed del shortcut for clearing url input area because it was causing regular typing issues
- added info about no liability
- fixed donate button glow and text backdrop padding
- updated donation and privacy policy texts for more clarity in both english and russian
- made cors question in setup script to take yes as answer, not just 'y'
- text-to-copy now has proper rounding when highlighted
- home screen now smoothly fades in instead of popping in
2023-08-14 00:09:50 +06:00
wukko
c5681bba94 making deepsource happy 2023-08-11 22:07:34 +06:00
wukko
998ab635d3 more ui enhancements
new in this commit:
- rounded corners everywhere! cobalt is now safe for everyone who can't handle sharp objects.
- proper banner loading. no more jumping text!
- proper banner error handling. if banner wasn't loaded, it'll simply go grey instead of disappearing.
- links are no longer italic and are instead underlined.
- collapsible lists now have corresponding emoji.
- donate button is now highlighted with magenta instead of white.
- added a list of keyboard shortcuts to about tab.
- centered old changelog loader.
2023-08-11 21:53:30 +06:00
dumbmoron
5e17144cb7 fix instagram downloads 2023-08-11 12:24:31 +00:00
dumbmoron
c3071b54c2 fix soundcloud pattern test
username can actually be up to 25 characters long, song url can actually be up to 255 characters long
2023-08-07 14:50:15 +00:00
wukko
bd04de65d7
Update FUNDING.yml 2023-08-06 17:39:36 +06:00
wukko
689bac83d5 disable ask how to save checkbox on ios 2023-08-05 01:06:02 +06:00
wukko
5580eb1e13 oh my god goodnight 2023-08-05 01:01:45 +06:00
wukko
e9a7124b82 fuck wrong line 2023-08-05 01:01:16 +06:00
wukko
62a2547957 fixed unexpected clipboard popup on ios 2023-08-05 01:00:37 +06:00
wukko
5ad7559e47 forgot to change the frontend version 2023-08-05 00:49:22 +06:00
wukko
43a3ebf475 7.0: ui refresh and more 2023-08-05 00:43:12 +06:00
wukko
38ceb1be77 updated docker compose example 2023-07-21 18:35:04 +06:00
wukko
15dbf74c15 little css fixes
- fixed copy animation for elevated buttons
- placeholder input color is now also applied in firefox
2023-07-19 23:21:12 +06:00
wukko
e48100c54d 6.3.1: replaced shrugging person with a cat 2023-07-19 22:42:37 +06:00
wukko
bbf450a1fa 6.3: new error and save popups
- remade error and save popups. both are now properly located and sized on mobile screens. this is the first step in modernizing cobalt ui!
- fixed >> button getting stuck in error state.
2023-07-19 01:50:51 +06:00
wukko
ccab047f19 Merge branch 'current' of https://github.com/wukko/cobalt into current 2023-07-14 22:20:12 +06:00
wukko
cc30809ac7 6.2.3: loc improvements
- added info about country restrictions to youtube error message.
- updated donation popup text.
- updated save to gallery shortcut link.
- fixed #110.
2023-07-14 22:19:58 +06:00
wukko
1b208322b7
extract startup conditions to consts
merge pull request #149 from plusreed/extract-startup-conditions
2023-07-14 22:10:31 +06:00
wukko
eae8149a08
fixed a typo in readme 2023-07-05 10:26:13 +06:00
wukko
fafd2c8ccc small fix for instagram reels
- now all reels should be possible to download
- also added support for youtube embed links
2023-07-04 17:57:58 +06:00
dumbmoron
d2e5b6f1fb
add per-commit image tag 2023-07-02 05:24:28 +02:00
dumbmoron
239db34c67
remove support for armv6
no armv6 build of node:18-bullseye-slim, can be readded once this is fixed
2023-07-02 05:21:08 +02:00
Reed Davenport
31aeae2655
Extract startup conditions to consts 2023-07-01 21:02:15 -04:00
dumbmoron
7ebe28ce50 create docker build github action 2023-07-02 00:44:04 +00:00
wukko
db5d62ae58 6.2.2: fixes related to twitter screwing everything up
(also fixes an issue with some instagram links)
2023-06-30 16:29:21 +06:00
wukko
aaa99d48a3 update 6.2 changelog 2023-06-27 20:59:42 +06:00
wukko
4f87618ceb added 6.2 changelog 2023-06-27 20:46:51 +06:00
wukko
65161107fa 6.2: no more ip verification
- removed ip verification and updated privacy policy to reflect this change.
- streamable links now last for 20 seconds instead of 2 minutes.
- cleaned up stream verification algorithm. now the same function isn't run 4 times in a row.
- removed deprecated way of hosting a cobalt instance.
2023-06-27 19:56:15 +06:00
wukko
0e1c885266 more button contrast 2023-06-25 13:47:34 +06:00
wukko
038c07c1b8 attempt to fix the weird issue with authorization 2023-06-22 20:24:01 +06:00
wukko
0848923cc7 remove 6.0 notice 2023-06-17 21:41:02 +06:00
wukko
92c0e1d7b7 ugh 2023-06-07 22:06:21 +06:00