Commit Graph

169 Commits

Author SHA1 Message Date
Timur Ismagilov
6b9adf1de3 Merge branch 'refs/heads/master' into newtmpl
# Conflicts:
#	categories/view_card.html
2024-08-25 20:21:26 +03:00
Timur Ismagilov
f47bf08edc Internalize trauma 2024-07-28 15:09:34 +03:00
Timur Ismagilov
d551b28d4a Lower standards 2024-07-28 13:24:11 +03:00
Timur Ismagilov
62e62d6274 Fix cat js 2024-07-28 13:17:08 +03:00
Timur Ismagilov
ec57251f58 Migrate cat views 2024-07-28 13:15:12 +03:00
Timur Ismagilov
bd155622af Fix some of those weird imports 2024-07-28 12:22:51 +03:00
Timur Ismagilov
6d2df119d8 Auth-related stuffs 2024-07-28 12:15:59 +03:00
Timur Ismagilov
ea1ae0d078 Megarefactoring of hypha views 2024-07-12 21:35:37 +03:00
Timur Ismagilov
68a7573764 Make views multi-file and break compilation 2024-06-29 20:19:13 +03:00
Timur Ismagilov
86a8091bf6 Merge branch 'refs/heads/master' into newtmpl
# Conflicts:
#	hypview/hypview.go
#	internal/shroom/upload.go
2024-06-29 20:11:19 +03:00
Timur Ismagilov
88ce77625b 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.
2024-06-11 02:02:16 +03:00
Timur Ismagilov
3755793cb0 Revert "Keep the globe on the same line #230"
This reverts commit ae78e5e459.
2024-06-10 13:59:50 +03:00
Timur Ismagilov
ae78e5e459 Keep the globe on the same line #230 2024-06-10 13:55:41 +03:00
Timur Ismagilov
a2e5db444a Fix static not loading and de-qtpl tree 2024-06-09 00:44:12 +03:00
Timur Ismagilov
4c31c8cc32 Move a lot of files into internal dir
Outside of it are web and stuff that needs further refactoring
2024-06-04 23:26:49 +03:00
Timur Ismagilov
5522542a7f Move admin-related stuff to the web 2024-06-04 23:16:30 +03:00
Timur Ismagilov
f34773e028 Move stuff 2024-06-04 23:05:25 +03:00
Timur Ismagilov
42da5cced2 Move change password and translate it 2024-06-04 23:03:32 +03:00
Timur Ismagilov
65989c1db1 Move /user-list to the new system 2024-06-03 23:22:22 +03:00
Timur Ismagilov
bf03105d09 Move auth routing to web 2024-06-03 23:07:35 +03:00
Timur Ismagilov
3b6a55f6a7 Move the backlink handlers to the web package 2024-06-03 23:00:28 +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