Commit Graph

2457 Commits

Author SHA1 Message Date
jj
c3f3499a42 api/util: add script to generate secure JWT_SECRET 2024-10-20 10:44:13 +00:00
5ce3a941f9 docs/protect-an-instance: emphasize a warning in env variable section 2024-10-20 16:31:55 +06:00
90114bdbea docs/protect-an-instance: update the note to show up as such 2024-10-20 16:28:22 +06:00
1cf82e4d69 docs: add a tutorial document for protecting an instance 2024-10-20 16:23:09 +06:00
jj
f5d09f86db tests/soundcloud: replace private link 2024-10-20 10:18:51 +00:00
jj
d55dddea2e core/api: normalize bearer authorization 2024-10-20 10:05:34 +00:00
0e52e1f8b0 web/safety-warning: reduce continue button timeout 2024-10-16 17:03:34 +06:00
1ab94eb11d web/i18n: update data management strings 2024-10-16 16:53:20 +06:00
c33017283d api/twitter: fix gifs having a wrong file extension in a picker 2024-10-13 09:59:52 +06:00
eab37ae7ff web/dialog: show dialog when loading cobalt with no js support 2024-10-12 18:01:57 +00:00
0b06299da0 web/DialogButton: add "link" buttons 2024-10-12 17:42:53 +00:00
fe1d17ba8d api/service-patterns: update the tiktok tester 2024-10-12 23:29:19 +06:00
ef4dd4875e web/icons/Clipboard: increase color contrast 2024-10-12 23:15:29 +06:00
c8ab784385 web/icons/Music: make colors brighter 2024-10-12 23:06:14 +06:00
4499992d58 web/icons/Sparkles: update colors for better legibility 2024-10-12 22:54:44 +06:00
72483bbdad web/icons/Mute: update colors for better legibility 2024-10-12 22:49:36 +06:00
6c3b4e0fa9 web/AboutSupport: update github color & add glow 2024-10-12 22:23:01 +06:00
6ad838b649 api/tiktok: fix url patterns 2024-10-12 22:06:54 +06:00
0d2e300fbe web/about/credits: add a section about imput 2024-10-12 19:20:20 +06:00
c10652b8c4 web/AboutSupport: replace duplicated type 2024-10-12 19:10:31 +06:00
d5ea154ed8 web/Omnibox: reduce gap by 2px 2024-10-12 19:08:01 +06:00
e34b8dd89c web/Switcher: add a gap between items 2024-10-12 19:07:05 +06:00
ebf157862a web/about/community: redesign the page, add descriptions 2024-10-12 19:06:11 +06:00
6cc895c395 docs/api: document /session endpoint 2024-10-12 12:36:48 +00:00
52c24ab1a3 docs/run-an-instance: add undocumented turnstile envs 2024-10-12 12:36:48 +00:00
1c9685922f docs/api: add information about auth header 2024-10-12 12:36:48 +00:00
7c0fb16fdb api/keys: fix prefix size calculation for individual ipv6 addresses 2024-10-12 11:24:29 +00:00
9f4f03ec6c docs/examples/cookies: add youtube_oauth to examples 2024-10-12 11:06:19 +00:00
dc12d6acad web/debug: add a copy button, fix page padding, refactor (#782)
Co-authored-by: wukko <me@wukko.me>
2024-10-11 23:04:19 +06:00
1e26788a1e api/match-action: add missing ok case to video switch
closes #797
2024-10-08 16:09:08 +06:00
1b48a2218c api/setup: use pnpm instead of npm 2024-10-06 16:11:23 +02:00
c482c9fea2 web/layout: do iphone landscape optimizations only when appropriate 2024-10-06 00:20:14 +06:00
3749fb2aa8 repo: update dependencies 2024-10-05 22:09:00 +06:00
e12e079571 web/SettingsCategory: prevent pointer events when disabled 2024-10-05 21:42:02 +06:00
4156206f35 web/settings/audio: disable bitrate section when not applicable (#802) 2024-10-05 21:40:56 +06:00
jj
4ed2df64b3 api: implement support for api keys (#803) 2024-10-05 17:14:55 +02:00
3691e2e4f1 docs/run-an-instance: mention unlimited api keys 2024-10-04 17:43:35 +00:00
cfd54e91d5 security/api-keys: add support for unlimited limit 2024-10-04 17:41:05 +00:00
9cc6fd13fa api/core: skip turnstile verification if user authed with api key 2024-10-04 17:37:57 +00:00
3d7713a942 security/api-keys: clarify error when number is not positive 2024-10-04 17:34:15 +00:00
81818f8741 api/core: implement authentication with api keys 2024-10-04 16:50:55 +00:00
dcd33803c1 api/core: generate JWT rate limiting key in auth handler 2024-10-04 17:03:57 +00:00
418602ca87 api/core: add rate limiter for session 2024-10-04 17:02:00 +00:00
38fcee4a50 api/core: rename tunnel limiter, move to endpoint 2024-10-04 17:00:58 +00:00
f2248d4e9a api/core: move api limiter after authentication 2024-10-04 16:59:53 +00:00
034f7ebe4a api/core: extract rate limit response to function 2024-10-04 16:58:15 +00:00
44f7e4f76c web: remove TURNSTILE_KEY env from readme 2024-10-04 15:19:19 +00:00
741dfd40f5 api/security: implement api keys as method of authentication 2024-10-04 14:58:56 +00:00
4317b128a8 about/credits: move beta tester listing to component
this is to prevent it from showing up in i18n
2024-10-04 12:27:34 +00:00
1a9494b60a web/layout: increase toggle contrast in dark mode (#754) 2024-10-04 17:43:31 +06:00