* 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>
- Add tests for all *property dsl queries with and without new
config option
- Add tests for property persistence
- Add tests for property relationships
* add pre-defined view in config.edn and use it in query :view
* expose js/console.log and pprint to use in query transform function or view function for easy debug query result.
* reusable pre-defined result-transform in cunfig.edn to use in query
* fix whitespace diff
* Add query namespace to predefined :view and :result-transform in config.edn
* enhance(ui): polish elements of left sidebar
* enhance(ui): active state of nav item from left sidebar
* enhance(ui): active state of nav item from left sidebar
* enhance(ui): WIP quick tour tips
* enhance(ui): WIP quick tour tips
* enhance(ui): WIP quick tour tips
* enhance(ux): add quick tour palette command
* enhance(ui): add step dots for quick tour tips
* enhance(ux): title hints for sidebar link items
* fix(ui): active state for journals from left sidebar
* enhance(ux): support quick tour command when initial app
* fix(ui): position of journal page quick tour tip box
* fix: cljs lint
* fix: remove unused method
* fix(e2e): e2e test for new left sidebar
* fix(orgmode): don't parse some in-file #+keyword as page properties
e.g. #+Name:, #+tblfm:, etc.
* enhance(orgmode): display image and table's caption keyword
https://orgmode.org/manual/Captions.html
* enhance(orgmode): ignore some #+keywords for parsing properties.
Orgmode uses lots of file level #+keyword: styled keywords[1].
Logseq parses their value as page references except `title` and
`filters`, which pollutes Logseq database.
Users can setup `:ignored-page-property-tags` in config.edn to
make Logseq not parsing those keywords.
[1]: https://orgmode.org/manual/In_002dbuffer-Settings.html.
* use take-while instead. Thanks tienson.
* comment out new settings
* revert some merge conflicts.
* fix(logbook): fix https://github.com/logseq/logseq/issues/2866 partially
Timetracked logbook shouldn't only shown up in block with scheduled
timestamp.
* fix https://github.com/logseq/logseq/issues/2866
* cleanup: arguments in some commands
* Revert "cleanup: arguments in some commands"
This reverts commit 0e7df6e5fe.
* enhance(logbook): add two-level options to show logbook
This PR offer two options to control when the logbook drawer shows in
your block.
- `:logbook/enabled-in-timestamped-blocks`: This option defaults to
true, which means that the logbook drawer will be visible in blocks
only with scheduled or deadline timestamp after timetracking.
- `:logbook/enabled-in-all-blocks`: This option defaults to
nil. Adding `:logbook/enabled-in-all-blocks true` to your config file
will enable the logbook shown-up for all blocks after timetracking.
* fix last commit
* fix: timetrack for now->later on repeated task
* fix: add default marker
* enhance(logbook): support seconds
* logbook: add `with-second-support` doc
* logbook: re-define display config
* fix logbook string indentation
Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>