Commit Graph

930 Commits

Author SHA1 Message Date
Tienson Qin
b3ddcaef59 fix: org image syntax 2021-02-03 18:26:46 +08:00
charlie
3beda2c422 fix(electron): try to fix #1228 2021-02-02 14:55:19 +08:00
Tienson Qin
b9a60aee09 Merge pull request #1179 from logseq/feat/electron
Desktop app support
2021-01-28 21:40:23 +08:00
Tienson Qin
bf13349fc1 fix: page hangs when embeding the parent block
Closed #1119
2021-01-28 21:38:24 +08:00
Tienson Qin
83fda19660 fix: asset file link in markdown shouldn't prefixed with ! 2021-01-28 18:13:52 +08:00
charlie
c151c9c7cf improve(electron): compatible paste assets for multiple platform 2021-01-28 18:01:03 +08:00
charlie
32c2d4f268 feat(electron): support upload any asset types 2021-01-28 15:57:42 +08:00
Tienson Qin
5c30e0b47e fix: keeping ask for permissions for nfs graphs
Also, simplify the code a bit.
2021-01-28 15:44:20 +08:00
charlie
6d0d83e86f fix(electron): get correct file path when drop image 2021-01-26 21:23:47 +08:00
charlie
b7619958ec improve(electron): adapt paste/drop asset for electron clipboard api 2021-01-25 14:33:50 +08:00
charlie
6b61a3c762 feat(electron): copy file when upload asset 2021-01-24 20:47:06 +08:00
Tienson Qin
b3224d0869 electron: file watcher 2021-01-23 19:02:23 +08:00
Tienson Qin
cf68a2ba80 feat: electron can read/write files now 2021-01-22 21:20:04 +08:00
Tienson Qin
abdad5634a refactor: add Fs protocol 2021-01-20 13:41:14 +08:00
Tienson Qin
14cb8af42c fix: templates with bullet will auto duplicate
Related to #1141 and #1123
2021-01-17 11:40:44 +08:00
Tienson Qin
43f41de1ba editor: allow clicking image to edit
Also, don't select the current block when resizing the image.
2021-01-15 22:50:38 +08:00
charlie
f564cc3616 improve: remove image with extension link(image) syntax 2021-01-15 18:14:10 +08:00
charlie
eeabf42fb6 Merge remote-tracking branch 'origin/master' into feat/support-remove-image
# Conflicts:
#	src/main/frontend/components/block.cljs
2021-01-15 17:47:00 +08:00
Tienson Qin
6c32bbdb27 feat: add image resize support 2021-01-14 23:49:39 -08:00
charlie
1cf80c9bc8 improve: replace asset text link 2021-01-14 19:31:25 +08:00
charlie
59414c8275 feat: support delete physical asset file 2021-01-14 12:10:29 +08:00
charlie
ee529b5b9d feat: support delete image link of block 2021-01-13 21:36:20 +08:00
charlie
e8a20dbde7 refactor: improve save-block! method 2021-01-13 15:05:40 +08:00
Tienson Qin
013b4fbd8f Merge pull request #1072 from logseq/enhance/undo-redo
Enhance/undo redo
2021-01-12 07:16:50 -08:00
Tienson Qin
1b38b9deb1 feat: add git auto push option to settings
Also, add ctrl-s for auto-pushing
2021-01-12 22:52:42 +08:00
Charlie
4b2dde2228 Feature/attachment with native fs (#1078)
* feat: upload image with native fs

* improve: life of loading assets image file with nfs

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-01-12 21:25:37 +08:00
Tienson Qin
625ec882a9 enhance: clear unused editor state 2021-01-12 20:57:18 +08:00
Tienson Qin
081256ab4b enhance(undo): preserve latest cursor position when undo 2021-01-11 18:37:28 +08:00
Tienson Qin
595f0cfcbb chore: undo/redo tweaks 2021-01-09 23:36:22 +08:00
Tienson Qin
3c327eb4ba enhance(undo): use a promise-chan to make the undo behavior stable 2021-01-08 21:51:34 +08:00
Tienson Qin
be28b0e04d enhance: auto-saved files should be added to history too 2021-01-07 20:43:40 +08:00
Tienson Qin
249bf680c1 enhance: undo redo use patches instead of full text 2021-01-07 10:31:14 +08:00
Tienson Qin
d46f158c83 fix(editor): deleting properties 2021-01-05 21:18:40 +08:00
Tienson Qin
190ef803e4 fix(editor): can't enter to create a new block at the end of code 2021-01-05 19:38:51 +08:00
Tienson Qin
4f67387d85 fix(editor): properties not working well when enter at the start
Related to #1017
2021-01-05 16:06:02 +08:00
Tienson Qin
dc7f4055ac fix(editor): keep block properties when save 2021-01-04 21:01:48 +08:00
Tienson Qin
079096f329 fix(editor): Scheduled command not working when creating a new block
Resolved #1057
2021-01-04 20:39:38 +08:00
Tienson Qin
89370ac645 fix(db): fix unique constraint issue when loading files 2021-01-04 15:39:19 +08:00
Tienson Qin
951ed57f21 fix(editor): pressing enter right after the first bullet of a page will append ##
Resolved #1050
2021-01-04 15:22:28 +08:00
Tienson Qin
48b6ccbdca DB refactor and fix issues related to tags and aliases
1. add a `page` filter.
2. keep word case for both page and block's properties
3. remove `:tag/name` from the db schema

Fixed #1031
2021-01-04 12:38:54 +08:00
Tienson Qin
1c4014d573 fix: codemirror not working well with block timestamps
Related to #1013
2021-01-03 00:00:20 +08:00
charlie
eee8fb6bb2 feat(editor): support paste an image in block 2020-12-31 19:16:10 +08:00
Tienson Qin
0875af2b7d fix(editor): put content after properties for any block without title 2020-12-30 21:13:10 +08:00
Tienson Qin
2555cc9121 fix(editor): unstable properties when updating or creating a block
Resolved #1017
2020-12-30 16:41:07 +08:00
Tienson Qin
92f9c21170 fix(editor): make sure aliases are a collection 2020-12-30 09:55:14 +08:00
Tienson Qin
54da887557 fix(editor): don't update block if there's no changes except the timestamps 2020-12-29 21:28:25 +08:00
charlie
df4a10375e fix: mobile bar search command with auto complete #1010 2020-12-29 21:01:05 +08:00
Tienson Qin
a357538204 fix(editor): selection is disable when auto save and reset the cursor pos 2020-12-29 18:19:13 +08:00
Tienson Qin
03439f0ab5 fix(editor): auto-save should ignore time properties 2020-12-29 17:59:26 +08:00
Tienson Qin
441f67ba99 fix: don't create timestamps for page's properties area 2020-12-25 22:58:06 +08:00