1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-05 12:56:22 -07:00
Commit graph

112 commits

Author SHA1 Message Date
Eggbertx
0ceaecdb8c Add more logging info for wordfilter editing 2022-11-10 12:44:28 -08:00
Eggbertx
5154aa93cc Pass Error and info events to manage action callback functions 2022-11-10 12:18:13 -08:00
Eggbertx
879da1eaa2 Fix staff logins 2022-11-09 10:56:10 -08:00
Eggbertx
b16fdc81b8 Fix building errors for de-deprecation 2022-11-09 10:15:37 -08:00
Eggbertx
379e846daf Add filename and username banning, add more de-deprecation stuff to posting/post.go 2022-11-07 12:56:51 -08:00
Eggbertx
2314005ba1 Add more manage code 2022-10-31 12:27:41 -07:00
Eggbertx
bcad625368 Add filename and checksum ban creation and deletion from web interface
Related to issue #28
2022-09-15 22:50:45 -07:00
Eggbertx
943c0f6221 Add filebans staff action, related to issue #28
though currently it can only view, not add new bans
2022-09-15 21:37:56 -07:00
Eggbertx
ee61fcb30f Replace gclog/gzlog with structured logging via zerolog 2022-09-04 14:27:14 -07:00
Eggbertx
2ff9b0df83 Improve staff page logging, fix username getting 2022-09-03 16:19:31 -07:00
Eggbertx
17833e78ad remove more gclog calls from gcsql 2022-09-03 15:25:50 -07:00
Eggbertx
9542949413 Remove file i/o from gcsql package for better organization 2022-09-03 14:13:49 -07:00
Eggbertx
d5c9d4e657 Fix manage postinfo action 2022-08-28 11:55:08 -07:00
Eggbertx
36fbf6d45d Add IP search tool 2022-08-27 23:37:59 -07:00
Eggbertx
af93aff9fe Add the ability to edit and delete sections 2022-08-08 15:43:05 -07:00
Eggbertx
dc6cac7213 Add stuff to be able to create a board section from the web interface 2022-08-07 22:32:37 -07:00
Eggbertx
8e3a7c493a Add board sections template and action 2022-08-07 22:02:06 -07:00
Eggbertx
fc47afafb5 Add link back to staff dashboard 2022-08-01 16:08:57 -07:00
Eggbertx
c64103c6b5 Add report dismissal and ability to block reports for a post
Currently, only the admin is allowed to block reports
2022-07-27 11:19:03 -07:00
Eggbertx
326c95a39e Add reports manage page 2022-07-26 12:13:27 -07:00
Eggbertx
28a53add0a Show correct role on staff dashboard 2022-07-25 14:13:33 -07:00
Eggbertx
84ad96e465 Add Board property to MessagePostContainer 2022-07-25 09:29:00 -07:00
Eggbertx
ee0910da78 Add action to delete wordfilter 2022-07-22 14:56:14 -07:00
Eggbertx
9f5f5c697c Make wordfilter creation work 2022-07-21 16:11:23 -07:00
Eggbertx
462f1b3c6a Make wordfilter editing work 2022-07-21 15:50:38 -07:00
Eggbertx
b85c943cf5 Add manage page to clear all login sessions for the current user at /manage?action=clearmysessions
Resolves issue #40
2022-01-31 22:35:47 -08:00
Eggbertx
f85959c8e3 Add wordfilters manage page 2022-01-31 09:47:19 -08:00
Eggbertx
8e706a313c Make template for recent posts page
Also make manage page h1 headers automatic
2022-01-29 23:47:13 -08:00
Eggbertx
33388612d7 Add modifyable title for mgmt pages 2022-01-29 20:46:00 -08:00
Eggbertx
8fe0ed3e52 Add Windows 9x theme (unfinished) 2022-01-16 21:13:56 -08:00
Eggbertx
67df39ffd9 Fix board editing, resolves #51 2022-01-16 14:38:57 -08:00
Eggbertx
656c2a3046 Fix board deletion and partially fix modification 2022-01-16 14:11:55 -08:00
Eggbertx
9e82333c47 (re)add board creation related to issue #51 2022-01-16 13:30:33 -08:00
Eggbertx
a0966925cb Rewrite board edit template, related to issues #51 and #52 2022-01-15 21:20:43 -08:00
Eggbertx
f820de079a Make the staff dashboard page useful 2022-01-07 14:44:42 -08:00
Eggbertx
b2318af7a3 Use generic page header for manage pages, add login template 2022-01-04 17:48:46 -08:00
Eggbertx
9fb5ebbd0b Turn staff action map into an array for more control over ordering 2022-01-01 16:03:39 -08:00
Eggbertx
352cb0227f Simplify controling the JSON-compatible output for manage pages
Rather than having to check whether the user is requesting JSON output in each action, it is done automatically
2021-12-23 14:41:49 -08:00
Eggbertx
16b9b4a92f Make manage action output partlyJSON compatible as part of issue #50 2021-12-22 21:13:04 -08:00
Eggbertx
2e54fd81aa Minify all management stuff 2021-11-29 22:06:18 -08:00
Eggbertx
a6a37bb29f Use template for staff manage page 2021-11-29 21:53:47 -08:00
Eggbertx
9c75b85eb3 Add configuration documentation, finish cfg refactoring 2021-08-01 22:44:53 -07:00
Eggbertx
77380750ae Finish separating config into separate structs 2021-07-11 16:30:39 -07:00
Eggbertx
dfdb926d71 Add partially refactored configuration changes 2021-07-11 11:51:29 -07:00
Eggbertx
c385a39bec Add config option to set max age for staff cookies
resolves  #41
2021-03-26 11:10:05 -07:00
Eggbertx
cb7913398c Make config loading more flexible and powerful
Improve value validation, allow for defaults and set critical fields
2021-03-02 17:42:07 -08:00
Eggbertx
cba60dc06b Clean up /manage handler, refer to manage functions as actions 2020-10-10 16:17:36 -07:00
Eggbertx
55317504a1 Fix anti-patterns pointed out by DeepSource
But not the switch fallthroughs/expression lists, there's no benefit
2020-07-09 15:54:31 -07:00
Eggbertx
ba1f49a47c Fix broken thumbnail expansion in frontend refactor
Also remove unnecessary error logging in manage.GetStaffRank
2020-07-08 22:46:05 -07:00
comraderat
83d9bbafdf Fix bug not reparsing html 2020-07-08 21:00:46 +02:00