31 Commits

Author SHA1 Message Date
Elian Doran
b6e97c1ae9
refactor(server): typed options 2025-01-03 18:32:09 +02:00
Panagiotis Papadopoulos
ac77d20aaf refactor: use isMac and isWindows util funcs 2025-01-02 18:47:41 +01:00
Panagiotis Papadopoulos
7fe23c7ac2 refactor(services): use named imports from utils 2025-01-02 13:47:44 +01:00
Elian Doran
b321d99076
chore(code): fix editorconfig for src/public 2024-12-22 15:42:15 +02:00
Elian Doran
f30c35f0f2
feat(classic-toolbar): allow user to toggle multiline toolbar 2024-12-14 01:24:29 +02:00
Elian Doran
c39e8be29a
feat(server): set up option to toggle background effects 2024-12-09 21:57:54 +02:00
Elian Doran
921f216872
Merge remote-tracking branch 'origin/develop' into feature/trilium_next_theme 2024-11-30 00:55:37 +02:00
Elian Doran
aa99efc362
Merge remote-tracking branch 'origin/develop' into feature/extend-kept-html-tags
; Conflicts:
;	src/routes/api/options.ts
;	src/services/options_init.ts
2024-11-28 21:56:08 +02:00
Elian Doran
5b62ad101d
Merge remote-tracking branch 'origin/develop' into feature/trilium_next_theme 2024-11-23 16:27:55 +02:00
Elian Doran
e32f54a5c9
feat(server): add support for layout orientation option 2024-11-23 09:06:16 +02:00
Elian Doran
2e544a7337
feat(theme): use TriliumNext as default theme 2024-11-22 20:15:35 +02: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
d08f09ae3b read allowedTags from options, fall back to static 2024-11-17 16:08:44 -07:00
Elian Doran
7a70fc14b3
server: Set up editor type option 2024-11-09 14:33:14 +02:00
Elian Doran
b14065d442
server: Address self-review 2024-11-02 01:42:25 +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
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
e45c5f429d
server: Fix crash when starting server in Docker due to translations 2024-10-12 10:29:50 +03:00
SiriusXT
898afb7ed7 Add revision number limit 2024-09-04 08:41:17 +00:00
Elian Doran
f5330cb915
client,server: Add first day of week option 2024-08-31 16:24:09 +03:00
Elian Doran
6871216649
server: Set up a locale option 2024-08-11 07:36:00 +03:00
Elian Doran
99ca701a5c electron: Fix initial sync (closes #284)
Apparently the issue was caused by options_init which for Electron was
attempting to read the theme asynchronously. That's why it didn't cause
issues on the server build.
2024-07-29 20:41:28 +03:00
Elian Doran
24af2e55dc
server: Fix the remainder of import issues 2024-07-24 20:33:35 +03:00
Elian Doran
fe385bf2e4
server-esm: Solve a few straightforward cases 2024-07-18 23:35:13 +03:00
Elian Doran
0ceae0a65e
server-esm: Change some more export object to export default object 2024-07-18 21:47:30 +03:00
Elian Doran
35d11cc0d2
server-esm: Change simple local import statements 2024-07-18 21:35:17 +03:00
Elian Doran
5f4f30f84b
server-ts: Port services/options_init 2024-02-18 13:32:00 +02:00