1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-13 05:50:27 +00:00
Commit Graph

378 Commits

Author SHA1 Message Date
Alex Gu
ad5dd09cc3 Override useless browser hotkeys if editor is active
For example Ctrl+B open Bookmarks, Ctrl+I open page info.
It's useful shortcuts but unless we edit hypha text.
2021-06-14 04:11:15 +03:00
Timur Ismagilov
adcb6d5aaf
Merge pull request #68 from GuAlSe/master
Add first child hypha shortcut
2021-06-14 02:41:41 +05:00
Alex Gu
97b488731c
Add first child hypha shortcut 2021-06-14 00:31:09 +03:00
Timur Ismagilov
ead923cda6
Merge pull request #67 from GuAlSe/master
Fix Typo
2021-06-14 02:25:59 +05:00
Alex Gu
1be4b0ef64
Fix Typo 2021-06-14 00:18:22 +03:00
Timur Ismagilov
761d9a110f Migrate to mycomarkup v0.5.3
LINK COLORING
2021-06-14 01:52:12 +05:00
Timur Ismagilov
15ca777135
Merge pull request #66 from GuAlSe/master
Add Ctrl+Enter as alias for `e`
2021-06-14 01:45:49 +05:00
Alex Gu
70329f22cf
Add Ctrl+Enter as alias for e 2021-06-13 23:36:55 +03:00
Timur Ismagilov
14bdf39107 Limit the shortcut dialog's maximum width 2021-06-14 01:21:46 +05:00
Timur Ismagilov
d069bd536e Read Handlerug's code
I have written some comments in order to understand it by myself.

I created the class Shortcut with some static methods for better grouping.
2021-06-14 01:11:46 +05:00
Timur Ismagilov
3cefc5038d
Merge pull request #65 from GuAlSe/master
Shortcuts no longer changes browser behavior.
2021-06-14 01:11:35 +05:00
Alex Gu
f06501d631
Shortcuts no longer changes browser behavior.
Now need to use Ctrl+Alt+Up/Left/Right instead if browser uses Alt+Up/Left/Right. (If browser don't use Alt+Up/Left/Right, it is still used for switch hyphae)
2021-06-13 23:03:45 +03:00
Timur Ismagilov
01af43de04 Add dark theme to the shortcuts pop up 2021-06-13 23:39:27 +05:00
Timur Ismagilov
20a2d26848 Replace span.kbd-key with the kbd tag 2021-06-13 23:37:21 +05:00
handlerug
feea6bf3d7
Make <textarea> auto-focus on the editor page 2021-06-13 23:29:54 +07:00
handlerug
60deff0ecd
Editor shortcut for saving changes
It's Ctrl/Cmd + Enter
2021-06-13 23:28:02 +07:00
handlerug
80e3645bb0
Shortcut for editing opened hypha
It's `e`
2021-06-13 23:24:08 +07:00
handlerug
1c8d1e8f7e
Shortcuts reference
It's invoked by pressing `?`, or Ctrl/Cmd + `/` in the editor.
Resolves #64.
2021-06-13 23:15:45 +07:00
handlerug
83574105f5
Editor shortcuts 2021-06-13 15:15:28 +07:00
handlerug
0e3222c552
Hypha shortcuts
[1-9]: First 9 links in the hypha contents
2021-06-13 13:59:07 +07:00
handlerug
3a2678df4d
Common shortcuts
p, Alt + ←: Previous hypha
n, Alt + →: Next hypha
s, Alt + ↑: Parent hypha

gh: Home hypha
gl: List of hyphae
gr: Recent changes
gu: User's hypha

g[1-9]: First 9 header links

Follow-up to the previous commit message: actually, you can press them
simultaneously too, just tested it. Ilya approves.
2021-06-13 13:59:01 +07:00
handlerug
aeb05336e9
Shortcuts handler
This class registers shortcuts and processes key presses. It can also
register multiple shortcuts and shortcuts with multiple keys pressed
sequentially. Perhaps it should also support shortcuts with multiple
keys pressed simultaneously for folks at https://klava.wiki ...
2021-06-13 12:41:38 +07:00
Timur Ismagilov
71e82b9205 Migrate to Mycomarkup v0.5.1
Red links are back!
2021-06-13 02:15:58 +05:00
handlerug
71b3b42e54
Remove PKGBUILD, add how to install from AUR 2021-06-12 22:51:29 +07:00
handlerug
59f91482c0
Replace the old name with the new one 2021-06-12 22:04:43 +07:00
handlerug
d4ac58b2d8
Remove extraneous logging 2021-06-12 22:04:30 +07:00
handlerug
839f8bc2d6
New static files system
assets.qtpl is no more! Now you can just add files to static/ folder,
make sure the extension is registered in static.go (a shortcoming
that'll be addressed in future Go versions), and you're done! It
searches the local file system first, then falls back to the files
embedded with the binary (in the static/ folder).
2021-06-12 20:58:04 +07:00
Timur Ismagilov
e1f6a64ace Migrate to Mycomarkup v0.5.0
Found out that the system that generates OpenGraph does not take binary hyphae's image attachments into account. Gotta fix that, perhaps.

Also red links are still not fixed.

Also, nested links do not work as intended in some cases.

What exactly did v0.5.0 improve?
2021-06-12 14:42:13 +05:00
Alex Gu
8bd00c7f37
Add Dockerfile (#63)
Co-authored-by: handlerug <umar@handlerug.me>
2021-06-09 21:20:46 +07:00
handlerug
9cb552fa72
Fix hypha's binary part alignment 2021-06-07 11:26:13 +07:00
handlerug
552aa12b8c
Set Git commiter name via environment 2021-06-06 22:12:07 +07:00
handlerug
3f6500bae2
Fix spelling on the registration page 2021-06-06 21:21:21 +07:00
Timur Ismagilov
677dbb5d93 Change the home hypha for the dev config
And update mycomarkup too, of course
2021-06-06 14:56:30 +05:00
Timur Ismagilov
f493c89ebb
Merge pull request #62 from bouncepaw/1.2
1.2
2021-06-05 23:02:41 +05:00
Timur Ismagilov
9d6bf4c191
Merge branch 'master' into 1.2 2021-06-05 23:01:46 +05:00
Timur Ismagilov
6b01a09471 Limit prev/next links in size 2021-06-04 22:29:14 +05:00
Timur Ismagilov
4e1115d609 Canonize user names when reading them 2021-06-03 18:16:15 +05:00
Timur Ismagilov
6c49bd7308 Change how blockquotes look a little 2021-06-03 18:11:04 +05:00
Timur Ismagilov
14dad46ffd Set a different size for attachment containers 2021-06-02 15:03:40 +05:00
Timur Ismagilov
c677272c77 Migrate to mycomarkup v0.4.5 2021-06-02 14:51:00 +05:00
Timur Ismagilov
f61a4c1168 Describe the Structure in Structure.md 2021-05-31 21:57:12 +05:00
Timur Ismagilov
75867a1e58
Merge pull request #60 from Astrr/patch-2
Fix typos and a bit of wording change in readme
2021-05-28 22:56:54 +05:00
Astrr
c272796d07
Turns out we're not Bouncepaw 2021-05-28 20:47:02 +03:00
Astrr
f5856d8bda
Fix typos and a bit of wording change in readme 2021-05-28 20:41:11 +03:00
Timur Ismagilov
d6ba459dbb
Merge pull request #59 from GuAlSe/master
Add PKGBUILD
2021-05-28 22:03:56 +05:00
Alexey Gusev
10e08313a5 Add PKGBUILD 2021-05-28 19:58:25 +03:00
Timur Ismagilov
84ff57ae66
Merge pull request #58 from Astrr/patch-1
Fix the link to the deployment guide
2021-05-28 18:22:58 +05:00
Astrr
930260ddf0
Fix the link to the deployment guide 2021-05-28 16:04:33 +03:00
Timur Ismagilov
01e280fbdb Add the new supertext syntax to the toolbar 2021-05-28 01:46:41 +05:00
Timur Ismagilov
d90fb0ba4a Migrate to Mycomarkup v0.4.4
* New supertext syntax
* Nested quotes
2021-05-28 01:43:45 +05:00