1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-04 20:16:24 -07:00
Commit graph

138 commits

Author SHA1 Message Date
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
Eggbertx
e6838817fd Replace GcError struct usage with builtin error
Creating it was probably a bad idea and not worth the trouble.
2020-06-06 09:28:45 -07:00
Eggbertx
75dbaa4676 Add command line option to rebuild templates on startup 2020-06-03 12:54:12 -07:00
Eggbertx
feec3d87e8 replace (most) uses of builtin error with *gcutil.GcError 2020-05-28 12:49:41 -07:00
comraderat
193913bcb4 Changes formatted message to template.HTML 2020-05-24 18:56:24 +02:00
comraderat
ce1da78361 Add option lister to manage endpoint 2020-05-22 18:06:15 +02:00
comraderat
4ace56a661 Changed ip back to varchar for old db compatibility
Might change later, or not.
2020-05-17 16:32:22 +02:00
comraderat
68059c28eb Implement some more queries 2020-05-11 15:20:49 +02:00
comraderat
ebde565479 Implement bans 2020-05-04 14:16:51 +02:00
comraderat
89e09738e5 Implement fileban and some utility functions 2020-05-04 13:57:00 +02:00
comraderat
bae28256e0 Removed non-functional staff boards field 2020-05-03 13:37:33 +02:00
comraderat
0d8cbff20d Get and set methods for messages implemented 2020-05-03 13:37:33 +02:00
Eggbertx
d1292bd9fe refactor/reorganize gochan's source code into subpackages
Also use Go version 1.11 in vagrant for module support
2020-04-29 17:44:29 -07:00