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.
* 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>
* 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>
These issues were introduced with #6531. The global-config component
should not be called if not in a supported platform. This fixes
re-index, switching graphs and editing config.edn for mobile. Switching
graphs was partially fixed in #6664 but didn't address the root cause
which is the global-handler component shouldn't be called if not enabled
for a platform
Files in iCloud will be downloaded at first by clicking New Graph/Re-index/Refresh.
But remember that if your file created on mobile or desktop is not
uploaded to cloud, you will never get your file synced correctly.
So please confirm if the file (with cloud icon at the top right
corner) in File/Finder at first if you failed to see you file's
update.