3325 Commits

Author SHA1 Message Date
Elian Doran
fd4f35e879
feat(import/single): support UTF-16 LE with BOM for HTML 2025-02-22 01:37:22 +02:00
Elian Doran
0e5b8af3a4
Merge remote-tracking branch 'origin/develop' into feature/task_list 2025-02-21 08:53:51 +02:00
Elian Doran
c2e4def523
Merge branch 'develop' into feat_friendly-numbers-note-revision 2025-02-20 21:45:49 +02:00
Elian Doran
1e11625f14
Merge branch 'develop' into feat_friendly-numbers-protected_session_timeout 2025-02-20 21:45:30 +02:00
Elian Doran
860de346a7
feat(import/single): treat mdx as markdown 2025-02-20 20:38:58 +02:00
Elian Doran
324a3d0d8b
feat(import): trim .mdx extension from import 2025-02-20 20:29:00 +02:00
Elian Doran
f9e4ae7210
feat(import/zip): treat mdx as markdown (closes #1236) 2025-02-20 20:25:42 +02:00
Elian Doran
1c118f2aa9
feat(startup): display migration errors using system modal 2025-02-20 18:06:19 +02:00
Elian Doran
ef487f46d1
Merge branch 'develop' into feature/task_list 2025-02-20 17:34:36 +02:00
matt wilkie
2734e230ab WIP: 1st step at verifying shareRoot is set 2025-02-20 08:12:51 -07:00
Elian Doran
f6b6b2e740
feat(test): ensure backend translations are valid JSON 2025-02-20 12:42:42 +02:00
Elian Doran
34b4e6d069
feat(test): ensure frontend translations are valid JSON 2025-02-20 12:39:56 +02:00
Elian Doran
4e01534d76
refactor(i18n): move list of locales out of options 2025-02-20 12:27:33 +02:00
Elian Doran
a433c9c189
feat(tasks): add SQL migration 2025-02-20 12:07:10 +02:00
Elian Doran
c0d3e8d834
feat(tasks): filter by parent note 2025-02-19 22:13:13 +02:00
Elian Doran
034b93c99c
feat(tasks): support entities reloaded properly 2025-02-19 21:30:53 +02:00
Elian Doran
7c0b43db85
feat(tasks): mark tasks as completed 2025-02-19 19:22:38 +02:00
Panagiotis Papadopoulos
9a1d26e129 feat: add protectedSessionTimeoutScale option
to be used in the protected_session_timeout widget, when it is ported to use TimeSelector
2025-02-18 22:37:20 +01:00
Panagiotis Papadopoulos
eeb99cf37c feat: add revisionSnapshotTimeIntervalTimeScale option
to be used in the revision_snapshot_interval widget, when it is ported to use TimeSelector
2025-02-18 22:29:56 +01:00
Elian Doran
1024733252
feat(client/tasks): create task list note type 2025-02-18 19:42:27 +02:00
Elian Doran
17f9fa7e89
feat(tasks): add POST API 2025-02-18 19:30:02 +02:00
Elian Doran
98dff61305
feat(tasks): add GET API 2025-02-18 19:06:02 +02:00
Elian Doran
c0e42e23a6
feat(tasks): create backend model for task 2025-02-18 18:42:26 +02:00
Matt Wilkie
86ab2d4008 Merge remote-tracking branch 'origin/develop' into bare2share2
# Conflicts:
#	src/public/translations/en/translation.json
2025-02-17 13:54:40 -07:00
Matt Wilkie
657638ee54 responding to code review (thanks pano!) 2025-02-17 13:46:03 -07:00
Matt Wilkie
2ec2d784ec results of npx prettier 2025-02-17 13:19:55 -07:00
matt wilkie
ed8b8e50a4 feature complete; tested and working on local linux machine 2025-02-16 22:47:50 -07:00
matt wilkie
bc66e98533 okay, we can start npm server now, but new db redirects to share 2025-02-16 22:17:59 -07:00
matt wilkie
7af4e52766 brought over changes from 879035d
The last known good state before I got sidetracked into docker changes
2025-02-16 21:29:38 -07:00
Panagiotis Papadopoulos
f672054441 feat(time_selector): use time_selector in attachment_erasure_timeout 2025-02-16 18:30:56 +01:00
Elian Doran
753da46935
Merge remote-tracking branch 'origin/develop' into feature/zen_mode 2025-02-16 15:24:28 +02:00
Elian Doran
952ec516ee
feat(test): add test for code block mpapings 2025-02-16 11:43:20 +02:00
Elian Doran
a8f9403990
feat(code_block): map a few more themes 2025-02-16 11:43:12 +02:00
Elian Doran
ecb2c53c6f
feat(in_app_help): support webviews 2025-02-15 01:02:24 +02:00
Elian Doran
be39668488
feat(zen): add keyboard shortcut 2025-02-14 19:45:57 +02:00
Panagiotis Papadopoulos
0e18c405d8 test: "unskip" skipped tests 2025-02-14 09:17:57 +01:00
Elian Doran
27b825e511
Merge remote-tracking branch 'origin/develop' into feat_erasure-timeout-ui
; Conflicts:
;	src/public/translations/ro/translation.json
2025-02-13 22:21:38 +02:00
Panagiotis Papadopoulos
b692c00b8d feat(config): improve typesafety by definitely returning a number
previously it was either a number like string (in case env or config.ini was used) or a number (the fallback value)

we now parseInt the value -> if any value is NaN (e.g. because it was incorrectly set) it will try with the next, before it uses the fallback value

the strange looking `parseInt(String(process.env.TRILIUM_SESSION_COOKIEMAXAGE))` is required to make TypeScript happy, other variants of trying to get the value into a string were not good enough for typescript :-)

The `String(process.env.TRILIUM_SESSION_COOKIEMAXAGE)` will now either return a number like value or 'undefined' (as string), which parseInt parses into NaN, which is falsy.
2025-02-13 09:46:49 +01:00
Panagiotis Papadopoulos
2a740781cb feat(session_parser): use seconds for setting maxAge and update default value to 21 days
21 days was used in the login route previously, when "remember me" was set
2025-02-13 08:52:05 +01:00
Panagiotis Papadopoulos
53576f5578 feat(config): add Session.cookieMaxAge
allows users to control how long their session will be live, before it expires and they are forced to login again

defaults to 1 day  ("24 * 60 * 60 * 1000") as previously set in sessionParser
2025-02-13 08:21:29 +01:00
Elian Doran
d9e39fa792
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-02-11 22:20:38 +02:00
Elian Doran
0ca9809457
feat(client,server): support mid: links 2025-02-11 22:18:29 +02:00
Elian Doran
4d0969da0a
refactor(client,server): support for URL schemes 2025-02-11 22:14:44 +02:00
Elian Doran
bd5232ed14
feat(mobile): add recent changes dialog 2025-02-11 19:38:06 +02:00
Panagiotis Papadopoulos
2bb79c4209 feat: "friendly number handling" for note erasure timeouts 2025-02-11 09:06:29 +01:00
Panagiotis Papadopoulos
62f8f8f1a7 refactor(config): rename Cookies to Session
as requested in PR #1155
2025-02-10 19:44:19 +01:00
Panagiotis Papadopoulos
3c8723a404 feat(config): add Cookies.cookiePath option to config
defaults to "/" as previously set by default options
2025-02-10 08:33:31 +01:00
Elian Doran
48d4093274
Merge pull request #1143 from TriliumNext/fix_ts-file-mime-import
fix(import/mime): fix ts file mime import handling
2025-02-09 23:07:49 +02:00
Panagiotis Papadopoulos
2d1381b4f8 fix(import/mime): fix TypeScript handling
.ts file are now treated as code type with text/x-typescript as MIME type

fixes #1142
2025-02-09 17:45:15 +01:00
Panagiotis Papadopoulos
5d019137fa test: add test for .ts file 2025-02-09 17:43:25 +01:00