1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2026-05-14 17:32:09 +00:00

165 Commits

Author SHA1 Message Date
osmarks c5aa52539d unrandomize randomness 2026-03-03 11:54:19 +00:00
osmarks ebbb55e3d8 merge upstream changes 2026-03-02 20:07:05 +00:00
Sunny f8bba997bf Fix URL of dialog close icon (#267) 2025-09-03 18:16:49 +03:00
osmarks 3c323ffa25 fix unwanted scrollbars 2025-07-06 12:56:30 +01:00
Timur Ismagilov ce108bc07d Replace Alt+arrows with Alt+Shift+arrows and increase shortcut help dialog max-width
Fixes: https://github.com/bouncepaw/mycorrhiza/issues/262
2025-07-03 10:24:44 +03:00
osmarks 81462b970d true dark theme 2025-03-31 18:59:39 +01:00
osmarks babedfa528 better PDF support 2025-03-07 23:27:12 +00:00
osmarks 491596261e apparently that file was important 2025-03-07 16:59:31 +00:00
osmarks 573e934cbc fix motd 2025-03-07 16:57:14 +00:00
osmarks 132c1a0572 full text search, better metadata 2025-03-07 10:26:46 +00:00
osmarks 703e56339d restore navbar features 2025-03-06 23:30:49 +00:00
osmarks 4687ff4146 merge upstream changes 2025-03-06 23:22:31 +00:00
Chris Sexton da84a76e79 Reorder OpenGraph search. (#265)
The previous ordering prevented the visitors from finding a description or
image.
2025-02-20 02:02:07 +03:00
osmarks 1fbef60857 Adjsut terminology and add MOTDs 2024-10-24 10:06:44 +01:00
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 d70d8aa990 Revert "Make shortcuts work outside of English layout (#227)"
This reverts commit b43f2836c1.
2024-09-07 21:35:22 +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 5547cb153d Implement /today and /edit-today
Implements #205
2024-06-01 22:44:27 +03:00
Jackson 5f592acc55 implement user facing password change page
similar to the admin password change, but with a few changes:
- require current password verification

the following still included:
- empty password check
- confirm password check
2023-11-27 22:33:12 +03:00
Umar Getagazov 4e6adec81a Validate the revision hash on /rev{,-text}/ pages 2022-11-14 23:31:22 +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
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