Commit Graph

328 Commits (14bf84dc30e0c21119f3918bbef1c815c6946152)

Author SHA1 Message Date
Andelf 35eed4cbb0 fix(fs): wrong bak fname on mobile fs
chore(deps): update mobile file-sync deps, fix percent encoding
2023-04-24 21:30:18 +08:00
Junyi Du 6d89f309db fix: buggy diff-merge case happens when prepend new blocks before first base block 2023-04-17 09:41:39 -04:00
Junyi Du 5aba871ead deps: diff-merge
dev: graph parser IoC hook

test: use test db for diff-merge tests

fix: ci lint

dev: refactoring post block-parsing process

feat: diff-merge 2 way merge integration

fix: key namespace of uuid in fix-duplicated-id

fix: duplicated uuid ci
2023-04-17 09:41:39 -04:00
Konstantinos Kaloutas f6b9a55cbc Revert "attempt to lock clipboard"
This reverts commit b659cb07ca.
2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas 0f393a7f46 attempt to lock clipboard 2023-03-08 17:09:35 +08:00
Yichen Yan f2b99dbc4c
upgrade playwright to 1.31.0 (#8688) 2023-03-06 15:21:54 +08:00
Andelf 924b945b32 enhance(sync): add native logging for desktop and android 2023-02-04 18:28:07 +08:00
dependabot[bot] c2448a01c2 chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 12:16:48 +08:00
dependabot[bot] 6097b10523 chore(deps): bump jszip from 3.7.0 to 3.8.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 12:16:20 +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
Konstantinos 2e929ebb21
Chore(deps): Upgrade electron to 20 (#7692)
upgrade electron to 21
2023-01-09 13:57:41 +08:00
dependabot[bot] f24489698b chore(deps): bump json5 from 2.2.1 to 2.2.2
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 17:41:33 +08:00
Andelf 5b25641785 fix(rsapi): add fname unicode normalization 2022-12-29 20:43:33 +08:00
dependabot[bot] 2a95ed6073 build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 00:42:55 +08:00
Andelf 02a2632b0a chore: update yarn.lock 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 ee14560b2b chore(deps): update electron 19.1.8
fix(test): shard test
2022-11-30 11:22:55 +08:00
Andelf c1bec2fc44 fix(test): refine e2e test 2022-11-30 11:22:55 +08: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
Andelf 7bce61ae6c fix(ios): apply path normalize for file-sync 2022-11-22 17:14:22 +08:00
Andelf e618f5d1f7
Fix: android nav bar and status bar color (#7385)
* fix(android): set nav bar and status bar color

Close #7382
2022-11-21 10:50:10 +08:00
Yue Yang a842818ab6 fix: use name to detect default theme 2022-11-17 17:50:56 +08:00
Tienson Qin fd3bc86c73 chore: bump mldoc 2022-11-16 13:25:55 +08:00
Peng Xiao e0ac311f2a build: autoprefixer for generated css 2022-11-14 22:43:15 +08:00
charlie f68485208c chore: remove unnecessary deps 2022-11-11 17:33:15 +08:00
Tienson Qin c228bba355 feat: upload files when the app switching to background
Notice: Android is not supported yet.
2022-11-11 13:59:57 +08:00
Tienson Qin 1e0fb50a22 fix: typo 2022-11-07 10:46:51 +08:00
charlie 65e77e6523 fix(mobile): format of recorder audio file 2022-10-28 15:50:34 +08:00
Tienson Qin c8f19a0d54 chore: bump capacitor-file-sync to 0.0.13 2022-10-26 22:37:27 +08:00
Andelf 503e33f614 enhance(android): add sync progress 2022-10-18 11:01:05 +08:00
charlie 31f6375800 enhance(css): add line clamp plugin to tailwind 2022-10-13 16:52:51 +08:00
charlie dc9cf6339b enhance(dev): deps 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas f70d4c6bac fix: sanitize html 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
Konstantinos Kaloutas 42f2910a0e chore: upgrade excalidraw 2022-10-04 22:37:06 +08:00
Tienson Qin ba91c9615b fix: empty properties if one of them has an empty value 2022-09-30 11:23:49 +08:00
Andelf 59a249e70d chore: update yarn.lock 2022-09-29 19:36:42 +08:00
Kan-Ru Chen 8677c74fa3
chore(deps): update rage-wasm to 0.3.0 (#6808)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-09-27 16:14:56 +08:00
Andelf d1c7328a93 fix(android): use graph-uuid in call, update capacitor-file-sync 2022-09-24 00:39:29 +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
Gabriel Horner 9d9e976b8c Merge branch 'master' into refactor/refs-from-property-values 2022-09-21 15:34:47 -04:00
Andelf 634c5010a5 chore(deps): update capacitor-file-sync, native android encryption 2022-09-19 12:22:12 +08:00
Andelf 2a73019b34 refactor(mobile): use ios file-sync as lib 2022-09-16 21:12:15 +08:00
Andelf 6dc5517484 refactor(mobile): upgrade capacitor to v4 2022-09-15 20:17:57 +08:00
Tienson Qin 71514ab36c fix: extracting page's title property from mldoc ast 2022-09-14 20:29:44 +08:00
Tienson Qin 1a8c18488a Merge branch 'master' into refactor/refs-from-property-values 2022-09-14 19:53:49 +08:00
Tienson Qin d384f61640 chore: yarn.lock 2022-09-14 11:30:11 +08:00