Umar Getagazov
8da0ef1e4f
Don't require to install go generate dependencies
2021-11-10 20:14:39 +07:00
Umar Getagazov
6d463c3b4a
Upgrade to Go 1.17
2021-11-10 20:14:31 +07:00
Umar Getagazov
8f6c1d0a65
Update Makefile
...
make → make
make run → run
make check → check
It still doesn't track any dependencies to avoid unnecessary rebuilds
(like before), but eh. The Go toolchain does, though.
2021-11-10 20:09:57 +07:00
Umar Getagazov
a6eb2ca82b
Fix a typo in README
2021-11-10 19:33:14 +07:00
Umar Getagazov
e885d01532
Update README.md
2021-11-10 18:43:20 +07:00
Umar Getagazov
82014ce3f4
Fix a typo
2021-11-10 14:21:11 +07:00
Timur Ismagilov
8246a8473c
Dump Mycomarkup
...
Now it doesn't die because of mutual transclusion
2021-11-06 02:32:03 +05:00
Timur Ismagilov
820c20355f
Merge pull request #118 from bouncepaw/mycomarkup-3-migrate-and-test
...
Mycomarkup 3 migrate and test
2021-11-06 01:58:12 +05:00
Timur Ismagilov
dbb45b2ded
Merge branch 'master' into mycomarkup-3-migrate-and-test
2021-11-06 01:57:18 +05:00
Timur Ismagilov
df92fac504
Dump Mycomarkup
...
Nothing to do on this branch anymore
2021-11-06 01:52:23 +05:00
Timur Ismagilov
b2c672386b
Delete an unused function
2021-11-06 01:06:46 +05:00
Timur Ismagilov
f37627d3b6
Fix a genealogy bug
...
If we had hypha a/b, ad would be its sibling. Fixed that
2021-11-06 01:04:35 +05:00
Timur Ismagilov
94d33ce862
Translate the Feeds help article
2021-11-01 23:59:14 +05:00
Timur Ismagilov
c8c98a871d
Increment version
2021-11-01 23:42:08 +05:00
Timur Ismagilov
8848a994e5
Link hyphae instead of diffs in recent changes
...
Also fix Makefile so it includes config.mk iff it exists
2021-11-01 23:40:59 +05:00
Timur Ismagilov
60156b636b
Merge pull request #113 from DanInSpace104/patch-2
...
Add padding to the edit__preview
2021-11-01 08:20:36 +03:00
DanInSpace104
be6d5390cb
Add padding to the edit__preview
2021-11-01 10:12:39 +05:00
Mysh!
a3fe98cf49
Javascript related code changes ( #112 )
...
* Add if statement for case where shortcutsGroup can be undefined
* Use "===" instead of "==". Comparison prefix "==" may cause unexpected type coercion
* Remove anonymous function wrapping
2021-10-29 20:13:59 +07:00
hugmouse
838f9be1c8
Fix compatability issue with reflect.StructTag
2021-10-29 16:33:45 +07:00
hugmouse
163fb4ef35
There is no need in type conversion here
2021-10-29 16:08:02 +07:00
hugmouse
94706e8468
Use zero-allocation approach for empty slices
...
For further reading checkout https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
2021-10-29 16:08:02 +07:00
hugmouse
b2789f923f
Simplify return statement
2021-10-29 16:08:02 +07:00
handlerug
80f37420db
Merge pull request #106 from pyelias/rss-grouping
...
Group recent-changes feeds (#61 )
2021-10-28 13:15:06 +07:00
Elias Bomberger
b9a8a60edf
Merge remote-tracking branch 'upstream/master' into rss-grouping
2021-10-27 21:12:39 -04:00
Elias Bomberger
d8c82855ff
Add the "same" option for feeds.
...
Feeds items used to only be grouped if they had the same author.
Now this can be configured to require the same author, message, both, or neither.
2021-10-27 21:11:20 -04:00
handlerug
830133e4b7
Update README.md
2021-10-27 13:54:29 +07:00
Umar Getagazov
649a6b91cb
Improve validation helpers
...
Still, there are a lot of bugs in the shroom module to be fixed later.
2021-10-27 13:43:01 +07:00
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