Commit Graph

372 Commits (aadb8cce5d425dc8f211170b51a5088a9aaea94b)

Author SHA1 Message Date
zadam 0507c46ae9 revert general HTML support 2023-11-13 00:58:55 +07:00
Luis González ec737d02b2 feat(src/routes/assets.js): Add KaTex support to assets route. 2023-11-09 18:33:36 +07:00
Luis González b17848609b Update Katex from 0.16.0 to 0.16.9 2023-11-08 17:15:15 +07:00
zadam 1cd391a132 mermaid 10.5.1 2023-10-22 23:57:28 +07:00
zadam 4294c043d8 enabled CKEditor HTML support 2023-10-21 23:19:14 +07:00
zadam aefc4c6bd2 ckeditor 40 2023-10-21 17:24:47 +07:00
zadam 9767b6269a upgrade code mirror to 5.65.15 and fix modes requiring multiplex or overlay, fixes #4279 2023-09-28 01:02:27 +07:00
zadam 75b7706c2c mermaid 10.4.0 2023-09-21 12:24:44 +07:00
zadam 6fa9d996e8 ckeditor 39.0.2 2023-09-06 23:23:42 +07:00
zadam f9a27dd90c add imageStyle alignBlockLeft, alignBlockRight, fixes #4215 2023-09-05 22:16:45 +07:00
zadam c0f48c0e99 mermaid 10.3.1 2023-08-15 10:30:30 +07:00
zadam abedf2bba4 fix pasting into ckeditor, upgrade to v39.0.1 2023-08-15 10:25:23 +07:00
zadam 5c12ac4eee fix CKEditor crashing 2023-08-10 13:40:15 +07:00
zadam 696ce38083 ckeditor 38.1.1 2023-07-30 00:32:16 +07:00
zadam df97b269a7 autocomplete upgrade to 0.38.1 2023-07-15 11:45:18 +07:00
zadam ee6fb98a0d jquery 3.7.0 2023-07-15 11:41:36 +07:00
zadam 13e30e5855 dayjs frontend update 2023-07-15 11:38:01 +07:00
zadam 64b86b2666 use marked instead of commonmark to convert MD to HTML, which supports e.g. tables, closes #2026 2023-07-15 10:31:50 +07:00
zadam 5f6fded833 zoom for the attachment images 2023-07-14 21:06:15 +07:00
zadam 332b92791e upgrade mermaid to 10.2.4 2023-07-14 19:56:37 +07:00
zadam d4a9461460 force graph upgrade 2023-07-14 19:45:10 +07:00
zadam b7b0bd80ed padding of right pane 2023-06-30 23:01:57 +07:00
zadam fc564f6aed fix eslint validation 2023-06-30 00:02:25 +07:00
zadam f4ec4e58c7 fixed image styles 2023-06-29 21:30:26 +07:00
zadam 788841d256 fix mentions 2023-06-29 12:19:01 +07:00
zadam 48b30b985e attachment upload 2023-06-28 20:53:55 +07:00
zadam cb2b97635a centering icons in note book vertically 2023-06-22 23:34:05 +07:00
zadam 176784834f simple formatter for source view of text HTML notes 2023-06-20 23:59:36 +07:00
zadam 3ff5fe61b2 unified file and image upload WIP 2023-06-15 01:26:38 +07:00
zadam 38839532d5 file upload WIP 2023-06-06 12:31:38 +07:00
zadam 9d52f80c2f linking attachments finished 2023-05-29 10:21:34 +07:00
zadam 0aa119af2c attachments WIP 2023-05-29 00:19:54 +07:00
zadam 735ac55bb8 fixes, allowing conversion of note into an attachment 2023-05-02 22:46:39 +07:00
baiyongjie 5e5fe2ccf3 fix: upgrade version to support top level await 2023-04-12 10:05:26 +07:00
zadam 7be9db8b84 fix ctrl+click opening note twice, closes #3630 2023-02-22 22:59:31 +07:00
zadam 059c339c09 fix warnings in ckeditor 2022-12-21 23:10:13 +07:00
zadam b202b43bf5 added watchdog for CKEditor to recover from crashes, fixes #3227 2022-12-15 21:45:47 +07:00
zadam 648dd73fa1 mermaid 9.3.0 2022-12-15 20:37:59 +07:00
zadam 698a6bf91c ckeditor 35.4.0 2022-12-15 18:58:47 +07:00
zadam 9460cfdc55 Merge remote-tracking branch 'origin/master' into next58 2022-12-09 15:18:51 +07:00
zadam 44997f5cd1 options fixes 2022-12-08 15:18:41 +07:00
DynamoFox d06d4ba437 Fix missing boxicons icons; Add missing boxicons LICENSE file from upstream 2022-12-07 20:32:19 +07:00
zadam 8fad8a1ce9 enabled advanced list features, fixes #3308 2022-11-10 23:22:37 +07:00
zadam 8b0c60a046 improvements to notemap in relation to search 2022-11-05 22:32:50 +07:00
zadam 441a59305b upgrade mermaid to 9.1.7 2022-10-26 20:15:42 +07:00
zadam b74f5a0a33 Merge branch 'stable' 2022-10-26 20:12:22 +07:00
zadam c7acfd4d4e fix clicking internal link in the ckeditor toolbar, closes #3236 2022-10-26 14:11:20 +07:00
zadam af6d738d56 updated boxicons to 2.1.4, update icon index + search also within term array, fixes #3233 2022-10-25 23:01:09 +07:00
zadam 70c9292413 codemirror 5.65.9 2022-10-15 12:22:09 +07:00
zadam dc62cf4805 ckeditor 35.2.1 2022-10-14 22:39:28 +07:00
zadam 20ff5627d8 ckeditor 35.1.0 2022-09-28 22:55:53 +07:00
zadam 1f6222a653 fix notemap resize + upgrade of force-graph 2022-08-02 17:17:27 +07:00
zadam 0f92468ab2 bootstrap 4.6.2 2022-07-20 00:03:21 +07:00
zadam 1ad406ced5 electron search is not used anymore 2022-07-10 12:22:52 +07:00
zadam 7cdc181b47 upgrade to KaTeX 0.16.0 2022-07-09 22:35:04 +07:00
zadam 1434effa22 upgraded mermaid to 9.1.2 2022-06-19 21:16:30 +07:00
zadam 5fbaed61c1 fix "cut to note", closes #2895, #1182 2022-06-03 22:05:18 +07:00
zadam 8fcc76ad6d fix debounce webpack 2022-06-02 23:26:40 +07:00
zadam f250b72563 findwidget in read only notes WIP 2022-05-25 23:38:06 +07:00
Tom 61657087f5 move debounce to library, remove unnecessary binds, replaceassets only for canvas 2022-05-10 13:26:29 +07:00
Tom f85ed672cc moving canvas_note_share to src/share and add routes 2022-05-09 16:38:23 +07:00
Tom dfa30358c5 ensure external assets in excalidraw are avoided 2022-05-09 16:08:56 +07:00
Tom dc35df9f63 optimize canvas_note share to make it more clear about view mode and excalidraw 2022-05-03 22:44:52 +07:00
Matt 7bcd1c3009
Add download button to shared canvases (#7)
thx @sigaloid 

* Add download button to shared canvases
* Update canvas_note_share.js
* Update canvas_note_share.js
* Update canvas_note_share.js
* Change to more accurate language
2022-05-03 21:43:26 +07:00
Tom c42bcd6c59 remove icon-set so long as not clear how to use (preferably use special trilium note!) 2022-04-19 00:21:29 +07:00
Tom cb88f316db basic share view render (css wrong) 2022-04-19 00:21:29 +07:00
Tom c295fdb142 rename excalidraw icon libraries 2022-04-19 00:20:21 +07:00
Tom Free ee7aa3d3da remove manually added, static libraries for excalidraw, react, etc. 2022-04-19 00:20:21 +07:00
Tom Free 73671671d7 remove obsolete fabric/hammer/jquery from canvas-note early trials 2022-04-19 00:17:39 +07:00
Thomas Frei b4d4606c73 add a selection of excalidraw-drawing-libraries 2022-04-19 00:13:27 +07:00
Tom 025032de42 make note revisions work 2022-04-19 00:13:26 +07:00
Tom da84d16421 excalidraw include works, removed infinitedrawingcanvas 2022-04-19 00:13:26 +07:00
thfrei 2f2d8327e4 update libraries 2022-04-19 00:13:26 +07:00
zadam f7d6bda49d added zooming/panning to mermaid diagrams, closes #2635 2022-04-03 23:14:47 +07:00
zadam df1d94ec61 ckeditor 33 content styles 2022-03-26 14:10:29 +07:00
zadam 0a95d0f6f5 ckeditor 33 2022-03-22 22:20:44 +07:00
zadam d2d2a6c086 ckeditor 32 2022-02-12 22:53:55 +07:00
zadam d74371c9f5 added missing placeholder.js 2022-01-07 20:30:14 +07:00
zadam dad82ea4e8 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	package.json
#	src/services/build.js
2021-12-31 20:16:31 +07:00
DHMike57 ae951bfe23
Add option for vim keymap in codemirror (#2475) 2021-12-26 13:24:18 +07:00
zadam 3860028a9e sharing WIP 2021-12-20 17:30:47 +07:00
zadam 2d339dec6b share functionality WIP 2021-12-05 23:10:35 +07:00
zadam b78ab1ee02 boxicons 2.1.1 2021-12-05 21:50:02 +07:00
zadam b7efc92099 frontend library updates 2021-11-15 22:28:56 +07:00
zadam a08690b123 CKEditor 30 content styles 2021-10-08 18:17:17 +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 291b434d70 added mermaid samples to demo document 2021-09-30 13:17:37 +07:00
Abitofevrything b37bcd294c
Implement mermaid diagrams (#2187)
* Start implementing mermaid diagrams

* Implement theming for mermaid diagrams

* Add edit tab to mermaid diagrams

* Remove comment

* Render mermaid diagrams in included notes

* Prevent mermaid notes from being removed to consistency checks
2021-09-29 21:54:56 +07:00
zadam fea46bb150 ckeditor v30.0.0 2021-09-29 17:47:15 +07:00
zadam a0caa21458 global link map WIP 2021-09-17 22:34:23 +07:00
zadam 0448883782 option to erase notes immediately 2021-09-16 14:38:09 +07:00
zadam 3f2ee4aefd ckeditor fix to use correct modified mention plugin 2021-09-12 00:08:25 +07:00
zadam b90ae8eb79 ckeditor fix 2021-09-11 22:01:04 +07:00
zadam 266807179c ckeditor upgrade to 29.2.0 2021-09-11 21:44:52 +07:00
zadam 3c8e267aad added calendar to the sidebar 2021-07-05 14:46:20 +07:00
zadam da0670188b Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/services/ws.js
2021-07-05 10:14:37 +07:00
zadam 65938c5272 enable autoformat plugin in ckeditor build, closes #1339 2021-07-05 10:13:52 +07:00
zadam f50bb2278c Merge remote-tracking branch 'origin/stable' into stable 2021-06-02 21:41:06 +07:00
zadam f5573fcad4 starting work on link map reimplementation using force-graph library 2021-05-29 22:52:32 +07:00
zadam f176191efb Merge remote-tracking branch 'origin/stable' into redesign
# Conflicts:
#	package-lock.json
#	package.json
2021-05-26 21:44:08 +07:00
zadam dc5304faa0 updated ckeditor content styles 2021-05-26 21:41:58 +07:00
zadam 205f9953f9 Merge remote-tracking branch 'origin/stable' into redesign
# Conflicts:
#	package-lock.json
#	package.json
2021-05-26 21:27:06 +07:00
zadam b9639bffce imported internal links crash ckeditor, #1979 2021-05-25 21:45:59 +07:00
zadam e924662a29 tree visual changes, fonts etc. 2021-05-23 20:26:54 +07:00
Jules-Bertholet a410ed1b74
Update KaTeX to v0.13.9 (#1925)
* Update KaTeX to v0.13.9

* Allow KaTeX commands like \url and \includegraphics
https://katex.org/docs/options.html
2021-05-08 20:58:56 +07:00
Jules-Bertholet 1308dc20e8
Add support for mhchem markup in KaTeX (#1917) 2021-05-06 22:38:56 +07:00
zadam 025af8df02 ckeditor 27.1 2021-04-21 23:03:09 +07:00
zadam f739dbfe87 ckeditor 5.60.0 2021-04-06 22:16:34 +07:00
zadam 6c9ac5b5ec jquery 3.6.0 2021-03-30 23:32:44 +07:00
zadam e055d4e15e ckeditor 27 2021-03-29 23:29:14 +07:00
zadam 7e2186721f added "re-render note" menu item & shortcut, closes #1766 2021-03-19 22:34:56 +07:00
zadam 0bc91da0bb added possibility to zoom into images using mousewheel 2021-03-15 22:24:56 +07:00
zadam 723a0e479e ckeditor 26.0 2021-03-10 20:02:23 +07:00
zadam bf231d31a2 fancytree 2.38.0 2021-02-09 21:33:55 +07:00
zadam 2dc742f5b8 don't recompress animated images, #1585 2021-01-28 20:17:57 +07:00
zadam 7bf6ec3ff2 bootstrap 4.6.0 2021-01-19 22:28:43 +07:00
zadam 053162fef2 bootstrap 4.5.3 2020-12-17 15:20:20 +07:00
zadam bf653a9a5c ckeditor 24 content styles 2020-12-15 15:18:45 +07:00
zadam 0bb548d0d1 ckeditor 24 2020-12-13 20:27:57 +07:00
zadam bc520edd19 fix usage of async .getHeaders() 2020-12-03 21:50:41 +07:00
zadam 167b6974fe Merge remote-tracking branch 'origin/stable' 2020-11-23 21:20:06 +07:00
zadam 984ecaf99c show again the table handle and type around 2020-11-23 20:56:14 +07:00
zadam 473229f03a Merge remote-tracking branch 'origin/stable' 2020-11-21 20:44:37 +07:00
zadam e5fa1e0ed5 hide table's selection handle, fixes #1448 2020-11-20 21:01:44 +07:00
zadam af1fd5bd06 improvements to collapsible section container 2020-11-19 23:02:25 +07:00
zadam 1403acd808 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/public/app/services/note_content_renderer.js
2020-11-08 21:06:48 +07:00
zadam 4bd87b1796 update ckeditor5-math which fixes focus and placeholder issues 2020-11-07 21:28:12 +07:00
zadam 9b05d30b47 update boxicons to 2.0.7 2020-11-03 22:44:50 +07:00
zadam 3d808d638a Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	package-lock.json
#	package.json
#	src/public/app/services/note_content_renderer.js
2020-10-30 15:40:57 +07:00
zadam b898973ee6 fixed update ckeditor to 23.1.0 2020-10-29 20:09:25 +07:00
zadam a2b0d8a379 update ckeditor to 23.1.0 2020-10-29 20:02:38 +07:00
zadam 29c1d05540 frontend dayjs update 2020-10-23 21:24:16 +07:00
zadam dc94e1a1bf added list style, closes #1311 2020-10-19 23:54:37 +07:00
zadam 313b9dba61 support math in read only text notes 2020-10-19 23:36:57 +07:00
zadam f23454ffa3 math support WIP 2020-10-15 23:57:29 +07:00
zadam 631a11509a experimental math support 2020-10-15 20:49:42 +07:00
zadam 91a2bb9b26 fixed demo document - restored more up to date version + largest notes stats 2020-10-06 22:25:28 +07:00
zadam 8855f29a49 detect TAB in table - then don't indent/outdent but switch table cells, closes #1290 2020-10-05 22:51:28 +07:00
zadam 0c4deda091 don't insert space after mentined label/relation, #1284 2020-10-03 21:51:10 +07:00
zadam 0e795b2978 create note inline, #1237 2020-09-21 22:08:54 +07:00
zadam 6518d113c6 fix highlighting in some mime types 2020-09-20 23:33:11 +07:00
zadam 1d5a53fee6 load simple mode by default, fixes #1256 2020-09-20 21:42:51 +07:00
zadam 395eb92d93 cleanup of unnecessary codemirror mode files 2020-09-20 21:42:15 +07:00
zadam 71323500b7 updated codemirror to 5.57.0 2020-09-20 21:41:40 +07:00
zadam 50d3ddbed5 added remove formatting plugin, closes #1239 2020-09-19 23:43:50 +07:00
zadam 847766b434 fancytree 2.37.0 2020-09-12 21:25:47 +07:00
zadam 445902d081 ckeditor 22 2020-08-27 15:24:23 +07:00
zadam fbe3995398 fixed tree hotkeys 2020-08-26 22:12:01 +07:00
zadam 8d0df6ddb9 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	db/demo.zip
#	src/services/notes.js
#	src/services/request.js
2020-08-10 23:45:17 +07:00
zadam 7779fd1dfe synchronize the removal of the selection in cuttonote to make it more predictable 2020-08-10 22:42:57 +07:00