Commit Graph

113 Commits

Author SHA1 Message Date
Konstantinos Kaloutas
6e3a54677d feat: auto heading 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas
f793dbbd5b fix: add click handler and translate skip button 2022-10-11 10:21:11 -04:00
Ilya Gusev
a00d6c077c Improve Russian (ru) translations (#6942) 2022-10-11 10:01:28 -04:00
Charlie
d53ac94bfc Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +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
Peng Xiao
c7fe4933b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-07 16:18:27 +08:00
Konstantinos
6007d6061f Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +08:00
Konstantinos Kaloutas
198aab7888 feat: add login button to alpha features 2022-10-03 18:03:03 +03:00
Peng Xiao
4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Konstantinos Kaloutas
39a7ffb789 chore: add translation 2022-09-27 16:12:23 +08:00
Peng Xiao
fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
ingepettersen
5a4074d083 Update Norwegian translation 2022-09-20 09:25:13 -04:00
Peng Xiao
a0b0e30f22 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-20 16:51:36 +08:00
paul
bfdae9c1a0 changed message typo from
"Refresh detects and processes files modified on your disk and diverged from the actual Logseq page content. Continue?" to

"Refresh detects and processes files modified on your disk that have diverged from the current Logseq page content. Continue?"
2022-09-20 12:23:39 +05:30
Konstantinos Kaloutas
7bd31def16 Merge branch 'master' into feat/whiteboards-create-button 2022-09-19 10:30:54 +03:00
imaginalis
f40ab3552f Fix & refine Polish (pl) translations 2022-09-19 15:00:55 +08:00
Konstantinos Kaloutas
f0471bf902 chore: introduce type icon 2022-09-15 12:18:58 +03:00
Konstantinos Kaloutas
31cf59f9fb Merge branch 'whiteboards' into feat/whiteboards-create-button 2022-09-14 11:08:42 +03:00
Peng Xiao
eaec72e676 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-14 00:26:16 +08:00
Konstantinos Kaloutas
6f6bccfa83 feat: whiteboards create button 2022-09-13 17:08:33 +03:00
queeup
c2c3c2d3b3 i18n: update Turkish translation (#6660)
* i18n: update Turkish translation
* i18n: Change graph meaning from Çizelge to Graf in Turkish
2022-09-10 11:39:36 +08:00
Peng Xiao
4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Konstantinos Kaloutas
df59ba1cd3 enhance: accessibility and translations 2022-09-09 12:13:56 +08:00
Taylor Hoffmann
9eac507a57 refactor: Fully translated in pt-BR and pt-PT (#6657) 2022-09-08 16:47:07 -04:00
George Guimarães
7a64166152 Change pt-BR from "Gráfico" to "Grafo"
The word "Gráfico" in pt-BR usually means "chart". The more precise word
would be "Grafo" (see https://pt.wikipedia.org/wiki/Grafo_(tipo_de_dado_abstrato) ).

Although it's a little bit more mathematical, I think it's gonna be more
precise and correct.
2022-09-08 15:44:19 -04:00
Gabriel Horner
9c0bb02dcd Can access read global config file from UI
Only for reload case
2022-09-08 12:34:27 +08:00
queeup
6a133db548 i18n: Change graph meaning from Grakif to Çizelge in Turkish 2022-09-07 09:25:31 -04:00
queeup
a6e97b1fda i18n: update Turkish translation 2022-09-07 09:25:31 -04:00
Peng Xiao
050cea4b35 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-06 10:08:24 +08:00
Konstantinos Kaloutas
668849adeb chore: add translation keys 2022-09-05 23:12:48 +08:00
Peng Xiao
dee112bb8e Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-05 11:52:16 +08:00
Emin Devrim Fidan
666981ef0b "Themes" translation corrected 2022-09-05 10:35:50 +08:00
Peng Xiao
5e44055984 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-02 09:46:58 +08:00
Junyi Du
496c2b4ca9 fix: recover open new window button 2022-09-01 14:31:03 +08:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +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
Peng Xiao
74aaa378aa Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 11:39:07 +08:00
Tienson Qin
0a11bcbc8e enhance: set contrast colors for buttons in the right sidebar 2022-08-29 11:17:37 +08:00
Peng Xiao
0ff5324c02 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 10:45:15 +08:00
queeup
883828bbfb i18n: update Turkish translation 2022-08-29 08:25:23 +08:00
Peng Xiao
1e607907f3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 15:46:20 +08:00
Tienson Qin
f4aa08fbd3 fix: stuck importing from edn/json
Also, this commit added the progress UI for importing and removed the
:file/writes core.async channel.
2022-08-26 13:00:42 +08:00
Peng Xiao
cd54e348b6 feat: finishing untitled page title ux 2022-08-19 17:17:33 +08:00
Peng Xiao
5d35e21e8b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-18 11:57:48 +08:00
queeup
48b8e54e0f fix: update Turkish translation 2022-08-17 17:14:54 +08:00
Peng Xiao
7cb38f04a0 feat: showing whiteboard icon in page sort 2022-08-12 16:21:01 +08:00
Peng Xiao
a54614c866 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-12 14:09:06 +08:00
Gabriel Horner
5c22682fa2 Tweak unusual indentation from recent translation PR 2022-08-11 11:07:24 -04:00
AlexFullmoon
d0ff784ebe Improved Russian translation
Added missing translation strings and fixed some typos in existing ones.
2022-08-11 10:57:23 -04:00