9222 Commits

Author SHA1 Message Date
Adorian Doran
fd5412b715 Merge branch 'develop' of https://github.com/TriliumNext/Notes into feat/tweak-menus 2024-11-19 23:16:13 +02:00
Adorian Doran
4bcca01ff3 Add a drop shadow for menus 2024-11-19 22:55:44 +02:00
Adorian Doran
9b5526c99f Tweak the color of the menu separator 2024-11-19 22:40:52 +02:00
Adorian Doran
80ce2f5dbd Reorder the global menu items 2024-11-19 22:31:29 +02:00
Jon Fuller
f629d48028
Update renovate.json
Remove the package rules for now, use the default schemas. Also include this repository in the config since I forgot that part 🤣
2024-11-19 12:08:17 -08:00
Elian Doran
da95e15b01
Merge pull request #615 from TriliumNext/feat/tweak-backup-list
Improve the "Existing backups" section
2024-11-19 20:40:30 +02:00
Adorian Doran
70be4cd1c2 Update the Romanian translation 2024-11-19 20:34:54 +02:00
Adorian Doran
349b1c1d78 Improve appeareance 2024-11-19 20:28:47 +02:00
Adorian Doran
e94942d665 Handle the situation where no backups are available 2024-11-19 20:22:10 +02:00
Elian Doran
4418ad986e
Merge pull request #612 from meichthys/develop
Improve note revision wording and consistency
2024-11-19 20:22:07 +02:00
Elian Doran
c962a94e29
Merge pull request #607 from TriliumNext/add-renovate
Add renovate GitHub Action and JSON config
2024-11-19 20:21:05 +02:00
Elian Doran
7f3d5f1e70
Merge pull request #609 from TriliumNext/siriusxt_patch_1
Add box icons to note menu
2024-11-19 18:38:34 +02:00
Adorian Doran
32a4a9c072 Sort the backup files by date & time 2024-11-19 18:07:42 +02:00
Adorian Doran
22b768e5e8 Add translation 2024-11-19 18:00:23 +02:00
Adorian Doran
970c3bd7ad Format date and time 2024-11-19 17:54:34 +02:00
Adorian Doran
75941de449 Replace the "Existing backups" bulleted list with a table 2024-11-19 17:42:03 +02:00
MeIchthys
5d6a42b987
Improve note revision wording and consistency
Removed plurals where not needed, capitalized revisions dialog title, made note revision setting titles consistent with note revision dialog.
2024-11-19 14:22:52 +00:00
SiriusXT
d8e50a2ab8 add icons to the Attachments menu 2024-11-19 22:21:33 +08:00
Adorian Doran
5b050410cb Fix the action button tooltips for the "Existing tokens" table 2024-11-19 09:48:44 +02:00
SiriusXT
f7b1c3fee3 Add box icons to note menu 2024-11-19 14:03:30 +08:00
SiriusXT
0ba883ce2f Add box icons to note menu 2024-11-19 12:08:41 +08:00
SiriusXT
2b0d68368c Add box icons to note menu 2024-11-19 11:08:20 +08:00
maphew
cc98a16246 refactor: one authoritave source for allowed html tags 2024-11-18 19:52:31 -07:00
perf3ct
180993ead9
make it clear that renovate opened this PR, for easier filtering 2024-11-18 20:22:38 +00:00
perf3ct
f4ed98ebda
add renovate GitHub Action and json config 2024-11-18 20:16:39 +00:00
Elian Doran
a4c0ae06db
client: Fix duplicate ribbon tabs (fixes #582) 2024-11-18 20:52:35 +02:00
Elian Doran
7a8d7f074c
client: Fix share boxicon not working correctly (fixes #603) 2024-11-18 19:12:31 +02:00
maphew
8574d2b143 Fix save) triggers 'not allowed to be changed'
"500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"

Note: the "allowed to change" list is set on startup. When a new option
is added Trilium must be restarted.
2024-11-17 20:38:27 -07:00
maphew
8db1205d57 Fix whitespace, \n delimiters
Bugs remaining:
- [reset to default] and page exit (e.g. save) triggers:
  "500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"
2024-11-17 20:30:28 -07:00
maphew
f3b398570e make options UI properly read from translations file
Bugs remaining:
- extra whitespace under heading
- existing list is filled with `\n` instead of delimiters
- [reset to default] triggers
  "500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"
2024-11-17 20:16:09 -07:00
maphew
91b48095e4 add UI widget for allowed html tags option
todo: test with live app
2024-11-17 16:39:03 -07:00
maphew
d08f09ae3b read allowedTags from options, fall back to static 2024-11-17 16:08:44 -07:00
maphew
9ef899eec5 extend html tags which are kept on import
https://github.com/TriliumNext/Notes/issues/567

this is the easy method, just add the tags to core, not attempting to
read the list from a user configurable location.
The addition is clearly marked in code.
2024-11-17 15:58:48 -07:00
Elian Doran
b4072ec8a5
Merge pull request #600 from dwong33/dwong33-patch-1
Created server.json, introduced Traditional Chinese translation
2024-11-17 18:47:58 +02:00
Dwong33
a50e3935b5
Rename zh/server.json to tw/server.json
Better suit the zh-tw vs zh-cn
2024-11-17 04:18:46 -05:00
Dwong33
3034ca217d
Created server.json, introduced Traditional Chinese translation 2024-11-17 04:15:08 -05:00
matt wilkie
5999dabd0b test fix: sqlite no such table entity_changes
claude:
I've updated the test file to:

Add the entity_changes table with all required fields
Add missing fields to the notes table (isDeleted)
Add missing fields when inserting the parent note
2024-11-16 21:39:08 -07:00
matt wilkie
9cd398d1ce test fix: setup CLS context
claude sez: "I see the issue. The tests are failing because we need to set up the CLS (Continuation Local Storage) context that Trilium uses for transactions. Let me check how this is handled in other tests:

I've updated the test file to:

I've updated the test file to:

Use an in-memory database for testing
Set up necessary database tables in beforeEach
Wrap all database operations in cls.init() and sql.transactional()
Handle async operations properly
2024-11-16 21:36:07 -07:00
matt wilkie
e397011437 test fix: describe not defined
"$ npx tsx spec/services/import/single.spec.ts
/home/mhw/dev/tnext/spec/services/import/single.spec.ts:6
describe('HTML Import', () => {
^
ReferenceError: describe is not defined
    at <anonymous> (/home/mhw/dev/tnext/spec/services/import/single.spec.ts:6:1)

Node.js v18.17.1"
2024-11-16 21:26:26 -07:00
matt wilkie
a1ff4bb132 test fix: do not access content directly
"TSError: ⨯ Unable to compile TypeScript:
spec/services/import/single.spec.ts:137:25 - error TS2339: Property 'content' does not exist on type 'BNote'."
2024-11-16 21:21:24 -07:00
SiriusXT
002839176e Triggers full text search when Ctrl + Enter is pressed 2024-11-17 12:18:05 +08:00
matt wilkie
14d7e3e1ce test: attempt fix test import error by using importSinglefile instead of importHtml 2024-11-16 21:17:50 -07:00
SiriusXT
e091ef64dd Triggers full text search when Ctrl + Enter is pressed 2024-11-17 12:17:11 +08:00
SiriusXT
46823d28e8 Merge branch 'develop' into sirius_patch_2 2024-11-17 12:15:29 +08:00
SiriusXT
616d7117db Merge branch 'sirius_patch_2' of https://github.com/TriliumNext/Notes into sirius_patch_2 2024-11-17 12:14:55 +08:00
SiriusXT
4e10071649 Triggers full text search when Ctrl + Enter is pressed in autocomplete 2024-11-17 12:14:44 +08:00
maphew
3a7564f733 a missed .ts file 2024-11-16 09:45:13 -07:00
maphew
47c05b2c6d feat: prefer HTML title tag over filename during import
When importing HTML files, extract and use the title from the <title> tag
if available, falling back to the filename only when no title tag is found.

This improves handling of titles with special characters that can't be
represented in filenames.
2024-11-16 09:06:58 -07:00
Elian Doran
3ff75b14e9
Merge pull request #595 from hasecilu/i18n/Spanish
i18n: Update Spanish translations for stable release
2024-11-16 00:25:08 +02:00
hasecilu
82e7814569
i18n: Update Spanish translations for stable release 2024-11-15 15:22:07 -06:00