169 Commits
Author SHA1 Message Date
cupcakearmy 9e69730bfd fix: keep SPA fallback for non-api paths but 404 unmatched /api routes 2026-09-21 21:39:09 +02:00
cupcakearmy 7660dd7c30 remove uncessary commens 2026-09-21 21:18:59 +02:00
cupcakearmy 685784c360 Merge branch 'main' into fix/spa-fallback-status-code 2026-09-21 21:16:57 +02:00
cupcakearmy b113d253a9 chore: bump to 3.0.0 2026-09-21 20:51:51 +02:00
cupcakearmy 7ef162bd83 chore: bump to 3.0.0-rc.4 2026-09-19 16:02:55 +02:00
cupcakearmy 055a48a38d fix(web): stop transferring nested file buffers in worker unpack (comlink multi-buffer failure) 2026-09-19 15:13:34 +02:00
cupcakearmy d1126ace82 fix(web): don't run file downloads as a $derived side effect 2026-09-19 14:44:35 +02:00
cupcakearmy b58bf8af6d feat: move calculation intensive part into a web worker 2026-09-13 21:51:13 +02:00
cupcakearmy a57ead61b9 fix(web): snapshot files before worker transfer (Svelte proxy not cloneable) 2026-09-13 21:17:24 +02:00
cupcakearmy 0d597edfee fix(web): re-add FileDTO import; run svelte-check in CI 2026-09-13 16:19:41 +02:00
cupcakearmy 7653409473 chore: bump to 3.0.0-rc.3 2026-09-12 16:13:41 +02:00
cupcakearmy f05707e033 update deps 2026-09-12 16:13:02 +02:00
cupcakearmy 2dc9d6aa16 chore: bump to 3.0.0-rc.2 2026-09-12 15:32:32 +02:00
cupcakearmy 98c56f6fb9 fix(cli): replace removed run-s in prepublishOnly 2026-09-12 15:32:02 +02:00
cupcakearmy 3f7bb6f32e chore: bump to 3.0.0-rc.1 2026-09-12 15:29:49 +02:00
cupcakearmy a0bca0a1a7 chore(cli): move all deps to devDependencies (bundled into single output) 2026-09-12 15:17:56 +02:00
cupcakearmy 41d0f0bfa2 chore: bump to 3.0.0-rc.0 and publish npm prereleases under rc tag 2026-09-12 15:10:51 +02:00
cupcakearmy b7c20d6f59 fix(web): drop stale base64 overhead from max size display 2026-09-12 14:59:16 +02:00
cupcakearmy f36ae73b42 fix(web): pass FileDTO array directly to packContent (files already byte-converted) 2026-09-12 11:06:09 +02:00
cupcakearmy 82900adef8 refactor: extract payload pack/unpack pipeline into @cryptgeon/shared 2026-09-12 10:01:49 +02:00
cupcakearmy e81dde63ff chore: remove all lokalise references and badge 2026-09-06 22:46:46 +02:00
cupcakearmy 4f5f829c81 test: add shared api client tests and remove dead backend code 2026-09-06 22:46:40 +02:00
cupcakearmy dd213d6b41 chore(web): remove lokalise tooling and scripts 2026-09-06 22:29:07 +02:00
cupcakearmy 849ab7e4c5 chore: upgrade to typescript 7 with tsconfig strictest 2026-09-06 22:29:02 +02:00
cupcakearmy 6a4d40e7be refactor(cli): build with vite-plus instead of tsup 2026-09-06 22:28:58 +02:00
cupcakearmy e0d22283c8 v3 2026-09-06 18:34:07 +02:00
Matheus Leal 8034b1a501 fix: serve SPA fallback with 200 instead of 404
`ServeDir::not_found_service` wraps the fallback in `SetStatus`, which forces
every response to `404 Not Found`. Client side routes such as `/note/<id>` and
`/about` were therefore served the correct `index.html` but with a 404 status.

Use `ServeDir::fallback` instead, which leaves the status untouched. A note that
genuinely does not exist is still reported as 404 by `/api/notes/<id>`.

Behind a reverse proxy this made effectively every document request show up as a
4xx, skewing error rate dashboards and triggering false alerts.

Fixes #217
2026-09-03 16:09:40 -03:00
cupcakearmy 062054f450 first v3 2026-07-12 11:36:01 +02:00
cupcakearmy 6b29c6f069 feat: add REDIS_PREFIX env var for shared Redis instance namespace 2026-06-25 21:21:17 +01:00
cupcakearmy 40f3559533 chore:bump version 2026-06-25 21:01:10 +01:00
cupcakearmy ac686e1935 Merge pull request #209 from unambient/typo-fix
fix typo in localization key
2026-06-25 21:42:38 +02:00
maddie 8a000ce131 change localization instances of note_to_big to note_too_big 2026-06-09 10:43:05 +00:00
Fabian W 38987efc8a fix #207 2026-06-09 12:17:58 +02:00
cupcakearmy 9c4fbc30f9 cleanup 2026-06-07 13:53:38 +02:00
cupcakearmy f55925de86 Merge branch 'main' into feat/image-paste 2026-06-07 12:54:32 +02:00
cupcakearmy e14abeee74 replace license checker package 2026-06-07 11:15:35 +02:00
Stefan Meinecke f5823fb533 fix: clean up whitespace and add alt text to pasted images
Remove trailing whitespace throughout the Create.svelte component and add missing alt attribute to pasted image previews for better accessibility.
2026-06-01 02:35:57 +02:00
Stefan Meinecke 3e3d528d5a feat: add image paste support
Add image paste functionality allowing users to paste images directly
from the clipboard as files. Uses the standard DataTransfer API
(clipboardData.items) for cross-browser compatibility.

On the download page, images are now displayed as previews in addition
to the download option.

Also fix Rust 2024 never-type-fallback compatibility by adding turbofish
type annotations to redis crate calls.
2026-06-01 02:35:57 +02:00
Stefan Meinecke 905bce0072 fix https://github.com/cupcakearmy/cryptgeon/issues/200 2026-06-01 02:33:35 +02:00
Stefan Meinecke e8c3b53e49 fix: multiple minor fixes (#198, #188, #190)
- https://github.com/cupcakearmy/cryptgeon/issues/198: Replace abandoned license-checker with license-checker-evergreen
- https://github.com/cupcakearmy/cryptgeon/issues/188: Fix Polish locale number formatting by using {n} instead of # in ICU plural forms
- https://github.com/cupcakearmy/cryptgeon/issues/190: Add THEME_HOME_LINK env var to conditionally hide the /home link (defaults to true)
- Fix Rust 2024 never-type-fallback compatibility in store.rs
2026-06-01 02:33:24 +02:00
cupcakearmy d40bbd25ea Merge pull request #180 from ShiroDN/main
Add czech translation
2026-06-01 00:00:27 +02:00
cupcakearmy 339c3ac445 version bump 2026-05-31 23:59:01 +02:00
cupcakearmy e27915db06 Merge branch 'main' into main 2026-05-31 23:58:09 +02:00
cupcakearmy 198accddeb Merge branch 'main' into main 2026-05-31 23:50:44 +02:00
cupcakearmy f42662812f cleanup translations 2026-05-31 23:31:31 +02:00
cupcakearmy a551b16216 frontend cleanup 2026-05-31 23:24:55 +02:00
cupcakearmy 09840dcf0a frontend cleanup 2026-05-31 23:24:46 +02:00
cupcakearmy 690b955d5d watchexec & breaking changes in axum 0.8 2026-05-31 22:55:11 +02:00
cupcakearmy 0a56c4c572 maintenance 2026-05-31 22:24:20 +02:00
Stefan Meinecke 1a243cc96a Replace Redis with Valkey in docker-compose files and fix Rust 2024 compat
Swap redis:7-alpine images to valkey/valkey:7-alpine across all
docker-compose files and example READMEs. Keep service name as
"redis" so that the default REDIS=redis://redis/ connection string
still resolves correctly in Docker networking.

Also add turbofish type annotations to redis crate calls in store.rs
for Rust 2024 never-type-fallback compatibility, and fix a typo
("notion" -> "note") in an error message.
2026-05-12 18:40:41 +02:00