Commit Graph

924 Commits (6339d76db02cc93ef6f576d215e30cc113374353)

Author SHA1 Message Date
Andelf 810e7163c5 chore(release): bump version 0.9.5 2023-05-10 22:04:28 +08:00
Andelf bebc3bd9f7 chore(release): bump version 0.9.4 2023-04-25 19:55:25 +08:00
Andelf 897a6af010 chore(deps): update rsapi, refine logs 2023-04-19 21:25:18 +08:00
Andelf 3cdddeab55 chore(release): bump version 0.9.3 2023-04-19 21:25:18 +08:00
Andelf cc87fa4c17 chore(deps): update rsapi, refine certs check 2023-04-18 23:10:38 +08:00
Andelf 0e4792f596 chore: bump version 0.9.2 2023-04-13 00:01:13 +08:00
Charlie 60fbfdf2f7
Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
 - feat: add a plug-in flag for the plugin slash commands item
 - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
 - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
 - enhance: auto-check updates for the installed plugins from Marketplace
 - feat: expose template-related APIs to SDK
2023-04-12 21:27:40 +08:00
Konstantinos 95149e13f6
Feat: Export to image (#9037)
* feat: export to image

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* fix: loading position

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* Fix any html2canvas related functionality failing in publishing

* fix: portal header gradient on export

* chore: add comment about html2canvas-ignore attr

* fix: use export padding constant

* fix: export collapsed portals with size >  medium

* fix: reset export type

* enhance: export filename

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-12 17:39:22 +08:00
charlie 30df4c220b fix(ui): unwanted reset style from amplify ui 2023-04-06 14:36:36 +08:00
Andelf 428d1da0d4 chore: release 0.9.1 2023-03-29 18:51:07 +08:00
Andelf 7d92a3172e chore(release): bump version 0.9.0 2023-03-28 09:18:24 +08:00
Charlie 95c5cba9db
Feat: The new login UI (#8865)
Built-in login UI instead of callback

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-27 19:56:18 +08:00
Tienson Qin db6fc6b7ee
feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
charlie 1df54a6b54 chore(plugin): build libs core 2023-03-06 12:05:39 +08:00
Gabriel Horner 91e89ef2d6
Chore: Add deprecation for :editor/command-trigger config (#8720)
* Add deprecation for :editor/command-trigger config

* enhance: warning dialog

* enhance: notification styles

* enhance: notification icons

* Fix tests after config warning improvements

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-03-04 12:07:33 +08:00
Andelf b8dfac04d2 fix(rsapi): use system certs 2023-03-01 21:59:09 +08:00
Andelf db76ba885c chore(release): bump version 0.8.18 2023-03-01 15:23:15 +08:00
Andelf d0c52615f8 ci: re-enable codesign on macos 2023-02-28 15:46:52 +08:00
charlie ec6e99e447 fix(plugin): force disable the unloaded(error) plugin 2023-02-28 15:13:42 +08:00
Konstantinos Kaloutas 664afd827c fix: default color on portals 2023-02-21 23:49:25 +08:00
Andelf 8b2c50dd06 chore(deps): update rsapi
- fix http2 deps
- add freebsd build
2023-02-21 22:27:50 +08:00
Andelf c621ac30e8 fix: disable macos sign temporarily 2023-02-21 09:18:59 +08:00
charlie 164ac64be9 improve(apis): support CORS for http server 2023-02-20 16:26:03 +08:00
Andelf 71b5fa3b97
Feat: auto-completion for config editing (#8584)
* feat(editor): add auto-completion for config editing
* enhance: filter keys already in file when autocompletion
2023-02-15 17:56:33 +08:00
Andelf 58d1928cde chore: bump version 0.8.17 2023-02-10 11:57:37 +08:00
Andelf 924b945b32 enhance(sync): add native logging for desktop and android 2023-02-04 18:28:07 +08:00
Andelf 6d62848386 fix(sync): revert age upgrade
Close #8497
2023-02-02 23:11:24 +08:00
Andelf 29efeeb68a chore: update rsapi 2023-02-01 21:54:46 +08:00
Andelf 4916406111 chore(deps): update rsapi, add upload retries 2023-01-16 00:21:02 +08:00
Andelf 3a7d16683c fix(sync): update deps, fix expired token issue 2023-01-13 22:15:36 +08:00
Andelf b5b1a46215 chore: bump version 0.8.16 2023-01-12 21:05:10 +08:00
Konstantinos 2e929ebb21
Chore(deps): Upgrade electron to 20 (#7692)
upgrade electron to 21
2023-01-09 13:57:41 +08:00
Charlie 675811ccde
Enhance/plugins (#8202)
* improve(plugins): install hooks with user options

* improve(plugin): remove todos

* improve(plugin): hook for a specific plugin

* e2e tests

* improve(ui): global search bar for the results from the custom search service
2023-01-05 19:30:41 +08:00
Tienson Qin c2a4e55f02 enhance: use /api instead of /api-invoker 2022-12-29 23:16:12 +08:00
Andelf 7fd33b5971 chore(release): bump version 0.8.15
Related #8152
2022-12-29 22:51:11 +08:00
Charlie 51aaa02e76
Feat: APIs http server (#7699)
http server
2022-12-29 22:30:44 +08:00
Andelf 5b25641785 fix(rsapi): add fname unicode normalization 2022-12-29 20:43:33 +08:00
Konstantinos Kaloutas 2665ceda33 chore: add group icons 2022-12-28 12:19:22 +08:00
charlie db284f1132 chore: build libs 2022-12-26 12:10:23 +08:00
Andelf 0c4198c824 chore: bump version 0.8.14 2022-12-20 21:41:13 +08:00
Charlie 020317911f
Enhance/plugin APIs (#7555)
* feat: WIP native cli command support

* Add :shell/command-whitelist option

* Integrate cli to code block

* Add :code-block/command-whitelist option

* fix: size of icon

* improve(shell): cache user shell whitelist on application configures file

* improve(electron): promisify run cli command

* chore(libs): update version

* fix(plugin): incorrect payload of pdf highlights section hook

* improve(plugin): block renderer with specific block uuid

* improve(plugin): expose logger for user lib

* improve(plugin): block hooks type

* improve(plugin): block slot hook with specific block

* improve(plugin): auto generate key for provide UI options

* improve(plugin): style of injected ui container

* improve(plugin): types

* improve(plugin): async messaging api from host to plugin

* improve(plugin): add types

* improve(apis): get external plugin metadata

* improve(apis): invoke external plugin impls

* improve(apis): call external plugin impls for simple commands

* enhance(apis): datascript query api for predicate inputs

* enhance(apis): datascript query api for predicate inputs

* fix(apis): redundant args of datascript query api

* enhance(plugins): position of float ui container

* enhance(plugins): style of setting options

* enhance(plugins): layouts data for float ui

* chore(plugins): update CHANGELOG.md

* improve(apis): add types

* chore: fix some inclusive terms

* improve(apis): types

* chore(plugins): update CHANGELOG.md

* chore(plugins): build libs

* chore: update CHANGELOG.md

* chore: remove experiemental alda integration

* fix(lint): remove unused methods

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2022-12-19 20:23:25 +08:00
charlie ef06aedcfb fix(ios): can't scroll when search results overflow with soft keyboard opened 2022-12-19 17:30:10 +08:00
Andelf 6c4dd0b438 chore(deps): update rsapi, add socks proxy support 2022-12-19 13:09:24 +08:00
Andelf 9a4541c7f5 feat(sync): impl proxy support
refactor: use system proxy when possible
chore: update yarn.lock
2022-12-19 13:09:24 +08:00
Andelf cfdcd9410c
Merge branch 'master' into enhance/mobile-ux-2 2022-12-06 12:46:15 +08:00
Sergey Kolesnik 8b8fe908c0
A bunch of sanity in `search palette CSS` (#7334)
* legacy style fix: clean `#search-wrapper svg` css

* search palette css review; `--ls-search-icon-color` var reabilitation

Co-authored-by: Konstantinos <konstantinos@logseq.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-05 10:51:27 -05:00
Tienson Qin 898f10b84d
Merge branch 'master' into enhance/mobile-ux-2 2022-12-05 12:53:43 +08:00
Andelf 7a0555a9fc chore: bump version 0.8.13 2022-12-03 03:35:44 +08:00
Andelf c5bcbdd025 chore(deps): update file-sync deps
enhance: use armor=false for encryption
2022-12-03 00:32:13 +08:00
Andelf 88b160e215 chore(dev): cleanup unused package.json entries 2022-12-03 00:28:42 +08:00
Andelf 6aeb244fa2 enhance(ui): adaptive font size for tags 2022-12-01 11:52:39 +08:00
charlie 363336e123 Merge branch 'master' into enhance/mobile-ux-2 2022-11-30 16:13:26 +08:00
Tienson Qin 7331000bb1
Merge branch 'master' into feat/whiteboards-onboarding 2022-11-30 14:34:51 +08:00
charlie ba19a2516c Merge branch 'master' into enhance/mobile-ux-2 2022-11-30 14:02:24 +08:00
Andelf ee14560b2b chore(deps): update electron 19.1.8
fix(test): shard test
2022-11-30 11:22:55 +08:00
Konstantinos Kaloutas ef9075a684 Merge branch 'master' into feat/whiteboards-onboarding 2022-11-28 12:56:41 +02:00
charlie f69c6af49e Merge branch 'master' into enhance/mobile-ux-2 2022-11-28 10:55:03 +08:00
Andelf fe4dbdee1b fix(ui): use default font family for headings
Close #7481
2022-11-28 10:37:46 +08:00
charlie 47b541825b fix: missing depen 2022-11-25 14:00:16 +08:00
Konstantinos Kaloutas 612950d75c Merge branch 'master' into feat/whiteboards-onboarding 2022-11-24 17:27:51 +02:00
Tienson Qin dfd8052990
chore: remove rage-wasm since we moved to use the native binding (#7446) 2022-11-24 15:36:11 +08:00
Tienson Qin 3bb17b46fd chore: bump to 0.8.12 2022-11-23 21:09:29 +08:00
Konstantinos Kaloutas 2739ee0e64 wip: whiteboards onboarding 2022-11-23 14:49:46 +02:00
Sergey Kolesnik 355b1449b1
style fix: add css var `--color-level-6` for light theme (#7337) 2022-11-23 14:25:50 +08:00
Peng Xiao 926b7d859b
Merge branch 'master' into feat/wb-linkings 2022-11-23 13:12:20 +08:00
Charlie dda1f9bd9f
Enhance / Plugin APIs (#6945)
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR

Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
2022-11-22 22:00:29 +08:00
charlie 73fc9a73aa improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie d04a0ac66b enhance(pdf): sync page number in highlights metafile 2022-11-22 21:43:47 +08:00
Konstantinos Kaloutas 79b94ddc59 fix: move-to-sidebar-right icon 2022-11-22 11:51:45 +02:00
Konstantinos Kaloutas 339f1e00a1 chore: add new icons 2022-11-21 19:01:02 +02:00
Gabriel Horner 6f5a6dcbf7
Merge pull request #7358 from logseq/feat/color-panel
Feat (Whiteboards): Add main color panel and rearrange tools
2022-11-18 10:53:07 -05:00
Sergey Kolesnik 04fecb0aa8
legacy style fix: remove `search-field` css and `--ls-search-background-color` var (#7318) 2022-11-17 13:40:54 -05:00
Konstantinos Kaloutas 58d41083f8 fix: styles 2022-11-16 19:24:34 +02:00
Peng Xiao 02749a4b34 fix: add a line link to whiteboard onboard template 2022-11-14 22:39:53 +08:00
Sergey Kolesnik f858e94520 legacy style fix: remove unused `--ls-head-text-color` css var 2022-11-14 20:45:59 +08:00
Sergey Kolesnik bb3fd4711e legacy style fix: remove unused css var: `--ls-right-sidebar-code-bg-color` 2022-11-14 20:45:59 +08:00
Peng Xiao e00ef97367 fix: highlighter opacity in onboard whiteboard 2022-11-14 18:01:46 +08:00
Tienson Qin a939767aaf chore: bump to 0.8.11 2022-11-11 20:43:37 +08:00
charlie 438f0b9e3d chore(plugins): build libs core 2022-11-11 17:33:15 +08:00
Konstantinos Kaloutas 77cce8184e chore: update icons 2022-11-10 20:46:50 +08:00
charlie d4589b1272 Merge branch 'master' into enhance/ios-folder-picker 2022-11-06 11:06:24 +08:00
charlie d976eb5182 enhance(mobile): polish interaction for the onboarding graph picker 2022-11-05 19:04:50 +08:00
Konstantinos 0aaba519cc
Fix: Appimage desktop file entries (#7219)
* appimage test

* add mimeType option

* transfer fork to logseq

* appimage test

* add mimeType option

* transfer fork to logseq

* add package name

* fix: product name

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-11-05 15:39:46 +08:00
charlie da3f6b094d Squashed commit of the following:
commit 99a2d333f9
Author: rcmerci <rcmerci@gmail.com>
Date:   Sat Nov 5 00:04:17 2022 +0800

    dev: restart sync when code changed

commit 4682274e10
Author: kv-gits <26402310+kv-gits@users.noreply.github.com>
Date:   Fri Nov 4 18:08:43 2022 +0300

    Update develop-logseq-on-windows.md

    JRE x64

commit fcb5d206b2
Author: rcmerci <rcmerci@gmail.com>
Date:   Fri Nov 4 17:36:34 2022 +0800

    fix: calculate s3-key length

commit e780272d12
Author: rcmerci <rcmerci@gmail.com>
Date:   Fri Nov 4 17:32:19 2022 +0800

    enhance(sync): filter pages whose page-name is too long

commit d45e5507b5
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Thu Nov 3 13:10:58 2022 +0800

    fix: e2e issue

commit c03b8503b0
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Thu Nov 3 11:35:44 2022 +0800

    test(whiteboard): new e2e cases

commit fbbcb1f862
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Thu Nov 3 10:53:45 2022 +0800

    fix: onboarding condition

commit 26f08061ac
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Thu Nov 3 10:43:59 2022 +0800

    fix(whiteboard): add loading when populating onboarding whiteboard

commit e8d1c1baa7
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Wed Nov 2 20:45:33 2022 +0800

    feat(whiteboard): onboarding whiteboard

commit 2f5680bd49
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Tue Nov 1 10:51:42 2022 +0800

    wip

commit 48cfa27552
Author: Peng Xiao <pengxiao@freewheel.tv>
Date:   Mon Oct 31 20:46:44 2022 +0800

    wip onboarding template

commit 3f17fd2ceb
Author: yoyurec <yoyurec@gmail.com>
Date:   Thu Nov 3 13:38:25 2022 +0200

    fix: add missed mark css vars

commit 8dfab3bd13
Author: Konstantinos Kaloutas <konstantinos@logseq.com>
Date:   Thu Nov 3 21:26:46 2022 +0200

    fix: allow custom protocols

commit dda618ca8f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Nov 4 22:32:13 2022 +0800

    fix: lint warning

commit 6c5c3bb96f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Nov 4 20:26:19 2022 +0800

    fix: some files may not have ext
2022-11-05 10:49:12 +08:00
Peng Xiao e8d1c1baa7 feat(whiteboard): onboarding whiteboard 2022-11-04 23:03:43 +08:00
Peng Xiao 48cfa27552 wip onboarding template 2022-11-04 23:03:43 +08:00
yoyurec 3f17fd2ceb fix: add missed mark css vars 2022-11-04 23:02:26 +08:00
Konstantinos Kaloutas a5033a3613 fix: checker bg opacity 2022-11-02 12:42:16 +02:00
Konstantinos Kaloutas a85f38f414 fix: slider background 2022-10-31 18:45:28 +02:00
Konstantinos Kaloutas d34e5f116d fix: portal header color 2022-10-31 18:11:03 +02:00
Sergey Kolesnik 22e419a28f Update common.css
define values for undefined variables (probably unused)
2022-10-31 08:58:25 +08:00
Sergey Kolesnik 1e81e49629 Update common.css
typo
2022-10-31 08:58:25 +08:00
Tienson Qin 52324b0ff2 chore: bump to 0.8.10 2022-10-28 21:13:03 +08:00
Tienson Qin 584383f2c7 fix: set max width for wide mode to 1280px 2022-10-20 13:23:57 +08:00
Tienson Qin 2198d19c74 chore: update other files 2022-10-19 01:51:41 +08:00
charlie 2d749e3814 fix(ui): input style of page title when editing. 2022-10-19 01:16:52 +08:00
Konstantinos Kaloutas 6e3a54677d feat: auto heading 2022-10-18 10:42:41 +08:00
charlie 3068868347 fix(electron): open custom protocol links as default condition 2022-10-16 12:17:44 +08:00
charlie 489090bc87 fix(ui): polish form input 2022-10-13 16:52:51 +08:00
Tienson Qin 7d3ed2bc97 Style tweaks 2022-10-10 18:08:48 +08:00
Konstantinos Kaloutas d238c88afd chore: add allowed protocols for openExternal 2022-10-10 13:42:22 +08:00
Charlie d53ac94bfc
Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +08:00
Peng Xiao c7fe4933b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-07 16:18:27 +08:00
Konstantinos 6007d6061f
Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +08:00
Tienson Qin f4262cf919
Enhance/api storages for graph assets (#6488)
* improve(api): assets storage for plugin

Co-authored-by: charlie <xyhp915@qq.com>
2022-10-04 12:30:19 +08:00
Andelf 96fc757793 fix(windows): update rsapi, use static link 2022-10-02 19:27:14 +08:00
Peng Xiao a4417c5f1a Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-02 12:36:45 +08:00
Andelf 0de13bf553 chore: bump version 0.8.8 2022-09-30 18:49:16 +08:00
Peng Xiao bb2df1b3b7 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-30 08:51:05 +08:00
Andelf 6a6974671f chore(deps): update file-sync libs 2022-09-29 19:36:42 +08:00
Peng Xiao fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
Andelf ae114afbd8
Feat: sync progress for electron (#6662)
* fix: state shouldn't be returned in ipc

* feat: download && upload processing

* enhance(ui):  interaction of show password checkbox

* feat: time left

* feat: download progress

* Set download batch size to 100

* improve(ui): progress pane of file sync indicator

* improve(ui): progress pie of each file state

* improve(ui): progress pie of each file state

* improve(ui): progress pie of each downloading file

* fix: add last changed time

* enhance: time left

* fix: total needs to be larger than finished

* fix: wait for update-graphs-txid!

* enhance: show in-progress files first

* chore: ui polish

* improve(ui): persist stauts of sync files list toggle switch

* fix(ui): visibility of sync now button on mobile

* chore: remove ios static out after sync

* fix: debounce clicking on sync icon

* fix: repos not refreshed after unlink or delete

* enhance: automatically save page-metadata.edn to avoid sync when restart

* improve(ui): sync now shortcut for file sync progress pane

* enhance: data transfer icons

* fix: stop sync if switched to another graph

* fix: can't switch

* enhance: sort files first before uploading or downloading

* fix: clear current graph uuid when sync stops

* fix: separate progress by graphs

* fix: check files only in the current progress

* fix: prevent multiple sync managers for the same graph

* fix: remove redundant files watchers

* enhance(sync): re-exec remote->local-full-sync when exception

re-exec remote->local-full-sync when <update-local-files return exceptions

* enhance(sync): re-exec remote->local-full-sync when exception

re-exec remote->local-full-sync when <update-local-files return exceptions

* fix(sync): set-progress-callback, update rsapi

* fix(sync): uploading progress bar

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: charlie <xyhp915@qq.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2022-09-23 02:00:24 +08:00
charlie f8cc6378c3 improve(ui): update built-in icon mode 2022-09-21 14:49:20 +08:00
Peng Xiao a0b0e30f22 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-20 16:51:36 +08:00
Andelf dfbb42a1b3 fix(sync): update rsapi, add graph-uuid to all fn 2022-09-20 15:06:17 +08:00
Konstantinos Kaloutas 1df686eb2a style: tabler css 2022-09-15 12:27:50 +03:00
Konstantinos Kaloutas 7a975ac322 fix: tabler icons css 2022-09-15 12:17:56 +03:00
Konstantinos Kaloutas 7212324373 fix: selection text color 2022-09-15 12:17:31 +03:00
Konstantinos Kaloutas caf72d9b98 Merge branch 'whiteboards' into feat/whiteboards-create-button 2022-09-15 09:37:09 +03:00
Peng Xiao 031ad9c4a9 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-15 09:46:44 +08:00
Andelf 76f40d4bcf chore: bump version 0.8.7 2022-09-14 23:19:56 +08:00
Konstantinos Kaloutas debf0e8054 chore: update icon font 2022-09-14 17:43:40 +03:00
Konstantinos Kaloutas 130b26021c chore: introduce selection text css var 2022-09-14 14:59:38 +03:00
Konstantinos Kaloutas 14e87963ef Revert "chore: increase the max width of main container"
This reverts commit 5bc0537954.
2022-09-14 15:13:00 +08:00
Peng Xiao eaec72e676 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-14 00:26:16 +08:00
Andelf 412e749cb8 chore: bump version 0.8.6 2022-09-13 22:55:49 +08:00
Andelf 6253800b16 chore(deps): update some deps that have cve warnings 2022-09-13 11:51:18 +08:00
Peng Xiao 4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Konstantinos Kaloutas c511b88ddc chore: increase the max width of main container 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas 560d280acd fix: blurry tooltips 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas 73bbcc2ba0 fix: persist zoom level on navigation 2022-09-09 12:13:56 +08:00
Andelf 59e7d092b1 feat(build): release .nupkg file 2022-09-07 11:43:54 +08:00
Peng Xiao 839b5f35f9 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-06 21:31:57 +08:00
Andelf 43dd321ce4 test(e2e): split build and test 2022-09-06 12:52:53 +08:00
Andelf 9b9226b023 chore(deps): update rsapi 2022-09-06 10:47:07 +08:00
Peng Xiao 88a07a55cb Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 14:40:43 +08:00
Andelf 8dd0e1977c chore(deps): update rsapi 0.0.36
fix: windows path handling
2022-09-02 13:14:08 +08:00
Peng Xiao 5e44055984 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 09:46:58 +08:00
Andelf 5f36380e7f chore(deps): update rsapi 0.0.35
chore(build): default to file-sync prod env
2022-09-02 05:04:30 +08:00
Andelf 57c1145677 chore(deps): update rsapi 0.0.34 2022-09-02 03:56:41 +08:00
Andelf 1cf767e5d0 chore: bump version 0.8.4 2022-09-02 00:10:26 +08:00
Peng Xiao 33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Andelf c45a15d576
chore: bump version 0.8.3 (#6537) 2022-09-01 00:40:21 +08:00
Charlie 01d879c18e
feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Konstantinos Kaloutas 4ccd9e4206 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-29 10:32:12 +03:00
Konstantinos Kaloutas 52866ba1e5 fix: styles 2022-08-29 08:24:35 +03:00
Peng Xiao 0ff5324c02 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 10:45:15 +08:00
Kan-Ru Chen 0fce4a4792 chore(deps): update electron 19.0.12 2022-08-29 06:53:34 +08:00
Peng Xiao aba435b9a0 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 19:36:48 +08:00
charlie c7f17e905e chore: build libs core 2022-08-26 18:48:00 +08:00
Peng Xiao 1e607907f3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 15:46:20 +08:00
Konstantinos Kaloutas 2c581d9827 fix: contrast issue 2022-08-26 11:52:23 +08:00
Peng Xiao 37d0ad2524 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-24 16:50:57 +08:00
Andelf fe99ca703f fix(windows): handle open dir
Fix #6438
2022-08-23 11:38:43 +08:00
Andelf ea421da572 chore: bump version 0.8.2 2022-08-23 11:37:42 +08:00
Peng Xiao 62e962a4b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-23 11:33:30 +08:00
charlie 7e3610077b chore: build libs core with more debug info 2022-08-22 21:54:17 +08:00
charlie 9fbea041ae chore: build libs core 2022-08-22 21:54:17 +08:00
Konstantinos Kaloutas d5a42b0bdc enhance: update clear icon and increase size 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas cd563a286e enhance: clear background button icon 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 777fd19432 enhance: use backdrop element to close the menu 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 7d426983a8 enhance: make contranst of menu separator subtle 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas 7b155bdd24 fix: padding of menu links wrapper 2022-08-22 19:07:40 +08:00
Konstantinos Kaloutas bc21daee88 enhance: context and dropdown menu 2022-08-22 19:07:40 +08:00
Peng Xiao 40b4b44091 wip: update icons 2022-08-20 17:12:16 +08:00
Peng Xiao 79e3d0a93a fix: whiteboard title styles 2022-08-20 13:31:25 +08:00
Peng Xiao 4d0478a515 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-16 11:47:26 +08:00
Andelf 0283c40abc chore: bump version 0.8.1 2022-08-16 10:42:28 +08:00
Peng Xiao 280ace28f3 fix: update icons 2022-08-12 13:14:08 +08:00
Peng Xiao 1736910358 fix: revert back electron pkg name 2022-08-09 18:52:51 +08:00
Peng Xiao 1d7374ba86 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-09 09:47:00 +08:00
Andelf 80fb12b6e7 chore(deps): update electron 19.0.10
BREAKING CHANGE: IndexDB version incomaptible, should clear cache
2022-08-09 00:08:09 +08:00
Grant Moyer 161d3174e4
Upgrade electron to 19 (#6032) 2022-08-08 23:54:30 +08:00
Andelf da5f22acbc chore: bump version 0.8.0 2022-08-08 21:48:53 +08:00
charlie 040c8282be chore: build libs core 2022-08-08 15:49:11 +08:00
Peng Xiao d5a1bbf1a9 feat: enhance quick add ux 2022-08-06 23:03:09 +08:00
Peng Xiao 06f1594fad feat: tag icon in list 2022-08-06 14:38:10 +08:00
Peng Xiao 1e476bd26c feat: add tabler icon extensions 2022-08-05 21:50:58 +08:00
Peng Xiao b49cccb966 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-29 12:44:00 +08:00
Andelf 5e2487c6d8 chore(release): bump version 0.7.9 2022-07-27 14:36:25 +08:00
Peng Xiao 66a08f8916 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-26 09:31:48 +08:00
Gabriel Horner b3f2b4f6a3
Merge pull request #6127 from gavinmn/gavinmn/fix-big-sur-icons
fix alignment of macOS icon
2022-07-21 09:40:55 -04:00
Peng Xiao 2ade950ea1 fix: copy & paste in whiteboard 2022-07-21 21:10:41 +08:00
Andelf 03569c7c8b fix(ui): inline code style
Fix #6121
2022-07-21 13:22:15 +08:00
Peng Xiao 26f04b073b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-21 10:24:48 +08:00
Andelf 1562101f83 chore: bump version 0.7.8 2022-07-21 07:55:07 +08:00
gavinmn 8061b3e35a fix colors 2022-07-20 19:46:00 -04:00
gavinmn 9bb1fd5f7a fix position of big sur icons 2022-07-20 18:56:17 -04:00
Andelf 3dbb6e81d1 fix(build): codesign error 2022-07-21 00:46:52 +08:00
Andelf 0bebff8ce9 chore: bump version 0.7.7 2022-07-20 15:02:50 +08:00
Peng Xiao 2bb7ef5919 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-18 22:50:43 +08:00
Peng Xiao 03e79edaa1 wip save/load whiteboard edn 2022-07-14 15:59:29 +08:00
charlie 390a2469da chore(plugin): build libs core 2022-07-14 11:09:10 +08:00
Peng Xiao d8fe1b0b37 fix: export as html issue 2022-07-14 11:07:26 +08:00
Wojciech Nawrocki 2390846531
feat(pdf): fix formatting of copied text (#4564)
* chore(pdf): update pdfjs to 2.13.216

Also reapplied pdf_viewer fix from d3b4773.

* fix(pdf): formatting of copied text

* chore(pdf): update viewer CSS to 2.13.216

* chore(pdf): remove deprecated option

* chore(pdf): update pdfjs to 2.14.305

* doc(pdf): document some functions

* fix(pdf): highlight positioning
2022-07-12 18:30:50 +08:00
SainoNamkho 18568c03a0 Fix #5853
Close #5855
2022-07-12 09:54:48 +08:00
Andelf ccc37e961d refactor(ui): clean up css nesting 2022-07-12 09:54:08 +08:00
Andelf 0aebfe1304 feat(ui): bold code, italic code, marked code 2022-07-12 09:54:08 +08:00
Peng Xiao d3dae5fddc Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-07 14:07:35 +08:00
Andelf 49dcbece25 chore: bump version 0.7.6 2022-07-04 21:16:49 +08:00
Peng Xiao 35d00eda74 code cleanup 2022-07-03 15:55:01 +08:00
Peng Xiao 26ad627661 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-03 12:46:36 +08:00
Phoenix Eliot e92af35954 Reduce flicker when moving between blocks with keyboard 2022-06-28 15:10:37 +08:00
Andelf 1d4e78a228 chore: bump version 0.7.5 2022-06-20 23:31:12 +08:00
Peng Xiao 36513b7391 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-20 15:12:07 +08:00
charlie f3bedb200e improve(plugin): add theme changed hook 2022-06-16 01:43:49 +08:00
charlie e4b71a4ccf improve(plugin): support abortable controller of request api 2022-06-16 01:43:49 +08:00
Peng Xiao 6b5b1940d3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-14 10:17:21 +08:00
Andelf e3d1096f63 chore: bump version 0.7.4 2022-06-14 00:13:47 +08:00
ranfdev 7d8c2fbbb8 Header icon consistency 2022-06-13 15:42:08 +08:00
Andelf e2e531ba47 chore: bump version 0.7.3 2022-06-08 23:38:23 +08:00
Andelf 6435581260 chore: bump version 0.7.2 2022-06-07 16:37:22 +08:00
Peng Xiao 5c2e644a43 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-07 10:52:11 +08:00
Andelf 5d23dc96a2 fix(deps): use static build under windows 2022-06-01 18:14:48 +08:00
Andelf 4ea881afaa chore: release 0.7.1 2022-05-31 18:02:10 +08:00
Charlie 55ccdd5dba
Feature/onboarding Quick tour (#5247)
* enhance(ui): polish elements of left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): active state of nav item from left sidebar

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ui): WIP quick tour tips

* enhance(ux): add quick tour palette command

* enhance(ui): add step dots for quick tour tips

* enhance(ux): title hints for sidebar link items

* fix(ui): active state for journals from left sidebar

* enhance(ux): support quick tour command when initial app

* fix(ui): position of journal page quick tour tip box

* fix: cljs lint

* fix: remove unused method

* fix(e2e): e2e test for new left sidebar
2022-05-31 16:41:17 +08:00
llcc f65995ce5e tweak css on mobile 2022-05-30 16:19:24 +08:00
llcc c3f5d02ef9 make left-sidebar 100% width 2022-05-30 16:19:24 +08:00
Peng Xiao a72b28145c
Merge branch 'master' into whiteboards 2022-05-28 02:13:33 +08:00
Tienson Qin 1f4de901f5 fix: lazy visual blink 2022-05-25 23:12:09 +08:00
Andelf df12a70016 chore(release): bump version 0.7.0 2022-05-24 23:46:56 +08:00
Andelf b425746ccd fix(build): lock electron along dep path
Fix #5413
2022-05-24 17:22:49 +08:00
Peng Xiao 0075dac0c5 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-05-23 21:54:07 +08:00
Andelf 201093bdd6 chore(release): bump version 0.6.10 2022-05-23 21:45:52 +08:00
Peng Xiao 7038e6cbe6
Merge branch 'master' into whiteboards 2022-05-20 16:08:35 +08:00
Andelf e4e19a1eb3 chore: update deps(rsapi) 2022-05-19 16:20:52 +08:00
Yue Yang 17b91e51c3
feat: custom theme switching (#4741)
* feat: custom theme switching

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: handle reset-custom-theme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: unregisterTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: format with ts-standard

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: reset extra formats

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: simplify array types

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* Update lsplugin.core.js

* fix: sync upstream

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: add `no mode` themes into panel

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: ci

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: remove first <hr />

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: lockfile

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: update

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* chore: set-theme! => set-theme-mode!

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* fix: selectTheme

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>

* perf: reduce unnecessary logic

Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-05-19 10:18:43 +08:00
Tienson Qin 56e594adb7 fix: add missing tldraw.js for electron 2022-05-17 10:50:16 +08:00
Peng Xiao 12d6ec8bb9 Merge remote-tracking branch 'upstream/master' into feat/tldraw-basic 2022-05-17 09:38:49 +08:00
Andelf 18f4c21dc9 chore(release): bump version 0.6.9 2022-05-16 19:21:03 +08:00
Peng Xiao a62d6e7e90 Merge remote-tracking branch 'upstream/master' into feat/tldraw-basic 2022-05-16 15:57:40 +08:00
Peng Xiao 97120441db wip
wip
2022-05-16 15:53:10 +08:00
Tienson Qin 4d4ade5c96 enhance: add skeleton loading 2022-05-13 10:15:37 +08:00
Kan-Ru Chen e1fdef43b3 chore: update electron-deeplink to 1.0.10 to fix deeplink on Linux
Fixes #4984
2022-05-12 21:31:16 +08:00
Tienson Qin 3ca8228a74 Only render references when it's visible in the window viewport 2022-05-12 07:39:37 +08:00
Andelf 504b47b67a chore(deps): update rsapi to 0.0.11 2022-05-10 10:39:54 +08:00
Tienson Qin 2d881ae703 fix: wrong age-encryption.js 2022-05-09 23:46:44 +08:00
Andelf 156deb3983 chore: bump version 0.6.8 2022-05-09 22:48:52 +08:00
Tienson Qin 83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
Andelf c6369d7c03 fix(sync): update rsapi to 0.0.9 2022-05-08 09:43:05 +08:00
Andelf 22c8544092 chore: bump version 0.6.7 2022-04-29 21:17:19 +08:00
charlie fc0f2b75c6 chore(plugin): update resources 2022-04-29 18:51:25 +08:00
charlie 2b826f17de improve(plugin): add api of query element rect data from host 2022-04-29 18:51:25 +08:00
charlie 2c33c1111f chore: rebuild libs core 2022-04-29 18:51:25 +08:00
charlie c36a026502 chore(plugin): build libs core & update README.md 2022-04-29 18:51:25 +08:00
Tienson Qin 4e30fda343 Add lightningfs back 2022-04-24 11:17:47 +08:00
Tienson Qin b5a572ddae Remove worker.js backup file 2022-04-24 11:17:47 +08:00
Tienson Qin b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
charlie c363c47a21 fix(plugin): compatible hooks strategy for old libs sdk 2022-04-22 15:51:40 +08:00
Charlie 79bc33e1e3
Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00