From fe02eadf01e13046788418278fe198faf6729858 Mon Sep 17 00:00:00 2001 From: Bad3r Date: Wed, 13 Sep 2023 11:06:02 -0400 Subject: [PATCH] Squashed commit of the following: commit 0f6266e33149b6f40d5f70fd57b830549784d62a Author: Andelf Date: Tue Sep 12 23:23:30 2023 +0800 chore(electron): use logger instead of console.log commit 2029ffa07eae3950da3e9f43d9be1a485b6fca9c Author: WsinGithub <55137994+WsinGithub@users.noreply.github.com> Date: Tue Sep 12 22:50:14 2023 +0800 Disable autoplay in Bilibili video links fix #8650 commit f2b6c01f788d565d503b8d7371929013faca7e70 Author: Andelf Date: Tue Sep 12 22:24:54 2023 +0800 chore: bump ios version 0.9.18 for tf release commit c3836a7820f8b4fd6d903be9bfdc9c8e8aa96e28 Author: Jeffrey 'jf' Lim Date: Tue Sep 12 18:54:43 2023 +0800 youtube.cljs: allow for single-digit minutes and seconds in youtube-timestamp (addresses #9920) (#9930) * youtube.cljs: allow for single-digit minutes and seconds in youtube-timestamp (addresses #9920) * youtube.cljs: parse ":" as MM:SS to be consistent with the UI display *NOTE that with this commit, we essentially pass util/safe-parse-int a value we do not say it can take (although it works): nil. This will be fixed in a subsequent commit. * youtube.cljs: remove unreachable branches from cond in parse-timestamp * frontend/util.cljc: update safe-parse-int to accept nil as well. TODO: need help fixing malli schema! * fix: parse timestamp --------- Co-authored-by: charlie commit a7dc7c42cab10b50612cddbf76dc781f22839700 Author: Andelf Date: Tue Sep 12 13:31:21 2023 +0800 chore: update static/yarn.lock commit 6909768b0363482116dfa54a65bade3543aa3996 Author: Andelf Date: Tue Sep 12 10:51:53 2023 +0800 enhance(electron): support socks5 proxy commit a6d9cd8b91490110c76e0b7e82b84a4b0cb910e8 Author: Konstantinos Date: Tue Sep 12 11:05:49 2023 +0300 Enhance (UX): Electron loading (fixed) (#10201) * run use-effect once commit b92d01d5d571cdf6d81888c2b71494082a02470a Author: hasecilu Date: Mon Sep 11 09:14:31 2023 -0600 i18n: Update Spanish translations. commit fa53fe204e1330e574102a8ae60844026f70d986 Author: queeup Date: Sat Sep 9 00:01:02 2023 +0300 enhance(i18n): update Turkish translation commit 0cef911069bf37cd36c6e4c24dc85d801d577d48 Author: rcmerci Date: Thu Sep 7 21:16:03 2023 +0800 remove redundant codes commit c34611663913c49813ca1eb5f3a541f7e1e8c53f Author: Andelf Date: Thu Sep 7 20:34:45 2023 +0800 refactor(sync): start-sync loop commit 0e4e42ac2b10cf513028607d3f34747bc9ae32b8 Author: Andelf Date: Thu Sep 7 20:06:52 2023 +0800 fix(sync): check user refresh-token as well commit 70cb124e8b85b2d0dbbc904844d11355b1dc399b Author: Andelf Date: Thu Sep 7 17:27:52 2023 +0800 fix(sync): avoid check connectivity for non-sync graph Close #10169 commit f786b6495b130a96d2d6d83d7d0a5c6f9e8297b2 Author: rcmerci Date: Thu Sep 7 11:55:46 2023 +0800 add timestamp to log commit b17cf111394f09cefafe9989e231dff84eff79a4 Author: charlie Date: Thu Sep 7 15:19:35 2023 +0800 enhance(dev): better logs commit 645a8d32dfaa7f95d2b5d4e88918a636c433587b Author: Andelf Date: Thu Sep 7 10:35:30 2023 +0800 chore: bump version 0.9.17 commit 390a7f6bb9571f3a2bf6d2088dc1261033b9ea2c Author: Andelf Date: Thu Sep 7 10:35:15 2023 +0800 chore(scripts): use prerelease style alpha version num commit 9e2fe79c487c691c9fd178b12f2b47e345da1c64 Author: Andelf Date: Thu Sep 7 11:36:53 2023 +0800 Revert "Enhance (UX): Electron loading (#10049)" (#10165) This reverts commit 12642f57771596e18a0ace95faef4bd535d4bc5a. commit 850bc1a89c23b5b969fbea56e2d384f81c505b97 Author: Andelf Date: Thu Sep 7 11:33:42 2023 +0800 fix(sync): missing cross-origin handling for conn check (#10163) commit e043a2c3fac3cb79b9a509296768781f97219f2c Author: Andelf Date: Wed Sep 6 22:52:25 2023 +0800 chore(release): bump version 0.9.16 (#10149) commit b678a806a15d1afb2e623671cdd775f5dc45eab2 Author: Konstantinos Date: Wed Sep 6 17:51:44 2023 +0300 fix: close button visibility (#10145) commit 331afbc04fd4bc5672d5273ff2119403a3df832b Author: Charlie Date: Wed Sep 6 22:49:18 2023 +0800 Enhance/plugins apis (#10127) * enhance(api): add page to recent for route api * enhance(api): support open block in right sidebar with entity id commit 12642f57771596e18a0ace95faef4bd535d4bc5a Author: Konstantinos Date: Wed Sep 6 10:34:52 2023 +0300 Enhance (UX): Electron loading (#10049) * hide window until theme is loaded * show window on db-restored * move manage call to handle maximized state * hook on theme load commit a6ace12832bea3369f3d1bc19475fd1825eaec1e Author: charlie Date: Wed Sep 6 14:28:48 2023 +0800 fix: lint commit e0543eb695da895d9e792af5c066f061253e2829 Author: charlie Date: Wed Sep 6 13:48:41 2023 +0800 enhance(ui): remove legacy shortcuts entry from the general settings commit cd24919716ad1d51a7d9f29177b77c5a3505b8b2 Author: Andelf Date: Wed Sep 6 00:18:34 2023 +0800 enhance(sync): refine network checking (#10147) commit 4b60ed2d9f5be3422d3d9d844647402998e5184b Author: bluemeda Date: Tue Sep 5 19:54:11 2023 +0700 add some Indonesian terms to allowed-duplicates commit fe495f0380838dcd9afb9ff96dd6d91269708488 Author: bluemeda Date: Tue Sep 5 14:24:59 2023 +0700 add translation `id` commit 52134b3617442ddedd8dc1c08192b531383365f2 Author: omahs <73983677+omahs@users.noreply.github.com> Date: Tue Sep 5 05:23:21 2023 +0200 fix(docs): typos (#10143) commit 5058f599e31c35ba0512238856ec55997c09f5ee Author: Andelf Date: Mon Sep 4 12:59:32 2023 +0800 enhance(fs): check graph folder for bad name and nested graph commit 2d34af9f6aa62d3dec76e237ac343791dd790e61 Author: rcmerci Date: Mon Sep 4 17:27:51 2023 +0800 Enhance(sync): serveral enhancements in sync (#10134) * enhance(sync): 1. dont clear-tokens when refresh-token failed 2. log invalid json when fail to parse api json body, usually, it's returned by firewall (e.g. a XML) 3. handle exceptions carefully in frontend.fs.sync * enhance(sync): update avoid reentrancy related code * rename exp to guard-ex commit 98bff934397c4fd2ac4efb3d7a9c0c017b9ea28c Author: rcmerci Date: Thu Aug 31 12:20:53 2023 +0800 enhance(sync): add connectivity-testing (#10112) * enhance(sync): add connectivity-testing * update connectivity-testing s3 url commit 92ad2e4065ed9aa12c52a7e8fb4c555bb8fa5993 Author: Konstantinos Kaloutas Date: Tue Aug 29 12:45:41 2023 +0300 move filter rule to pdf page commit 2eaa1162e12d775e0f8da3d01549d4aedbeb22f9 Author: charlie Date: Wed Aug 30 12:07:53 2023 +0800 enhance(plugin): better log for beforeunload hook on user side commit bba8aa5729b2ab3673bf564aa9ee8f86e088ff91 Author: Allan Chain <36528777+AllanChain@users.noreply.github.com> Date: Mon Aug 28 17:50:09 2023 +0800 fix: reject promise on child error So that the we won't await infinitely. Fixes #10107 commit 474360ff1ec16bc3f74f99dc6edeaeae7e0c11ba Author: Allan Chain <36528777+AllanChain@users.noreply.github.com> Date: Mon Aug 28 15:08:03 2023 +0800 fix: input-selection-end is not firing correctly Fixes #10106 commit 5e1117ef92c7527f2725ea8b3f96b106963e3c51 Author: Leonardo Salgueiro Date: Tue Aug 29 23:15:45 2023 -0700 fix(bug): #4447 (#10111) * actually using result from deepMerge when updating settings * replacing merge from lodash with merge from deepmerge --------- Co-authored-by: Tienson Qin commit 10caacd8304086f8044a67602d455eb88efa4314 Author: Charlie Date: Wed Aug 30 14:14:29 2023 +0800 fix(ux): make linked references filters reactive when the page properties changed (#9638) * enhance(ux): reactive page properties for the linked references filters commit 7de92849dd8ab98f3feb220b51206f55d32a8125 Author: djm2k <36978885+djm2k@users.noreply.github.com> Date: Tue Aug 22 11:25:28 2023 +1000 Update develop-logseq-on-windows.md commit 6d6da2046c58f7fceba841605d48f85e9651bb4a Author: Charlie Date: Tue Aug 29 19:33:48 2023 +0800 Enhance/shortcuts (#9803) * refactor(shortcuts): simplify to build handler category map * fix(shortcuts): redundant re-mount for the pdf shortcuts * refactor(shortcuts): simplify names * refactor(shortcuts): simplify user keynames * fix(shortcuts): persist inited state for dev mode * refactor(shortcuts): simplify handlers installation * refactor(shortcuts): optimize shortcuts mixin * fix: incorrect function ref * refactor(shortcuts): shortcuts mixin * fix(shortcuts): incorrect initialization for the pdf shortcut handler * refactor(shortcuts): optimize binding keys map * refactor(shortcuts): optimize shortcuts conflicts detection * refactor(shortcuts): optimize binding ids map * refactor(shortcuts): WIP the new keymap page * refactor(shortcuts): WIP the new keymap related components * feat(shortcuts): WIP fuzzy search for the shortcuts * refactor(shortcuts): WIP the new keymap related components * feat(shortcuts): WIP the new shorcuts record component * feat(shortcuts): WIP the new shorcuts record component * feat(shortcuts): WIP check shortcut conflicts component * feat(shortcuts): WIP the new shorcuts record component * refactor(shortcuts): WIP persist user shortcuts * fix(shortcuts): detection for the conflicts * feat(shortcuts): WIP detection for the conflicts * feat(shortcuts): WIP persist user shortcuts * refactor(shortcuts): add unit tests * enhance(ux): search pane for the shortcuts * feat(shortcuts): remove the existent shortcut item * feat(shortcuts): fold/unfold categories * feat(shortcuts): add shortcuts filters * enhance(shortcuts): resove binding map description * enhance(shortcuts): reactive category shortcuts * enhance(shortcuts): register api for plugins * feat(shortcuts): add keyboard shortcuts filters * feat(shortcuts): impl keyboard shortcuts filters * enhance(shortcuts): leader keys for the shortcut conflicts detection * enhance(tests): leader keys conflicts for the shortucts * enhance(shortcuts): parse conflicts from current binding list * enhance(ui): polish the component of the restore shortcut action * enhance(shortcuts): get conflicts with specific handler id * enhance(shortcuts): polish the confilts component * enhance(shortcuts): polish keymap conflicts component * enhance(shortcuts): ux for handling shorcuts conflicts * enhance(ui): polish notifications cp * fix(shortcuts): remove reduplicate shortcuts for category * enhance(shortcuts): polish ux for handling shorcuts conflicts * chore(plugin): build libs core * enhance(plugin): support shortcut command lifecycle hooks * enhance(plugin): support shortcut command lifecycle hooks * chore(plugin): build libs core * enhance(shortcuts): support shortcuts saved to global config * enhance(shortcuts): support shortcuts be saved to global config * feat(shortcuts): support keymap manager to global settings * enhance(shortcuts): shortcut to open keymap settings * fix(units): tests * fix: lints * enhance(shortcuts): unlisten all shortcuts * fix: lints * fix: lints * fix(units): tests * fix(units): tests * fix(units): tests * enhance(shortcuts): unlisten/listen all shortcuts * enhance(shortcuts): polish conflicts component * fix(ui): modal size * fix(ui): modal panel container * enhance(shortcuts): i18n * enhance(ui): layout of the shortcuts recorder component * fix(lint): i18n * enhance(ui): keyboard icon for the keymap settings tab * fix(shortcuts): incorrect filters for the collaspsed shortcuts * enhance(ui): polish details for the keymap settings * enhance(ui): polish details for the keymap settings * fix(shortcuts): get shortcut description error when the associated handler-id not exist * fix(ui): the shortcut disabled label overlaps with section headers. * refactor(shortcuts): names * enhance(ui): filter icons commit 99865a5eef1dcf0ba91fc4380e28b7f11d649d18 Author: Konstantinos Kaloutas Date: Mon Aug 28 16:42:12 2023 +0300 fix: excalidraw focus commit 9c97badf2a3cfa9b9a14ace9dd2b434629aa84c8 Author: Konstantinos Kaloutas Date: Tue Aug 29 09:31:45 2023 +0300 remove viewer duplicated css commit 7a53eaaaf1de96d0e0435eb186fae781e97e7c0b Author: Konstantinos Kaloutas Date: Mon Aug 28 14:03:50 2023 +0300 add pdfjs styles commit 361d08debe9e0f0b274f8f7ec6c9103be55550dc Author: Konstantinos Kaloutas Date: Fri Aug 25 16:09:09 2023 +0300 keep the default submenu on mac commit 2173d5ae5093c1c613f3fc45fc44b20d463a0d83 Author: Konstantinos Kaloutas Date: Thu Aug 24 16:42:19 2023 +0300 disable close window shortcut #3967 commit e41c6738a734fa001736f58f41dbd5e6b253599b Author: Konstantinos Kaloutas Date: Fri Aug 25 17:08:53 2023 +0300 update: static yarn.lock commit e9798b398857db1d5b7f752d2e685f806bab55e0 Author: SPQV MF Date: Tue Aug 22 19:01:35 2023 +0800 fix: remove `word-spacing` css rule, so inline code are actually monospace commit 6df4a30d3f15b8f4719b07e14cca3a6104292acc Author: Andelf Date: Fri Aug 25 14:08:54 2023 +0800 fix(ios): crash caused by capacitor saved call commit 1147bb54e3a559db72dc2dc9c838ecac85486c75 Author: Andelf Date: Fri Aug 25 05:21:04 2023 +0800 chore(ios): bump version commit 9c99c6d6db720fdd0dfb586ec4f0dda0bb275683 Author: Konstantinos Kaloutas Date: Thu Aug 24 11:42:04 2023 +0300 fix (pdf): copy keyboard shortcut commit 4876a7884ceea630443d59d36e4ecb7da85965c7 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu Aug 24 11:01:27 2023 +0000 chore(deps): bump semver from 7.3.5 to 7.5.2 in /resources Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] commit 4cb23ab193f3a3e8248eeb3acc5147d381a9e2dd Author: Zhizhen He Date: Thu Aug 24 13:23:11 2023 +0800 ci: upgrade typos to 1.16.8 commit 73b92a8ccd3209164b97c4850f290dcee326a377 Author: Andelf Date: Thu Aug 24 18:59:34 2023 +0800 chore(deps): update capacitor-file-sync, use async tasks for ios commit ebc8e8171f9d202e29e6b330abdd7a920dd5c1d5 Author: Andelf Date: Thu Aug 24 16:13:39 2023 +0800 refacotr(editor): reorder create-today-journal condition, avoid file reading commit 97a20276f427c9e6b550434b97ea7111ef705e1a Author: Andelf Date: Thu Aug 24 16:01:21 2023 +0800 fix(capacitor): avoid reading out all version files when backup commit 4dd753d2659c5a1b345eb27685a03689c114f1ef Author: Andelf Date: Thu Aug 24 01:26:47 2023 +0800 refactor(ios): refine ios initial appOpenUrl handling using preinit-homepage commit 74eea4bb1eafa77a5cef28a163159cabfb368452 Author: Andelf Date: Thu Aug 24 01:25:20 2023 +0800 dev(ios): enable capacitor logging only when debug commit 785d876f15d7244f63786c6bb16c196dd24998f7 Author: Andelf Date: Thu Aug 24 01:24:51 2023 +0800 chore(deps): update capacitor-diff-merge; fix ios download progress commit 481aa57946dcdb40852bca7aa3f4b3ee8aa002e6 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Aug 22 14:07:33 2023 +0000 chore(deps): bump @excalidraw/excalidraw from 0.12.0 to 0.15.3 Bumps [@excalidraw/excalidraw](https://github.com/excalidraw/excalidraw) from 0.12.0 to 0.15.3. - [Release notes](https://github.com/excalidraw/excalidraw/releases) - [Changelog](https://github.com/excalidraw/excalidraw/blob/master/CHANGELOG.md) - [Commits](https://github.com/excalidraw/excalidraw/commits) --- updated-dependencies: - dependency-name: "@excalidraw/excalidraw" dependency-type: direct:production ... Signed-off-by: dependabot[bot] commit 2d82bf082f01c5c3af96e1c5eab61048b34ffb74 Author: Andelf Date: Wed Aug 23 13:33:46 2023 +0800 refator(watcher): add homepage preload commit 8274ff836f437236e305a071c8996449c2d81bcf Author: Andelf Date: Wed Aug 23 02:57:14 2023 +0800 refactor(ios): refine handling of app id change(upgrading) commit 914cb2ad30340be3a598c449ed379f1f65efb3bb Author: Andelf Date: Wed Aug 23 02:40:07 2023 +0800 enhance(fs): reorder initial fs watcher files commit e04aaf219aa6587b9118379a09e9f8538ca967f0 Author: charlie Date: Wed Aug 23 12:35:01 2023 +0800 fix(pdf): incorrect path of pdfjs cmaps resources commit f134570551e15508b79380920e581d452491f4f5 Author: Andelf Date: Tue Aug 22 22:04:20 2023 +0800 chore(release): bump version 0.9.15 commit 583a3d5dc8ad7dc4ff5bb14348016fa6b1e901ba Author: Charlie Date: Tue Aug 22 21:36:38 2023 +0800 Enhance/plugin APIs x (#10022) * fix(apis): validate non-empty uuid input for query block * fix(plugin): missing block data for the nested renderer macro hook * fix(plugin): incorrect block config for the query table block items commit 6ce6b1933c108e5bfdce9e70b3242b1b817e7bac Author: Konstantinos Kaloutas Date: Mon Aug 21 22:49:27 2023 +0300 reorder fix commit 8ebf2dbadb79d94c1a59c78cf0607e6ee0edd43d Author: Konstantinos Kaloutas Date: Mon Aug 21 21:05:12 2023 +0300 fix: left sidebar duplicate favorites commit 9507f0efe66a1f866c9ca02252c8a4faf8c38ea2 Author: Konstantinos Kaloutas Date: Mon Aug 21 19:59:33 2023 +0300 fix: right sidebar header wrap and content padding commit fbee3614f8495a21eca2cb6a51949b36059e0813 Author: Gabriel Horner Date: Mon Aug 21 16:42:44 2023 -0400 Fix typos in right sidebar lang keys commit d32a22a6cbe7209a0a0e96c77bbc1e931ba07d2e Author: hasecilu Date: Sat Aug 19 18:53:03 2023 -0600 i18n: Update Spanish translations. commit 1db0708e9c89b2f7b0ae4dc2669245c8aca7b918 Author: Inge Date: Sun Aug 20 18:14:24 2023 +0200 Update Norwegian translations commit f04fcf4abf6e6f71e3004560ac458aa0cf7279e0 Author: Konstantinos Kaloutas Date: Mon Aug 21 18:59:50 2023 +0300 disable sidebar pane conetnt scrolling commit 90bbd03c45a5f818717b8c5ba0730665dee7d9bd Author: charlie Date: Fri Aug 18 10:44:27 2023 +0800 enhance(pdf): remove password model close fn state commit 29188f90a6860a2f83ec4d0f5912f093ad457541 Author: Andelf Date: Thu Aug 17 01:28:13 2023 +0800 enhance(pdf): pdf password input modal Close #10033 commit 40edb61b7692ab1c200dbab99ed313dff1f84f8f Author: Konstantinos Kaloutas Date: Fri Aug 18 10:18:03 2023 +0300 fix: right sidebar pane menu overflow commit d85177827acbaa026ca566720ce0f5e0eaff9361 Author: Andelf Date: Tue Aug 15 21:12:03 2023 +0800 chore(release): bump version 0.9.14 commit c089fde242d4ced5717cb50645401b614e5022f5 Author: Konstantinos Kaloutas Date: Thu Aug 17 10:33:46 2023 +0300 fix: recent whiteboards click commit 74fadb0bc8026b86b1140bf6f80953dfcc64ae4a Author: Konstantinos Kaloutas Date: Wed Aug 16 13:34:40 2023 +0300 fix sub-pixel anti-aliasing #2813 commit caf1d9d1e3a21bd8bd1cd83ba779bbd6570ae521 Author: Konstantinos Date: Wed Aug 16 18:39:29 2023 +0300 Enhance: Left sidebar (#9880) * wip: right sidebar * fix: graph height * re-enable scrolling on list * style: indentation * fix: always expand block when added to sidebar * fix: show close button on mobile * wip: right sidebar * support default and custom icons * fix whiteboard icon * fix: header overflow * remove unneeded dependency * fix graph icon * add middle click action and context menu * add more context menu actions * add reordering support * fix dropdown visibility * dnd fixes and initial state * varous fixes * fix event propagation * enhance accesibility * area expanded fix * add translations * refactoring * enhance performance * enhance text overflow * fix page link * drag enter fix * add rounded corners and transition * add keyboard shortcuts icon * revert left sidebar change * left sidebar bg and border * various left sidebar enhancements * alignment fixes * split favorites and recents scrolling * handle unavailable icon * handle overflow edge case * fix and refactor menu shortcuts * handle zero items * display nan shortcuts on mouse over * min height fix * min height fix * simplify chevron icon * minor fixes * add flashcards shortcut * revert initial sidebar state changes * cloud icon fix * fix border radius * add missing go-home shortcut * add clear recent button * fix typo * hide scrollbars * remove transition * fix: favorites * fix: border and rounded corners * fix: dnd delay * Revert "add clear recent button" This reverts commit d8c52c35f0c775fc7c1dfd0ff1ab0d39fab53a44. * fix: keyboard shortcuts * fix: shortcuts * remove unused require commit 5cd3bec91153c94561a67eb8c3fafaeb30c6777e Author: Tienson Qin Date: Wed Aug 16 00:36:29 2023 +0800 fix: can't redirect to block commit 6fee36d3e81c0790b2cf3720416d27b5385d2d46 Author: Andelf Date: Thu Aug 3 00:47:30 2023 +0800 fix(editor): error notification when template insert error commit deba094724fdcf95a8232b29e6f6451afdfbe289 Author: Andelf Date: Wed Aug 2 23:27:05 2023 +0800 fix(editor): template expansion if ac-ui is blurred See-also: #8728 commit 35124d5ffb02ce40ff0ce3f839410d4221f845b0 Author: situ2001 Date: Sat Aug 5 19:46:15 2023 +0800 fix: add drag threshold commit 1d7b6c99997a7e94580d554cdec7bec0334d2d8d Author: charlie Date: Wed Aug 9 12:16:48 2023 +0800 enhance(zotero): polish ui details of the zotero search component commit 248b83525a5ab480c5330866d7ccc97bd1cf5f12 Author: Andelf Date: Tue Aug 15 00:23:17 2023 +0800 fix(editor): avoid nav to empty page name commit cbed7f7a19d3e245d4965afcf583640326387c17 Author: Gabriel Horner Date: Mon Aug 14 15:34:46 2023 -0400 Tweak login wording to let users know that email login works This will reduce support requests commit d419487445e106e5048c86bd410df48af8fe688f Author: Matheus Francisco Date: Mon Aug 14 13:20:52 2023 -0300 fix: whiteboard page sidebar empty string (#10018) commit 62dcbb22a8102bc11ee9d4b47c7a705b77b135b1 Author: ROCKTAKEY Date: Wed Aug 9 02:17:31 2023 +0900 enhance: Update Japanese translation (#10004) commit 62eb86f0c87275333279613171c76bc45f65421b Author: charlie Date: Mon Aug 7 17:40:14 2023 +0800 enhance(pdf): support `shift + enter` to pick the previous searching results item commit a160151ceb5908235950e9831de35f05e829b07e Author: HikoriHawky Date: Sat Aug 5 17:13:29 2023 +0800 altered hardcoded pressure values --- .github/workflows/build.yml | 2 +- android/app/build.gradle | 4 +- capacitor.config.ts | 1 + deps/common/src/logseq/common/path.cljs | 2 +- deps/shui/src/logseq/shui/context.cljs | 6 +- ...ld LogSeq Desktop for windows on Ubuntu.md | 2 +- docs/accessibility.md | 6 +- docs/contributing-to-translations.md | 6 +- docs/develop-logseq-on-mobile.md | 6 +- docs/develop-logseq-on-windows.md | 25 +- ios/App/App.xcodeproj/project.pbxproj | 8 +- libs/package.json | 1 + libs/src/LSPlugin.caller.ts | 15 +- libs/src/LSPlugin.core.ts | 73 +- libs/src/LSPlugin.ts | 89 +- libs/src/LSPlugin.user.ts | 215 +-- libs/src/helpers.ts | 86 +- libs/src/modules/LSPlugin.Experiments.ts | 3 +- libs/src/modules/LSPlugin.Request.ts | 70 +- libs/src/modules/LSPlugin.Search.ts | 99 +- libs/src/modules/LSPlugin.Storage.ts | 2 +- libs/src/postmate/index.ts | 23 +- libs/yarn.lock | 5 + package.json | 4 +- packages/amplify/src/LSAuthenticator.tsx | 6 + packages/amplify/src/amplify.ts | 3 +- resources/forge.config.js | 2 +- resources/js/lsplugin.core.js | 2 +- resources/package.json | 7 +- scripts/get-pkg-version.js | 2 +- scripts/src/logseq/tasks/lang.clj | 10 +- src/electron/electron/configs.cljs | 14 +- src/electron/electron/core.cljs | 11 +- src/electron/electron/handler.cljs | 7 +- src/electron/electron/utils.cljs | 10 +- src/electron/electron/window.cljs | 5 +- src/main/frontend/common.css | 3 +- src/main/frontend/components/block.cljs | 4 +- src/main/frontend/components/block.css | 24 + .../frontend/components/command_palette.cljs | 4 +- src/main/frontend/components/container.cljs | 186 +-- src/main/frontend/components/container.css | 141 +- src/main/frontend/components/content.cljs | 134 +- src/main/frontend/components/conversion.cljs | 8 +- src/main/frontend/components/header.css | 16 +- src/main/frontend/components/page.cljs | 6 +- src/main/frontend/components/plugins.cljs | 2 + src/main/frontend/components/plugins.css | 4 +- .../frontend/components/plugins_settings.cljs | 2 +- src/main/frontend/components/query_table.cljs | 9 +- src/main/frontend/components/reference.cljs | 14 +- src/main/frontend/components/repo.cljs | 11 +- .../frontend/components/right_sidebar.cljs | 28 +- .../frontend/components/right_sidebar.css | 11 +- src/main/frontend/components/settings.cljs | 49 +- src/main/frontend/components/settings.css | 92 +- src/main/frontend/components/shortcut.cljs | 19 +- src/main/frontend/components/shortcut.css | 165 ++ src/main/frontend/components/shortcut2.cljs | 476 ++++++ src/main/frontend/components/svg.cljs | 24 +- src/main/frontend/components/theme.cljs | 9 +- src/main/frontend/components/whiteboard.cljs | 2 +- src/main/frontend/config.cljs | 9 +- src/main/frontend/db/model.cljs | 12 - src/main/frontend/db/persist.cljs | 11 + src/main/frontend/dicts.cljc | 6 +- src/main/frontend/extensions/excalidraw.cljs | 7 +- src/main/frontend/extensions/pdf/_viewer.css | 801 ---------- src/main/frontend/extensions/pdf/core.cljs | 60 +- src/main/frontend/extensions/pdf/pdf.css | 15 +- src/main/frontend/extensions/pdf/toolbar.cljs | 4 +- src/main/frontend/extensions/srs.cljs | 2 +- src/main/frontend/extensions/tldraw.cljs | 7 +- .../frontend/extensions/video/youtube.cljs | 14 +- src/main/frontend/extensions/zotero.cljs | 257 ++-- src/main/frontend/extensions/zotero.css | 32 +- src/main/frontend/fs/capacitor_fs.cljs | 33 +- src/main/frontend/fs/sync.cljs | 546 ++++--- src/main/frontend/fs/watcher_handler.cljs | 132 +- .../frontend/handler/command_palette.cljs | 5 +- src/main/frontend/handler/config.cljs | 3 + src/main/frontend/handler/editor.cljs | 53 +- src/main/frontend/handler/events.cljs | 65 +- src/main/frontend/handler/file_sync.cljs | 11 +- src/main/frontend/handler/global_config.cljs | 19 +- src/main/frontend/handler/notification.cljs | 8 +- src/main/frontend/handler/page.cljs | 83 +- src/main/frontend/handler/plugin.cljs | 15 +- src/main/frontend/handler/repo.cljs | 3 +- src/main/frontend/handler/route.cljs | 25 +- src/main/frontend/handler/user.cljs | 16 +- src/main/frontend/handler/web/nfs.cljs | 30 +- src/main/frontend/idb.cljs | 8 + src/main/frontend/mixins.cljs | 50 +- src/main/frontend/mobile/core.cljs | 21 +- .../frontend/modules/shortcut/config.cljs | 1369 ++++++++--------- src/main/frontend/modules/shortcut/core.cljs | 232 ++- .../modules/shortcut/data_helper.cljs | 246 ++- src/main/frontend/modules/shortcut/utils.cljs | 58 + src/main/frontend/routes.cljs | 5 - src/main/frontend/search/agency.cljs | 2 - src/main/frontend/state.cljs | 53 +- src/main/frontend/ui.cljs | 30 +- src/main/frontend/ui/date_picker.cljs | 2 +- src/main/frontend/util.cljc | 13 - src/main/frontend/util/keycode.cljs | 2 +- src/main/frontend/util/property.cljs | 4 +- src/main/frontend/version.cljs | 2 +- src/main/logseq/api.cljs | 38 +- src/main/logseq/api/block.cljs | 2 +- src/resources/dicts/de.edn | 2 - src/resources/dicts/en.edn | 25 +- src/resources/dicts/es.edn | 67 +- src/resources/dicts/fr.edn | 2 - src/resources/dicts/id.edn | 821 ++++++++++ src/resources/dicts/it.edn | 2 - src/resources/dicts/ja.edn | 34 +- src/resources/dicts/ko.edn | 2 - src/resources/dicts/nb-no.edn | 16 +- src/resources/dicts/nl.edn | 2 - src/resources/dicts/pl.edn | 2 - src/resources/dicts/pt-br.edn | 2 - src/resources/dicts/pt-pt.edn | 2 - src/resources/dicts/ru.edn | 2 - src/resources/dicts/sk.edn | 2 - src/resources/dicts/tr.edn | 32 +- src/resources/dicts/uk.edn | 2 - src/resources/dicts/zh-cn.edn | 21 +- src/resources/dicts/zh-hant.edn | 2 - src/resources/tutorials/dummy-notes-id.md | 14 + src/resources/tutorials/tutorial-fr.md | 2 +- src/resources/tutorials/tutorial-id.md | 25 + .../frontend/modules/shortcut/core_test.cljs | 49 + src/test/frontend/util_test.cljs | 88 +- static/yarn.lock | 42 +- tailwind.all.css | 1 + .../components/ContextMenu/ContextMenu.tsx | 4 +- .../src/components/ToolButton/ToolButton.tsx | 6 +- tldraw/packages/core/src/lib/TLApp/TLApp.ts | 6 +- typos.toml | 5 +- yarn.lock | 23 +- 141 files changed, 4773 insertions(+), 3228 deletions(-) create mode 100644 src/main/frontend/components/shortcut2.cljs delete mode 100644 src/main/frontend/extensions/pdf/_viewer.css create mode 100644 src/main/frontend/modules/shortcut/utils.cljs create mode 100644 src/resources/dicts/id.edn create mode 100644 src/resources/tutorials/dummy-notes-id.md create mode 100644 src/resources/tutorials/tutorial-id.md create mode 100644 src/test/frontend/modules/shortcut/core_test.cljs diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 632ae35ca41..897d7b806ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout Actions Repository uses: actions/checkout@v3 - name: Check spelling with custom config file - uses: crate-ci/typos@v1.13.10 + uses: crate-ci/typos@v1.16.8 with: config: ./typos.toml diff --git a/android/app/build.gradle b/android/app/build.gradle index 5fd52493787..ceb2fb2ab41 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "com.logseq.app" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 66 - versionName "0.9.13" + versionCode 70 + versionName "0.9.17" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/capacitor.config.ts b/capacitor.config.ts index 75796ce6c02..64f582da2d8 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -8,6 +8,7 @@ const config: CapacitorConfig = { appName: 'Logseq', bundledWebRuntime: false, webDir: 'public', + loggingBehavior: 'debug', plugins: { SplashScreen: { launchShowDuration: 500, diff --git a/deps/common/src/logseq/common/path.cljs b/deps/common/src/logseq/common/path.cljs index 8553ef6dce1..9f44352aa5c 100644 --- a/deps/common/src/logseq/common/path.cljs +++ b/deps/common/src/logseq/common/path.cljs @@ -294,7 +294,7 @@ ;; compat (defn basename [path] - (let [path (string/replace path #"/$" "")] + (let [path (string/replace path #"/+$" "")] (filename path))) (defn dirname diff --git a/deps/shui/src/logseq/shui/context.cljs b/deps/shui/src/logseq/shui/context.cljs index fd3bbafe8c6..d72e465cecb 100644 --- a/deps/shui/src/logseq/shui/context.cljs +++ b/deps/shui/src/logseq/shui/context.cljs @@ -14,9 +14,9 @@ :config app-config ;; Until components are converted over, they need to fallback to the old inline function ;; Wrap the old inline function to allow for interception, but fallback to the old inline function - :inline-block (inline->inline-block inline block-config) + :inline-block (inline->inline-block inline block-config) :map-inline-block (inline->map-inline-block inline block-config) - ;; Currently frontend component are provided an object map containin at least the following keys: + ;; Currently frontend component are provided an object map containing at least the following keys: ;; These will be passed through in a whitelisted fashion so as to be able to track the dependencies ;; back to the core application ;; TODO: document the following @@ -24,7 +24,7 @@ :block? (:block? block-config) :blocks-container-id (:blocks-container-id block-config) :editor-box (:editor-box block-config) - :id (:id block-config) + :id (:id block-config) :mode? (:mode? block-config) :query-result (:query-result block-config) :sidebar? (:sidebar? block-config) diff --git a/docs/Build LogSeq Desktop for windows on Ubuntu.md b/docs/Build LogSeq Desktop for windows on Ubuntu.md index 8e504839976..3b24e9f738f 100644 --- a/docs/Build LogSeq Desktop for windows on Ubuntu.md +++ b/docs/Build LogSeq Desktop for windows on Ubuntu.md @@ -1,7 +1,7 @@ # Building Logseq Desktop app for Windows on Ubuntu ## Intro My Logseq dev machine is on Ubuntu 18.x and my production machine is running Windows 10, I needed a way to compile the Logseq desktop APP for Windows. -I tired & failed to make the "build" run on my windows machine but I did, however, succeed in letting my Ubuntu machine make Windows x64 files +I tried & failed to make the "build" run on my windows machine but I did, however, succeed in letting my Ubuntu machine make Windows x64 files ## Pre-requisites These are the steps I took to make it work on my Ubuntu machine, sharing them hoping it helps someone else. I assume you have all the basic pre-requisites for Logseq, if not you can find them at https://github.com/logseq/logseq#1-requirements 1. clone Logseq repo if you haven't already diff --git a/docs/accessibility.md b/docs/accessibility.md index 11cc086ec73..31d52aaa071 100644 --- a/docs/accessibility.md +++ b/docs/accessibility.md @@ -1,4 +1,4 @@ -- Accessibility is a vague term, which is why it is usually misunderstood. It is not just about people with with specific disabilities. You can read more about [what is accessibility](https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility#so_what_is_accessibility) and [diverse abilities and barriers](https://www.w3.org/WAI/people-use-web/abilities-barriers/). +- Accessibility is a vague term, which is why it is usually misunderstood. It is not just about people with specific disabilities. You can read more about [what is accessibility](https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility#so_what_is_accessibility) and [diverse abilities and barriers](https://www.w3.org/WAI/people-use-web/abilities-barriers/). - ## Web Content Accessibility Guidelines - [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/) (Web Content Accessibility Guidelines) is the international standard for web content accessibility, developed by [W3C](https://www.w3.org/). Logseq is a web application, so conforming with WCAG should be our first priority. In general, there is no simple way to determine if a website is accessible or not, but WCAG can help us make the tool usable by as many people as possible. - ## Levels of conformance @@ -6,7 +6,7 @@ - Level **A** is the minimum level. - Level **AA** includes all Level A and AA requirements. - Level **AAA** includes all Level A, AA, and AAA requirements. - - Many organizations strive to meet Level AA. The reason behind this decision, is that in some cases AAA standard is too strict. That does't mean that triple-A issues should be disregarded. On the contrary, all of them should be handled if possible. + - Many organizations strive to meet Level AA. The reason behind this decision, is that in some cases AAA standard is too strict. That doesn't mean that triple-A issues should be disregarded. On the contrary, all of them should be handled if possible. - We can also provide alternative options in order to conform with AAA standards. For instance, our default themes can aim for AA, but we can provide a high-contrast theme that aims for AAA. Providing [alternative versions](https://www.w3.org/WAI/GL/2007/05/alternate-versions.html) with different levels of conformance is permitted according to WCAG, if there is an accessible way to reach those alternatives. - ## Simple development guidelines - Use semantically correct markup whenever possible. Every time you are about to decide which html tag you are going to use, choose the one that behaves the way you want it. For example, let's say you want to create an element that looks like plain text, but triggers an action on click. Usually, the best approach would be to create a `