kez
f3437d93c8
Add hypha categories to Base body data attributes
2022-08-15 23:44:35 +05:00
Timur Ismagilov
39ef4f9a2a
Style and translate /edit-category to Russian
2022-07-24 17:13:51 +05:00
Timur Ismagilov
3ff57d1d03
Implement /edit-category
...
Also, /remove-from-category now accepts multiple hyphae at once, and removes them all
2022-07-24 16:41:16 +05:00
Timur Ismagilov
81e67b419a
Categories: Sort the list
2022-07-11 13:54:31 +05:00
Timur Ismagilov
cff7dafcea
Implement redirection hyphae #152
2022-07-01 20:51:22 +05:00
Timur Ismagilov
5b829f1d82
Categories: Move them when a hypha is renamed
2022-07-01 19:22:54 +05:00
Timur Ismagilov
d44c4484de
Hide empty category sidebar for unauthorized users
2022-07-01 18:46:29 +05:00
Timur Ismagilov
5bc704b404
Viewutil: Introduce CopyEnRuWith
...
Reducing boilerplate as usual
2022-05-18 19:58:24 +03:00
Timur Ismagilov
9a540ba022
Viewutil: Introduce ExecutePage
...
It reduces the number of boilerplate and guesses some stuff for us. Fighting the templates.
2022-05-18 19:46:01 +03:00
Timur Ismagilov
95e6589d2e
CSS: Use less classes
2022-05-07 01:50:49 +05:00
Timur Ismagilov
d7b4ea9002
Embed data-rrh-addr attribute on all pages
...
You can define the attribute more precisely if you want to
2022-04-23 21:53:15 +03:00
Timur Ismagilov
fe360f582d
Replace bullet-less lists with numbered lists
2022-04-21 18:05:15 +03:00
Timur Ismagilov
6cf59f5e2d
Categories: Keep them sorted
...
* The input from the disk is sorted in-memory, because an admin might want to fiddle with categories.json directly and break the sorted order.
* Insertion/deletion preserve order, thanks to a new dependency.
* The dependency is an official golang package, so I think it's safe to have it.
2022-04-17 16:07:33 +03:00
Timur Ismagilov
9eb92cfa6e
Misc: Port /list to the new approach
2022-04-02 10:10:32 +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