1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-03-10 13:38:20 +00:00

25 Commits

Author SHA1 Message Date
Timur Ismagilov
a4cc67cd74
Migrate from log to slog #109 (#255)
* Migrate httpd.go

* Migrate history and main

* Migrate hypview

* Migrate interwiki

* Migrate misc

* Migrate utils

* Migrate backlinks

* Migrate categories

* Reformat some imports

* Migrate hyphae

* Migrate migration

* Reformat more imports

* Migrate user

* Migrate shroom

* Migrate viewutil

* Migrate web

* Migrate others

* Migrate main

* Wording concerns
2024-09-07 23:55:39 +03:00
Timur Ismagilov
41733c50bd
New templates #117 (#236)
Didn't have the chance to migrate //all// templates just yet. We'll get there.

* Implement yet another template system

* Move orphans to the new system and fix a bug in it

* Link orphans in the admin panel

* Move the backlink handlers to the web package

* Move auth routing to web

* Move /user-list to the new system

* Move change password and translate it

* Move stuff

* Move admin-related stuff to the web

* Move a lot of files into internal dir

Outside of it are web and stuff that needs further refactoring

* Fix static not loading and de-qtpl tree

* Move tree to internal

* Keep the globe on the same line #230

* Revert "Keep the globe on the same line #230"

This reverts commit ae78e5e459b1e980ba89bf29e61f75c0625ed2c7.

* Migrate templates from hypview: delete, edit, start empty and existing WIP

The delete media view was removed, I didn't even know it still existed as a GET. A rudiment.

* Make views multi-file and break compilation

* Megarefactoring of hypha views

* Auth-related stuffs

* Fix some of those weird imports

* Migrate cat views

* Fix cat js

* Lower standards

* Internalize trauma
2024-09-07 21:22:41 +03:00
Timur Ismagilov
cb2431115c Title search: Fix <title> in Russian locale 2023-01-03 00:47:14 +05:00
Timur Ismagilov
fed4472ae3 Search: Delete the search results description 2022-12-09 18:30:42 +03:00
Timur Ismagilov
b29042a52c Search: Add go to hypha section 2022-12-09 18:27:47 +03:00
Umar Getagazov
ab848247c9 Change version package API 2022-09-14 10:38:36 +03:00
Umar Getagazov
4831e4c7af Fix static assets not served on wikis with no auth 2022-08-21 16:25:47 +03:00
opsyne
18ec5b669e
Allow unauthenticated users to request static assets (#163) 2022-08-21 10:55:08 +03:00
Umar Getagazov
f1342c0d75 Use the generated version string on /about 2022-08-17 11:21:54 +03: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
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
b7b8e26e3f Hypha list: Return the hypha count 2022-07-11 14:03:07 +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
b581221445 Title search: Results have indices instead of bullets now 2022-04-24 15:42:10 +03:00
Timur Ismagilov
79519f0a7d Title search: Fix a bug and show No results instead of empty list when no results 2022-04-24 11:17:17 +03:00
Timur Ismagilov
4f50bd54fe Title search: Fix a bug and show No results instead of empty list when no results 2022-04-24 11:15:25 +03:00
Timur Ismagilov
bbee985cd4 Get rid of div.layout, center header on two-columnar layout 2022-04-21 19:05:17 +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
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