8719 Commits

Author SHA1 Message Date
Elian Doran
83cd72fa86
fix(import/single): title appearing as text 2024-11-28 19:41:45 +02:00
Elian Doran
cef464f88b
fix(import/single): h1 not being removed due to downgrade to h2 2024-11-28 19:37:00 +02:00
Elian Doran
6056b55bde
fix(import/single): title extraction not working due to h1 conversion 2024-11-28 19:30:47 +02: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
matt wilkie
14d7e3e1ce test: attempt fix test import error by using importSinglefile instead of importHtml 2024-11-16 21:17:50 -07: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
Elian Doran
66e8cc40eb
i18n: Translate Romanian strings 2024-11-15 22:34:09 +02:00
Elian Doran
2260dcefe5
client,server: Enforce min value of max content width (closes #593) 2024-11-15 22:29:59 +02:00
Elian Doran
40c9ef69e7
Merge pull request #587 from TriliumNext/feature/editor-type-radios
Replace the editor type combo box with radio buttons
2024-11-15 21:01:10 +02:00
Elian Doran
a8b87a1507
Merge pull request #576 from TriliumNext/siriusxt_patch
Add a text replacement feature to the find_widget
2024-11-15 20:51:27 +02:00
Elian Doran
1df1637257
Merge pull request #589 from TriliumNext/sirius_patch_3
Add more link protocol support
2024-11-15 20:43:09 +02:00
Adorian Doran
616cb87d4e client: Change the icon of the "Formatting" tab 2024-11-14 20:55:30 +02:00
SiriusXT
7f0d675ab8 Add more link protocol support 2024-11-14 14:04:10 +08:00
SiriusXT
c907b288bd Add more link protocol support 2024-11-14 11:18:03 +08:00
SiriusXT
d9ab5d71aa Add more link protocol support 2024-11-14 11:15:38 +08:00
Adorian Doran
8731b8a65b Fix translation 2024-11-13 23:55:30 +02:00
Adorian Doran
de4f06d9be Update translations 2024-11-13 23:35:10 +02:00
Adorian Doran
9485067749 client: Replace the editor type combo box with radio buttons 2024-11-13 23:34:43 +02:00
Elian Doran
693bcfb587
client: Add find & replace button to fixed toolbar 2024-11-12 19:47:50 +02:00
Elian Doran
38d32813d2
client: Fix syntax highlight for shell scripts (closes #583) 2024-11-12 19:32:38 +02:00
SiriusXT
a0c6d695b0 Fix find_widget bugs 2024-11-12 10:56:54 +08:00
SiriusXT
d63baa1503 Merge branch 'develop' into siriusxt_patch 2024-11-12 08:59:53 +08:00
Elian Doran
6734d765c9
Bump to 0.90.11-beta v0.90.11-beta 2024-11-11 19:48:50 +02:00
Elian Doran
470594b1c7
Merge pull request #573 from TriliumNext/perfectra1n-patch-2
Update README to mention MacOS command fix
2024-11-11 19:42:56 +02:00
Elian Doran
782d34566d
Merge pull request #577 from hasecilu/i18n/Spanish_mini
i18n: Update Spanish translations, 100%
2024-11-11 19:41:32 +02:00
hasecilu
1b2a772612
i18n: Update Spanish translations, 100% 2024-11-11 10:35:54 -06:00
SiriusXT
497c24ee1e Fix the bug that code can't get the selected text 2024-11-11 23:13:26 +08:00
SiriusXT
8893e9d4d5 add replacement feature for code note 2024-11-11 22:57:24 +08:00
SiriusXT
2d9376a05c add a text replacement feature to the find_widget 2024-11-11 18:59:03 +08:00
SiriusXT
ce40c74e83 Merge branch 'develop' into siriusxt_patch 2024-11-11 18:26:07 +08:00
SiriusXT
0aef04cea1 add a text replacement feature to the find_widget 2024-11-11 18:19:19 +08:00
SiriusXT
12b71961ae add a text replacement feature to the find_widget 2024-11-11 18:11:31 +08:00
Elian Doran
46218d6ab4
Merge pull request #574 from TriliumNext/fix-version-update-check
More reliably check for version updates
2024-11-11 00:47:51 +02:00
perf3ct
1d2366fa06
fix "click to download" button 2024-11-10 17:18:26 +00:00
perf3ct
0acba0eac4
add docstring for func 2024-11-09 22:23:02 +00:00
perf3ct
48d53e276e
more reliably check for version numbers 2024-11-09 22:16:00 +00:00
Elian Doran
47baa02bca
i18n: Translate 100% of Romanian 2024-11-09 23:34:18 +02:00
Elian Doran
bc35c3c641
i18n: Remove some German-only messages 2024-11-09 23:31:45 +02:00
Jon Fuller
790b87f23f
Update README to mention MacOS command fix 2024-11-09 13:28:45 -08:00
Elian Doran
48ba15ad88
i18n: Fix incorrect IDs for German 2024-11-09 23:25:34 +02:00
Elian Doran
cda28cfd65
Merge pull request #561 from j13055/develop
added german translation
2024-11-09 23:17:23 +02:00
Elian Doran
7ffe145481
Merge pull request #569 from TriliumNext/perfectra1n-patch-2
Update README.md for incremented sync version
2024-11-09 23:14:53 +02:00
Elian Doran
ac2bca790b
Fix duplicate title for Trilium toolbar item (fixes #525) 2024-11-09 23:12:10 +02:00
Elian Doran
774966e640
client: Allow more link protocols (fixes #122) 2024-11-09 23:06:26 +02:00