Commit Graph
144 Commits
Author SHA1 Message Date
Timur Ismagilov 5f751cca07 Move Mycomarkup to SourceHut
Les Arbres didn't work in the end
2022-08-22 01:52:10 +05:00
Timur Ismagilov 2381b6abfe Move Mycomarkup to Les Arbres
I don't really understand how it worked
2022-08-22 01:28:35 +05:00
Umar Getagazov 4831e4c7af Fix static assets not served on wikis with no auth 2022-08-21 16:25:47 +03:00
Umar Getagazov 4ede2783c5 Migrate /edit to html/template 2022-08-20 00:31:39 +05:00
kez 9275c9d3f3 Run gofmt 2022-08-15 23:44:35 +05:00
kez c1946d8849 Turn BodyAttributes into a map
BodyAttributes is now a map of attribute name -> attribute value. This
was done because attribute names have a restricted set of characters,
but attribute values are much less restrictive
2022-08-15 23:44:35 +05:00
kez f3437d93c8 Add hypha categories to Base body data attributes 2022-08-15 23:44:35 +05:00
kez 7fc48f21fc Create system for adding data attributes to Base body 2022-08-15 23:44:35 +05:00
Timur Ismagilov b1cdb1e279 Delete package views
All the remaining QTPL files were spread across the codebase. The plan is to get rid of them step by step and migrate to the new l10n approach, all based on Go std templates.
2022-08-06 16:35:17 +05:00
Timur Ismagilov e577b79d67 Fix /text/ for media hyphae 2022-08-06 12:45:00 +05:00
Timur Ismagilov d6946b9e31 Admin: Isolate handlers and the list view 2022-07-11 21:59:55 +05:00
Timur Ismagilov cff7dafcea Implement redirection hyphae #152 2022-07-01 20:51:22 +05:00
Timur Ismagilov df1f94eae4 Isolate hypha renaming view 2022-06-16 14:19:42 +03:00
Timur Ismagilov 684c53aa8c Isolate hypha deletion view 2022-06-16 14:05:30 +03:00
Timur Ismagilov 2b6ee9c597 Fix /remove-media 2022-06-14 22:40:15 +03:00
Timur Ismagilov 9713c18b6b Backlinks: Fix the bug 2022-06-10 18:45:27 +03:00
Timur Ismagilov 5e2c20c559 Move stuff around 2022-06-06 17:41:33 +03:00
Timur Ismagilov ccc7703836 Mycomarkup: Update to v5.0.0
Got to bump it up
2022-06-05 15:35:40 +03:00
Timur Ismagilov 913f85b440 Fix revision texts for deleted hyphae
I dislike every part related to git
2022-05-31 13:36:57 +03:00
Timur Ismagilov 9e99e8da11 Fix primitive diffs for deleted hyphae 2022-05-31 13:33:25 +03:00
Timur Ismagilov cbf7ae50d3 Fix revisions for deleted hyphae 2022-05-31 13:29:13 +03:00
Timur Ismagilov b7d524880f Interwiki: Implement /interwiki
It just shown what entries there are. It will let administrators modify it later.
2022-05-27 16:43:40 +03:00
Timur Ismagilov afb5c22c40 Admin: Isolate the panel view 2022-05-18 21:03:36 +03:00
Timur Ismagilov d9e0fa7f7f History: Rename the web package 2022-05-18 20:30:42 +03:00
Timur Ismagilov 3e8d1fd161 History: Isolate feeds 2022-05-18 20:28:56 +03:00
Timur Ismagilov 2b8ffc69bd History: Isolate /history/ 2022-05-18 20:27:19 +03:00
Timur Ismagilov 1a98beccb4 History: Isolate recent changes 2022-05-18 19:12:00 +03:00
Timur Ismagilov fdba598c57 History: Isolate primitive diff 2022-05-18 12:26:33 +03:00
Timur Ismagilov c1ac0bbd16 Auth: Do not let users with weird characters in name register 2022-05-17 16:31:12 +03:00
Timur Ismagilov 59deabd0d1 Reimplement Navititle with go templates
That was rough
2022-04-23 23:35:36 +03:00
Timur Ismagilov a15eeca117 Isolate help 2022-04-09 11:28:57 +03:00
Timur Ismagilov 17e006322f Mycomarkup: Migrate to v4 2022-04-07 20:17:59 +03:00
Timur Ismagilov 2dcb1a5fe7 Backlinks: Isolate 2022-04-02 19:58:57 +03:00
Timur Ismagilov cc01a3551d Misc: Move more stuff here, including title search 2022-04-02 11:00:10 +03:00
Timur Ismagilov 5bf3808039 Misc: Move more stuff here 2022-04-02 10:22:26 +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 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 a8b3e3d43a Implement viewutil.Base 2022-03-29 23:59:36 +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
Umar Getagazov b15b2da6a0 primitive-diff: validate input 2022-03-27 00:30:05 +07: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
Timur Ismagilov 4d56657938 Categories: Localize the categories card 2022-03-22 16:57:25 +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 7865f77060 Categories: Add category list
* /category lists categories
* /category/<cat> shows the category
2022-03-20 21:24:54 +03:00