Panagiotis Papadopoulos
4f6085a1a4
chore(scripts): namespace "build:prepare-dist"
2025-02-14 08:43:41 +01:00
Panagiotis Papadopoulos
9cddb1deac
chore(scripts): namespace "build:webpack"
2025-02-14 08:41:34 +01:00
Panagiotis Papadopoulos
47002aa95a
chore(scripts): namespace "chore:update-build-info"
2025-02-14 08:38:18 +01:00
Panagiotis Papadopoulos
d2e8f946a0
chore(scripts): namespace "chore:ci-update-nightly-version"
2025-02-14 08:35:46 +01:00
Panagiotis Papadopoulos
688eb4d93f
chore(scripts): namespace "docs:"
2025-02-14 08:31:07 +01:00
Panagiotis Papadopoulos
0145636fc5
chore(scripts): namespace "electron:"
...
reorder entries
2025-02-14 07:39:01 +01:00
Panagiotis Papadopoulos
06890585d2
chore(scripts): namespace "electron:"
2025-02-14 07:36:49 +01:00
Panagiotis Papadopoulos
469519f5df
chore(scripts): namespace electron:start
2025-02-13 23:25:38 +01:00
Panagiotis Papadopoulos
7b062badf0
chore(scripts): namespace server
...
server:switch
2025-02-13 23:18:57 +01:00
Panagiotis Papadopoulos
f3dda940ec
chore(scripts): namespace server
...
server:start-safe
server:start-no-dir
server:start-test
server:qstart
2025-02-13 23:00:53 +01:00
Panagiotis Papadopoulos
786f3e8d40
chore(scripts): namespace server:start
2025-02-13 22:53:40 +01:00
Elian Doran
283482caa5
Merge pull request #1163 from TriliumNext/feat_erasure-timeout-ui
...
feat: friendly number handling for note erasure timeouts
2025-02-13 22:22:27 +02: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
4b9667b756
feat(settings): make duration selector slightly smaller
2025-02-13 22:21:09 +02:00
Elian Doran
e79c742d56
feat(i18n): translate duration units
2025-02-13 22:19:02 +02:00
Elian Doran
7ffece36f0
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop
2025-02-13 22:09:12 +02:00
Elian Doran
eecbfd0206
fix(client): note autocomplete not working properly on enter ( closes #1100 )
2025-02-13 22:09:08 +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
Elian Doran
508908ded8
Merge pull request #1173 from TriliumNext/fix_etapi-openapi-integration
...
build: fix missing copying of etapi.openapi.yaml in build process
2025-02-13 21:49:04 +02:00
Elian Doran
4d280f37ea
Merge pull request #1179 from FliegendeWurst/openapi-docs
...
Automated OpenAPI spec generation
2025-02-13 21:48:45 +02:00
Elian Doran
cc74164b94
chore(i18n): achieve 100% completion for Romanian
2025-02-13 21:46:11 +02:00
Elian Doran
3f4458ea2f
Merge pull request #1178 from hasecilu/i18n/Spanish
...
chore(i18n): update Spanish translation
2025-02-13 21:32:35 +02:00
Elian Doran
030e3cb805
fix(i18n): accidentally translated values
2025-02-13 21:31:54 +02:00
Elian Doran
6e17346768
feat(share): allow serving raw file via query parameter ( closes #1182 )
2025-02-13 21:28:01 +02:00
Elian Doran
4b597c5d2c
fix(client/revisions): improper rendering of nested lists ( closes #1177 )
2025-02-13 20:57:34 +02:00
Elian Doran
e2cd875c03
refactor(client): fix global event handling for modal
2025-02-13 20:39:00 +02:00
Elian Doran
8f6376e537
chore(client/ts): port revisions
2025-02-13 20:25:13 +02:00
FliegendeWurst
be4b74e791
Automated OpenAPI spec generation
2025-02-13 17:02:03 +01:00
hasecilu
4ed71f30f2
chore(i18n): update Spanish translation
2025-02-13 09:39:04 -06: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
cab0a5e41f
feat(config): improve Session descriptions
2025-02-13 09:25:24 +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
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
Panagiotis Papadopoulos
010783102a
build: fix missing copying of etapi.openapi.yaml into dist folder
...
fixes build via electron-forge
2025-02-12 23:09:20 +01:00
Elian Doran
e7f5d1d280
fix(client/ts): load only needed CodeMirror plugins
2025-02-12 22:49:47 +02:00
Elian Doran
69a6739d1f
fix(client): markdown code block not working ( closes #1164 )
2025-02-12 22:49:09 +02:00
Elian Doran
75afdbe093
chore(client/ts): port editable_code
2025-02-12 21:56:58 +02:00
Adorian Doran
cb7b25f054
repo: exclude irrelevant NPM tasks in VS Code
2025-02-12 12:06:55 +02:00
Adorian Doran
9c4aa4f220
style(next): tweak the "Change note icon" button
2025-02-12 01:55:56 +02:00
Adorian Doran
fc1e5ce23b
style(next): fix comment
2025-02-12 01:46:17 +02:00
Adorian Doran
faabec5360
style(next): tweak the note icon popup
2025-02-12 01:45:26 +02:00
Adorian Doran
202bb9e126
style(next): combo boxes: fix the dropdown arrow disappearing in certain situations while in the focused state
2025-02-12 01:29:50 +02:00
Adorian Doran
2f00839f52
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-02-12 01:17:02 +02:00
Adorian Doran
d8962393af
style(next): combo boxes: prevent the text overlapping the dropdown arrow
2025-02-12 01:16:57 +02: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