logseq/templates
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
..
config.edn Feat: new file name escaping rules (#6134) 2022-10-08 15:47:45 +08:00
contents.md enhance: rename Contents to Favorites 2021-06-09 16:09:10 +08:00
contents.org enhance: rename Contents to Favorites 2021-06-09 16:09:10 +08:00
dummy-notes-en.md feat: extract template files 2021-05-14 21:07:42 +08:00
dummy-notes-es.md Spanish language strings added (#6217) 2022-08-01 16:57:05 +08:00
dummy-notes-it.md dummy notes in italian 2022-05-26 02:54:04 +08:00
dummy-notes-ja.md fix: i18n support for tutorial and dummy-notes 2022-03-22 11:40:51 +09:00
dummy-notes-ko.md Add translated tutorials 2022-06-03 09:56:30 -04:00
dummy-notes-no.md Norwegian dummy-notes.md 2022-06-01 09:40:52 -04:00
dummy-notes-pl.md Polish translation 2022-08-11 10:53:05 -04:00
dummy-notes-tr.md feat: add Turkish language 2022-05-05 17:41:56 +08:00
favorites.md feat(ui): enhance left sidebar (#2899) 2021-10-01 21:27:31 +08:00
favorites.org feat(ui): enhance left sidebar (#2899) 2021-10-01 21:27:31 +08:00
global-config.edn Merge configs and create global config file if not present 2022-09-08 12:34:27 +08:00
tutorial-en.md Feature/Setups of Onboarding Process (#4580) 2022-04-02 21:37:38 +08:00
tutorial-es.md Spanish language strings added (#6217) 2022-08-01 16:57:05 +08:00
tutorial-it.md Added tutorial-it and dummynotes-it for Italian lang 2022-05-26 02:54:04 +08:00
tutorial-ja.md fix: update Japanese tutorial 2022-05-19 17:51:49 +08:00
tutorial-ko.md Add translated tutorials 2022-06-03 09:56:30 -04:00
tutorial-no.md Norwegian tutorial.md 2022-06-01 09:41:22 -04:00
tutorial-pl.md Fix & refine Polish (`pl`) translations 2022-09-19 15:00:55 +08:00
tutorial-tr.md feat: add Turkish language 2022-05-05 17:41:56 +08:00
zotero-items.edn optimize zotero schema size 2021-07-22 17:40:44 +08:00