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

@@ -33,6 +33,11 @@ on:
type: boolean
required: true
default: false
enable-file-sync-production:
description: 'File sync production mode'
type: boolean
required: true
default: false
enable-plugins:
description: 'Build with plugin system support'
type: boolean
@@ -125,6 +130,7 @@ jobs:
run: |
echo "ENABLE_FILE_SYNC=${{ github.event.inputs.enable-file-sync }}" >> $GITHUB_ENV
echo "ENABLE_PLUGINS=${{ github.event.inputs.enable-plugins }}" >> $GITHUB_ENV
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event.inputs.enable-file-sync-production }}" >> $GITHUB_ENV
- name: Compile CLJS
run: yarn install && gulp build && yarn cljs:release-electron
@@ -427,6 +433,7 @@ jobs:
with:
build-target: "${{ github.event.inputs.build-target }}"
enable-file-sync: "${{ github.event.inputs.enable-file-sync == 'true' }}"
enable-file-sync-production: "${{ github.event.inputs.enable-file-sync-production == 'true' }}"
secrets:
ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"
ANDROID_KEYSTORE_PASSWORD: "${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"