1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00
Commit Graph

882 Commits

Author SHA1 Message Date
Umar Getagazov
6eab333ba8 Reject upload requests for .git paths
Fixes #107
2021-10-27 12:43:36 +07:00
Elias Bomberger
a7701bea0a Merge remote-tracking branch 'upstream/master' into rss-grouping 2021-10-26 23:29:49 -04:00
Elias Bomberger
bd1b5c50a0 Add English help page for feeds.
(is it detailed enough?)
2021-10-26 23:28:56 -04:00
Elias Bomberger
8ed6dd15bf Make recent-changes feeds able to look farther back for revisions.
Before, grouped feeds would only use the last 30 revisions.
If part of a group was outside these revisions, it would be handled incorrectly.
Now, grouped feeds contain the last 30 groups, and use as many revisions as needed for this.
2021-10-26 22:45:38 -04:00
Elias Bomberger
6cb4161dd8 Make trivial improvements to the new recent-changes feed
Add wiki name and remove author from feed metadata
Hyphenate order settings
Change default order from new-to-old to old-to-new
Only group edits from the same author
Add author to feed item titles
2021-10-26 18:50:01 -04:00
Umar Getagazov
742f34ae9a Make some layout stuff work in Netsurf
Not sure if we should use antiweb [1].

[1]: https://git.sr.ht/~sircmpwn/antiweb
2021-10-26 14:22:31 +07:00
Umar Getagazov
45763d9d7d Hide <template> tags
Makes at least something visible on browsers like netsurf and others.
2021-10-26 13:47:23 +07:00
Umar Getagazov
e2f228a732 Allow changing the wiki path for make
For example, bouncepaw uses ~/src, I use ~/Code and ~/sources. Many
other people use different prefixes.
2021-10-26 12:45:28 +07:00
Umar Getagazov
9cd3bd20a9 Add go generate dependencies
4ea90b07f9/010_tools/README.md
2021-10-26 12:44:34 +07:00
Elias Bomberger
114e18bcbd add feed grouping (#61) 2021-10-25 20:58:25 -04:00
Timur Ismagilov
06d214f0f9 Update Mycomarkup to v3.2.0 2021-10-24 17:15:49 +03:00
Elias Bomberger
924b011e06 reorganize the history package (and rewrite some parts with qtpl)
start work on grouping edits in feeds
2021-10-22 22:15:48 -04:00
Elias Bomberger
e4cd5e4a5f oops, missed a spot before
run gofmt, remove an unused bit
2021-10-22 22:15:48 -04:00
Elias Bomberger
835529947b fix an error that occured when one subhypha's name was the prefix of another
figureOutChildren("root/a") would detect "root/ab" as a descendant
then figureOutChildren("root/ab") would detect "root/ab" as a descendant and panic trying to find the subpath
2021-10-17 11:40:15 +07:00
Timur Ismagilov
33144b8bd8 Update Mycomarkup to v3.1.0 2021-10-13 23:32:50 +03:00
Timur Ismagilov
d533fc23ea Make some visual changes 2021-10-13 23:30:43 +03:00
Timur Ismagilov
f2e43d97b0 Migrate to Mycomarkup v3.0.2 2021-10-12 23:48:03 +03:00
Mikhail Chekan
0354945502 Translate more error messages
Featuring own fork of go-localize! It's not in dependencies though.
2021-10-10 11:27:35 +07:00
Timur Ismagilov
39bc355c95 Migrate to Mycomarkup v3.0.1 2021-10-05 23:28:59 +03:00
Timur Ismagilov
891cc1f87c v1.5.0 ⇢ v1.6.0 2021-10-05 23:11:43 +03:00
Timur Ismagilov
5dd74da8ed Migrate to Mycomarkup v3
Some stuff is broken, but at least it compiles. Funnily enough, the API turned out to be not broken. This is surprising.
2021-10-05 23:10:28 +03:00
Timur Ismagilov
8091638181
Merge pull request #102 from pyelias/sort-stuff
Sort hypha and user lists
2021-10-02 00:04:40 +03:00
Elias Bomberger
4eaec355ca Make /user-list return sorted results 2021-10-01 16:42:25 -04:00
Elias Bomberger
039fcd2b3a Make /list return sorted results 2021-10-01 16:40:49 -04:00
Timur Ismagilov
b9ce4d6cf6
Merge pull request #101 from chekoopa/tidy-up
Tidy up some more
2021-10-01 20:37:38 +03:00
Mikhail Chekan
ffb43c28ea Tidy up some more 2021-10-02 01:34:56 +08:00
Timur Ismagilov
54fdb29ddf
Merge pull request #100 from chekoopa/tidy-up
Housekeeping with linter
2021-10-01 20:19:58 +03:00
Mikhail Chekan
85c936d94a Housekeeping with linter
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
Timur Ismagilov
7ecc7b526e Dump Mycomarkup 2021-10-01 12:35:30 +03:00
Timur Ismagilov
d2a1c9d151
Merge pull request #98 from chekoopa/tree-view-fix
Fix ghost siblings and orphaned subhyphae view
2021-10-01 12:27:27 +03:00
Mikhail Chekan
8a30d84dfb Fix missing subhyphae in the tree view 2021-10-01 17:18:11 +08:00
Mikhail Chekan
49e5ca8a6f Show ghost siblings 2021-10-01 16:57:00 +08:00
Timur Ismagilov
cfc985a0f0 Disallow: /admin/ too 2021-10-01 09:51:06 +03:00
Umar Getagazov
1101784230 Replace Disallow: / with a more specific list 2021-09-29 22:20:30 +07:00
Umar Getagazov
fedb49fef4 Enforce UTF-8 and set correct MIME types for feeds 2021-09-29 22:02:30 +07:00
Umar Getagazov
33650e965c Run gofmt 2021-09-29 21:56:17 +07:00
Umar Getagazov
6636fc95a7 Allow empty content for an attachful hypha 2021-09-29 21:54:25 +07:00
Mikhail Chekan
44f6fbe0b2 Fix new hypha l18n 2021-09-29 12:51:24 +07:00
Timur Ismagilov
e9e4bb63b6 Migrate to Mycomarkup v2.1.1 2021-09-27 15:46:55 +03:00
Umar Getagazov
04de18ebfc
Merge pull request #95 from chekoopa/l18n
Initial l18n support
2021-09-27 19:01:38 +07:00
Umar Getagazov
43017f1e05 Stylistic changes to Russian help pages 2021-09-27 18:59:44 +07:00
Umar Getagazov
6c013a3429 Remove go-localize from dependencies
It's not actually needed for the program itself. It's needed for the
generation, and it doesn't matter if you install it using go get or not;
you need to install it manually using go install.
2021-09-27 18:57:42 +07:00
Mikhail Chekan
968f5e2215 Fix missing l18n-ru line 2021-09-27 19:54:37 +08:00
Mikhail Chekan
bca1c23d36 Merge l18n with master updates 2021-09-27 17:24:02 +08:00
Mikhail Chekan
0780131c00 Initial l18n support 2021-09-27 16:45:23 +08:00
Timur Ismagilov
51704b72cd Add /rev-text/ 2021-09-23 12:36:54 +03:00
Timur Ismagilov
71b404c4f0 Write docs for prevnext 2021-09-23 12:17:50 +03:00
Timur Ismagilov
b299d10d42 Migrate to Mycomarkup v2.1.0
The bug related to image descriptions has been resolved!!
2021-09-22 22:08:17 +03:00
Timur Ismagilov
d7cb9a4438 ACTUALLY migrate 2021-09-12 12:01:32 +03:00
Timur Ismagilov
7347d3d7db Migrate to Mycomarkup v2 uhhhhhhhh
Bloody hell mate. I'm losing my patience
2021-09-12 11:59:10 +03:00