1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-01 07:26:23 -07:00
Commit graph

731 commits

Author SHA1 Message Date
Eggbertx
6fcb5fb262 Separate staff account password changing from rank changing, add staff callback function tests 2025-05-01 14:54:10 -07:00
Eggbertx
bd1039057b Remove debug print statement from bansCallback function 2025-04-29 22:32:03 -07:00
Eggbertx
6872395449 Add ability to leave public "USER WAS BANNED FOR THIS POST" message, with mod-customizable text 2025-04-29 22:29:21 -07:00
Eggbertx
401662a0a9 Add banned message handling to posts and update related views 2025-04-29 20:16:55 -07:00
Eggbertx
6cfe3d5c3f Properly show page header on filter hits pages 2025-04-29 16:48:19 -07:00
Eggbertx
c41d725ab1 Add struct for /manage callback testing and a login test 2025-04-25 16:17:10 -07:00
Eggbertx
0b0987efad Refactor FuzzyTime.Match to simplify time comparison logic 2025-04-24 20:20:36 -07:00
Eggbertx
6cf305d38c Clean up ban form to use blank duration for permaban 2025-04-24 20:18:27 -07:00
Eggbertx
8d4d2c5655 Add descending order parameter to GetWordfilters and GetBoardWordfilters 2025-04-24 15:51:59 -07:00
Eggbertx
363e8914b3 Show filters in descending order on manage page 2025-04-24 15:50:32 -07:00
Eggbertx
c143596f80 Replace parsed gochan version type with constant string and DB version passed by parameter with constant int 2025-04-22 17:03:52 -07:00
Eggbertx
414a66ecc9 Update thread creation test 2025-04-22 15:23:27 -07:00
Eggbertx
013c05676d Record spoilerthread field when creating thread 2025-04-22 15:19:40 -07:00
Eggbertx
98ccdfaff4 Add Cyclical field to catalogThreadData and update related post query handling 2025-04-21 17:27:47 -07:00
Eggbertx
83f8601334 Refactor thread and post data structures to include IsSpoilered and update related queries and templates (still a WIP) 2025-04-21 17:10:42 -07:00
Eggbertx
6ba9b40894 update expected table creation statements 2025-04-20 15:02:05 -07:00
Eggbertx
b1d267836a Make doesGochanPrefixTableExist public for use in migration, improve error handling for database version retrieval. 2025-04-20 14:48:56 -07:00
Eggbertx
f661c30441 Use mutex in BuildBoards to improve synchronization 2025-04-16 17:09:31 -07:00
Eggbertx
f37dbbc840 Rename threads column spoilered to is_spoilered for consistency 2025-04-16 16:57:44 -07:00
Eggbertx
3dc45fef53 Add spoilered column and migration, update tests in gctemplates to use goquery to not have to test against really big strings 2025-04-13 01:18:55 -07:00
Eggbertx
052a75da28 Update database provision testing strings 2025-04-12 14:54:56 -07:00
Eggbertx
556de0d4ac Show secure tripcodes 2025-04-06 16:07:37 -07:00
Eggbertx
4c0ce122ad Add is_secure_tripcode column to posts and update gochan-migration to add it 2025-04-06 15:08:46 -07:00
Eggbertx
ffac903eb5 Properly order posts in test 2025-04-06 13:42:51 -07:00
Eggbertx
724f62ee59 Show embed thumbnail on front page if template is configured 2025-04-06 13:40:48 -07:00
Eggbertx
a33a5a80c7 Fix front page thumbnails 2025-04-06 12:59:59 -07:00
Eggbertx
0db91f277c Implement thread-unique poster ID 2025-04-05 23:27:08 -07:00
Eggbertx
7690bad025 Exclude embed entries from the list of thread files retrieved 2025-04-05 22:00:09 -07:00
Eggbertx
ce53ad299c Update edit page to handle adding new embed/upload 2025-04-05 16:18:11 -07:00
Eggbertx
a6bba36a8a Start making post edit page compatible with embeds 2025-04-01 22:46:54 -07:00
Eggbertx
1bea3a7e1c Add check for embed before deleting post files 2025-03-31 23:10:05 -07:00
Eggbertx
7368fca829 Remove unused intPtrToBoardDir template function 2025-03-31 22:04:17 -07:00
Eggbertx
37c73fae0d Show link to embed video on recent posts page, show thumbnail on front page 2025-03-29 23:39:42 -07:00
Eggbertx
407eeb1a08 Add more testing to front page and header tests 2025-03-29 21:49:04 -07:00
Eggbertx
d7c6e11dd0 Add unit tests for page header and footer 2025-03-29 21:20:16 -07:00
Eggbertx
67bbb4125c refactor captcha handling, simplify HTML template testing with goquery 2025-03-29 20:19:45 -07:00
Eggbertx
47afdd0ca8 Use zerolog for logging to console (with few exceptions) for consistency 2025-03-29 14:04:43 -07:00
Eggbertx
48fb11a199 Treat recent posts with embed as if they have no thumbnail/upload on front page 2025-03-29 12:59:16 -07:00
Eggbertx
a47e03def4 Add text formatting classes and update report handling logic to dismissing in bulk 2025-03-28 21:55:15 -07:00
Eggbertx
4aab676c67 Improve request validation and logging, implement cleanup for reports of deleted posts. 2025-03-28 17:34:00 -07:00
Eggbertx
faf1457c36 Remove mostly unused Verbose config field, add LogLevel 2025-03-25 21:55:21 -07:00
Eggbertx
9915ed3975 Add global style including and script loading 2025-03-16 17:58:16 -07:00
Eggbertx
74c697d2ec Move embedMedia definition to building, increase embed size 2025-03-16 15:12:23 -07:00
Eggbertx
ace940eaa8 Return an error in embedMedia template function for invalid embed ID and execution failures 2025-03-16 13:47:25 -07:00
Eggbertx
045311f675 Use UploadPath for embedded media URL, refer to it as "media" instead of "video" (since audio could be embedded as well) 2025-03-16 13:16:29 -07:00
Eggbertx
4929366f82 Update templates with embed stuff, add example URL matchers 2025-03-15 23:52:13 -07:00
Eggbertx
2facfe68fc Don't insert upload in AttachEmbed, since it gets inserted later 2025-03-15 22:28:51 -07:00
Eggbertx
309c8cede9 Add more testing stuff, start splitting up embed matching and rendering 2025-03-15 21:33:25 -07:00
Eggbertx
e82d83819f Merge remote-tracking branch 'origin/master' into audit-config-fields 2025-03-13 12:40:13 -07:00
Eggbertx
653bb2c020 Add embed matching to config 2025-03-13 12:39:10 -07:00