Commit Graph

125 Commits

Author SHA1 Message Date
Zhizhen He
4cb23ab193 ci: upgrade typos to 1.16.8 2023-08-24 10:29:51 -04:00
Andelf
97a20276f4 fix(capacitor): avoid reading out all version files when backup 2023-08-24 18:56:39 +08:00
Andelf
51201124ff fix(fs): add unicode normalize to path-fn
This is a catch-all type fix
2023-05-18 12:24:18 +08:00
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
Andelf
ff04cc2009 fix(ios): handle invalid path selection 2023-04-04 13:34:08 +08:00
Andelf
6e9fec448b fix(test): close notification before start 2023-03-28 09:14:42 +08:00
Andelf
83ebd53a6f refactor(fs): use full path when renaming 2023-03-28 09:14:42 +08:00
Andelf
c79c352e08 fix(fs/mobile): ios fs and loading fix 2023-03-28 09:14:42 +08:00
Andelf
f1404fd537 fix(fs): avoid nil repo on ios 2023-03-28 09:14:42 +08:00
Andelf
3c0973013b refactor(fs): mv fs2 logic to logseq.common pkg 2023-03-28 09:14:42 +08:00
Andelf
abf7d55c7c refactor(fs): rm redundent return date from fs protocol
fix(fs): asset url loading under nfs backend
2023-03-28 09:14:42 +08:00
Andelf
a38e40bf86 refactor(fs): rm callback usage from fs protocol 2023-03-28 09:14:42 +08:00
Andelf
1b3c22a735 fix(fs): contents file creation 2023-03-28 09:14:42 +08:00
Andelf
babb2b1d84 refactor(fs): refine stat fn of Fs protocol 2023-03-28 09:14:42 +08:00
Andelf
8ed5b983b5 refactor(fs): unused mobile fs fn 2023-03-28 09:14:42 +08:00
Andelf
bbb655ff43 refactor(fs): handle asset deletion 2023-03-28 09:14:42 +08:00
Andelf
269718d92c refactor(fs): android support 2023-03-28 09:14:42 +08:00
Andelf
3f467d72ec refactor(fs): rewrite url fn 2023-03-28 09:14:42 +08:00
Andelf
31d7c8f836 refactor(fs): use rpath 2023-03-28 09:14:42 +08:00
Tienson Qin
c2befe6c00 fix: remove false alarm of the event to force ios path 2022-11-30 13:41:22 +08:00
Tienson Qin
e900a205e7 fix: use sentry to capture errors instead of posthog 2022-11-25 13:08:54 +08:00
rcmerci
81f90cd34d fix(sync): unify path-normalize and filter out un-normalized files 2022-11-21 21:03:32 +08:00
Tienson Qin
a28fed8b25 Pause sync if there's 404 not found 2022-11-21 21:03:32 +08:00
Tienson Qin
17a1ac35eb fix: normalize the paths returned from file watcher 2022-11-21 21:03:32 +08:00
Tienson Qin
04d74c0a10 fix: don't force private for iOS virtual machines 2022-11-11 13:59:57 +08:00
Tienson Qin
bb829f227b fix: check ios? before forcing private part 2022-11-09 23:11:04 +08:00
Tienson Qin
089c503c1f enhance: instrument if path doesn't include /// 2022-11-09 20:55:08 +08:00
Tienson Qin
d801c96a52 fix: force /private part on iOS 2022-11-09 20:55:08 +08:00
Tienson Qin
081e04ff2e fix: typo 2022-11-07 21:03:58 +08:00
Tienson Qin
02dfb9ede5 fix(ios): remove private part from file watcher events 2022-11-07 20:44:58 +08:00
Tienson Qin
2473ce92bf enhance: select iCloud folder first when select existing graph 2022-11-07 17:02:55 +08:00
Tienson Qin
e56fb0fa53 fix: remove redundancy paths on db
This commit also removes the fragile files including page-metadata.edn
and metadata.edn.
2022-11-07 13:29:15 +08:00
charlie
2697ffd82c enhance(mobile): polish interaction for the onboarding graph picker 2022-11-07 10:46:51 +08:00
charlie
a43686d624 enhance(mobile): normalize url protocol path for capacitor fs all operations 2022-11-07 10:46:51 +08:00
Tienson Qin
7ddfa66004 fix: prompt to create a Logseq sync graph or normal graph on iOS
Previously, users can create a graph everywhere including the iCloud
folder, which is both confusing and can cause unexpected data
conflicts.

Another enhancement:
After the user confirms the "Use Logseq Sync for this new graph?"
prompt, a remote graph will be created and start to sync automatically.

https://www.loom.com/share/69059969747c4b798a4c712c45e442d7
2022-11-07 10:46:51 +08:00
Tienson Qin
2dfac3d774 deprecate: on-disk encryption
Why?
1. there're still a lot issues on it and there's no resource to
maintain and develop it considering we need to support it on all the
platforms.
2. it creates more bugs with Logseq Sync.
2022-11-07 10:46:17 +08:00
charlie
65e77e6523 fix(mobile): format of recorder audio file 2022-10-28 15:50:34 +08:00
charlie
84924c66d5 fix(ios): encode file path for capacitor fs 2022-10-28 15:50:34 +08:00
Tienson Qin
91ceae48e4 fix: readdir with path-only? option 2022-10-13 16:52:12 +08:00
Tienson Qin
127a4d1613 fix: create local versions on mobile if there's any conflict 2022-10-13 16:52:12 +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
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Andelf
c6ff4e8084 chore: rm unused code 2022-09-20 15:06:17 +08:00
Andelf
bada72fe28 fix(mobile): stat should fail 2022-09-19 12:22:12 +08:00
Andelf
f71a80341e fix(mobile): unlink did not create parent dir correctly 2022-09-19 12:22:12 +08:00
Andelf
437b928fc4 fix(mobile): capacitor v4 readdir api 2022-09-19 12:22:12 +08:00
Tienson Qin
c074465b8a fix: readdir
also, fix warnings on persist var
2022-09-13 22:13:38 +08:00
Tienson Qin
6f262a10d7 fix: Capacitor readdir 2022-09-13 22:13:38 +08:00
Gabriel Horner
51ed2f94f1 Encapsulate global config state and add global watcher
Correct merge with local state and testing is still TODO
2022-09-08 12:34:27 +08:00
Andelf
9deb7f609a fix(mobile): wrong backup path calc 2022-09-08 11:38:59 +08:00