Commit Graph

642 Commits (b88f81b718d261b61f30c181259eef91e1ba31f7)

Author SHA1 Message Date
zadam ad887c4b12 added image OCR and parsing text from PDF (and OCR of PDF images) 2023-01-26 20:32:27 +07:00
zadam c68a67d148 ocr test 2023-01-25 15:20:53 +07:00
zadam 339d8a7378 initial implementation of note attachments 2023-01-22 23:36:05 +07:00
zadam f50a9c250a many small issues found by intellij analysis 2023-01-15 21:04:17 +07:00
zadam c97ada3434 docs improvements 2023-01-13 23:54:47 +07:00
zadam da161c7ce0 rename shaca entities to have F-prefix, #3476 2023-01-03 13:40:21 +07:00
zadam a083917db1 fix context menu in browser for launchers, closes #3454 2022-12-25 10:33:31 +07:00
zadam e05e4bec32 fix old migration to avoid unique constraints problems, closes #3447 2022-12-22 15:11:20 +07:00
zadam 724f99f17c add prefix "_" to "named" IDs 2022-12-21 16:11:00 +07:00
zadam 6def541e78 improve compatibility with common js, #3436 2022-12-18 12:58:26 +07:00
zadam 195c6a4089 backend log improvements 2022-12-15 16:38:05 +07:00
zadam b9ae68d559 small fixes 2022-12-14 12:26:04 +07:00
zadam ca968a9e31 hoisting support in mobile view WIP 2022-12-13 16:57:46 +07:00
zadam 2957e1d78a improvements in mobile layout for launchbar 2022-12-12 23:48:34 +07:00
zadam c231b3cb79 styling changes of buttons 2022-12-11 13:20:37 +07:00
zadam 342ae6e5e2 introduced new exception classes for structured error reporting 2022-12-09 16:04:13 +07:00
zadam 73eb585398 fixed migrations 2022-12-08 13:45:56 +07:00
zadam 27ce273d29 bookmarks use cloning 2022-12-04 13:16:05 +07:00
zadam 42cd333694 clarification on the 5 minute sync auth leeway 2022-12-02 22:12:07 +07:00
zadam b3c87156c2 library upgrades 2022-11-07 21:26:13 +07:00
zadam 521d95021b fix refocusing find widget, closes #3252 2022-10-28 20:05:53 +07:00
zadam 6c37f2ce71 package-lock.json 2022-10-27 22:41:01 +07:00
zadam 876e6caa23 better handling of incorrect operators 2022-10-22 15:58:15 +07:00
zadam ed8acc7ee3 switch-server, switch-electron npm scripts to ease rebuilding better-sqlite3 2022-10-14 21:59:43 +07:00
zadam a9c0daa51a FIXME comment on virtual branches 2022-09-24 23:03:38 +07:00
zadam ca03c41205 flatpak release script should support beta channel 2022-09-12 22:35:22 +07:00
zadam b2a63afc28 limit max imported file size to 250 MiB, #3108 2022-09-03 15:11:03 +07:00
zadam 80dcb45415 disable compression for electron / desktop builds 2022-08-22 19:29:58 +07:00
zadam 201ef7fcd5 fix "show recent note" button, closes #3051 2022-08-09 21:49:37 +07:00
zadam 12af3d05f0 hoisted note should be expanded after tree collapse 2022-08-02 20:38:48 +07:00
zadam e5fdd5128a fix password protected notes rejection 2022-08-01 19:56:09 +07:00
zadam 46deceedc9 optional basic auth for shared notes, closes #2781 2022-07-31 21:45:32 +07:00
zadam 5444cc2009 floating button container WIP 2022-07-24 14:30:42 +07:00
zadam bed0db9fa0 prevent zooming the whole app when ctrl + zoom on the canvas note, fixes #3002 2022-07-20 23:39:40 +07:00
Tom Free 4ca59dcc5c upgrade to excalidraw v0.12, fix breaking changes 2022-07-14 23:49:30 +07:00
zadam 0d4275a260 fix saving new protected note revisions, closes #2951 2022-07-01 22:49:10 +07:00
zadam 1434effa22 upgraded mermaid to 9.1.2 2022-06-19 21:16:30 +07:00
zadam 11412a258b converted recent changes dialog to new pattern 2022-06-14 22:55:07 +07:00
zadam f8fd8e47a9 added rename note bulk action 2022-06-12 23:29:11 +07:00
zadam 2115b76047 bulk action dialog converted to widget 2022-06-11 23:29:52 +07:00
zadam 4837dd050b fix bug when giving focus again to autocomplete input when coming back from note type chooser 2022-06-02 23:21:17 +07:00
zadam 98b579524c create note from template WIP 2022-05-31 22:45:57 +07:00
zadam dcf31f8f95 toc fixes 2022-05-30 17:45:59 +07:00
zadam 37cb5f5e9a added previous/next buttons to the find widget 2022-05-25 20:43:52 +07:00
zadam 82fcc97ed2 Merge branch 'custom-search-dialog' 2022-05-25 20:32:22 +07:00
zadam 53e9c8cdac upgrades 2022-05-24 21:34:32 +07:00
zadam 13ccd2ba67 remove the canvas dependency (transitive dep of jsdom) in postinstall 2022-05-22 13:45:49 +07:00
zadam fca0b82610 find widget fixes 2022-05-17 22:11:45 +07:00
zadam 8318ab7ac0 added triggerCommand and triggerEvent into frontend API 2022-05-13 22:33:57 +07:00
Tom a37d75a08f upd package-lock version 2022-05-03 22:01:53 +07:00
Tom 8d510a3fdd Merge remote-tracking branch 'upstream/master' into excalidraw
conflict in
- package-lock (accept incoming),
- routes (remove the option to have image without filename, since it is not really necessary for canvas_note)
- note_detail
2022-05-03 21:56:52 +07:00
zadam 643a5e5b16 moving `deleteNote` and `deleteBranch` into entities to make them accessible to scripts, #2792 2022-04-19 23:06:46 +07:00
Tom 05c8c6cfaa set express same as master 4.17.3 2022-04-19 00:24:41 +07:00
Tom 9771b441ad missing path2d support for freedawings, remove node-side rendering, allow async getContent()
* ## Excalidraw and SVG
 * 2022-04-16 - @thfrei
 *
 * Known issues:
 *  - excalidraw-to-svg (node.js) does not render any hand drawn (freedraw) paths. There is an issue with
 *    Path2D object not present in node-canvas library used by jsdom. (See Trilium PR for samples and other issues
 *    in respective library. Link will be added later). Related links:
 *     - https://github.com/Automattic/node-canvas/pull/2013
 *     - https://github.com/google/canvas-5-polyfill
 *     - https://github.com/Automattic/node-canvas/issues/1116
 *     - https://www.npmjs.com/package/path2d-polyfill
 *  - excalidraw-to-svg (node.js) takes quite some time to load an image (1-2s)
 *  - excalidraw-utils (browser) does render freedraw, however NOT freedraw with background
 *
 * Due to this issues, we opt to use **only excalidraw in the frontend**. Upon saving, we will also get the SVG
 * output from the live excalidraw instance. We will save this **SVG side by side the native excalidraw format
 * in the trilium note**.
 *
 * Pro: we will combat bit-rot. Showing the SVG will be very fast, since it is already rendered.
 * Con: The note will get bigger (maybe +30%?), we will generate more bandwith.
 *      (However, using trilium desktop instance, does not care too much about bandwidth. Size increase is probably
 *       acceptable, as a trade off.)
2022-04-19 00:21:20 +07:00
Tom aefc9f1593 add excalidraw excalidraw/utils, react and react-dom as npm-dependencies 2022-04-19 00:20:13 +07:00
Tom f354821f25 basic support for using api/images with canvas-note
http://localhost:8080/api/images/<noteId>/some-rando-text
2022-04-19 00:17:16 +07:00
zadam a45cf033aa fix hiding of linked images in shared notes, closes #2791 2022-04-15 23:09:07 +07:00
zadam a04becc4ec dep upgrades 2022-04-10 14:13:45 +07:00
zadam 091d6a1cf1 added #shareRaw label 2022-03-22 21:20:47 +07:00
zadam 5481375347 DB dump tool feature complete 2022-02-12 22:20:15 +07:00
zadam 398376108d added integrity check button into advanced options. 2022-02-01 21:22:43 +07:00
zadam 2075e89239 improved logging 2022-01-31 21:25:18 +07:00
zadam 52b118df7f add #shareRoot label to define an "index" note, closes #2567 2022-01-17 23:13:56 +07:00
zadam 6fbd5a77e4 forgotten note_types 2022-01-14 19:53:59 +07:00
zadam ce046b2e20 small dark theme tweaks 2022-01-12 20:13:11 +07:00
zadam 28df5d4aa2 etapi improvements and more tests 2022-01-12 19:32:23 +07:00
zadam 91dec23d5e ETAPI auth, spec improvements etc. 2022-01-10 17:09:20 +07:00
zadam 7159b13c9d add memberId to entity_changes to avoid having to resend all changes second time 2022-01-09 20:16:39 +07:00
zadam 9ee1c9f3da ETAPI delete/patch, refactoring 2022-01-07 19:33:59 +07:00
zadam 2b10023055 electron update 2022-01-04 22:10:35 +07:00
zadam e7faebfac3 sharing WIP 2021-12-21 16:12:59 +07:00
zadam 16d97b95af optimized custom script/widget loading 2021-12-19 22:08:52 +07:00
zadam e0378c5064 optimized #keyboardShortcuts retrieval 2021-12-19 10:50:38 +07:00
zadam 2d339dec6b share functionality WIP 2021-12-05 23:10:35 +07:00
zadam bbceb6251a backlinks WIP, #2349 2021-12-01 23:12:54 +07:00
zadam 1ee2abcc42 keep some types (e.g. mermaid diagrams) of notes full width 2021-11-24 21:27:55 +07:00
Myzel394 b23ead8097
Fix: Highlighting searched term should ignore accents (#2364)
* fixed accent highlighting not working

* fixed

* fixes

* improvements
2021-11-21 16:27:50 +07:00
zadam ae29c6bac4 global note map should respect hoisting, #2365 2021-11-21 10:40:48 +07:00
zadam 89322c4b03 upgrade to electron v16 and node v16 2021-11-16 22:43:08 +07:00
zadam 20a187fab9 fix exporting root note, closes #2346 2021-11-15 21:23:19 +07:00
Myzel394 fcc0a80f4e
Add tray (#2325)
* copied tray from old thread

* added visibility changer to tray
2021-11-14 13:36:39 +07:00
zadam 8996f35cc0 Merge remote-tracking branch 'origin/next49' 2021-11-14 13:18:13 +07:00
zadam e378435fbe added "switch to mobile version" button to web edition, closes #1889 2021-10-31 16:56:23 +07:00
zadam 35fc4ba9a4 fix wrapping of code blocks in note revisions, #2216 2021-10-28 20:38:35 +07:00
zadam bcabe5786f fix ordering of note contexts, fixes #2283 2021-10-27 21:32:03 +07:00
zadam a434aa113d fix repeated invocation of actions in note actions dropdown, closes #2255 2021-10-21 20:53:35 +07:00
zadam 980309ae2a sharing WIP 2021-10-19 22:48:38 +07:00
zadam 4111a2f0e8 docker image build/push is now handled by github actions 2021-10-14 20:49:48 +07:00
zadam f505f9d65a hide tooltip after clicking on a button, fixes #2228 2021-10-13 23:05:47 +07:00
zadam 64a3a8b561 tweaks 2021-10-12 22:36:22 +07:00
zadam 6738f2cd24 fix preserving original sourceId after running script notes, fixes #2224 2021-10-12 21:41:25 +07:00
zadam ec732c0a98 filter out duplicated note paths, fixes #2218 2021-10-11 21:08:25 +07:00
zadam d02d846024 empty notes in note overview will display the list of children 2021-10-10 14:09:22 +07:00
zadam abbba6501d script execution results are also pojo-ized 2021-10-08 15:14:23 +07:00
zadam 8d42ffca6d basic bookmark support 2021-10-05 22:08:02 +07:00
zadam e2c4f32b5e added ckeditor with Find & Replace, for now without keyboard shortcut (ckeditor/ckeditor5#10645) 2021-10-04 21:53:57 +07:00
zadam e4a483aefe fix duplicate subtree 2021-10-02 23:26:18 +07:00
zadam 8c2a5d19f2 remove extra logging 2021-09-30 22:26:56 +07:00
zadam 0264e847ef fixes 2021-09-28 10:58:34 +07:00
zadam b041d081db added migration to add excludeFromTreeMap for journal subtrees 2021-09-23 22:08:23 +07:00
zadam dd37f09309 global link map WIP 2021-09-18 14:29:41 +07:00
zadam 0448883782 option to erase notes immediately 2021-09-16 14:38:09 +07:00
zadam 4023c28f5e consistency_checks fix 2021-09-11 14:34:37 +07:00
zadam f24ea8137b revert of better sqlite3 dep for server build 2021-09-08 20:56:26 +07:00
zadam 2b8c6e3dd0 bug fixes 2021-09-07 22:37:03 +07:00
zadam 6e300c7cf5 make sure the sorted branches are still sorted after drag & drop, #2142 2021-09-02 23:21:02 +07:00
zadam 167d4816fd display "multiple-parents" asterisk only for multiple non-search parents 2021-09-02 22:27:35 +07:00
zadam 1bc50ed976 strip # or ~ when getting attribute 2021-09-02 22:14:22 +07:00
zadam cfcc34fa8e package upgrades (including #2134) 2021-08-31 21:54:42 +07:00
zadam d27fcaf317 improvements in frontend sync (WIP) 2021-08-24 22:37:00 +07:00
zadam b99d83af50 improvements in frontend sync (WIP) 2021-08-20 21:42:06 +07:00
zadam b619a6515b fix first "0-24:00:00.000" log time 2021-08-12 20:57:43 +07:00
zadam 13a16e8251 force attribute value to be a string, closes #2104 2021-08-12 20:42:35 +07:00
zadam c82308489b fix import 2021-07-20 13:29:11 +07:00
zadam c115628f1f full search should be already triggered when going from quick search 2021-07-04 16:46:57 +07:00
zadam 4cc02ffb31 fix search 2021-07-02 23:22:10 +07:00
zadam b660238a40 backend import unification 2021-06-29 22:15:57 +07:00
zadam eebbf74517 Merge remote-tracking branch 'origin/master' into redesign 2021-06-29 20:55:15 +07:00
zadam 1b9c3b0759 keep focus when clicking on edit read only note 2021-06-24 23:50:56 +07:00
dependabot[bot] 92cf2c18fa
Bump normalize-url from 4.5.0 to 4.5.1 (#2006)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 12:01:16 +07:00
zadam e054a1694e using rate limiter 2021-06-11 21:00:06 +07:00
zadam ac04be4433 mobile frontend fixes 2021-06-03 21:47:25 +07:00
zadam f1344e3b95 refactoring of "collapsible section container" into "ribbon container" 2021-06-03 12:47:13 +07:00
zadam c04bbd4973 context menu now offer option to open notes in a new pane 2021-06-03 12:25:33 +07:00
zadam f8dd8ebf1a dark theme tweaks 2021-06-02 21:23:40 +07:00
zadam c4987c4fd1 added basic properties 2021-05-26 22:41:55 +07:00
zadam 1f5e4530c3 moved note actions button into section container 2021-05-24 14:39:44 +07:00
zadam 274cf7312c refactored TabContext => NoteContext 2021-05-22 12:26:45 +07:00
zadam 731051154b Merge branch 'stable' into next
# Conflicts:
#	package.json
2021-05-18 21:07:29 +07:00
zadam a4aaa49774 fix width in zen mode, closes #1965 2021-05-18 20:30:06 +07:00
zadam 04f249e800 backend scripts should not be async because of transaction management 2021-05-15 22:57:23 +07:00
zadam a65eda5e4a Merge remote-tracking branch 'origin/master' into next 2021-05-15 22:45:28 +07:00
zadam caa6e9ee72 use archiver.js to export instead of yazl, #1938 2021-05-14 22:57:44 +07:00
zadam cecce1df20 electron upgrade 2021-05-14 22:23:11 +07:00
zadam 8417d4a4ea various becca migration fixes 2021-05-11 22:00:16 +07:00
zadam 2edc7dbf58 merge fixes 2021-05-08 11:20:20 +07:00
zadam fddab59265 added note.executeScript() 2021-05-07 21:23:10 +07:00
zadam e41be520a8 becca conversion WIP 2021-04-30 22:13:13 +07:00
zadam 3b1fb8024f handle undefined in the search ordering 2021-04-26 21:04:22 +07:00
zadam a74741343e upload of modified open file WIP 2021-04-24 11:39:59 +07:00
zadam 025af8df02 ckeditor 27.1 2021-04-21 23:03:09 +07:00
zadam 583df35231 log warning about unsucessful login 2021-04-19 21:41:29 +07:00
zadam 51d1d8efb8 use n to force node version 2021-04-19 20:26:58 +07:00
zadam d3cccae2df implemented audio/video in note content renderer + streaming API #886 2021-04-18 12:40:12 +07:00
zadam 79bb249f3b implemented audio/video in note content renderer + streaming API #886 2021-04-17 22:35:47 +07:00
zadam 197537b159 idea config stuff 2021-04-13 21:54:34 +07:00
zadam 3337487063 fixes 2021-04-10 23:23:43 +07:00
zadam 9c679aef20 added #runOnInstance and #runAtHour 2021-04-08 21:22:47 +07:00
zadam 052f584bf4 edit note button is now just an icon 2021-04-08 20:17:35 +07:00
zadam 2d0cb5b66e update electron to 13 beta 2021-04-06 20:19:34 +07:00