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

@@ -24,6 +24,11 @@ on:
type: boolean
required: true
default: false
enable-file-sync-production:
description: 'File sync production mode'
type: boolean
required: true
default: false
workflow_call:
inputs:
build-target:
@@ -32,6 +37,9 @@ on:
enable-file-sync:
description: 'Build with file sync support'
type: boolean
enable-file-sync-production:
description: 'File sync production mode'
type: boolean
secrets:
ANDROID_KEYSTORE:
required: true
@@ -104,6 +112,7 @@ jobs:
- name: Set Build Environment Variables
run: |
echo "ENABLE_FILE_SYNC=${{ inputs.enable-file-sync == 'true' || github.event.inputs.enable-file-sync == 'true' }}" >> $GITHUB_ENV
echo "ENABLE_FILE_SYNC_PRODUCTION=${{ inputs.enable-file-sync-production == 'true' || github.event.inputs.enable-file-sync-production == 'true' }}" >> $GITHUB_ENV
- name: Compile CLJS - android variant, use es6 instead of es-next
run: yarn install && yarn release-android-app