Elian Doran
a3fbf15902
Merge remote-tracking branch 'origin/develop' into feature/task_list
2025-02-22 11:03:18 +02:00
Elian Doran
46f543ad54
Merge pull request #1207 from maphew/bare2share2
...
Bare2share - Redirect bare domain to defined #shareRoot
2025-02-22 09:25:30 +02:00
Elian Doran
38dbf6efcd
Merge pull request #1220 from TriliumNext/feat_friendly-numbers-note-revision
...
feat: friendly numbers note revision
2025-02-22 09:24:37 +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
ef487f46d1
Merge branch 'develop' into feature/task_list
2025-02-20 17:34:36 +02:00
Elian Doran
4e01534d76
refactor(i18n): move list of locales out of options
2025-02-20 12:27:33 +02:00
Elian Doran
c0d3e8d834
feat(tasks): filter by parent note
2025-02-19 22:13:13 +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
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
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
ed8b8e50a4
feature complete; tested and working on local linux machine
2025-02-16 22:47:50 -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
9299f90b85
feat(docs): internal API docs
2025-02-15 00:33:12 +02:00
Elian Doran
2fe6881d73
Merge pull request #1192 from FliegendeWurst/openapi-docs-2
...
More OpenAPI docs
2025-02-14 23:57:39 +02:00
FliegendeWurst
a115214070
Document some note, branch, tree routes
2025-02-14 09:40:38 +01:00
FliegendeWurst
0f0ebed78a
Document sync push/pull
2025-02-13 23:51:42 +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
Elian Doran
bfd894b5eb
Merge pull request #1156 from TriliumNext/feat_custom_cookie-session-expiration
...
feat: allow setting custom session cookie expiration
2025-02-13 21:50:09 +02:00
FliegendeWurst
be4b74e791
Automated OpenAPI spec generation
2025-02-13 17:02:03 +01:00
Panagiotis Papadopoulos
201663d9ec
chore(prettier): fix prettier issues
2025-02-13 09:07:25 +01:00
Panagiotis Papadopoulos
38215c46ae
feat(login): make use of default maxAge by sessionParser
...
cookie will use the default value set in sessionParser middleware, which is controlled by
config.Session.cookieMaxAge
if rememberMe is not set -> the value is unset and the cookie becomes a non-persistent cookie,
which the browser delete after the current session (e.g. when you close the browser)
2025-02-13 09:04:34 +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
04827c0ce1
fix(session_parser): FileStore ttl should be ideally the same as session cookies maxAge
...
this avoids having "unused" dead session on the filesystem
2025-02-13 08:21:29 +01:00
Panagiotis Papadopoulos
4e23b5193d
feat(session_parser): use Session.cookieMaxAge from config
2025-02-13 08:21:29 +01:00
Panagiotis Papadopoulos
2bb79c4209
feat: "friendly number handling" for note erasure timeouts
2025-02-11 09:06:29 +01:00
Elian Doran
b1bf6931f2
Merge pull request #1162 from TriliumNext/refactor_routes-login
...
refactor(routes/login): simplify login function and get rid of deprecated usage of expires
2025-02-11 10:03:09 +02:00
Panagiotis Papadopoulos
e3b7ae018f
refactor(routes/login): refactor login fn
...
I also got rid of the deprecated use of "expires" - setting maxAge to undefined is the preferred way
2025-02-11 07:55:18 +01:00
Elian Doran
d0399c173e
Merge pull request #1144 from TriliumNext/feature/swagger-ui-in-server
...
Add Swagger UI endpoint
2025-02-10 23:46:18 +02: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
b6d73df92e
feat(csrf_protection): use cookiePath from config
2025-02-10 19:03:10 +01:00
perf3ct
9c86a03acc
Do this thing to make Pano happy :)
2025-02-10 16:03:01 +00:00
Panagiotis Papadopoulos
a600568ab8
feat(session_parser): use cookiePath from config
2025-02-10 08:35:01 +01:00
perf3ct
57a34e5c02
use fs/promises instead of fs
2025-02-10 00:50:43 +00:00
perf3ct
d859f50c98
Change Swagger endpoint and site title
2025-02-09 22:17:31 +00:00
perf3ct
18f5f1b759
add Swagger UI endpoint and add to router
2025-02-09 21:15:12 +00:00
Elian Doran
a1c97142a8
feat(build): set up faster electron build by skipping dist
2025-02-08 00:41:39 +02:00
Elian Doran
7f314d2d75
feat(build): set up webpack cache
2025-02-08 00:41:39 +02:00
Elian Doran
892734bce3
Merge develop into test_server-utils
2025-02-04 21:28:44 +02:00
Elian Doran
ec95f62cd2
fix(server): doc notes not being served in dev mode
2025-02-02 12:47:41 +02:00
Panagiotis Papadopoulos
03c1128a72
fix(isEmptyOrWhitespace): avoid exception throwing when passed value is undefined
...
the req.body value from "routes/api/branches" actually seems to never get parsed into a JS object, but arrives as text string, so req.body.prefix could be undefined, which of course would cause an error to be thrown, when trying to call "match" on undefined.
2025-02-01 14:37:12 +01:00
Elian Doran
2cc7113c2c
refactor(deps): get rid of print-this
2025-02-01 00:52:46 +02:00
Elian Doran
6fab899898
Merge pull request #1073 from TriliumNext/refactor_utils-isPlatform
...
refactor(server/utils): turn isMac/isWin/isElectron/isDev into boolean
2025-01-29 22:16:20 +02:00
Panagiotis Papadopoulos
31c46753de
refactor(server/utils): isDev move to utils and replace fn with boolean
...
this value cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:58:00 +01:00
Panagiotis Papadopoulos
ca2bb94200
refactor(server/utils): isElectron - replace fn with boolean
...
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +01:00
Panagiotis Papadopoulos
ed33b72f57
chore(assets): remove manual provision of knockout
...
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 08:48:03 +01:00
Elian Doran
20584f622d
chore(client/ts): port zpetne_odkazy
2025-01-26 21:23:08 +02:00