1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-31 04:06:16 +00:00
Commit Graph

502 Commits

Author SHA1 Message Date
bouncepaw
140d97ddf4 Handle anchored links correctly 2021-03-14 20:10:08 +05:00
bouncepaw
f3c4a45c3d Add primitive diffs accessible from history pages 2021-03-14 20:01:32 +05:00
bouncepaw
f11314488c Add /admin/reindex-users 2021-03-14 18:29:57 +05:00
bouncepaw
8fc036ba1c Throw away all backlink-related stuff 2021-03-14 18:16:30 +05:00
bouncepaw
8e94048f15 Make preview look more like view 2021-03-09 20:51:37 +05:00
bouncepaw
e35643bb9d Add -print-example-config 2021-03-09 19:27:14 +05:00
Timur Ismagilov
d2792ff83d
Merge pull request #45 from hugmouse/fix-no-hypha-connection-reset
Panic fix (#44)
2021-03-09 07:28:24 +05:00
Mysh!
b4143ed589
Panic fix (#44)
This fixes the bug when there are no hypha in the wiki and the user clicks the "random" button.

Since there are zero amount of pages, a number 0 is given to random, which causes a panic and resets the connection.

See: https://github.com/bouncepaw/mycorrhiza/issues/44
2021-03-09 09:55:22 +08:00
bouncepaw
be19d19a5e Fix user credentials not being read 2021-03-07 19:58:37 +05:00
Timur Ismagilov
81c75a4926
Merge pull request #41 from DanInSpace104/0.14
Fix more typos
2021-03-06 14:46:12 +05:00
DanInSpace
b5838c946f Fix more typos 2021-03-06 14:44:20 +05:00
bouncepaw
0426c372de Support configuration files
See https://mycorrhiza.lesarbr.es/hypha/configuration for an example.
A copy of this example is stored at assets/config.ini.

Use option -config-path to pass the config file. Note that all other
CLI options have been removed. Some of them may be returned later.
Also note that no real testing has been done.
2021-03-06 14:40:47 +05:00
Timur Ismagilov
adfe080a31
Merge pull request #40 from DanInSpace104/0.14
Typo fix
2021-03-06 12:41:13 +05:00
DanInSpace
dd5d78322f Typo fix 2021-03-06 12:38:08 +05:00
Timur Ismagilov
d83543b4d7
Merge pull request #39 from DanInSpace104/0.14
gitignore editors and IDEA folders
2021-03-06 10:00:08 +05:00
DanInSpace
964bd4168a gitignore editors and IDEA folders 2021-03-06 02:44:46 +05:00
Timur Ismagilov
db75078452
Merge pull request #38 from GuAlSe/0.14
Fix token storage path
2021-03-06 01:45:35 +05:00
Alexey Gusev
c7ab41a3b0 Fix token storage path 2021-03-05 23:40:41 +03:00
Timur Ismagilov
b9806c89e1
Merge pull request #37 from hugmouse/Empty-page-handling
Sending a 404 status if there is no content on the page
2021-03-05 19:13:59 +05:00
hugmouse
416c606e6d
Sending a 404 status if there is no content on the page
Probably a hack. I'm not sure how it should be done normally, but I have no other idea how to do it.
2021-03-05 20:20:51 +08:00
Timur Ismagilov
df9ee15a7f
Merge pull request #36 from hugmouse/optimise-css
Fix invalid css rules
2021-03-05 16:37:06 +05:00
hugmouse
a22b70023f
Fix invalid css rules 2021-03-05 18:40:28 +08:00
Timur Ismagilov
15aab93dd9
Merge pull request #35 from bouncepaw/0.13
0.13
2021-03-05 14:40:31 +05:00
bouncepaw
f6a41b4818 Some adjusting before merging 2021-03-05 14:39:33 +05:00
Timur Ismagilov
b45be35247
Merge pull request #34 from hugmouse/0.13
Fix lexer for "----" (<hr/>) case
2021-03-05 13:53:27 +05:00
hugmouse
62c616985d
Replace old method with new that is a little overcomplicated 2021-03-05 16:29:39 +08:00
hugmouse
8dfd2fcf9b
Fix lexer for "----" (<hr/>) case
The point is that there may be another character in the string.
For example, a space or a line break.

Because we check the whole string, not the first 4 characters - we can ignore the variant where it can be "----\s" or "----\r\n" and make the wrong markup.

Alternatively: use `startsWith("----")`, but this is a bit more expensive operation.
2021-03-05 14:34:56 +08:00
bouncepaw
fbf94975aa Add anchor links 2021-03-02 21:36:57 +05:00
bouncepaw
f45758cb0e Show only stems of names in the relative hyphae block 2021-02-27 13:42:32 +05:00
bouncepaw
2d14d30603 Rename Makefile targets 2021-02-26 21:45:52 +05:00
bouncepaw
9052f31e1f Fix the bug with git locking 2021-02-26 21:43:45 +05:00
bouncepaw
f33eefe502 Change the wording slightly 2021-02-24 22:37:34 +05:00
bouncepaw
a8a2735363 Add the attachment tab 2021-02-24 22:34:42 +05:00
bouncepaw
22420bf690 Move assets from templates to the assets module 2021-02-23 19:41:22 +05:00
bouncepaw
170240177e Slight redesign of the login form 2021-02-23 19:36:12 +05:00
bouncepaw
c83710f155 Move mutators.qtpl and auth.qtpl to the views 2021-02-23 19:25:07 +05:00
bouncepaw
f992f0a098 Add clear: both to the subhyphae block 2021-02-23 14:15:25 +05:00
bouncepaw
d2cc1e7074 Redesign /list 2021-02-22 23:37:23 +05:00
bouncepaw
ecbd23b3a5 Move stuff.qtpl and admin.qtpl to views/stuff.qtpl 2021-02-22 23:19:28 +05:00
bouncepaw
e72752a484 Move delete and rename to the modals module 2021-02-22 23:11:37 +05:00
bouncepaw
7f82805992 Move the unattach modal to the views module 2021-02-22 22:38:41 +05:00
bouncepaw
4798d94a94 Refactor history views 2021-02-20 21:50:25 +05:00
bouncepaw
9f1eadcec4 Make backlink sidebar invisible and make backlink indexer sync 2021-02-20 21:23:47 +05:00
bouncepaw
c726a8b307 Fix the error when previewing 2021-02-20 21:21:10 +05:00
bouncepaw
8cdea2d7ba Fix revision contents not showing 2021-02-20 21:17:20 +05:00
bouncepaw
1917e50367 Move readers views to the views module 2021-02-20 21:14:33 +05:00
bouncepaw
bcaa1de6b7 Move navititle, attachment block, backlinks sidebar to the new views module 2021-02-20 20:48:51 +05:00
bouncepaw
0467f3a773 Split module hyphae into two modules 2021-02-20 19:03:54 +05:00
bouncepaw
345efef35a Fix the renaming bug 2021-02-20 11:48:27 +05:00
bouncepaw
2d9e3b4a54 Move subhyphae to the bottom 2021-02-19 23:12:36 +05:00