Commit Graph

12 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 ae78e5e459.

* 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
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
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
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