Commit Graph

9446 Commits (ab0f3b6f5dc00dcaf9467b0f8578827d8343cec1)

Author SHA1 Message Date
Tienson Qin 8b0f83d3ab fix: don't create journal's file when it was initialized by a template 2022-10-12 19:00:17 +08:00
charlie 21ff600c21 fix(ui): alignment of some svg icons 2022-10-12 14:19:20 +08:00
Gabriel Horner e05f28672a
Fix: Remove hidden task properties that weren't used (#6938)
* Remove task properties that weren't used - fix #6902

* Address feedback - remove unused marker
2022-10-11 11:16:01 -04:00
Konstantinos Kaloutas f793dbbd5b fix: add click handler and translate skip button 2022-10-11 10:21:11 -04:00
Konstantinos Kaloutas 5a996526ac feat: add icons to context menu 2022-10-11 10:07:48 -04:00
Ilya Gusev a00d6c077c
Improve Russian (ru) translations (#6942) 2022-10-11 10:01:28 -04:00
charlie ca768b855d fix(mobile): missing tabler icon components resource 2022-10-11 17:51:46 +08:00
Peng Xiao 441197222d Update tldraw/apps/tldraw-logseq/src/components/ContextMenu/ContextMenu.tsx
Co-authored-by: Konstantinos <konstantinos@logseq.com>
2022-10-10 22:10:45 +08:00
Peng Xiao 0c8e5b59a3 feat(whiteboard): pack shapes into rect action 2022-10-10 22:10:45 +08:00
Peng Xiao 9ab5544086 fix(whiteboard): some shortcuts does not work in sidebar when whiteboard is opened 2022-10-10 22:09:43 +08:00
Peng Xiao d172c4cce3 fix: remove debug log 2022-10-10 22:09:43 +08:00
Peng Xiao a06cb23c7f fix(whiteboard): fallback codemirror to hljs in whiteboard 2022-10-10 22:09:43 +08:00
Peng Xiao 46d873b61d fix(whiteboard): another possible issue of missing uuid 2022-10-10 22:09:43 +08:00
Peng Xiao df67c68005 fix(whiteboard): shape block-ref display issue 2022-10-10 22:09:43 +08:00
Peng Xiao 7afea4376b fix(whiteboard): dnd missing uuid issue 2022-10-10 22:09:43 +08:00
charlie efbd8d0027 fix(plugin): enter to break line not work for textarea settings item 2022-10-10 18:09:16 +08:00
charlie 766f0e56ce improve(ui): alignment of toggle right sidebar icon 2022-10-10 18:08:48 +08:00
Tienson Qin 7d3ed2bc97 Style tweaks 2022-10-10 18:08:48 +08:00
Peng Xiao 0903af6ab3 test(e2e): add a test case for whiteboard quick add 2022-10-10 17:12:23 +08:00
Tienson Qin 3e06beb23e fix: lint warnings 2022-10-10 17:04:59 +08:00
Tienson Qin 1b6060b4f4 fix: enable whiteboards on mobile (iOS/Android/Pad) 2022-10-10 14:00:05 +08:00
Konstantinos Kaloutas 30ffaf9b2e fix: e2e tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 852d3b5e4a fix: disallow remote files 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 81a6d23c4d fix: filter protocols on open 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas d238c88afd chore: add allowed protocols for openExternal 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 23f44a5e50 fix: e2e tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas f9644ab37b chore: add hiccup test 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas d70c291d8e refactor: hiccup to html 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 60790763dd fix: remove attributes and protocols 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas c5ebca26b6 fix: hiccup to string 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 604dd20d33 fix: inline hiccup 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas a36f56c8df chore: add tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas f18cc5c6fb chore: remove redundant functions 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas 56584121e6 chore: add sanitization options 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas f70d4c6bac fix: sanitize html 2022-10-10 13:42:22 +08:00
Andelf c837afd075 ci: ignore stderr for bb lint tasks 2022-10-10 13:14:50 +08:00
Tienson Qin adb4d84e31 fix: disable assets alias temporally 2022-10-09 23:43:09 +08: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
Andelf ad4fec8ce7 enhance(ios): add sync progress 2022-10-09 19:36:05 +08:00
rcmerci bc89d60664 fix: refresh tokens when almost-expired-or-expired 2022-10-08 20:49:40 +08:00
Andelf df15c68f16 ci(ios): add ios build ci 2022-10-08 20:29:03 +08:00
Andelf 6e2292e40a fix(build): rm old pod spec 2022-10-08 20:29:03 +08:00
Tienson Qin bc568f6d5b
Merge pull request #5341 from logseq/whiteboards
feat: whiteboards support
2022-10-08 20:24:48 +08:00
Peng Xiao cffc30a076 fix: icon styles 2022-10-08 18:20:25 +08:00
Peng Xiao 1588cf9bd4 fix: merge issues 2022-10-08 17:27:19 +08:00
Peng Xiao cca1d35510 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-08 17:26:45 +08:00
Peng Xiao 68084bbf0b fix: html shape display issue 2022-10-08 17:00:36 +08:00
Tienson Qin 8ec98c0a68 instrument: db persist failed 2022-10-08 15:52:24 +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 b864b88907 chore: remove false commit 2022-10-08 10:12:22 +08:00