4189 Commits

Author SHA1 Message Date
Octech2722
b51f83555b feat: implement content scripts for page interaction
Content Script Features:
- Declarative injection via manifest
- Selection extraction and HTML processing
- Image discovery and base64 conversion
- Message passing to service worker

Duplicate Note Notification
- Gives a large visual notification if an exisitng note is found in Trilium
- Can be toggled on/off via settings
- On by default

Runs in page context with proper CSP compliance.
2025-10-18 12:13:41 -05:00
Octech2722
4c53f8b262 feat: implement service worker with capture handlers
Service Worker Architecture:
- Event-driven, stateless (MV3 compatible)
- Message passing with structured error handling
- Chrome storage for state persistence

Capture Features:
- Save Selection (with image processing and base64 embedding)
- Save Page (Readability → DOMPurify → Cheerio pipeline)
- Save Link (basic URL + title)
- Save Screenshot (full page capture, cropping pending)
- Save Image (download and embed as base64)

Additional Features:
- Duplicate note detection with user choice dialog
- Context menu initialization on install
- Keyboard shortcut handlers
- Trilium API communication (create notes, search)
- Connection testing and validation

Uses centralized logging throughout.
No global state - all persistence via chrome.storage.
2025-10-18 12:09:47 -05:00
Octech2722
c28add177e feat: implement comprehensive theme system
Features:
- ThemeManager with three modes (light/dark/system)
- CSS custom properties for semantic colors
- Persistent storage via chrome.storage.sync
- Real-time OS theme detection and updates
- Event subscription system for theme changes

Provides professional theming across all UI components.
System mode automatically follows OS preference.
2025-10-18 12:09:19 -05:00
Octech2722
6811b91a17 feat: implement centralized logging system
Components:
- CentralizedLogger static class for log aggregation
- Logger class with source context (background/content/popup/options)
- Persistent storage in chrome.storage.local (up to 1000 entries)
- Log viewer UI with filtering, search, and export
- Survives service worker restarts

Critical for MV3 debugging where service workers terminate frequently.
Provides unified debugging across all extension contexts.
2025-10-18 12:08:41 -05:00
Octech2722
acbd5c8bcf feat: initialize MV3 project structure
- Manifest V3 configuration with proper permissions
- TypeScript + esbuild build system
- npm dependencies (Readability, DOMPurify, Cheerio)
- Build configuration (IIFE bundling, watch mode)
- Shared TypeScript type definitions

Foundation for Trilium Web Clipper Manifest V3 migration.
2025-10-18 12:07:37 -05:00
Octech2722
a00ea2e91d Reset web-clipper to origin/main baseline for MV3 migration 2025-10-11 20:33:18 -05:00
Octech2722
0c1de7e183 Address maintainer feedback: Clean up documentation and remove development files
- Improve README.md formatting and spacing
- Remove development/debugging files (MANIFEST_V3_CONVERSION.md, PULL_REQUEST.md, background-v2.js, verify-conversion.sh)
- Clean up project structure as requested in PR review
2025-10-06 15:27:33 -05:00
Octech2722
10d8437d73
Merge branch 'main' into feature/manifest-v3-update 2025-10-05 13:04:29 -05:00
Elian Doran
f30bdd54b1
fix(relation_map): floating buttons stuck when showing source 2025-10-05 18:38:40 +03:00
Elian Doran
62bb8ac89a
chore(release): prepare for 0.99.1 2025-10-05 11:52:06 +03:00
Elian Doran
33dfcb1c6e
docs(release): 0.99.1 2025-10-05 11:50:52 +03:00
Elian Doran
5969815ed1
fix(deps): downgrade mind-elixir (closes #7170) 2025-10-05 11:27:25 +03:00
Elian Doran
2b2125c702
fix(ai_chat): conversation not visible on Firefox 2025-10-05 11:03:18 +03:00
Adorian Doran
85a4557bb0 website: tweak the hero section 2025-10-04 19:11:44 +03:00
Adorian Doran
0d9e4a1aa2 website/header: add some style to the GitHub button 2025-10-04 17:07:32 +03:00
minkipark
279f014c42
Translated using Weblate (Korean)
Currently translated at 10.2% (39 of 381 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/ko/
2025-10-04 06:44:06 +00:00
minkipark
826e9c7114
Translated using Weblate (Korean)
Currently translated at 2.1% (34 of 1605 strings)

Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/ko/
2025-10-04 06:44:05 +00:00
Jiho Min
9306a28c87
Translated using Weblate (Korean)
Currently translated at 1.8% (29 of 1605 strings)

Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/ko/
2025-10-04 06:43:53 +00:00
Tore Aursand
9695dd404b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.8% (7 of 381 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/nb_NO/
2025-10-04 06:43:50 +00:00
green
5e6be01251
Translated using Weblate (Japanese)
Currently translated at 100.0% (381 of 381 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/ja/
2025-10-04 06:43:50 +00:00
renovate[bot]
bce987c67a
fix(deps): update eslint monorepo to v9.37.0 2025-10-04 05:55:42 +00:00
Elian Doran
e7a9f9c566
chore(deps): update dependency @types/serve-static to v1.15.9 (#7190) 2025-10-04 08:50:10 +03:00
Elian Doran
33150e3a98
chore(deps): update dependency electron to v38.2.1 (#7191) 2025-10-04 08:49:56 +03:00
renovate[bot]
e1aead098e
chore(deps): update dependency @types/serve-static to v1.15.9 2025-10-04 05:49:51 +00:00
renovate[bot]
0d6640ae14
fix(deps): update dependency katex to v0.16.23 2025-10-04 01:09:28 +00:00
renovate[bot]
ec56b297dc
chore(deps): update dependency electron to v38.2.1 2025-10-04 01:07:35 +00:00
Octech2722
43cf3ac7ca
Merge branch 'main' into feature/manifest-v3-update 2025-10-03 14:53:28 -05:00
Adorian Doran
a4b01bba9b website/GitHub utils: improve 2025-10-03 19:36:36 +03:00
Adorian Doran
bab536751a website: use a pre-defined GitHub stargazers count outside of SSR 2025-10-03 19:22:58 +03:00
Adorian Doran
7657e17373 website: add a GitHub social button to the site's header 2025-10-03 19:09:23 +03:00
Adorian Doran
30f530abdb website: use "Inter" as the main font 2025-10-03 17:09:17 +03:00
Adorian Doran
1d373bc7d5 Merge branch 'main' of https://github.com/TriliumNext/Trilium 2025-10-03 16:49:20 +03:00
Adorian Doran
9d3c5d04b9 website: add meta description 2025-10-03 16:49:10 +03:00
Elian Doran
ba91fbbe6b
fix(ribbon): formatting tab not activating automatically (closes #7185) 2025-10-03 16:46:26 +03:00
Elian Doran
f6898779bb
fix(code): unable to search in read-only code notes 2025-10-03 16:09:32 +03:00
Elian Doran
dbb90bdd2b
fix(client/print): split button visible 2025-10-03 16:05:32 +03:00
Elian Doran
f442c56ed6
fix(client/options): missing ribbon widgets section in Appearance 2025-10-03 16:01:31 +03:00
Elian Doran
e971a9cb03
fix(client): enter shortcut key not working 2025-10-03 15:46:53 +03:00
Elian Doran
b450a4faa0
fix(client): delete shortcut key not working 2025-10-03 15:39:27 +03:00
Elian Doran
9a2440942b
chore(deps): update dependency vite to v7.1.9 (#7177) 2025-10-03 09:13:39 +03:00
renovate[bot]
f277612444
chore(deps): update dependency openai to v6.1.0 2025-10-03 06:12:29 +00:00
renovate[bot]
1b92ad2f53
chore(deps): update dependency vite to v7.1.9 2025-10-03 06:11:33 +00:00
Octech2722
4c43f6740e
Merge branch 'main' into feature/manifest-v3-update 2025-10-02 20:01:29 -05:00
Elian Doran
713340a9ba
docs(guide): advanced CSS customisation 2025-10-02 22:25:47 +03:00
Elian Doran
ee8b41c81b
Equation improvements (#7174) 2025-10-02 21:43:58 +03:00
Elian Doran
dd477258a9
docs(guide): document formatting equations 2025-10-02 21:35:54 +03:00
Tore Aursand
d30cdadb2d
Added translation using Weblate (Norwegian Bokmål) 2025-10-02 18:09:59 +02:00
Tore Aursand
58f0d01944
Added translation using Weblate (Norwegian Bokmål) 2025-10-02 18:09:58 +02:00
Elian Doran
d4791944b0
Translated using Weblate (Romanian)
Currently translated at 100.0% (381 of 381 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/ro/
2025-10-02 18:09:57 +02:00
Elian Doran
92a052674f
Translated using Weblate (Romanian)
Currently translated at 100.0% (1605 of 1605 strings)

Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/ro/
2025-10-02 18:09:57 +02:00