Commit Graph

726 Commits (967654aeb4162bdc1b28c8a3b3af750187c9e3c4)

Author SHA1 Message Date
Tienson Qin dd18c4901d fix: all-page-tags filter 2021-01-04 12:38:54 +08:00
Tienson Qin e18df78820 fix: CI test 2021-01-04 12:38:54 +08:00
Tienson Qin 2d6abc2b04 fix(editor): page refs in properties should be counted too
Resolved #1028
2021-01-04 12:38:54 +08:00
Tienson Qin 48b6ccbdca DB refactor and fix issues related to tags and aliases
1. add a `page` filter.
2. keep word case for both page and block's properties
3. remove `:tag/name` from the db schema

Fixed #1031
2021-01-04 12:38:54 +08:00
Tienson Qin 8f6d16d041 chore: bump minor version 2021-01-03 00:02:15 +08:00
Tienson Qin 1c4014d573 fix: codemirror not working well with block timestamps
Related to #1013
2021-01-03 00:00:20 +08:00
Tienson Qin d34e22fc4a feat: add an option to disable the journals and set a default home page 2021-01-02 17:32:16 +08:00
Yukun Guo 105cb5f658 fix: do not push local repo when switching repos 2021-01-01 17:56:22 +08:00
Tienson Qin 234fa34f05 Merge branch 'master' of github.com:logseq/logseq into master 2020-12-31 20:47:36 +08:00
Tienson Qin 0201af5ffa chore: add help button in the right sidebar 2020-12-31 20:45:38 +08:00
charlie 4e39d89529 fix: #1032 2020-12-31 20:03:59 +08:00
Tienson Qin b2917a34f1 chore: bump minor version 2020-12-31 19:17:00 +08:00
charlie eee8fb6bb2 feat(editor): support paste an image in block 2020-12-31 19:16:10 +08:00
charlie cb3848ebab fix: raw file page #983 2020-12-31 18:58:35 +08:00
Yukun Guo 67400df0ea fix: handle empty block embed 2020-12-31 18:57:56 +08:00
Tienson Qin e89cab7133 chore: bump minor version 2020-12-30 23:42:58 +08:00
Tienson Qin 153108b75b fix(editor): aliases support searching
Also, fixed 1029
2020-12-30 23:42:19 +08:00
Tienson Qin c08f239f99 chore: bump minor version 2020-12-30 22:29:14 +08:00
Tienson Qin 9392a2b95f fix(query): queries involving block properties with page references
Related to #1028
2020-12-30 22:28:25 +08:00
Tienson Qin a8f30f668c chore: bump minor version 2020-12-30 21:13:59 +08:00
Tienson Qin 0875af2b7d fix(editor): put content after properties for any block without title 2020-12-30 21:13:10 +08:00
Tienson Qin 0a4d4a7dd5 chore: bump minor version 2020-12-30 18:29:21 +08:00
Yukun Guo f6d2d65328 fix: Stat.isFile is not available 2020-12-30 18:27:08 +08:00
Tienson Qin 04760a5d32 fix: remove all-pages for publishing 2020-12-30 18:25:44 +08:00
Tienson Qin dbf272767c fix: all-pages style in publishing 2020-12-30 17:59:33 +08:00
charlie 4e496c866b fix: style issue of built in img macros 2020-12-30 17:40:35 +08:00
Tienson Qin 3b40abef28 chore: remove debugging 2020-12-30 17:11:36 +08:00
Tienson Qin 3b45b4fa6c chore: bump minor version 2020-12-30 16:43:43 +08:00
Tienson Qin 2555cc9121 fix(editor): unstable properties when updating or creating a block
Resolved #1017
2020-12-30 16:41:07 +08:00
Tienson Qin f8371aabc1 fix: settings display wrong preferred format 2020-12-30 14:19:48 +08:00
Tienson Qin 6a8ffc17ad chore: bump minor version 2020-12-30 14:11:55 +08:00
Yukun Guo f2afb3188a fix: always git push if push manually 2020-12-30 14:10:21 +08:00
Yukun Guo 4a5de9106e chore: display error message if push/pull manually 2020-12-30 14:10:21 +08:00
Yukun Guo 4fdf595f8f fix: show red dot when git clone/checkout/fetch/merge failed 2020-12-30 14:10:21 +08:00
Yukun Guo 9c0dabb3de chore: check repo dir exists in git/add-all 2020-12-30 14:10:21 +08:00
Yukun Guo 2afac7059c chore: make some fs operations defensive 2020-12-30 14:10:21 +08:00
Tienson Qin d6888c996d chore: bump minor version 2020-12-30 14:09:05 +08:00
Tienson Qin 169fde30ad fix: re-index should be working for local directories now 2020-12-30 14:08:09 +08:00
Tienson Qin 7de471b72f chore: bump minor version 2020-12-30 12:57:11 +08:00
Tienson Qin 92f9c21170 fix(editor): make sure aliases are a collection 2020-12-30 09:55:14 +08:00
Tienson Qin de4425909d fix: bring repo branch back 2020-12-29 22:43:18 +08:00
Tienson Qin 724d3ec82f chore: bump version 2020-12-29 22:27:22 +08:00
Tienson Qin 54da887557 fix(editor): don't update block if there's no changes except the timestamps 2020-12-29 21:28:25 +08:00
charlie bdd48fb3e8 fix: style issue of left bar on mobile 2020-12-29 21:01:05 +08:00
charlie df4a10375e fix: mobile bar search command with auto complete #1010 2020-12-29 21:01:05 +08:00
Tienson Qin 0fb5777458
Merge pull request #1009 from logseq/feat/google-login
Feat:  add google login
2020-12-29 21:00:38 +08:00
Tienson Qin a357538204 fix(editor): selection is disable when auto save and reset the cursor pos 2020-12-29 18:19:13 +08:00
Tienson Qin 8017c500e2 enhance: add or between local directory and github repo 2020-12-29 18:06:00 +08:00
Tienson Qin 03439f0ab5 fix(editor): auto-save should ignore time properties 2020-12-29 17:59:26 +08:00
defclass f0d71aaa52 fix(repo): fix repos 2020-12-29 17:53:53 +08:00
Tienson Qin 59fdc5c68b chore: remove unused fn 2020-12-29 14:13:18 +08:00
Tienson Qin 80e4619774 Merge branch 'master' into feat/google-login 2020-12-29 14:08:57 +08:00
Tienson Qin 7dcc79ddf9 Merge branch 'master' into feat/google-login 2020-12-29 12:00:45 +08:00
Tienson Qin 88a894ad93 fix: rename back to all graphs 2020-12-29 11:55:34 +08:00
Tienson Qin 0559f03840 feat(native-fs): mark native fs as stable 2020-12-29 11:55:34 +08:00
Tienson Qin 536f1582dc fix: backward pos for embeds 2020-12-28 22:20:49 +08:00
Tienson Qin 0c7b60c485 fix(query-dsl): journals pages not works 2020-12-28 22:20:49 +08:00
Tienson Qin 45f600ecbc fix(query-dsl): journal page parse in the between filter 2020-12-28 22:20:49 +08:00
Tienson Qin d80b8fc801 feat(query-dsl): fix tests caused by different timezones 2020-12-28 22:20:49 +08:00
Tienson Qin d43acfbada feat(query-dsl): fix unit tests 2020-12-28 22:20:49 +08:00
Tienson Qin 1ce76bbcb6 feat(query-dsl): add unit tests 2020-12-28 22:20:49 +08:00
Tienson Qin 3a4a4eeba9 feat(query-dsl): use test fixtures 2020-12-28 22:20:49 +08:00
Tienson Qin e4eb9ae842 feat(query-dsl): add timestamps support for the between filter 2020-12-28 22:20:49 +08:00
Tienson Qin a16d360611 feat(query-dsl): add more filters
There're some graph improvements too:
1. the fly dots are smaller now
2. page tags have a different color
2020-12-28 22:20:49 +08:00
Tienson Qin 378d692eaa feat(query dsl): add custom component 2020-12-28 22:20:49 +08:00
Tienson Qin 2135fe78fe feat(query-dsl): add query command 2020-12-28 22:20:49 +08:00
Tienson Qin 54430738cc wip(query-dsl): initial support for query dsl 2020-12-28 22:20:49 +08:00
Tienson Qin 33bb750251 feat(query-dsl): fix not query 2020-12-28 22:20:49 +08:00
Tienson Qin 2081e805be wip(query-dsl): initial support for query dsl 2020-12-28 22:20:49 +08:00
Tienson Qin 1b304b15ac fix(style): youtube iframe width on mobile 2020-12-28 20:12:01 +08:00
charlie 456614b186 style: use overflow-wrap instead of global word break 2020-12-28 20:06:03 +08:00
charlie 2951772b40 style: fix block content css var in sidebar 2020-12-28 20:06:03 +08:00
charlie ee6709065a style: set global break-word #983 2020-12-28 20:06:03 +08:00
defclass 0bafbde7fe fix(repo): fix add repo logic 2020-12-28 16:18:34 +08:00
defclass 338e66cea1 fix(init-repo): init repo when login first time 2020-12-28 16:07:45 +08:00
defclass 7d74e024bb fix(Login): fix login style 2020-12-28 14:35:44 +08:00
defclass ebfda9db8b feat(OAuth): add google login 2020-12-28 09:58:39 +08:00
shady2k 3d47f5ac93 Add repo defenition 2020-12-27 11:17:05 +08:00
shady2k 7c44209bb5 Trying to fix empy queries in journal 2020-12-27 11:17:05 +08:00
Tienson Qin 441f67ba99 fix: don't create timestamps for page's properties area 2020-12-25 22:58:06 +08:00
Tienson Qin 510fa4a35a fix: the layout on mobile is broken when the title is too long
Resolved #983 and #596
2020-12-25 22:56:44 +08:00
Michael Wong f265a25cbe
Merge pull request #999 from logseq/fix/issues-ux
Fix/issues of ux
2020-12-25 16:52:44 +08:00
charlie 698bca9321 fix: prevent edit mode when has selection in block #992 2020-12-25 15:13:02 +08:00
charlie fa4cf5cb7c style: fix right click the dot doesn't popup in the right sidebar #995 2020-12-25 14:21:33 +08:00
Tienson Qin 2d925d7fac feat: add block timestamps
Why adding block timestamps?

Block is the atomic unit for logseq instead of a page, with the
timestamps we can do a lot of things, for example:
1. show a blocks timeline related to a topic/project/habit.
2. get latest modified blocks from the page or the whole graph.
3. query dsl can have a (sort-by :last_modified_at) clause

It'll add both created_at and last_modified_at properties to
each block, not all users need this, so, it's an experiment feature,
we'll disable it by default.

Also, this PR simplify the block properties a lot, it might fix some
old issues related to properties.
2020-12-25 14:20:57 +08:00
charlie a700f3aef9 enhance: copy block ref with (()) #833 2020-12-25 13:59:00 +08:00
Yukun Guo 536ce5dd87 fix: fix highlight for fuzzy search 2020-12-24 19:16:32 +08:00
charlie f90a7aa279 style: fix block border 2020-12-24 15:59:33 +08:00
Tienson Qin 0d2e62e41d style: fix gap 2020-12-24 14:09:50 +08:00
Tienson Qin ae02d41fa3 ui: style tweaks 2020-12-24 00:08:49 +08:00
Yukun Guo de3590b421 feat: ask user for confirmation when signing out 2020-12-23 19:24:58 +08:00
Yukun Guo b8f0a50173 fix: await git-set-username-email! 2020-12-23 19:24:58 +08:00
Yukun Guo 5ea4a7af1e fix: make db persistence atomic 2020-12-23 19:24:58 +08:00
Yukun Guo 5a03d963d5 fix: improve page i18n 2020-12-23 18:35:32 +08:00
Tienson Qin a346102a3f chore: bump minor version 2020-12-23 18:30:47 +08:00
Tienson Qin f1ffc6d022 fix: linked references should contain the blocks from alias pages 2020-12-23 18:29:02 +08:00
Tienson Qin 05057ec3cf fix: adjust query orders 2020-12-23 18:29:02 +08:00
Tienson Qin 9069c4373e feat: add alias redirects
Discussion thread: https://discuss.logseq.com/t/improve-implementation-of-aliases/81/4
2020-12-23 18:29:02 +08:00
charlie 8de2d6be51 fix: some ui details 2020-12-23 11:10:42 +08:00
Michael Wong ccf85e2e37
Merge pull request #985 from logseq/fix/preserve-edn-order
fix: preserve config.file order when updating
2020-12-23 11:08:37 +08:00