Panagiotis Papadopoulos
440dbfd4d4
refactor(server/utils): use Set for isStringNote
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
3094b1779e
test(server/utils): add tests for isStringNote
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
5c20a6d5ee
test(server/utils): add tests for isDev
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
283b19c716
fix(server/utils): add missed export of isDev in default export object
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
de5ffb591d
test(server/utils): add tests for isMac/isWindows/isElectron
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
81db681732
refactor(server/utils): remove unused union
...
function is not used at all anywhere
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
45cf0334f1
test(server/utils): add tests for stripTags
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
738436061c
test(server/utils): add tests for removeDiacritic and normalize
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
92123e1761
refactor(server/utils): get rid of isString
...
let's use typeof x === "string" → works exactly the same and at the same speed as this custom isString fn
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
41c96fb202
test(server/utils): add tests for envToBoolean
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
9689222fd4
test(server/utils): add tests for removeTextFileExtension
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
05a0acbdb5
test(server/utils): add tests for newEntityId
...
and randomString
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
33346e0cee
test(server/utils): add tests for sanitizeSqlIdentifier
2025-02-01 14:37:12 +01: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
Panagiotis Papadopoulos
8546fe2333
test(server/utils): add tests for isEmptyOrWhitespace
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
e6f5321444
test(server/utils): move formatDownloadTitle tests to spec file
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
668cc7e1a4
test(import/utils): prepare spec file
2025-02-01 14:37:12 +01:00
Elian Doran
a2f1d71754
chore(client/ts): port mobile_widgets
2025-02-01 14:45:12 +02:00
Elian Doran
2baf75d0c1
feat(electron): custom icon for the windows installer
2025-02-01 14:39:36 +02:00
Adorian Doran
dcf164e2ff
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-02-01 14:37:36 +02:00
Adorian Doran
a1dfeb14e1
desktop app(export pdf): add page numbering
2025-02-01 14:37:21 +02:00
Elian Doran
72991a5649
fix(tray): improve fit for recent notes
2025-02-01 14:00:56 +02:00
Elian Doran
50514e2418
feat(tray): display recent note date as detail
2025-02-01 13:23:14 +02:00
Elian Doran
495fce7594
feat(tray): use template for menu icons
2025-02-01 12:57:51 +02:00
Elian Doran
ddb277e8e5
feat(tray): use template for main icon
2025-02-01 12:53:11 +02:00
Elian Doran
6db51d648b
feat(tray): black icon for macOS
2025-02-01 12:49:01 +02:00
Elian Doran
c80bf48d13
fix(tray): bring back dev icon
2025-02-01 12:45:32 +02:00
Elian Doran
0f2e50d265
feat(tray): higher DPI icon
2025-02-01 12:41:43 +02:00
Elian Doran
e10256e5bd
fix(tray): error if today's note was missing
2025-02-01 12:25:12 +02:00
Elian Doran
43ba49833d
feat(tray): try add 1.25x and 1.5x for Windows high-DPI
2025-02-01 12:22:13 +02:00
Elian Doran
755774042e
feat(tray): support hi-DPI
2025-02-01 11:59:42 +02:00
Elian Doran
0acd3c621e
Merge pull request #1086 from TriliumNext/fix_search_of_autocomplete
...
Fix a bug in the full text search in AutoComplete
2025-02-01 11:41:06 +02:00
Elian Doran
0bf3f890a2
feat(tray): support custom icon for dev mode
2025-02-01 11:34:35 +02:00
Elian Doran
80ddc8b4ef
feat(tray): react to language changes
2025-02-01 11:20:29 +02:00
Elian Doran
54f9cf831d
feat(i18n): translate tray icon
2025-02-01 11:16:46 +02:00
Elian Doran
60d8bc8238
feat(tray): reload recent notes on change
2025-02-01 11:07:47 +02:00
Elian Doran
ebc523a0fd
feat(tray): reload bookmarks on change
2025-02-01 11:04:49 +02:00
Elian Doran
09bf48e5a4
feat(tray): support bookmark folders
2025-02-01 10:54:00 +02:00
Elian Doran
ae4f012390
feat(tray): ensure window is visible
2025-02-01 10:46:27 +02:00
Elian Doran
c1f8c8a0b9
feat(tray): react to dark mode change
2025-02-01 10:41:08 +02:00
Elian Doran
4701edff4c
feat(tray): support dark theme for icons
2025-02-01 10:32:57 +02:00
Elian Doran
736f329857
feat(tray): use icons for tray items
2025-02-01 10:21:25 +02:00
Elian Doran
4bd9d32c74
feat(tray): use checkbox for show windows and move to top
2025-02-01 02:46:33 +02:00
Elian Doran
839e8a4143
feat(tray): display recent notes
2025-02-01 02:40:04 +02:00
Elian Doran
cd0c79e3d2
feat(tray): show a list of bookmarks
2025-02-01 02:29:34 +02:00
Elian Doran
84edf0348f
feat(tray): open today's journal note
2025-02-01 02:18:10 +02:00
Elian Doran
4b1cbca76d
feat(tray): add option to create new note
2025-02-01 02:08:19 +02:00
Elian Doran
9e0d002704
refactor(tray): use named functions instead of arrow fn
2025-02-01 01:54:51 +02:00
Elian Doran
c09ef76f87
Merge pull request #1091 from TriliumNext/feature/different_printing_mechanism
...
Export as PDF
2025-02-01 01:35:43 +02:00
Elian Doran
b59f98d63b
Merge pull request #1092 from lly-c232733/develop
...
Band-Aid fix for the bootleg eslint
2025-02-01 01:32:03 +02:00