1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-16 15:00:26 +00:00
Commit Graph

803 Commits

Author SHA1 Message Date
Timur Ismagilov
9eb92cfa6e Misc: Port /list to the new approach 2022-04-02 10:10:32 +03:00
Timur Ismagilov
f8fbc23202 Misc: Make the new package
It contains things like hypha list or about wiki pages
2022-04-02 09:38:16 +03:00
Timur Ismagilov
f9857768b7 Categories: Rename exported functions 2022-04-02 01:01:54 +03:00
Timur Ismagilov
0ab4bb5846 Categories: Localized titles 2022-04-02 00:59:47 +03:00
Timur Ismagilov
9d971871eb Categories: Log category mutations 2022-04-02 00:46:21 +03:00
Timur Ismagilov
e69c1dc2f9 Categories, views: Unexport stuff 2022-04-02 00:43:11 +03:00
Timur Ismagilov
686c329615 Categories, views: Give the card view its own file, make title a block 2022-04-02 00:35:40 +03:00
Timur Ismagilov
cbf416d7bb Categories, views: Implement viewutil.Chain 2022-04-02 00:18:37 +03:00
Timur Ismagilov
ca3da43e53 Categories, views: Refactor the cat page view 2022-04-02 00:07:28 +03:00
Timur Ismagilov
c3fafb735f Categories, views: Refactor the list view 2022-04-01 23:52:56 +03:00
Timur Ismagilov
3dad3a3a4f Move package categories to the root level 2022-04-01 22:52:38 +03:00
Timur Ismagilov
78bae127b3 Use viewutil.Meta in many places 2022-04-01 22:51:15 +03:00
Timur Ismagilov
2769a096e5 Alias views.Base to a wrapper to viewutil.Base 2022-03-30 00:11:34 +03:00
Timur Ismagilov
a8b3e3d43a Implement viewutil.Base 2022-03-29 23:59:36 +03:00
Timur Ismagilov
db943a97cb Add shortcut for backlinks
Press b
2022-03-29 21:04:20 +03:00
Timur Ismagilov
b6cde49f9d Categories: Clean up deleted category records 2022-03-29 19:53:08 +03:00
Timur Ismagilov
0446fc4794 Categories: Ignore empty hypha names and cat names in requests 2022-03-29 19:46:29 +03:00
Timur Ismagilov
3025aab445 Categories: Make /category/ and /category the same 2022-03-29 19:41:12 +03:00
Timur Ismagilov
bfaada494d Remove #mycorrhiza-ru 2022-03-29 18:50:55 +03:00
Timur Ismagilov
88490c2564 Move sr.ht repo from handlerug to bouncepaw 2022-03-29 18:46:30 +03:00
Timur Ismagilov
fb211b1e59 Update Go version 2022-03-26 23:11:53 +03:00
Umar Getagazov
b15b2da6a0 primitive-diff: validate input 2022-03-27 00:30:05 +07:00
Timur Ismagilov
9a55a520c0 Categories: Write docs 2022-03-26 19:04:51 +03:00
Timur Ismagilov
b87ed40425 Change version to 1.9.0 2022-03-26 18:54:43 +03:00
Timur Ismagilov
ae4a8aeb4e Move mycorrhiza.1 to help directory 2022-03-26 18:54:01 +03:00
Timur Ismagilov
715602d56b Categories: Make the lists look more like Mycorrhiza 2022-03-26 18:49:30 +03:00
Timur Ismagilov
be7b2cc295 Categories: Do not let anons add to/remove from categories 2022-03-26 18:39:33 +03:00
Timur Ismagilov
59bb34b920 Categories: Do not let anons add to/remove from categories 2022-03-26 18:31:13 +03:00
Timur Ismagilov
0a273f55f4 Admin: Port /admin/ to the new template approach 2022-03-26 18:26:14 +03:00
Umar Getagazov
19d5a9e057 Revert "Use sbin instead of bin"
This reverts commit 502b4bb339.
2022-03-25 00:56:19 +07:00
Umar Getagazov
44386db5f0 Makefile: forcefully disable cgo 2022-03-25 00:24:09 +07:00
Umar Getagazov
502b4bb339 Use sbin instead of bin
Go compiles everything statically, and resulting programs have no
runtime dependencies. We don't depend on any dynamically linked library.
2022-03-24 23:43:00 +07:00
Umar Getagazov
6826e93667 Makefile: fix go build invocation 2022-03-24 22:54:06 +07:00
Umar Getagazov
f1b45dc2ac Update Makefile for ease of packaging 2022-03-24 22:43:42 +07:00
Umar Getagazov
aa5027ab95 Add mycorrhiza.1 man page 2022-03-24 22:42:36 +07:00
Timur Ismagilov
c6294d8933 Categories: Place the categories card better on two-column layout 2022-03-23 15:48:20 +03:00
Timur Ismagilov
a5cb7c0a3d Categories: Perform l10n tricks 2022-03-23 15:46:08 +03:00
Timur Ismagilov
4d56657938 Categories: Localize the categories card 2022-03-22 16:57:25 +03:00
Timur Ismagilov
81c075bfb4 Categories: Style the categories card 2022-03-22 16:40:40 +03:00
Timur Ismagilov
eb88cbf23e Views: Drop the *HTML suffix 2022-03-21 00:24:40 +03:00
Timur Ismagilov
b4c4b3fbf0 API: Get rid of *-json URLs
I doubt anybody really used the two. They will make a comeback later.
2022-03-21 00:10:09 +03:00
Timur Ismagilov
6037073352 Recent changes: Get rid of ? in a circle 2022-03-21 00:06:38 +03:00
Timur Ismagilov
40bb20a89c L10n experiment no. 6 (?)
Use the template system for default English keys and then redefine them with Russian versions.

This is kinda weird.
2022-03-20 22:24:40 +03:00
Timur Ismagilov
15496ec02a Categories: Add category list link to the top bar 2022-03-20 21:25:56 +03:00
Timur Ismagilov
7865f77060 Categories: Add category list
* /category lists categories
* /category/<cat> shows the category
2022-03-20 21:24:54 +03:00
Timur Ismagilov
cc4f3c9aed Categories: Sanitize names before processing 2022-03-20 14:50:18 +03:00
Timur Ismagilov
cdeb378327 Categories: Save to disk after changes 2022-03-20 14:48:16 +03:00
Timur Ismagilov
9a60cc2386 Categories: Add addition to/removal from categories
* The result of operations is not saved on disk.
* TODO: handle bad names
2022-03-20 12:28:51 +03:00
Timur Ismagilov
ea0c2f35d1 Categories: Refactor a little
* Introduce views.Meta for passing common stuff around.
* Store both category-related templates in one HTML file, which is go:embed:ded.
* Fix a bug.
2022-03-20 12:04:08 +03:00
Timur Ismagilov
d2a4285e7f Categories: Implement category pages 2022-03-20 11:21:59 +03:00