Commit Graph

42 Commits

Author SHA1 Message Date
Tienson Qin
d119a15229 enhance: use radix checkbox globally 2024-03-11 21:40:32 +08:00
Andelf
7c905a39cc fix(ui): shorter heading for pwd input box 2024-02-19 14:24:25 +08:00
Tienson Qin
2b7355b98c Explain that logseq team can't reset or retrieve graph's password 2023-04-24 19:19:00 +08:00
Andelf
3e374efe4e fix(ui): wrong checked attr for input type=checkbox 2022-11-30 16:10:55 +08:00
charlie
985dbcfcca enhance(mobile): set up Logseq sync when create a logseq sync graph 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
Tienson Qin
564926418f fix: sync crashes
1. make sure there's no sync reentrancy
2. there's no need to restore pwd after user input the password
2022-11-06 23:37:46 +08:00
Konstantinos
6007d6061f Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +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
charlie
f8cc6378c3 improve(ui): update built-in icon mode 2022-09-21 14:49:20 +08:00
Tienson Qin
fdb53dab6c enhance: add "Show password" 2022-09-13 22:11:34 +08:00
Gabriel Horner
51c318e2da Enable two disabled linters and bump kondo dep
All the fixes were on used-underscored-binding
2022-09-09 12:14:32 +08:00
Charlie
01d879c18e 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>
2022-09-01 00:31:49 +08:00
Andelf
0f62bc22e9 fix(encryption): allow enter key when prompt passwd 2022-06-15 17:53:01 +08:00
Tienson Qin
83569141fc feat: add encryption back 2022-05-09 22:15:30 +08:00
Tienson Qin
b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
Tienson Qin
982eba9396 refactor: remove i18n tongue context 2022-02-08 17:31:32 +08:00
Gabriel Horner
f1d15b0e05 Lint components and address comments in review
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
Andelf
e577797ef4 enhance(ui): handle encryption errors 2021-12-03 18:21:03 +08:00
Tienson Qin
73d141ed76 fix: encrypted graph
close #2691
2021-09-22 21:29:04 +08:00
llcc
fef5bbf068 enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block

* cleanup: unused namespaces

* cleanup: missing-else-branch if --> when

* enhance: wider search results window for mobile browser

* fix: namespace requirement
2021-09-08 10:23:16 +08:00
Tienson Qin
5261460a7d fix: modal width tweaks 2021-08-27 20:18:56 +08:00
Weihua Lu
204541abda chore: clean up namespace, eliminate refer-macro 2021-06-21 08:13:49 +08:00
Tienson Qin
3605ed53e3 fix: both encryption and excalidraw not working on Electron 2021-03-11 00:30:39 +08:00
Tienson Qin
51470e4df8 fix: text color for encryption dialogs 2021-03-09 12:59:13 +08:00
Charlie
c6132c75c9 fix(ui): modal text color (#1421)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-03-08 12:10:34 +08:00
charlie
e5b47d06ea fix(ui): encryption associated modal panel width 2021-03-03 16:28:55 +08:00
Kan-Ru Chen
d822a40f63 feat(encryption): add a pointer to the encryption tool 2021-02-24 21:16:57 +08:00
Kan-Ru Chen
05ab2e22b4 fix(encryption): auto-focus first password field 2021-02-24 21:16:57 +08:00
Tienson Qin
4ecbb143ef fix: add password type for encryption input field 2021-02-23 23:37:20 +08:00
Tienson Qin
018294a86f feat(encryption): add password confirmation 2021-02-23 14:26:43 +08:00
Tienson Qin
6febfa02bf feat(encryption): add warning text and setting option 2021-02-18 00:28:05 +08:00
Kan-Ru Chen
217060d589 feat(encryption): update to rage-wasm 0.2.0 and make encryption methods async
The size of rage-wasm 0.2.0 is significantly smaller and skill compatible with shadow-cljs
2021-02-10 11:29:02 +09:00
Kan-Ru Chen
b9c716dff7 feat(encryption): skip mnemonic generation and save keys directly to metadata.edn 2021-02-09 18:21:50 +09:00
Tienson Qin
3a08f8bf72 feat(encryption): store :db/encrypted-secret in metadata.edn 2021-02-08 22:35:10 +08:00
Kan-Ru Chen
dade034057 feat(encryption): allow using saved secret phrase in metadata.edn 2021-02-08 17:59:51 +09:00
Tienson Qin
289b31d5f5 feat(encryption): add ui to enter the secret phrase 2021-02-07 23:37:34 +08:00
Tienson Qin
022abff722 feat(encryption): add :db/encrypted? to metadata.edn
Storing the encryption status in the metadata.edn will allows the
app to prompt the user to enter the secret phrase when the graph
was already encrypted.
2021-02-07 22:36:25 +08:00
Tienson Qin
432f874c0c enhance: encrypt the default files before writing to the disk 2021-02-07 22:14:47 +08:00
Kan-Ru Chen
255eb126e6 Display public/private key too 2021-01-15 00:27:37 +09:00
Kan-Ru Chen
6f337dcfe5 Allow enable encryption when first-clone 2021-01-14 23:53:11 +09:00
Kan-Ru Chen
e034479b1e Add encryption ui component 2021-01-13 01:59:53 +09:00