Commit Graph

205 Commits

Author SHA1 Message Date
Gabriel Horner
c013554d21 Tweak wording in notification 2022-11-23 09:21:16 -05:00
Junyi
103fab48f8 fix: typo 2022-11-23 20:13:46 +08:00
Junyi
fe81575546 fix: remove filename skip check config 2022-11-23 20:13:46 +08:00
Junyi
4898ef8ee1 feat: notify users to update filename format 2022-11-23 20:13:46 +08:00
Tienson Qin
f47ef566cd Make it clear that watcher events are from mobile 2022-11-21 21:03:32 +08:00
Tienson Qin
56d6be278b fix: make sure paths are normalized before uploading to server 2022-11-21 21:03:32 +08:00
Tienson Qin
49c7d8e51c fix: don't filter delete txn when downloading 2022-11-10 00:07:04 +08:00
Tienson Qin
1c2e769bf2 enhance: suggest users to quit logseq to do the format change first 2022-11-09 22:44:09 +08:00
Tienson Qin
c2603b7374 fix: don't filter unlinked paths for reserved chars 2022-11-09 22:25:43 +08:00
Tienson Qin
d801c96a52 fix: force /private part on iOS 2022-11-09 20:55:08 +08:00
Tienson Qin
f90e8ee7d5 Merge pull request #7184 from logseq/enhance/ios-folder-picker
enhance: graph select and create on iOS
2022-11-08 23:10:25 +08:00
Junyi Du
d40b944deb chore: finetune notification for updating filename format 2022-11-08 17:32:26 +08:00
Tienson Qin
20e1e77362 fix: remote graphs state when create/delete a remote graph 2022-11-08 16:58:39 +08:00
Tienson Qin
5a66bf8fb9 fix: unlink wrong graphs 2022-11-08 16:58:39 +08:00
Tienson Qin
e48b14a409 chore: add picker back for both Android and PC 2022-11-07 22:25:19 +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
222ce20946 fix: allow users to give the remote graph a different local name 2022-11-07 19:51:54 +08:00
Tienson Qin
9652846be5 enhance: create dir automatically when pulling down remote graphs 2022-11-07 18:20:34 +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
Tienson Qin
1e0fb50a22 fix: typo 2022-11-07 10:46:51 +08:00
charlie
bd3116c3aa enhance(mobile): onboarding graph picker for non-login user 2022-11-07 10:46:51 +08:00
charlie
854f8377d6 enhance(mobile): polish interaction for the onboarding graph picker 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
Tienson Qin
bf72cd6793 Merge branch 'master' into fix/sync-crash 2022-11-07 09:27:19 +08:00
Tienson Qin
b09fe61e86 enhance: use page title instead of the link 2022-11-07 09:22:27 +08:00
Tienson Qin
22fe631415 chore: move reserved chars logic outside of <update-remote-files 2022-11-07 09:22:27 +08:00
Tienson Qin
9d29a51314 Add instructions when downloading files that have reserved chars 2022-11-07 09:22:27 +08:00
Tienson Qin
dd0169b068 fix: notify users to switch to the new filename format
Notify users to switch to the new filename format if there're reserved
chars when syncing.

Also, this commit replace all `js/decodeURIComponent` with
`safe-decode-uri-component` to avoid UI crashes.
2022-11-07 09:22:27 +08:00
Tienson Qin
865ba9c69c fix: <sync-start returns a channel 2022-11-06 23:37:46 +08:00
Tienson Qin
504e7a156e enhance: enable sync for backers automatically 2022-11-06 23:37:46 +08:00
Tienson Qin
1a0012974f Move sync to close beta 2022-10-28 17:22:16 +08:00
Tienson Qin
a43d737042 fix: debounce shortcut installation 2022-10-24 15:49:16 +08:00
situ2001
cc9c2a1e41 fix: modal in ask-for-re-fresh not respond to enter key-down event 2022-10-18 16:54:16 +08:00
Gabriel Horner
bf79db9d54 Install and uninstall plugins from file
Change plugins.edn to key off id as it is unique and all operations
work off of it.
Note: there are still some bugs with certain plugin installs
2022-10-17 10:13:27 -04:00
Gabriel Horner
2cb0c8f2a3 Fix grammar of error message, close #7004. Thx @rosslaird 2022-10-17 10:07:50 -04:00
Tienson Qin
127a4d1613 fix: create local versions on mobile if there's any conflict 2022-10-13 16:52:12 +08:00
Peng Xiao
cca1d35510 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-08 17:26:45 +08:00
Junyi Du
0e4037ab61 Feat: new file name escaping rules (#6134)
* feat: new file name escaping for namespace

feat: new file name decoding back to page name

* test: file name sanitization

feat: use _0x to encode %

feat: don't create title property

test: extra URL encoding for escaped file names

fix: fit pdf prefix into new file name rules

fix: encoding rules on some characters

fix: handle the buggy file names imported by users

fix: pdf block ref failed to jump

fix: #6167

* fix: enhance backward compatibility

chore: title validation

test: fix namespace queries test

chore: use index version stored in config.edn instead of search.versions

* feat: convert old version graph mechanism

ui: file conversion UI

feat: rename files for conversion

feat: don't trigger conversion when title property is manually edited

fix: file conflict notification while renaming files on some OS

feat: re-index on update version

feat: clicking NO in the re-index dialog would update the index-ver flag to suppress the dialog

feat: use html entities for reserved char escaping

dev: remove unresolved vars & minor refactor

chore: move file name sanity from gp-util to fs-util, as it's for encoding only but not parsing

test: update file name tests to html entities rule

test: convert files from dir ver 3 for repo_tests

feat: convert Windows reserved file names

fix: save index version into idb instead of file

fix: decode uri of path while parsing files on mobile

fix: couple dir version and index version to ensure only re-index on converted dirs

feat: go back to url-encode for special chars

* chore: fix lint

chore: improve codebase to address Gabriel's comments

fix: remove file remnants on add conflict

fix: remove file remnants on rename conflict

chore: add test ns to nbb runner

Also fix typoed fn and remove unused code

* fix: issues of rebase PR6134 to master after file-sync merged

* feat: switchable filename format

* fix: use  go block to replace promesa for rename all with blocking

* feat: re-index after apply rename all

* ui: file conversion enhancement

* fix: merging filename format PR with master

* fix: filename format lint & CI

* ui: filename format flow

* fix: error handling on the rare internal file path confliction case

* chore: shorten component code for files-breaking-changed

* chore: fix CI

* Minor fixes per latest code review

- Remove unused page-name-order
- Update catch usage to be consistent with what's on master
- Place state fn in right place
- Wording fixes:
  - select and apply -> manual. There are no checkboxes for the user
  - Update -> Edit. We use edit for all other settings button
  - Alternatives to starting sentences with May. Not a common way to
    start a sentence
  - update outdated template comment

* ux: rename instruction update

* ux: rename instruction update (2)

* Tweak wording of conversion modal

Simplifed first paragraph and explained the page to the user in first
sentence, may isn't a common way to start sentences and updated outdated
wording

* Fix large-var warning by splitting out a piece of component

* fix: right slash on Windows; legacy format file sanitization

* fix: triple lowbar renaming fns

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-10-08 15:47:45 +08:00
Tienson Qin
91dddd7541 Fix: stuck re-index when there're multiple whiteboards have the same UUID (#6890)
* fix: keep parsing even if some whiteboards can't be transacted

* enhance: notice parse errors

* enhance: instrument parse-and-load-error

* chore: add tests for whiteboards parsing and loading
2022-10-07 12:04:43 +08:00
Tienson Qin
18297c224f Merge branch 'master' into whiteboards 2022-09-30 17:38:18 +08:00
Tienson Qin
edf02203a3 fix: watch dir after a new graph has been created 2022-09-30 17:33:32 +08:00
Peng Xiao
bb2df1b3b7 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-30 08:51:05 +08:00
Tienson Qin
39b04a996a fix: persist before switching between graphs 2022-09-29 21:58:27 +08:00
Peng Xiao
7bae8313d3 refactor: move tldraw shape related props into logseq.tldraw.shape/page 2022-09-29 14:41:55 +08:00
Peng Xiao
4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Tienson Qin
8b144269f7 refactor: unify heading UX for both markdown and org mode 2022-09-27 16:12:23 +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
Peng Xiao
fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00