Commit Graph

9 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
2702b4da63 Update gorilla/feeds and fix JSON Feeds (untested) 2024-06-01 23:31:50 +03:00
Timur Ismagilov
4ab9a88437 Remove some unused stuff 2022-02-20 13:11:29 +03:00
Elias Bomberger
d8c82855ff Add the "same" option for feeds.
Feeds items used to only be grouped if they had the same author.
Now this can be configured to require the same author, message, both, or neither.
2021-10-27 21:11:20 -04:00
Elias Bomberger
8ed6dd15bf Make recent-changes feeds able to look farther back for revisions.
Before, grouped feeds would only use the last 30 revisions.
If part of a group was outside these revisions, it would be handled incorrectly.
Now, grouped feeds contain the last 30 groups, and use as many revisions as needed for this.
2021-10-26 22:45:38 -04:00
Elias Bomberger
6cb4161dd8 Make trivial improvements to the new recent-changes feed
Add wiki name and remove author from feed metadata
Hyphenate order settings
Change default order from new-to-old to old-to-new
Only group edits from the same author
Add author to feed item titles
2021-10-26 18:50:01 -04:00
Elias Bomberger
114e18bcbd add feed grouping (#61) 2021-10-25 20:58:25 -04:00
Elias Bomberger
924b011e06 reorganize the history package (and rewrite some parts with qtpl)
start work on grouping edits in feeds
2021-10-22 22:15:48 -04:00