Commit Graph

122 Commits (feat/shui-button)

Author SHA1 Message Date
Sergey Kolesnik ba240bb484 docs: update templates/config.edn
typos & spaces
2023-05-15 22:51:25 +08:00
Gabriel Horner 74e53c3f03 Add missing subkey and schema key as part of #9325 2023-05-08 10:16:20 -04:00
Zhizhen He d092670b8b enhance: add settings for graph view 2023-05-08 10:12:52 -04:00
Zhizhen He dbeb49b8d2 chore: remove duplicated line 2023-05-08 12:09:52 +08:00
Gabriel Horner ea94b3aa63 Update dwim list comment as value changed in #9235 2023-05-05 15:27:59 -04:00
Gabriel Horner f6cf60af3d Followup to #9287
- Address feedback about commenting new values
- Revert comments on custom-css-url and custom-js-url as they are more
  acccurate
- Revert config values that were changed
2023-05-05 15:25:16 -04:00
Bad3r 2456c7f835
enhance: update config.edn template (#9287)
* enhance: update config.edn template
this is a replacement to #9034

- [x] Replace 'repo' w/ graph or graph folder, respectively.
- [x] Each configuration options documentation must start with a capital letter and end with a dot to maintain uniformity.
- [x] Maintain uniformity by using the same language and documentation style where applicable
- [x] Validate spelling and grammar
- [x] Uncomment UI configurable options and set them to the default value
    - At present, when a configuration option like `:ui/show-brackets? true` is commented out in the template; Logseq will add a new line to the bottom of the configuration template if the user toggles it from the UI instead of updating the existing variable.
- [x] define default values where applicable
- [x] Add warnings about potential issues
- [x] Validate the completeness of the template
- [x] Ensure that the `L` in Logseq is always capitalized
- [x] Use "Logseq" instead of "the app" when referring to Logseq.
- [x] Review Default Values

* clean up 🧹

* enhance: add example for journal title date format

* clean up 🧹

* fix: indentation
2023-05-05 15:24:56 -04:00
Tienson Qin 4debd825ec Set :group-by-page? default to false in templates/config.edn 2023-04-19 14:03:34 +08:00
Seokseong Jeon 86446af159 Correct a comment in config.edn 2023-04-12 13:32:06 +08:00
Mikhail Smelov df5cddbfb3
Enhance: Improve Russian (ru) translations (#9050)
Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-04-10 09:58:44 -04:00
Gabriel Horner 9bf867e9ff Update comment to reflect update in #9016 2023-04-07 10:00:04 -04:00
OneGameKoTT d584055da5 Add Ukrainian translation 2023-04-03 14:34:47 -04:00
OneGameKoTT 40835bd266 Add Ukrainian translation 2023-04-03 14:34:47 -04:00
Schspa Shi 2b15702bea config: update default templete to correct format
`:ignored-page-references-keywords` should use #{:author :startup}.

Signed-off-by: Schspa Shi <schspa@gmail.com>
2023-03-27 15:39:33 +08:00
aiirobyte 0eb25b3934
Add option to handle default block refs expanding behaviour (#8839)
* Add option to handle default block refs expanding behaviour

* provide default value

* polish config desc for dicts

* polish config desc in template config

* specify option on settings page

* fix: typo on fn name

* chore: remove the tail period

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-03-17 21:40:38 +08:00
Gabriel Horner ea933a292d Fix invalid example in default repo config as caught by Bad3r
Also mention valid keys for global config
2023-02-27 10:17:40 -05:00
Gabriel Horner 4d55fc4b13 Fix schema so that shortcut disabling is valid
fixes #8580
2023-02-15 17:57:32 +08:00
Andelf 7e4698315d enhance(quick-capture): add date as template variable 2023-02-10 11:54:41 +08:00
Richard Garčár a0226d443e
Add Slovak language (#8464)
Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-01-30 10:24:43 -05:00
Gabriel Horner dd006bf6b1 Add schema for #8429 and tweak comments 2023-01-25 16:57:34 -05:00
Bad3r cdddabf19a
fix: add missing user-config options (#8429)
* fix: add scheduled/future-days configuration option 🔨

* fix: add :journal/page-title-format configuration option 🔨

* fix: add :feature/enable-whiteboards? configuration option 🔨

* fix: add :custom-js-url configuration option 🔨

* fix: add :arweave/gateway configuration option 🔨
2023-01-25 16:56:36 -05:00
Dan Zwell 7cc3645095 Clarify the option to prefer pasting a file rather than text
Fixes #8362
2023-01-15 12:53:50 +08:00
Sergio Miguéns Iglesias e58e545248 Add option to show full block body in ref 2023-01-09 22:48:22 +08:00
Gabriel Horner 9e5577a8f2 Add missing config options to template and improve existing config docs 2022-12-06 17:47:40 -05:00
Tienson Qin 91d70535ee fix: set default file format to nil 2022-11-25 21:25:16 +08:00
Andelf 3cbaf1abed enhance(editor): rename quick-capture config keys 2022-11-25 12:33:22 +08:00
Vitali Haravy 6eab0d7f30 Correct wording of a comment in `config.edn` 2022-11-17 16:59:50 -05:00
Peng Xiao e8d1c1baa7 feat(whiteboard): onboarding whiteboard 2022-11-04 23:03:43 +08:00
Peng Xiao 2f5680bd49 wip 2022-11-04 23:03:43 +08:00
Loïc Gerbaud ac8b4a3665 Add french tutorial and dummy notes for demo 2022-10-31 11:37:08 -04: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 937a22c7ba Increase content-max-length to 10k 2022-09-30 11:56:00 +08:00
Gabriel Horner 9d9e976b8c Merge branch 'master' into refactor/refs-from-property-values 2022-09-21 15:34:47 -04:00
imaginalis f40ab3552f Fix & refine Polish (`pl`) translations 2022-09-19 15:00:55 +08:00
Gabriel Horner a2ef3c5800 Fix confusing wording for :query options - fix #6751 2022-09-15 12:17:33 -04:00
Gabriel Horner 35e526e717 Merge branch 'master' into refactor/refs-from-property-values 2022-09-13 14:52:48 -04:00
Tienson Qin 9b34aec950 fix: config cleared if passed content is nil
Fixed #6701
Fixed #6700
2022-09-13 22:05:40 +08:00
Tienson Qin bb15d8ccf3 fix: change the property option to set 2022-09-09 15:36:55 +08:00
Tienson Qin b516c1db5f Add :property/separated-by-commas option 2022-09-09 12:40:14 +08:00
Tienson Qin 336fa578d5 refactor: replace directives(front matter or org) with properties 2022-09-09 12:37:55 +08:00
Gabriel Horner b1d210d26b Merge configs and create global config file if not present
- Cleanup repo and global config with system components
- test merging
- fix edge cases
2022-09-08 12:34:27 +08:00
Tienson Qin cc66195b58 fix: remove monitor-dirs 2022-09-03 19:31:17 +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
Gabriel Horner 252fec4dd6 Fix typo in comment 2022-08-31 11:09:35 -04:00
Tienson Qin 9ac8bf98e1 feat: introduce :block/content-max-length for better performance for
both searching and editing.
2022-08-31 23:02:19 +08:00
Gabriel Horner 5f9f090a8f Add comment to use :rich-property-values? correctly 2022-08-26 10:11:21 -04:00
Gabriel Horner 569b2417e5 Document config introduced in #2975 2022-08-26 10:07:33 +08:00
Tienson Qin f7d5315acf fix: CI 2022-08-25 21:24:22 +08:00
Tienson Qin 1ee294e047 fix: filters not working for children blocks in linked references
related to #6457

fix #6462
fix #6458
2022-08-24 19:45:10 +08:00
Gabriel Horner 55ccc2d17c Rename config to :rich-property-values?
Name should allow for additional functionality later
2022-08-23 09:55:15 -04:00