10841 Commits

Author SHA1 Message Date
Andelf
db76ba885c chore(release): bump version 0.8.18 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
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
ksqsf
6312249b0c fix: mark cloze funcs and vars as private 2023-02-21 16:58:53 +08:00
megayu
a4a5758afc enhance: paste from clipboard (#8642)
replace the selected part from the clipboard
instead of formatting it to a link if it's within the link
2023-02-21 15:55:59 +08:00
Tienson Qin
40ad524443 fix: duplicated block ids in multiple files (#8668)
fix: duplicate block ids in multiple files
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-21 15:50:09 +08:00
Tienson Qin
3372b3bfbd fix: duplicate block ids in same file (#8657)
fix: duplicate block ids in the same file
2023-02-21 14:40:43 +08:00
Andelf
c621ac30e8 fix: disable macos sign temporarily 2023-02-21 09:18:59 +08:00
rcmerci
2a12ffc331 feat(editor/copy-paste): refactor copy/export in cljs (#8530)
Huge performance improvement for copy and export

Refactor copy/export in cljs instead of Mldoc
2023-02-20 23:08:58 +08:00
Andelf
c0f8dc4ee2 fix(android): disable image resize on sm screen 2023-02-20 22:06:53 +08:00
Junyi Du
07fb4e64c0 fix: hls page name in page ref 2023-02-20 19:50:59 +08:00
charlie
164ac64be9 improve(apis): support CORS for http server 2023-02-20 16:26:03 +08:00
yoyurec
912e925448 add description to settings headers 2023-02-20 16:23:43 +08:00
Elgun Asgar
699ed965c9 fix #8665, incorrect version control description in settings 2023-02-20 16:18:04 +08:00
Charlie
55b5149f4a Enhance/pdf enhancements (#8616)
- Improve interactions about the popup modal from the PDF viewer toolbar
- Persist highlights data with multiple-lines text format (for friendly Git diff)
- Blink the text highlight when scrolling to position
- Open the PDF viewer in the system Window
2023-02-20 15:58:43 +08:00
Andelf
fb02c557f2 Revert "fix: electron menu handler(Redo, Undo, Copy) (#8466)"
This reverts commit 29da7386cb.
2023-02-20 01:35:16 +08:00
ksqsf
138504df05 fix: simplify code 2023-02-19 21:56:10 +08:00
ksqsf
f086a07284 fix: cloze-parse handling of empty cues 2023-02-19 21:52:27 +08:00
ksqsf
e1e5f76e27 feat(srs): support cloze cues 2023-02-19 20:55:55 +08:00
Konstantinos Kaloutas
0f48180f9b feat: auto pan when out of view 2023-02-19 15:20:54 +08:00