Commit Graph

726 Commits (967654aeb4162bdc1b28c8a3b3af750187c9e3c4)

Author SHA1 Message Date
Tienson Qin 9de1f01db8 fix: safe check repo before modifying any file 2020-12-15 09:41:23 +08:00
Tienson Qin d34a405d39
Merge pull request #921 from logseq/fix/find-position
Fix find-position
2020-12-15 08:38:44 +08:00
Tienson Qin fcb4a8752e fix: code block highlights not working
Resolved #920
2020-12-14 21:48:08 +08:00
charlie 8a440e910a refactor: separated css modules from common style 2020-12-14 21:13:12 +08:00
Tienson Qin f390d3b8cc fix: display `show journals` 2020-12-14 19:25:00 +08:00
Tienson Qin 1d5b7e024f Merge branch 'master' of github.com:logseq/logseq into master 2020-12-14 19:19:17 +08:00
Tienson Qin cfed1530d3 fix(native fs): Directory handle not exists
Resolved #918
2020-12-14 19:18:17 +08:00
Yukun Guo 5f8915b304 chore: get rid of dec & inc 2020-12-14 18:38:28 +08:00
Yukun Guo f1add88799 fix: handle links in find-position 2020-12-14 18:35:56 +08:00
Tienson Qin b8fe3bbad7
Merge pull request #912 from logseq/perf/search
perf(search): use fuzzysort for both pages and blocks searching
2020-12-14 15:19:12 +08:00
charlie 2e30872f61 fix: #916 2020-12-14 14:41:09 +08:00
Tienson Qin 4b5eb4eb5a fix: don't check file-in-writing for github users 2020-12-14 13:15:16 +08:00
Tienson Qin c79c1ef6a1 fix: keyboard shortcuts 2020-12-14 11:50:41 +08:00
shady2k 744469ef6f Add requirements 2020-12-14 09:22:48 +08:00
shady2k c17d8f14c9 Add support for change start of week in calendar 2020-12-14 09:22:48 +08:00
Tienson Qin 10314b1117 fix: both pages and blocks indices default to an empty array 2020-12-13 23:39:27 +08:00
Tienson Qin 4662281c9a chore: remove profile 2020-12-13 23:32:51 +08:00
Tienson Qin 45e9390b6c fix: both ->clj and ->js are too expensive 2020-12-13 23:31:54 +08:00
Tienson Qin 57b9e7f937 Merge branch 'master' into perf/search 2020-12-13 23:08:56 +08:00
Tienson Qin 9c18b2c479 perf: idb batch writes for importing files from local directories 2020-12-13 23:03:30 +08:00
Tienson Qin 0bdf2c65e5 perf(search): use fuzzysort for both pages and blocks searching 2020-12-13 22:40:06 +08:00
Charlie 883e3a2ab3
Merge branch 'master' into fix/priority-style-issues 2020-12-13 15:42:23 +08:00
charlie ecf638c580 fix: tests 2020-12-13 13:03:19 +08:00
charlie 9ce6b441f3 fix: scroll to element 2020-12-13 12:57:52 +08:00
charlie 2db70bdfc4 style: fix notification text theme issue & ui details 2020-12-13 12:43:36 +08:00
Tienson Qin e8e319749c fix: don't create today's journal page if local directory is not loaded 2020-12-13 11:24:42 +08:00
charlie 6ec72bc4ad style: correct z-index 2020-12-12 21:06:32 +08:00
charlie 553b3fe529 style: fix sync indicator container 2020-12-12 20:06:55 +08:00
Tienson Qin bf5e067fdd
Merge pull request #895 from logseq/fix/reload-dir-error-handling
fix: move p/catch & p/finally to outermost block
2020-12-11 23:28:44 +08:00
Yukun Guo 04703b8056 fix: prevent parent block duplicate 2020-12-11 22:58:45 +08:00
Yukun Guo 0fa0823eaa fix: move p/catch & p/finally to outermost block 2020-12-11 22:52:43 +08:00
Tienson Qin 449c9d9e65 fix: roam import 2020-12-11 18:24:09 +08:00
charlie 6af12a4faf feat: merge a new light theme 2020-12-11 17:58:19 +08:00
charlie 0492b28235 Merge remote-tracking branch 'origin/master' into fix/priority-style-issues
# Conflicts:
#	resources/css/common.css
#	src/main/frontend/components/block.cljs
#	src/main/frontend/components/block.css
#	src/main/frontend/components/right_sidebar.cljs
2020-12-11 15:32:01 +08:00
Tienson Qin ee0576b543 fix: css class .embed not working 2020-12-11 14:15:28 +08:00
Tienson Qin a74e21a155 chore: bump minor version 2020-12-11 13:10:38 +08:00
Tienson Qin 97c4b1345c
Merge pull request #843 from logseq/feat/light-theme
Feat/light theme
2020-12-11 13:08:30 +08:00
anoffvu 69d6ce9dd2 chore: fix guideline + sidebar button color 2020-12-10 20:57:46 -08:00
anoffvu 2bc6d75d3e chore: embed padding 2020-12-10 20:29:58 -08:00
anoffvu 6c2e053ad1 chore: color level fix 2020-12-10 20:27:07 -08:00
anoffvu be300061dd chore: remove green theme 2020-12-10 20:15:45 -08:00
Yukun Guo fbc69d5608 fix: p/catch should handle outer error 2020-12-11 12:10:05 +08:00
Yukun Guo 92e791ecad fix: only proceed if permission verified 2020-12-11 12:10:05 +08:00
Tienson Qin 0b0598cee2 fix(native-fs): fast deletes resulting in conflicts 2020-12-11 02:58:22 +08:00
Yukun Guo 395cdd66bc
fix: fix concurrency bug in create-if-not-exists (#884)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2020-12-11 02:37:12 +08:00
Tienson Qin 6828078f38 chore: disable fs alert temporarily 2020-12-11 02:11:33 +08:00
Tienson Qin 06d688579d Merge branch 'master' of github.com:logseq/logseq into master 2020-12-11 02:04:18 +08:00
Tienson Qin aa93390279 chore: bump minor version 2020-12-11 02:04:05 +08:00
Tienson Qin 690a090c87 fix(native-fs): today journal not created automaticaly
Idb file handles should be cleared when unlinking a local directory.
2020-12-11 02:03:36 +08:00
Tienson Qin 914031649e fix(editor): cursor jump to the start when idle
Resolved #864
2020-12-10 23:04:00 +08:00
Tienson Qin 43c76e6c16 fix: disable editor autosave temporarily 2020-12-10 18:26:52 +08:00
charlie 4a951618f1 Merge remote-tracking branch 'origin/master' into fix/priority-style-issues 2020-12-10 17:14:58 +08:00
Tienson Qin 06c13070ba Merge branch 'master' of github.com:logseq/logseq into master 2020-12-10 17:11:20 +08:00
Tienson Qin d54d54024f fix(editor): heading background can't be cleared
Related to #850
2020-12-10 17:04:33 +08:00
Yukun Guo 4927802f21 chore: simplify save-excalidraw! 2020-12-10 16:50:55 +08:00
Yukun Guo c300ed7be9 chore: do not print error when resolving git ref failed 2020-12-10 16:50:55 +08:00
Yukun Guo 06de25993c fix: git-add immediately after creating file 2020-12-10 16:50:55 +08:00
Yukun Guo 8963e23766 chore: remove redundant doall 2020-12-10 16:50:55 +08:00
defclass 06d32ef2b0 fix(publishing): fix get page 404 error 2020-12-10 14:39:55 +08:00
defclass 5bbc43b30d fix(publishing): fix delete project problem 2020-12-10 14:39:55 +08:00
defclass 8e3887ddfa fix(publishing): add auto-focus on input 2020-12-10 14:39:55 +08:00
defclass f88e5aaaf3 fix(publishing): replace span with a 2020-12-10 14:39:55 +08:00
defclass ca29a2bc2c refactor(publish): fetch page list from logseq server 2020-12-10 14:39:55 +08:00
defclass c8b3dd516c fix(header): remove duplicated items 2020-12-10 14:39:55 +08:00
defclass ba57929c46 fix(css): fix css problem with @charlie 's help 2020-12-10 14:39:55 +08:00
defclass b3e15c90e7 style(publish): move fn into handler 2020-12-10 14:39:55 +08:00
defclass 95ece00e78 refactor(publishing): move fn in their own place 2020-12-10 14:39:55 +08:00
defclass 770255aaa1 fix(project): update add project data struct 2020-12-10 14:39:55 +08:00
defclass 4e4e74cbca fix(css): update css 2020-12-10 14:39:55 +08:00
defclass ddf55f9a77 fix(rebase): fix bugs caused by rebase 2020-12-10 14:39:55 +08:00
defclass 460faf5510 fix(project): remove debug info 2020-12-10 14:39:55 +08:00
defclass 14f4397d92 fix(project): i18n 2020-12-10 14:39:55 +08:00
defclass c9d25bcb95 fix(project): hide the menu when there is not any project 2020-12-10 14:39:55 +08:00
defclass 62258e29b5 fix(publishing): add css style 2020-12-10 14:39:55 +08:00
defclass 3ae746fbb3 fix(state): remove prn 2020-12-10 14:39:55 +08:00
defclass 8f9e320bb1 feat(project): add delete project 2020-12-10 14:39:55 +08:00
defclass 4a7b558d61 feat(project): update project 2020-12-10 14:39:55 +08:00
defclass 7cdb03689b feat(publish): add notify 2020-12-10 14:39:55 +08:00
defclass 6e4561fe77 fix(publishing): fix css 2020-12-10 14:39:55 +08:00
defclass 437b31b3fc feat(publishing): add publishing list and delete operation 2020-12-10 14:39:55 +08:00
Charlie 90093e4d12
try to fix scroll position when switch editing mode (#867) 2020-12-10 13:30:04 +08:00
Tienson Qin b8a7448d99 feat: add query api 2020-12-10 00:27:54 +08:00
Tienson Qin 4201e7cbd7 chore: bump minor version 2020-12-09 23:08:30 +08:00
Tienson Qin a487fa8ab9 fix: add nfs-saved-handler to new files too 2020-12-09 23:07:41 +08:00
Tienson Qin 40c369bebe chore: remove unused code 2020-12-09 23:07:41 +08:00
Tienson Qin 1b958910f0 fix: serialize file writes 2020-12-09 23:07:41 +08:00
anoffvu 211918d76c Merge branch 'master' into feat/light-theme 2020-12-08 19:21:53 -08:00
Tienson Qin 9f106ba1fd chore: bump minor version 2020-12-08 21:34:11 +08:00
Tienson Qin 250d41efef chore: remove unused code 2020-12-08 21:33:58 +08:00
Tienson Qin 2287c8b72b fix: native fs writing concurrency
Resolved #845
2020-12-08 21:28:08 +08:00
charlie 9e421c2dd2 fix: auto complete scrollbar 2020-12-08 18:02:58 +08:00
charlie c79148dc2d fix: input border & loading animation 2020-12-08 17:48:26 +08:00
Tienson Qin 092126bbd5 chore: bump minor version 2020-12-08 15:38:35 +08:00
Tienson Qin 9210442d8c fix: config.edn not loading well 2020-12-08 15:38:07 +08:00
charlie 9f6839645b fix: sidebar vertical scrollbar 2020-12-08 15:37:43 +08:00
charlie e599aa977e Merge remote-tracking branch 'origin2/master' into fix/priority-style-issues
# Conflicts:
#	resources/css/common.css
2020-12-08 15:28:10 +08:00
charlie 5282fe5c9d refactor: update sidebar motion 2020-12-08 15:24:59 +08:00
charlie 32de8f2e2b refactor: add theme container & lift the dark/light class scope to root & restore scrollbar style. 2020-12-08 14:56:21 +08:00
Tienson Qin 15652c87ac fix: indexeddb key can't be empty 2020-12-08 14:49:53 +08:00
Tienson Qin 08c64ec165 fix: safe check dom id before rendering code blocks 2020-12-08 14:23:17 +08:00
Tienson Qin 3f2d610d60 fix: show custom view error
Also, display the result if custom query failed
2020-12-08 14:07:32 +08:00
anoffvu 9005bc8b5e Merge branch 'feat/light-theme' of github.com:logseq/logseq into feat/light-theme 2020-12-07 19:26:50 -08:00
anoffvu 61fe47a7da fix: sidebar + nested color levels 2020-12-07 19:21:46 -08:00
An Vu 3cf77babc9
Merge branch 'master' into feat/light-theme 2020-12-07 18:10:04 -08:00
anoffvu 08f66bc8fd feat(light-theme): code style 2020-12-07 18:03:15 -08:00
anoffvu 728f04a16d feat(light-theme): add nested embed colors 2020-12-07 17:57:54 -08:00
Tienson Qin e62212445c fix: don't show :token/cannot-set-token for local repos 2020-12-07 22:01:44 +08:00
Tienson Qin 1b20c3e214 fix: restore the editing cursor after saving a block 2020-12-07 21:35:14 +08:00
Tienson Qin 1dfd7958d4 fix: slide style
Resolved #835
2020-12-07 21:04:38 +08:00
Tienson Qin 71b286f389 fix: properties editing not working 2020-12-07 20:52:36 +08:00
charlie 849ad93937 fix: journals list scroll listener 2020-12-07 18:09:07 +08:00
charlie 7c7ce3d740 refactor: add stylelint processor 2020-12-07 12:37:20 +08:00
charlie 02171423eb reactor: ui styles 2020-12-07 11:34:17 +08:00
anoffvu 7795a51244 Merge branch 'master' into feat/light-theme 2020-12-06 18:51:53 -08:00
anoffvu 24ccc6ad87 Merge branch 'master' into feat/light-theme 2020-12-06 18:49:30 -08:00
charlie e2949a5a2b Merge remote-tracking branch 'origin2/master' into fix/priority-style-issues
# Conflicts:
#	package.json
#	resources/css/common.css
#	src/main/frontend/components/block.cljs
#	src/main/frontend/components/page.cljs
#	src/main/frontend/components/sidebar.css
#	yarn.lock
2020-12-07 10:14:16 +08:00
Tienson Qin b61d8a4163 fix: try to fix window.fr is not a function 2020-12-07 00:37:32 +08:00
Tienson Qin e32231e564 chore: bump version 2020-12-07 00:06:27 +08:00
Tienson Qin 1de066b237 fix: warning style 2020-12-06 23:56:58 +08:00
Tienson Qin 3e8a2a1f59 chore: add warning 2020-12-06 23:40:30 +08:00
Tienson Qin c239892b69 Merge branch 'master' into feat/chrome-native-fs 2020-12-06 21:55:26 +08:00
Tienson Qin e57a99ee3b fix: don't check pfs for local dbs when mkdir 2020-12-06 21:40:38 +08:00
Tienson Qin b9ddb875b9 feat(chrome-native-fs): confirm permission before write the file 2020-12-06 21:19:57 +08:00
Tienson Qin ddb8053f9b feat(chrome-native-fs): show all graphs when user is not logged in 2020-12-06 20:55:41 +08:00
Tienson Qin 7b842db17c feat(chrome-native-fs): fix the permission of journal pages
Also, improve the header a bit
2020-12-06 20:38:51 +08:00
Tienson Qin 5b5283f184 chore: remove profile 2020-12-06 15:37:21 +08:00
Tienson Qin 76a53faa94 fix: make changed files scrollable 2020-12-06 15:28:58 +08:00
Tienson Qin 05371e6669 feat(chrome-native-fs): fix reloading not working 2020-12-06 15:22:13 +08:00
Tienson Qin 45b318e2f8 fix: ask the permission when refreshing local graph 2020-12-06 11:06:27 +08:00
Tienson Qin 0c4407d191 feat(chrome-native-fs): remove local- prefix 2020-12-06 01:11:04 +08:00
Tienson Qin 2637d2986e feat(chrome-native-fs): safely overwrite the content of local file 2020-12-06 00:59:45 +08:00
Tienson Qin 7b298cec1a feat(delta-tx): wip 2020-12-06 00:28:24 +08:00
Tienson Qin c1b70ae12a fix: git clone every time when refreshing the page
Resolved #787 #333
2020-12-05 17:22:02 +08:00
Tienson Qin 37f0f11a34 Merge branch 'master' into feat/chrome-native-fs 2020-12-05 16:39:51 +08:00
charlie 06b2793d91 fix: devtool warning 2020-12-05 15:59:35 +08:00
charlie 1cc12f4166 refactor: add default css variable for editor content area 2020-12-05 12:23:11 +08:00
charlie e0b224cbca refactor: adapt some styles for new layout container 2020-12-05 12:23:11 +08:00
charlie 8bf550d2ea [refactor] improve main content layout . 2020-12-05 12:19:21 +08:00
charlie 2bb969609e fix: remove redundant bindings 2020-12-05 12:13:54 +08:00
charlie de33233ec2 fix: try to fix #811 2020-12-05 12:13:54 +08:00
Tienson Qin 83e888d765 feat: add built-in img macro 2020-12-05 11:30:04 +08:00
Tienson Qin df36d977ee feat: macro render support both inline and block elements 2020-12-05 11:13:34 +08:00
Tienson Qin f9c7da14f9 fix(git): only call periodically-pull-current-repo once 2020-12-05 00:40:16 +08:00
Tienson Qin d563512b38 chore: bump minor version 2020-12-05 00:33:43 +08:00
Tienson Qin 1b4b220133 fix(git): allow users to push at any time 2020-12-05 00:33:09 +08:00
Tienson Qin 2ba37cdd6c feat(chrome-native-fs): save block even in editing mode 2020-12-05 00:18:24 +08:00
Tienson Qin 17bb4be3ad fix: add loading status 2020-12-04 18:25:46 +08:00
Yukun Guo 2d50185379 fix: only periodically pull current repo 2020-12-04 17:34:22 +08:00
Yukun Guo 367f288941 fix: only periodically push current repo 2020-12-04 17:34:18 +08:00
Tienson Qin 89d5593ad8 fix: mkdir not works for nfs
Also, fix readme
2020-12-04 16:17:07 +08:00
Tienson Qin 7a8d2dc9ef feat(chrome native fs): respect .gitignore 2020-12-03 19:04:29 +08:00
Tienson Qin 4c738d3824 Merge branch 'master' into feat/chrome-native-fs 2020-12-03 17:02:45 +08:00
Tienson Qin b43ca56cd2 fix: remove unused component 2020-12-03 16:23:44 +08:00
Tienson Qin 98bde66b48 fix: try to fix entire file content deleted after unusual sync behavior
Related to #783
2020-12-03 16:23:44 +08:00
Tienson Qin f09c8aed75 chore: bump minor version 2020-12-03 15:16:05 +08:00
Yukun Guo 9cf79e9a66 fix: do not show intro on published sites 2020-12-03 15:03:59 +08:00
anoffvu d409aa682c Merge branch 'master' into feat/light-theme 2020-12-02 20:40:25 -08:00
Tienson Qin 66b3ec19d2 fix: refresh button style 2020-12-03 00:11:29 +08:00
Tienson Qin 0dce7cdb11 feat: add refresh progressing animation 2020-12-03 00:06:49 +08:00
Tienson Qin bcb40c6629 fix: only show open a directory when nfs api is supported
Also, ask for permission when clicking the refresh button
2020-12-02 23:29:16 +08:00
Tienson Qin f0c0e44628 fix: nfs diffs 2020-12-02 21:12:28 +08:00
Tienson Qin c49a31778a fix: don't rename journal files 2020-12-02 19:24:27 +08:00
Tienson Qin 5c63ff25e9 feat(date): add yyyyMMdd format support 2020-12-02 19:19:40 +08:00
defclass bbf76eb87f fix(token): add extra time to deal with some critical condtions 2020-12-02 17:33:47 +08:00
defclass 0dfbc31875 fix(token): calculate expiration based on user's system time and duration 2020-12-02 17:33:47 +08:00
Tienson Qin 43e925767b fix: click contents page doesn't close the left bar 2020-12-02 17:31:22 +08:00
Charlie ed2b68d863
Merge pull request #774 from logseq/refactor/editor
Change editor input as uncontrolled component & try composition input for UX (by xyhp915)
2020-12-02 13:03:46 +08:00
Tienson Qin 4d59e4317d fix(editor): add yarn test and fix CI 2020-12-02 11:27:57 +08:00
Tienson Qin 9f2346ebbd refactor(editor): remove *warn-on-infer* 2020-12-02 11:11:27 +08:00
Tienson Qin 8b165c89a5 refactor(editor): fix on-key-down mixin
Add both explicit options:
1. :not-match-handler
2. :all-handler
2020-12-02 11:08:50 +08:00
Tienson Qin 7fbac4211f fix(editor): display image upload processing 2020-12-02 10:30:39 +08:00
Tienson Qin 5e460c7434 fix: sci safe call-fn 2020-12-02 09:39:51 +08:00
Tienson Qin 5563b1c28c fix: nfs diff resolve 2020-12-02 00:35:46 +08:00
Tienson Qin 9d9ce7f76a feat(chrome native ui): better ui 2020-12-02 00:11:09 +08:00
Tienson Qin 58228dc336 feat(chrome native fs): support refresh to sync 2020-12-01 19:32:33 +08:00
Yukun Guo be1fc91805 refactor: remove unused state key :git/clone-repo 2020-12-01 17:36:22 +08:00
Yukun Guo a6d04f6b38 refactor: use mkdir-if-not-exists 2020-12-01 17:36:22 +08:00
Yukun Guo 14e11c6740 refactor: simplify p/let 2020-12-01 17:36:22 +08:00
Yukun Guo 47b30bc3e5 refactor: simplify code of repo.cljs 2020-12-01 17:36:22 +08:00
Yukun Guo de6f9fff47 fix: make periodically-push-tasks consistent with state/get-git-auto-push? 2020-12-01 17:36:22 +08:00
Yukun Guo e750eca112 fix: fix push-if-auto-enabled! 2020-12-01 17:36:22 +08:00
Yukun Guo 2030943d4d refactor: remove unused code 2020-12-01 17:36:22 +08:00
charlie eb651cfe81 [refactor] support React change event for set-edit-content! & fix image style of block conent 2020-12-01 15:56:38 +08:00
Yukun Guo 9906555aad chore: remove git/get-local-diffs
It is the same as git/get-diffs
2020-12-01 15:32:56 +08:00
anoffvu e73729aeee reconciling old repo branch to current 2020-11-30 21:16:20 -08:00
Tienson Qin 0b90dcf71b feat(chrome native fs): add sync button 2020-12-01 00:30:00 +08:00
charlie 66a24e99d3 [refactor] improve some input cases 2020-11-30 22:12:27 +08:00
Tienson Qin fccbcdd719 refactor: simplify parse-files-and-load-to-db! arguments 2020-11-30 19:58:00 +08:00
Tienson Qin 3f6c09935c feat(chrome native): multiple graphs picker 2020-11-30 16:50:10 +08:00
Tienson Qin 2fa8ff8d6b feat: nfs support multiple directories 2020-11-30 15:40:20 +08:00
defclass 4a9fea7697 fix(repo): retry when fetching encounter 401 2020-11-30 14:19:23 +08:00
Tienson Qin ae25da9aee fix: remove comment code 2020-11-30 13:30:10 +08:00
Tienson Qin 88eda1a014 fix: address issues when merging master 2020-11-30 13:00:52 +08:00
Tienson Qin d93b298714 Merge branch 'feat/chrome-native-fs' of github.com:logseq/logseq into feat/chrome-native-fs 2020-11-30 12:17:55 +08:00
Tienson Qin 14b6c64196 feat: restore dbs for native file stores 2020-11-30 11:53:04 +08:00
Tienson Qin 50a7a7c585 feat: chrome native compatible fs api 2020-11-30 11:50:18 +08:00
Tienson Qin 3a81b5e856 chore: cache nfs file handles 2020-11-30 11:49:51 +08:00
Tienson Qin 6c3da67f6b feat: native filesystem api integration WIP 2020-11-30 11:49:46 +08:00
Tienson Qin 8b5719e1fd chore: bump version 2020-11-29 23:21:52 +08:00
Tienson Qin ed92e6944f
Export notes as zip files when refreshing and realized that database … (#782)
* Export notes as zip files when refreshing and realized that database schema changed

Resolved #781
2020-11-29 23:20:51 +08:00
Tienson Qin 5248444157 feat: add support to export to zip
Resolved #779
2020-11-29 22:26:40 +08:00
Tienson Qin dc0406ff38 fix: clear stores(before restoring) if db schema changed 2020-11-29 22:01:18 +08:00
Tienson Qin 60251b6bb4 fix: remove empty pages when importing 2020-11-29 21:08:39 +08:00
Tienson Qin 68308dea63 fix: avoid empty commits && simplify git push checks
Related to #773
2020-11-29 18:28:22 +08:00
Tienson Qin 2a306fc2c5 fix: clear non-existed block refs when parsing
Also, catch the error when there're wrong block refs which will
crash logseq.
2020-11-29 18:26:57 +08:00
Tienson Qin 1d2ed8a1a8 fix: block/children are using refs now 2020-11-29 17:57:33 +08:00
Tienson Qin 9935d8b721 chore: bump minor version 2020-11-29 16:02:54 +08:00
Yukun Guo 28cb5cd86c fix: escape regex for search 2020-11-29 16:02:16 +08:00
Tienson Qin 5edd1a8ab0 :block/children should has value type of :db.type/ref 2020-11-29 15:22:44 +08:00
charlie 9ff67bba53 [refactor] change editor input as uncontrolled component & try composition input for UX . 2020-11-28 15:41:53 +08:00
charlie 54ef3aa574 [refactor] separate some editor styles . 2020-11-28 15:38:00 +08:00
Tienson Qin d3dabd81de fix: add GITHUB_APP2_NAME environment variable 2020-11-27 22:08:07 +08:00
Tienson Qin acac8e9350 fix: Git merge error and then blank diff page
related to #744
2020-11-27 07:36:53 +08:00
Tienson Qin ca4749341a fix: block flickering issue
Resolved #761
2020-11-27 06:06:57 +08:00
Tienson Qin f43ff5ac8e fix: display orange dot when in editing mode 2020-11-26 14:45:41 +08:00
Michael Wong cc8987fa67
fix(spec): fix spec (#764)
* fix(spec): fix spec

* fix(spec): only use spec in dev
2020-11-26 13:17:05 +08:00
Tienson Qin 9d13f6e063 fix: current time 2020-11-26 13:04:39 +08:00
Michael Wong 77fbcc00ee
Merge pull request #759 from logseq/fix/slow-code-blocks
fix: slow loading when a page has a lot of code blocks
2020-11-26 10:19:33 +08:00
Tienson Qin 7de090a0ec Merge branch 'master' of github.com:logseq/logseq into master 2020-11-26 00:25:38 +08:00
Tienson Qin 6f7ae1952a fix: properties 2020-11-26 00:25:21 +08:00
Michael Wong 5ace647ca3
fix(react): fix react warning (#753)
* fix(react): fix react warning

* fix(foldeable): browser complains

* fix(react): fix effects
2020-11-25 23:42:06 +08:00
Tienson Qin 57fe9f4430 fix: slow loading when a page has a lot of code blocks
Resolved #755
2020-11-25 22:40:30 +08:00
Tienson Qin a98239ea20 fix: get-selection-text not working on Firefox 2020-11-25 19:57:25 +08:00
Tienson Qin 320ac8ad55 fix: don't render embed page when the current container is the same page 2020-11-25 17:47:23 +08:00
Tienson Qin 4303ea4ed9
fix: quick enter followed by a tab can lead to file corruption (#750)
* fix: quick enter followed by a tab can lead to file corruption

Resolved #738
2020-11-25 16:17:08 +08:00
Michael Wong 8b8afd9c7d
Merge pull request #740 from defclass/defclass/some-more-spec
some more spec
2020-11-25 13:46:12 +08:00
Tienson Qin 1e73a6ba9a chore: remove debugging info 2020-11-25 12:42:30 +08:00
Tienson Qin 1432cf053b fix: can't save block after deleting a page
Resolved #736
2020-11-25 12:42:30 +08:00
defclass a9257bdf8f doc(spec): fix the doc 2020-11-25 12:33:50 +08:00
defclass cf42b6ef81 fix(spec): fix validate impl 2020-11-25 12:31:27 +08:00
defclass a650a1c2cc fix(spec): add some specs in repo.clj 2020-11-25 12:31:27 +08:00
defclass b8dc610cc0 fix(token): fix token logic 2020-11-25 12:30:04 +08:00
Tienson Qin bfc1d2af01
Merge branch 'master' into ci/init 2020-11-24 21:56:55 +08:00
defclass 0f65305ebe feat: add log lib 2020-11-24 21:54:33 +08:00
Tienson Qin 89c807c2a7 fix: scroll to top when switch to a new page
Resolved #632
2020-11-24 21:50:39 +08:00
Tienson Qin 0d6856d234 fix: don't show the embed page if it's equal to the current page 2020-11-24 21:41:37 +08:00
Tienson Qin db652abe34 fix: don't repeatedly render all children bullets of embed pages
Resolved #716
2020-11-24 21:38:07 +08:00
Tienson Qin 2565c3b08b fix: don't autocomplete ^
Resolved #521
2020-11-24 21:10:49 +08:00
Tienson Qin 416e36ee1b fix: backspace in scheduled/deadline time input not working 2020-11-24 20:40:37 +08:00
Tienson Qin 89fa24a81b fix: git diff shows empty or always loading
Resolved #218, #217, #171
2020-11-24 20:27:19 +08:00
Tienson Qin f25844a833 fix: will-mount should return a state
Resolved #713
2020-11-24 14:50:19 +08:00
Yukun Guo 8acab303f9 test: add a dummy test 2020-11-24 11:41:11 +08:00
Tienson Qin 47d2ca04e9 feat: restore dbs for native file stores 2020-11-24 00:05:13 +08:00
Tienson Qin b38ee92ce9 Page name allows ( to be first char 2020-11-23 23:11:40 +08:00
Tienson Qin 0793f991dc feat: chrome native compatible fs api 2020-11-23 17:10:29 +08:00
Tienson Qin b3de3f1d88 chore: bump minor version 2020-11-22 20:43:22 +08:00
Tienson Qin b1d6ae8815 Merge branch 'master' into feat/chrome-native-fs 2020-11-22 20:42:49 +08:00
Tienson Qin 6a9dd1904b chore: remove unused async-chan 2020-11-22 17:36:56 +08:00
Tienson Qin 82fe6e2108
Merge pull request #700 from logseq/refactor/db
Code cleanup and minor refactoring for db.cljs
2020-11-22 03:34:46 -06:00
Tienson Qin 9287afd79d
Merge pull request #662 from defclass/defclass/fix/refresh-token
fix(token):  refresh token automatically
2020-11-22 03:33:45 -06:00
Tienson Qin b9cf077b72 chore: cache nfs file handles 2020-11-22 01:42:27 +08:00
Tienson Qin a6a675045e feat: native filesystem api integration WIP 2020-11-22 01:17:47 +08:00
Tienson Qin 704846c5f2 fix: can't run clojure code 2020-11-21 09:05:47 +08:00
Yukun Guo ceba97f8b4 refactor: rearrange query order 2020-11-20 11:55:38 +08:00
Yukun Guo e2d7cac21f refactor: simplify remove-query-component! 2020-11-20 11:39:40 +08:00
Yukun Guo 1f3573fa87 refactor: simplify build-nodes 2020-11-20 11:39:40 +08:00
Yukun Guo 05a6a11523 fix: pass repo argument in get-pages 2020-11-20 11:39:40 +08:00
Yukun Guo d151beb36f chore: minor changes in db.cljs 2020-11-20 11:39:40 +08:00
Tienson Qin 6a9ac5cb3f fix: [regression] tag autocomplete now adds extra brackets : #[[tag]] instead of #tag
Resolved #691
2020-11-19 22:48:27 +08:00
Tienson Qin 34be1a4df7 fix: disable links without http or https 2020-11-19 22:30:27 +08:00
Tienson Qin ebfb21d799 feat: org-mode heading id link support 2020-11-19 18:02:28 +08:00
defclass 23e818c32a style(token): fix code styles 2020-11-19 16:08:11 +08:00
Tienson Qin 5cd527d7bb fix: regex 2020-11-19 16:06:27 +08:00
Tienson Qin 9366bc7d5f fix: regex 2020-11-19 15:59:38 +08:00
Tienson Qin b3df6ce33c fix: links support capitalized HTTP 2020-11-19 15:29:04 +08:00
Tienson Qin fde471b53b fix: support links without "https" prefix 2020-11-19 15:27:14 +08:00
Tienson Qin 0a92889258 fix: user custom commands not working 2020-11-19 15:22:54 +08:00
Tienson Qin e22ba14e64 feat: journal file names add custom format support
Add `:journal/file-name-format "yyyy_MM_dd"` to the `config.edn`.
2020-11-19 12:17:17 +08:00
Tienson Qin a567b5496d fix: don't impose spaces for slash autocomplete 2020-11-18 23:34:20 +08:00
Tienson Qin 84a4df1001 chore: bump version 2020-11-18 23:07:54 +08:00
Tienson Qin 857e1d3df2 fix: restore the commands after auto-complete date commands
Related to #686
2020-11-18 23:01:11 +08:00
Tienson Qin 86c2e460cf
Merge pull request #684 from etiennelb/feat/french-language
feat: add French language (without on-boarding)
2020-11-18 07:47:52 -06:00
Etienne Le Belléguy 78ddbd2600
feat: add French language (without on-boarding) 2020-11-18 14:31:31 +01:00
Tienson Qin 5d3b6322f5
feat: support org mode file links (#681)
* feat: support org-mode file links

Add a `:org-mode/insert-file-links` option to configuration.
2020-11-18 21:27:40 +08:00
Tienson Qin 85a1837004 fix: remove fixed-width 2020-11-18 21:25:00 +08:00
Tienson Qin fc1dc6d92f fix: remove empty pages
Resolved #683
2020-11-18 19:07:17 +08:00
Tienson Qin 9ac1316f1a chore: style tweaks 2020-11-18 18:13:17 +08:00
defclass a50fc8b076 style(token): update some style 2020-11-17 22:13:50 +08:00
defclass de2d5113e0 fix(token): fix expires calculation 2020-11-17 19:35:10 +08:00
defclass 50fe3ab534 refactor(token): remove feedback in clone function 2020-11-17 17:10:53 +08:00
Tienson Qin 7db20ddc85 fix: shift+click to open journal page 2020-11-17 16:46:37 +08:00
Tienson Qin e40a9a7da7 fix: shift+click open a page in the search box 2020-11-17 16:44:21 +08:00
Tienson Qin fdc201433c fix: don't show autocomplete commands when paste a link 2020-11-17 16:41:28 +08:00
defclass 6de9b72405 style(token): fix code styles 2020-11-17 16:33:18 +08:00
defclass ac7603b6dd refactor(token): remove feedback 2020-11-17 16:21:20 +08:00
defclass 8441f8139c fix(token): fix typo 2020-11-17 16:05:53 +08:00
defclass 3a1d7a1c8c fix(token): remove the token parameter in pull 2020-11-17 15:52:40 +08:00
defclass 93e46eca9b fix(token): fix bugs 2020-11-17 14:52:04 +08:00
Tienson Qin 7612bfd0ef
fix: rename the file when renaming page (#667)
* fix: rename the file when renaming page

Resolved #323
2020-11-17 14:47:42 +08:00
defclass b5d49c8ac6 feat(token): fetch token if token expires 2020-11-17 13:15:13 +08:00
Tienson Qin 4998113305
Merge pull request #648 from logseq/refactor/state
Minor refactoring of state.cljs
2020-11-16 19:13:15 -06:00
Tienson Qin 8f2b756214 fix: Nothing found for entity id
Resolved #661
2020-11-16 23:26:07 +08:00
Tienson Qin 6edb36a090 feat: add org link id support
Resolved #659
2020-11-16 14:27:28 +08:00
Tienson Qin 09be59337a fix: separate tags are merged into a single page
Resolved #651
2020-11-15 21:28:09 +08:00
Tienson Qin c9cbc60fea fix: don't render block embed children recursively 2020-11-15 19:40:38 +08:00
Tienson Qin b6a9afc303 fix: don't alert file already exists when creating new page 2020-11-15 18:12:40 +08:00
Tienson Qin bca87b2b81 fix: edit the current block when press "Enter" and pos is zero 2020-11-15 17:55:26 +08:00
Tienson Qin cdba94dae7 fix: don't git push when it's already pushing 2020-11-14 21:58:25 +08:00
Yukun Guo d48f081067 refactor: no need to return channel in add-tx! 2020-11-14 15:35:29 +08:00
Yukun Guo 7aee2ff288 refactor: make state private
But state/sub still exposes the keys
2020-11-14 15:35:29 +08:00