zadam
e87e065100
protected session expiration timer moved to backend, closes #2847
2022-05-13 23:20:56 +02:00
zadam
8318ab7ac0
added triggerCommand and triggerEvent into frontend API
2022-05-13 22:33:57 +02:00
zadam
8df3b0a5bd
Merge branch 'master' into excalidraw
2022-05-12 23:46:52 +02:00
Tom
c85f70e197
remove obsolete errorSvg
2022-05-10 13:47:43 +02:00
Tom
3df712b64f
refactor canvas-note to canvas
2022-05-10 13:43:05 +02:00
zadam
87f436c6ea
search dialog WIP from custom widget from antoniotejada
2022-05-09 23:13:34 +02:00
Tom
35c4c61d15
sync canvas icon of tree_context_menu
2022-05-09 16:57:23 +02:00
Tom
a168edb168
move sleep to general utisl function
2022-05-09 16:54:43 +02:00
Tom
83f1a68bfd
fix errorSvg.js path
2022-05-09 16:26:30 +02:00
Tom
9c7f8cf5d8
extract errorSvg
2022-05-09 16:17:37 +02:00
Tom
2394fe6ed9
reduce redundant package version to simplify upgrade
2022-05-09 15:16:12 +02:00
zadam
93cc6b12ec
added new APIs to access note detail, #2806
2022-05-03 23:25:28 +02: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 +02:00
zadam
3b58b83f8b
improved logging
2022-04-19 23:36:21 +02:00
Tom
4e4010e15e
update styles, fix share view
2022-04-19 21:46:25 +02:00
Tom
6bdaf050c5
replace excalidraw.com asset in svg with EXCALIDRAW_ASSET_PATH, clean up code
2022-04-19 14:39:53 +02:00
Tom
e19ddc10d3
make revision and renderer svg to shrink to box but not enlarge
2022-04-19 00:21:29 +02: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 +02:00
Tom Free
e437a9d70f
note about buggy excalidraw-utils for browser svg rendering
2022-04-19 00:20:21 +02:00
Tom
aefc9f1593
add excalidraw excalidraw/utils, react and react-dom as npm-dependencies
2022-04-19 00:20:13 +02:00
Thomas Frei
300f4ad357
remove obsolete comments / code
2022-04-19 00:13:27 +02:00
Tom
7f01032b6d
add support for render excalidraw in book view (copy of note_revision)
...
maybe one should think about extract a function there and make it reusable
2022-04-19 00:13:27 +02:00
Tom
025032de42
make note revisions work
2022-04-19 00:13:26 +02:00
Tom
24911da8db
use react production build
2022-04-19 00:13:26 +02:00
Tom
da84d16421
excalidraw include works, removed infinitedrawingcanvas
2022-04-19 00:13:26 +02:00
thfrei
2f2d8327e4
update libraries
2022-04-19 00:13:26 +02:00
Tom Free
0469962c5e
wip: canvas-note patch
...
Conflicts:
src/public/app/services/library_loader.js
src/public/app/services/tree_context_menu.js
src/public/app/widgets/note_actions.js
src/services/consistency_checks.js
src/services/utils.js
2022-04-19 00:13:26 +02:00
zadam
73425ec29d
workaround for wrongly placed tooltip, closes #2794
2022-04-16 15:51:30 +02:00
zadam
d6016f9b81
introduced mutex to avoid conflicts during tab closing
2022-02-09 21:21:17 +01:00
zadam
1dfde76b95
fix updating becca after undeleting notes
2022-02-08 23:38:54 +01:00
zadam
52b118df7f
add #shareRoot label to define an "index" note, closes #2567
2022-01-17 23:13:56 +01:00
zadam
da4f26d7ce
Merge remote-tracking branch 'origin/stable'
2022-01-13 20:32:37 +01:00
zadam
fa2ffd7574
ignore "Sync not configured" message when toggling shared state
2022-01-13 20:22:50 +01:00
zadam
2248d98cc7
using 201 for created entities in etapi
2022-01-12 21:14:12 +01:00
zadam
28df5d4aa2
etapi improvements and more tests
2022-01-12 19:32:23 +01:00
zadam
91e78998d1
unified Jump-To and quick search behavior with regards to hoisting and opening in a new tab
2022-01-10 20:44:59 +01:00
zadam
6f406f9aa2
search immediately when user chooses "full search" from Jump To dialog, #2483
2022-01-10 20:37:33 +01:00
zadam
91dec23d5e
ETAPI auth, spec improvements etc.
2022-01-10 17:09:20 +01:00
zadam
7159b13c9d
add memberId to entity_changes to avoid having to resend all changes second time
2022-01-09 20:16:39 +01:00
zadam
9ee1c9f3da
ETAPI delete/patch, refactoring
2022-01-07 19:33:59 +01:00
zadam
ffdd917717
Merge branch 'master' into next50
2022-01-03 20:10:48 +01:00
zadam
f4c81ecefb
fix setting window title when renaming notes
2022-01-03 19:52:24 +01:00
zadam
dad82ea4e8
Merge remote-tracking branch 'origin/stable'
...
# Conflicts:
# package.json
# src/services/build.js
2021-12-31 20:16:31 +01:00
zadam
a38ccde8bc
protect tree will check if password is set and send user to options if not
2021-12-30 23:55:36 +01:00
zadam
d97e454463
allow cloning into notes, not just branches, fixes #2484
2021-12-27 23:39:46 +01:00
DHMike57
ae951bfe23
Add option for vim keymap in codemirror ( #2475 )
2021-12-26 13:24:18 +01:00
zadam
402e29d6dc
Merge remote-tracking branch 'origin/stable'
2021-12-21 16:13:09 +01:00
zadam
e7faebfac3
sharing WIP
2021-12-21 16:12:59 +01:00
zadam
1e8472266f
small fixes
2021-12-21 13:22:13 +01:00
zadam
3860028a9e
sharing WIP
2021-12-20 17:30:47 +01:00