Commit Graph

46 Commits

Author SHA1 Message Date
Julien Calixte
70d9d8a890 feat(todotxt): add parser/serializer for todo.txt format
Pure utility with Task model, line/file parse/serialize, project/context/tag
extraction, due/rec segment splitting, and toggleCompleted. Round-trip tests
cover priorities, dates, tag tokens, mid-word @ guards, and blank lines.
2026-06-13 21:23:11 +02:00
Julien Calixte
bb3a4a4dad test: cover post-merge gaps in utils, services, and hooks
All checks were successful
CI / verify (push) Successful in 59s
Adds specs for the files added or modified in the recent merge that
weren't yet covered: oauthReturnPath, withATProtoImages, link,
displayLanguage, and the useGitHubContent / useImageUpload /
useNoteFreshness hooks. Locks in the new pullLatest contract
({raw, failureStatus}) and the fetchLatestSha branch semantics
(ok/unauthorized/offline).
2026-06-06 23:36:17 +02:00
Julien Calixte
9f21cb7882 chore: merge origin/main with local test additions
All checks were successful
CI / verify (push) Successful in 10m1s
Resolves conflict in repo.spec.ts by combining getRepoPermission
tests from main with the getFiles and queryFileContent tests from
the local test pass. Adds getRepoPermission to the userRepo.store
spec mocks so the new permission probe added upstream doesn't break
the store tests.
2026-06-06 22:17:10 +02:00
Julien Calixte
1a2d8f4ebf chore: add tests 2026-06-06 22:13:14 +02:00
Julien Calixte
0b3411626c feat(utils): add uniqueFilename helper with -2 collision suffix 2026-05-25 21:17:42 +02:00
Julien Calixte
0ef339d42e fix(markdown): scope SVG download buttons to rendered diagrams
Only target SVGs inside .tikz / .mermaid containers so action-bar
icons (edit, save, freshness badge) no longer get download buttons.
2026-05-16 12:57:16 +02:00
Julien Calixte
0e70d808ce fix(markdown): raise PNG export scale to 3× 2026-05-16 12:31:18 +02:00
Julien Calixte
952417621e fix(markdown): embed used @font-face rules in exported SVGs
The exported SVG carries font-family="cmr7"/"cmsy7"/… attributes but
no @font-face, so standalone viewers fall back to system fonts. That
scatters TikZ glyphs (precomputed x positions assume Computer Modern
metrics) and turns cmsy7 minus signs into ¡ (custom symbol encoding).
Inline only the rules for font-families the SVG actually uses, and
await document.fonts.ready before rasterizing to PNG.
2026-05-16 12:29:10 +02:00
Julien Calixte
9d1b6552cb feat(markdown): add hover download buttons on rendered SVGs
Attach SVG and PNG (×2) download buttons to every rendered SVG (TikZ,
Mermaid, …) once post-render finishes. Exports always use the original
colors with a white background baked in, regardless of theme.
2026-05-16 12:17:04 +02:00
Julien Calixte
adb1bd5945 fix: fix height on mobile 2026-04-29 10:34:46 +02:00
Julien Calixte
9d6f70546e feat(notes): render code files with Shikiji syntax highlighting
Non-markdown files opened as stacked notes are now highlighted using
the existing markdown-it-shikiji pipeline (4-backtick fence wrapping)
with a h1 filename heading. Edit controls are hidden for code files.
Adds alloy language grammar and a fileLanguage utility mapping
extensions to Shikiji language IDs.
2026-04-27 19:57:15 +02:00
Julien Calixte
d50adc72e9 refactor(downloadFont): handle generic families and multi-family strings
Strips generic CSS families (serif, monospace, etc.) before building
the font API URL, and correctly parses comma-separated font stacks.
2026-04-27 10:12:12 +02:00
Julien Calixte
20e9538983 feat: mv profile to footer 2026-03-28 20:24:08 +01:00
Julien Calixte
c06253e509 chore: migrate oxlint disable comments 2026-03-28 09:52:25 +01:00
Julien Calixte
5f48aa5690 chore: lint and fmt 2026-03-28 09:38:55 +01:00
Julien Calixte
0ed2906782 fix: use correct capture group index for tabler icon name 2026-03-17 23:50:21 +01:00
Julien Calixte
944b128894 feat: add icons, better suited than emojis 2026-03-17 23:43:29 +01:00
Julien Calixte
908641e54b prune: remove twitter embed 2026-03-07 19:03:06 +01:00
Julien Calixte
7ca922e0a6 feat: language in header 2026-03-01 19:00:29 +01:00
Julien Calixte
801832c6e5 feat: handle absolute internal links for stacked notes 2026-02-19 21:32:37 +01:00
Julien Calixte
5ea5db2655 feat: add optional slug to public note URLs 2026-02-17 13:38:45 +01:00
Julien Calixte
8b921f1adb refacto: look after remanso now 2026-02-14 14:40:11 +01:00
Julien Calixte
08e9c41c4d deps: use coollabs instead of google fonts 2026-01-22 22:52:29 +01:00
Julien Calixte
4a53a17de4 fix: no more intensive error 2026-01-20 23:01:57 +01:00
Julien Calixte
3e417ca271 fix: Google Font
feat: add a todo view
2026-01-19 00:37:55 +01:00
Julien Calixte
7b2611129a feat: add youtube button for video id extraction 2025-11-01 21:54:50 +01:00
Julien Calixte
b2250b2b95 feat: add fontFamilies array 2025-07-06 11:23:15 +02:00
Julien Calixte
c8e75097f5 feat: full reload on repo link 2025-06-08 12:15:37 +02:00
Julien Calixte
3625006c87 fix: notyf style 2025-04-08 21:53:09 +02:00
Julien Calixte
c93e4a8b16 design: confirm message with daisyui design 2024-12-29 01:12:54 +01:00
Julien Calixte
0d218fa25d log: remove log from font 2024-10-27 11:23:17 +01:00
Julien Calixte
78c52b0cb1 perf: ️ google font
only create link if the link doesn't exist
2024-04-06 15:40:32 +02:00
Julien Calixte
809b376430 add util to download and set the --font-family to the downloaded font 2024-04-06 14:10:52 +02:00
Julien Calixte
ccb486a0b6 progress for file update inapp 2023-08-20 23:55:25 +02:00
Julien Calixte
5824451864 show errors too 2023-08-20 23:54:54 +02:00
Julien Calixte
c0182c7f57 ♻️ (app) 2023-08-14 14:08:10 +02:00
Julien Calixte
3f8cb0985a 💄 (card) add perspective to cards 2023-07-06 01:15:04 +02:00
Julien Calixte
d6a045f96b (twitter) implement tweets in notes 2023-07-04 23:24:41 +02:00
Julien Calixte
5eeb78e366 (twitter) prepare for tweets 2023-07-04 00:38:16 +02:00
Julien Calixte
492eb5ed3b refacto and never use escape method 2023-07-02 12:29:54 +02:00
Julien Calixte
c0f1ba28db 🐛 (markdown) redo the lib for audio media 2022-01-02 14:08:41 +01:00
Julien Calixte
25ad639c80 🐛 (title) only use title notes not path 2021-08-09 20:13:04 +02:00
8f46bd4740 (title) use title notes for HTML title 2021-08-08 12:36:37 +02:00
Julien Calixte
c6dec8769f display links to the stacked note 2021-06-06 10:47:36 +02:00
Julien Calixte
4f13c18573 compute note backlinks 2021-06-06 09:57:17 +02:00
1191fdbf9b (login) notify when token is saved. 2021-04-04 16:45:43 +02:00