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

19 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
33a477cf36 Add local time buttons
Implements: #231
2024-06-11 14:47:15 +03:00
Timur Ismagilov
b29042a52c Search: Add go to hypha section 2022-12-09 18:27:47 +03:00
Timur Ismagilov
2dab26dafa Capitalize Mycomarkup 2022-12-09 18:11:56 +03:00
Timur Ismagilov
474c69d6d2 Editor: Change the title for new hyphae
Now: Create <hypha name>

Before: Edit <hypha name>; and a warning below
2022-10-23 15:29:36 +03:00
Timur Ismagilov
9551db6719 Migrate /remove-media/ to the new template system
Is this path used anywhere?
2022-09-21 11:22:48 +03:00
Maybe Waffle
ebe618ed1f Improve "upload a media tip" translations 2022-09-11 18:26:30 +03:00
Timur Ismagilov
b18abeba92 Show a different label for the /media/ link for textual hyphae 2022-09-03 17:05:55 +03:00
Timur Ismagilov
0b9dc5c2a6 Rename: Leave redirection field off by default if there are no backlinks 2022-08-20 23:06:31 +05:00
Umar Getagazov
4ede2783c5 Migrate /edit to html/template 2022-08-20 00:31:39 +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
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
5bc704b404 Viewutil: Introduce CopyEnRuWith
Reducing boilerplate as usual
2022-05-18 19:58:24 +03:00
Timur Ismagilov
ba91d3e2f7 Empty hyphae: Fix the message for wikis with auth 2022-04-29 12:21:45 +03:00
Timur Ismagilov
49b94074d1 Reimplement empty hypha notice with go templates 2022-04-24 14:11:53 +03:00
Timur Ismagilov
59deabd0d1 Reimplement Navititle with go templates
That was rough
2022-04-23 23:35:36 +03:00