2835 Commits

Author SHA1 Message Date
Elian Doran
6056b55bde
fix(import/single): title extraction not working due to h1 conversion 2024-11-28 19:30:47 +02: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
8c69d47aed
client,server: Implement shortcut for toggle classic editor toolbar 2024-11-09 18:36:38 +02:00
Elian Doran
7a70fc14b3
server: Set up editor type option 2024-11-09 14:33:14 +02:00
Elian Doran
f5205fdd30
electron: Fix code block theme loading in dev mode 2024-11-07 23:09:53 +02:00
SiriusXT
d2ee3738a2 Make attachments open in a new tab/browser 2024-11-06 10:02:42 +08:00
Elian Doran
a02146df17
server: Fix loading of code block theme on server builds 2024-11-05 02:58:21 +02:00
Elian Doran
f8777b0de1
server: Fix path on dev environment 2024-11-02 15:01:58 +02:00
Elian Doran
e72eb5f27c
electron: Fix asset path on forge build 2024-11-02 11:49:33 +02:00
Elian Doran
b14065d442
server: Address self-review 2024-11-02 01:42:25 +02:00
Elian Doran
1554e25283
server: Add documentation for code_block_theme 2024-11-02 01:39:35 +02:00
Elian Doran
4e945583a1
server: Add some documentation 2024-11-02 00:55:45 +02:00
Elian Doran
92c588dc98
server: Implement color theme migration based on existing theme 2024-11-02 00:39:22 +02:00
Elian Doran
5c66e3fd04
server: Initialize code block theme for old databases as well 2024-11-02 00:20:27 +02:00
Elian Doran
e508313f21
electron: Fix deprecation warning 2024-11-01 23:42:32 +02:00
Elian Doran
0a6815e448
Merge remote-tracking branch 'origin/develop' into feature/syntax_highlight 2024-11-01 23:20:12 +02:00
Elian Doran
c2baa4b752
server: Add comment to clarify use of regex 2024-11-01 19:43:39 +02:00
SiriusXT
7f17f93767 Crop fileName and prevent cutting into the extension. 2024-11-01 21:43:09 +08:00
Elian Doran
a690155d7e
client: Improve group for no theme 2024-10-31 21:17:40 +02:00
Elian Doran
cc0b3db424
client: Translate dark/light color theme groups 2024-10-31 21:00:48 +02:00
Elian Doran
ae60f8c842
client: Group color themes by dark/light 2024-10-31 20:54:33 +02:00
Elian Doran
ac13291744
client,server: Allow disabling syntax highlight 2024-10-31 18:03:52 +02:00
Adorian Doran
48f9f072b4 Format theme names 2024-10-28 16:07:52 +02:00
Elian Doran
dbb5e0e971
server: Add friendlier names for color themes 2024-10-27 23:46:03 +02:00
Elian Doran
b8eb09b46b
server: Refactor code block theme search into own service 2024-10-27 23:12:55 +02:00
Elian Doran
b8569ea243
client, server: Create option to control word wrapping for code blocks 2024-10-27 21:51:56 +02:00
Elian Doran
96b9042559
client: Rename option to codeBlockTheme 2024-10-27 21:39:50 +02:00
Elian Doran
60b6f7df89
client: Allow switching theme 2024-10-27 12:54:06 +02:00
Elian Doran
391f518c01
i18n: Translate search note prefix 2024-10-25 21:04:13 +03:00
Elian Doran
9f6f0f5d60
server: Update locale when switching language from settings 2024-10-23 19:56:06 +03:00
Elian Doran
af67362ad6
server: Translate weekday and month names 2024-10-23 19:34:09 +03:00
Elian Doran
4ad725842e
server: Trim .htm when importing zip (closes #500) 2024-10-20 00:17:51 +03:00
Elian Doran
75d019863f
server: Disable debug mode for i18n 2024-10-13 14:40:07 +03:00
Elian Doran
849a6a3aef
electron: Solve server translation loading on macOS 2024-10-13 14:24:46 +03:00
Elian Doran
bae63b08a2
server, electron: Fix crash if locale is undefined 2024-10-12 18:24:10 +03:00
Elian Doran
729a188528
docker: Fix server translation initialization (closes #439) 2024-10-12 10:53:30 +03:00
Elian Doran
2c5a5acffa
server: Improve type for keyboard shortcut scope 2024-10-12 10:31:12 +03:00
Elian Doran
e45c5f429d
server: Fix crash when starting server in Docker due to translations 2024-10-12 10:29:50 +03:00
Elian Doran
bafc556b00
server: Fix build errors 2024-10-11 19:45:54 +03:00
Elian Doran
0ec3232c81
Merge pull request #451 from jaimeferj/bugfix/parseDatesOnSort
Fixes issue #441: Dates were not parsed on sorting
2024-10-10 23:31:47 +03:00
Elian Doran
469c1ceb07
Merge pull request #458 from TriliumNext/zip-import-image-fix
Resolve MIME type not being used when creating new note correctly, upon zip import
2024-10-10 23:26:48 +03:00
Elian Doran
5e80f120c9
server: Refactor variable usage 2024-10-10 20:21:06 +03:00
Elian Doran
8faa26b663
Merge pull request #391 from SiriusXT/revisions_number_limit
Revisions number limit
2024-10-10 20:13:24 +03:00
Elian Doran
ddc927d617
server: Bump sync version (closes #467) 2024-10-09 20:06:13 +03:00
perf3ct
c37a51c6d0
use type assertions to make TS happy? 2024-10-03 22:48:47 -07:00
perf3ct
91095e8d4e
detectFileTypeAndMime also returns the type, fixes #456 2024-10-03 22:24:43 -07:00
Jaime Fernández
270aa52591 Fixes issue #441: Dates were not parsed on sorting 2024-09-28 02:33:36 +02:00
SiriusXT
353c410f0e Merge branch 'develop' into revisions_number_limit 2024-09-17 19:58:16 +08:00
Elian Doran
9e85d2cdbd
server: Fix missing translations in keyboard actions 2024-09-14 14:34:24 +03:00
SiriusXT
0a9e76abb7 Merge branch 'develop' into revisions_number_limit 2024-09-14 14:58:47 +08:00