Commit Graph

10858 Commits (ac07029dc871359a4f6fb46661f01057c806bab8)

Author SHA1 Message Date
Konstantinos Kaloutas ac07029dc8 fix: tests 2023-03-03 15:21:58 +02:00
Konstantinos Kaloutas 9216a825c6 fix: typos 2023-03-03 15:13:19 +02:00
Konstantinos Kaloutas 094648eae3 [wip] chore: use fully namespaced keys 2023-03-03 15:08:09 +02:00
Konstantinos Kaloutas 394daaf312 Merge branch 'master' into enhance/i18n 2023-03-03 14:19:01 +02:00
sallto fd3afacabf test: add test for duplicate key error msg 2023-03-02 16:04:20 -05:00
sallto 023c904bfc fix: exception for valid strings 2023-03-02 16:04:20 -05:00
sallto 894a2888b2 enhance(ui): add better error messages for duplicate key in config.edn 2023-03-02 16:04:20 -05:00
Gabriel Horner 5202741563
Fix: Plugins menu item not opening from plugins dashboard (#8736)
* Fix plugins menu item not opening from plugins dashboard

Fix #8726

* Address review feedback and just remove event firing
2023-03-02 11:22:00 -05:00
Andelf 046e47d22e fix(electron): global config dir name under windows 2023-03-02 14:42:17 +08:00
Konstantinos Kaloutas 5ca49d07b1 [wip] chore: use fully namespaced keys 2023-03-01 21:01:11 +02:00
Konstantinos 1ff15171ed
fix (Whiteboard): Paste shape (#8636)
* fix: paste shape

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: add timeout to headings test

* fix: test

* fix: e2e test

* just another attempt to fix the tests

* fix; yet another test fix

* remove the inconsistent test

* revert test change

* revert unneeded change

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-03-01 12:25:45 -05:00
Konstantinos Kaloutas 6258597aa0 [wip] chore: use fully namespaced keys 2023-03-01 19:13:48 +02:00
rcmerci de2c1f7445 move all string/join used to construct paths to one place 2023-03-01 11:59:00 -05:00
rcmerci 974e91c995 dev(lint): set :path-invalid-construct/string-join level to :info 2023-03-01 11:59:00 -05:00
rcmerci 40a1f5b6cd dev(lint): add :path-invalid-construct/string-join linter 2023-03-01 11:59:00 -05:00
Andelf b8dfac04d2 fix(rsapi): use system certs 2023-03-01 21:59:09 +08:00
Andelf db76ba885c chore(release): bump version 0.8.18 2023-03-01 15:23:15 +08:00
Gabriel Horner b68ae17ab6 Shorten and move contributing sections from #8160
- Want the readme contributing section to be short to encourage
contributors to read CONTRIBUTING.md
- Emphasize non-coding ways to help as we could use help there
- Moved good first issues and dev links to CONTRIBUTING.md
2023-02-28 14:25:35 -05:00
Bad3r 849f70e891
docs: overhaul README structure (#8160)
* enhancement(README): overhaul document structure

- Added logseq logo to the readme (I need a copy of the .svg logo) 
- Update the introduction format 
- Update the types of badges used
- change badges colors to fit Logseq colors 
- General readability improvements 
- emojis!

### Regarding open collective user images
As a backer; I appreciate the idea of wanting to display all profile pictures of logseq backers.
The number of backer now is +26k; it would be impossible to present them all.
I also think it turned into an eyesore, and it feels unwelcoming for new project viewers.

* fix: navigate to website when click on logo

* fix: Added backers to the bottom

based on community feedback

* fix: Thanks to section

- Separated sponsors from backers
- increased images sizes
- moved Jetbrains logo to the bottom

* fix: thanks to; section

* fix: move logo above header

* update: add contributors to 'thanks to' section

* fix: typo

* enhance(README.md): formatting

* enhance(README.md): logo position

* enhance(README.md): added links

* enhance: update logseq image

Thanks to @hdansou for providing the screenshot

* fix: change backers avatar size to be smaller

avoid timeout

* docs: update logseq description

* update: moved producthunt review button

* docs: add linebreaks

* cleanup 🧹

* Fix grammar issues 🧠

* update screenshot

* 🧼 revised and updated

* ✍ concise text

* 🔨 Fix typo

* 🎨 styling

* 🧽 clean up and improve consistancy

* 🔌 Update plugin API docs link & styling 🎨

* tool --> platform

* Merge FAQ and learn more sections

* Merge sponsors section

* center producthunt banner

* switch to circular logo 🟦

* move learn more section higher

* add table of contents

* simplify how to section

* add whiteboard screenshot

* add link to 'develop togather' project board

* add new screenshots 

* update GTD screenshot to remove cursor

* add PDF annotation example screenshot

* update pdf demo screenshot

* replace PDF demo with video

* revert GIF

* remove video

* Replace images w/ gif

* update GIF

* shorten desc.

* adjust formatting

* adjust descrription to stay true to the original one written by Tienson

* update social logo colors

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-02-28 14:21:10 -05:00
Konstantinos Kaloutas 744543426f [wip] chore: use fully namespaced keys 2023-02-28 19:47:08 +02:00
Andelf d0c52615f8 ci: re-enable codesign on macos 2023-02-28 15:46:52 +08:00
charlie ec6e99e447 fix(plugin): force disable the unloaded(error) plugin 2023-02-28 15:13:42 +08:00
Adam 6f45107408
fix: incorrect page title when 'hls__' is opened (#8697)
* dev: move 'hls-file?' to pdf-utils
* dev: use 'hls-file?' instead of string comparison
* fix: window title when hls file opened
2023-02-28 15:10:33 +08:00
Gabriel Horner 6108aa1036 Add tests for timestamp blocks
Also make block attributes more explicit in pre-block and reduce needless coupling
2023-02-27 13:20:10 -05:00
Gabriel Horner 6506c369e8 Add support for block refs in page/block props 2023-02-27 13:20:10 -05:00
sallto bdc11a9dcd
Shortcut for copying a page url (#8538)
* fix: move primary directory to ~/.config/Logseq

* feat: Add shortcut for copying a page url

* Revert "fix: move primary directory to ~/.config/Logseq"

This reverts commit 1991c60fbf236db93df96e0c0856d73df123a124.

* fix(dev): remove import to pass lint checks

* Address code review

Also
- Add :inactive to command to reflect page-menu platforms like other commands
- Add improved current page like other current file/page commands
- don't use state/sub in non component contexts

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-27 12:38:14 -05: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
Konstantinos 2cace8894c
Enhance: Add more translations, remove unused ones and add linter for unused (#8568)
* chore: remove unused dictionary keys

* wip: add dictionary keys for hardcoded strings

* resolve conflicts

* Add linter to detect :en ui translation keys match used ones

- Fix a couple entries caught by linter
- Copy :command.editor/open-link-in-sidebar entries to
  :help/open-link-in-sidebar as translation keys shouldn't be reused in
  multiple contexts, especially when it's across ui and shortcut dicts

* fix: remove dead keys

* chore: reuse dict keys

* chore: reintroduce useful keys

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-24 09:21:57 -05:00
rcmerci ec157b8f2c dev: add lsp config
add :ns-inner-blocks-indentation config to keep the current style of :require
2023-02-24 15:24:38 +08:00
Tienson Qin 6a5b0c8199
Fix pencil not working if drawing quickly (replace tldraw's undo/redo history with logseq's) (#7786)
* fix: pencil not working if drawing quickly

* feat: mod+c mod+g to toggle grid

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-02-22 23:16:52 +08:00
charlie 46d3cb516a improve(ui): edge gap for commands auto-complete modal 2023-02-22 18:26:52 +08:00
charlie 11b9eaabe4 improve(ui): friendly size for slash commands modal 2023-02-22 18:26:52 +08:00
charlie 215c45744b enhance(ui): position auto-complete modal in viewport 2023-02-22 18:26:52 +08:00
Gabriel Horner d7d65a6c66 Remove :collapsed from properties-text-values like we do for :id
https://github.com/logseq/logseq/pull/8657/files#r1112206914
2023-02-21 12:35:23 -05:00
Gabriel Horner b78c689458 Fix remaining todos and add a section to practices about this new action 2023-02-21 12:01:58 -05:00
Zhizhen He 25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Andelf f6d4560044 ci: update actions and build deps 2023-02-22 00:32:05 +08:00
Konstantinos Kaloutas 664afd827c fix: default color on portals 2023-02-21 23:49:25 +08:00
Tienson Qin ea213258b1 fix: references crash 2023-02-21 23:49:25 +08:00
Tienson Qin 0e365508be fix: wrong usage of :frontend.db.react/refs
Previously, `[:frontend.db.react/refs id]` is used for three places:
1. get-page-referenced-blocks
2. get-block-referenced-blocks
3. get-block-references-count

The cached query atom will be shared between those three functions,
the problem is that both queries in `get-page-referenced-blocks` and
`get-block-referenced-blocks` return data of different formats, which
can result in crashes in some situations (e.g. PR #8423).

This commit removed `get-block-references-count` and use
`model/pull-block` and `(count (:block/_refs block))` instead.

We also need to make sure the `id` in `[:frontend.db.react/refs id]`
will be different for `get-page-referenced-blocks` and
`get-block-referenced-blocks`. We can probably get rid of
`get-page-referenced-blocks` once we refactored both linked references
and filters for pages.
2023-02-21 23:49:25 +08:00
Andelf 5a2884038b fix: regression of file editing on browser-app 2023-02-21 10:40:17 -05:00
Andelf db356ac946 fix lint 2023-02-21 10:40:17 -05:00
Andelf e0f9111beb fix(config): loading of config editing
Introduced: #8578
2023-02-21 10:40:17 -05:00
Gabriel Horner 047f8a8fef Fix edit global config.edn
This also effects editing any file that's not in the current repo
2023-02-21 10:40:17 -05:00
Hendrik 021a017555 Changes after code review 2023-02-21 10:26:41 -05:00
Hendrik Schöffmann 08e01421e0 i18n: update german translation
- Added missing german translations
- Sorted the keys in the german translation alphabetically
2023-02-21 10:26:41 -05:00
Bad3r 7349796c12
chore(dep): bump Ubuntu image from 18.04 to 22.04 (#8420) 2023-02-21 23:15:37 +08:00
Bad3r ebb2a5c1d7
chore(dep): bump NodeJS from 16.x to 18.x LTS (#8406)
* chore(dep): bump NodeJS to LTS 18.x

* update nginx image CVE-2022-43551

* upgrade node version in GH workflows

* update nodejs version in dev docs

* upgrade tldraw version nodejs version to 18.x

* update static/yarn.lock

* fix yarn.lock electron version

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-02-21 23:07:35 +08:00
Andelf 8b2c50dd06 chore(deps): update rsapi
- fix http2 deps
- add freebsd build
2023-02-21 22:27:50 +08:00
rcmerci 7236ff0313
Merge pull request #8654 from ksqsf/feat/cloze-cue
feat(srs): support cloze cues
2023-02-21 21:34:56 +08:00