История коммитов
4473 коммита
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.
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.
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.
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.
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.