История коммитов

simba77
feat: log who sent a request refused for its CSRF token
The warning names the address and the user agent of the client and whether the request carried the cookie of a session, so a robot posting a form blind can be told from a visitor whose session ran out.
simba77
feat(admin): mark a stat card that is a link with an arrow
A card that leads to a list showed it only under the pointer, so beside cards that are numbers alone it did not read as a link. It carries an arrow in its corner now, which lights up with the accent under the pointer.
simba77
feat(forum): rebuild the hidden topics and posts as one live list with tabs
/admin/forum/hidden lists the hidden posts as blocks with their author, topic and an excerpt of the text, and the hidden topics as a table, searched by the author or the topic and narrowed to an author, a topic, a section or who hid them. What is found is deleted for good in a dialog that says how much goes. The page asks for the right to see hidden content and emptying it for the right to purge; the old pages at /admin/forum/hidden-posts and /admin/forum/hidden-topics are gone. The addresses of the authors show as they are rather than read as numbers once more, and emptying the list takes the files marked deleted as well.
simba77
test(forum): record what the lists of hidden topics and posts show and delete before rebuilding them
simba77
fix: keep the messages of a settings page as wide as its form
The antiflood, the karma and the settings of the news put their messages and the text above the form outside the column of the form, so on a wide screen they ran across the whole page. They stand in the column now; the karma keeps the same spacing after them as the other pages.
simba77
feat(forum): rebuild the settings of the forum as cards
The settings show what they change: the file counters, the meta tags of the main page of the forum and the templates of the meta tags of its sections and topics, with the macros each template takes. The template gets the settings as a ForumSettingsDTO with every key filled in.
simba77
feat(forum): delete a section of the forum in a dialog that asks where its content goes
The dialog at /admin/forum/sections/{id}/delete says what the section holds and offers, by their paths, the sections its sections or topics can go to: the root or any section of sections but its own, any other section of topics. Whoever may destroy the structure can delete the topics with it instead. The tree reports what was done. The old pages under /admin/forum/structure/{id}/delete are gone, and so is moving the sections of a category under a section of its own.
simba77
fix(forum): move and delete the hidden topics, posts and files of a section as well
The structure asked for topics, posts and files through the scopes that hide them from a reader, so an administrator without the right to see hidden ones moved a section of topics without its hidden topics and files, and deleted a section with its hidden topics and posts left behind.
simba77
test(forum): record how a section is deleted before rebuilding the deletion
simba77
feat(forum): rebuild the form of a section as one form for adding and editing
The form lives at /admin/forum/sections/new and /admin/forum/sections/{id}/edit, saves in place with a message and has a save and close; the old addresses under /admin/forum/structure are gone. The name is 2 to 150 characters both ways, the meta fields are limited, every section has an access, an empty order goes to the end. A section goes only under the root or a section of sections, and keeps the kind of what it holds while it holds anything. countTopics() counts hidden topics too, so deleting a section of hidden topics alone no longer leaves them without a section.