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>
This commit is contained in:
Charlie
2022-09-01 00:31:49 +08:00
committed by GitHub
parent 252fec4dd6
commit 01d879c18e
111 changed files with 6507 additions and 1950 deletions

View File

@@ -100,7 +100,7 @@
(cond
;; image type
(and format (contains? (gp-config/img-formats) format))
[:img {:src path}]
[:img {:src (util/node-path.join "file://" path)}]
(and format (contains? (gp-config/text-formats) format))
(when-let [file-content (or (db/get-file path) "")]