Skip to content

History of commits

4473 commits

fix(forum): hide the topic when every post of it is chosen for deletion

Deleting the chosen posts could hide every post of a topic and leave the topic in sight with nothing to show: its statistics went empty and the section and the topic answered with an error. Choosing every post still in sight now hides the topic instead and leaves the posts as they are, as hiding the last post one by one already does. Posts hidden before are not hidden again.
simba77 15 نوفمبر 2026 21:48 Branch: 10.x 52d057f

fix(forum): change topics and polls only from a form

Closing, pinning and restoring a topic, deleting the poll and deleting an answer of it no longer happen on opening an address: they are POST forms, and the two deletions ask in the dialog of the page (RequireConfirmationMiddleware). Deleting an answer has a route of its own, POST /forum/editvote/{id}/answers/{answer}/delete; the poll confirmation pages are gone. A vote and a removed poll lead back to the topic and say so in a toast instead of a result page built from the referer. New Topic is a plain link.
simba77 15 نوفمبر 2026 21:36 Branch: 10.x ec5d45d

feat(guestbook): turn the replies of the staff into answering entries

A stored reply becomes an entry of its own that answers the entry it was written under, with its time and guestbook; it goes to the account of the name it carries when exactly one account has it. Its pictures follow it, as a copy when the entry shows them too. The reply screen /guestbook/otvet, its permission guestbook.entry.reply and the columns admin, otvet and otime are gone.
simba77 15 نوفمبر 2026 20:36 Branch: 10.x 8836fdc

feat(guestbook): answer an entry and notify its author

An entry keeps the one it answers in guest.reply_to_id and recalls it with a link to its lasting address; the author of the entry answered is notified, a guest answering included, and the notification goes with the answer. The guestbook reuses the reply and quote script of the comments, which now reads the id of a comment from data-comment-id.
simba77 15 نوفمبر 2026 20:30 Branch: 10.x 91e84e6

feat(guestbook): give every entry a lasting link

/guestbook/entry/{id} finds the page the entry is on when it is opened and switches to the admin club for an entry of it; the date of an entry is that link. Entries of the same second are ordered by id, so the count and the feed agree.
simba77 15 نوفمبر 2026 20:24 Branch: 10.x 11773f2