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

1956 commits

Author SHA1 Message Date
Eggbertx
8c14bf18d7 Add option to skip admin creation if the database appears to be provisioned already 2025-07-19 19:33:18 -07:00
Eggbertx
062cafc4f2 consolidate path validation, remove platform-specific files from gochan-installer (since that is now handled by the config package) 2025-07-11 15:54:03 -07:00
Eggbertx
564d659e02 Don't create /etc/gochan or /var/log/gochan during vagrant provisioning, since gochan-install will do that 2025-07-11 14:58:45 -07:00
Eggbertx
1a3877c807 Fix failing building unit tests 2025-07-10 16:28:13 -07:00
Eggbertx
8f70343880 Properly stop installer server after last page has been rendered and sent 2025-07-10 12:39:17 -07:00
Eggbertx
db6194a5fd Add DBVERSION SQL replacer constant 2025-07-10 12:00:37 -07:00
Eggbertx
65c203f464 Use platform-specific configuration search paths for macOS, Unix, and Windows 2025-07-08 12:56:33 -07:00
Eggbertx
bbf7f5f097 re-add missing staff creation code 2025-06-27 17:13:40 -07:00
Eggbertx
d5f489ef22 implement all installer pages, add DBPREFIX to constraints (not necessary to update if already installed) 2025-06-27 17:01:57 -07:00
Eggbertx
ccad76ff28 Use constants for environment variables, check GOCHAN_CONFIG value before standard gochan.json locations 2025-06-26 10:10:17 -07:00
Eggbertx
80bc25135a Add path form validation 2025-05-19 22:29:56 -07:00
Eggbertx
a45a2984d5 Add form fields for configuration paths, update database test handling 2025-05-19 21:41:30 -07:00
Eggbertx
7c9164d432 Fix installer.scss filename 2025-05-19 21:40:10 -07:00
Eggbertx
6a87d74258 Implement database configuration and validation 2025-05-16 14:19:52 -07:00
Eggbertx
772bd265f9 Start setting up gochan-installer for providing a web interface for setting up configuration 2025-05-15 14:13:15 -07:00
Eggbertx
fbee82edee Fix gochan-migrate not running if DBprefix is empty 2025-05-11 20:12:01 -07:00
Eggbertx
82825c6386 Fix regression, re-add cyclic field setting 2025-05-09 00:11:46 -07:00
Eggbertx
6aa021b7b0 Update tests 2025-05-08 21:48:41 -07:00
Eggbertx
92fb3bdb1f Rebuild board if a ban adds a ban message to a post 2025-05-08 21:45:08 -07:00
Eggbertx
5ccf90e04a Fix dashboard not showing all available actions 2025-05-08 21:07:11 -07:00
Eggbertx
4b0031160e Remove displayed ban ID from ban page 2025-05-08 19:43:25 -07:00
Eggbertx
4598aced3b use term.ReadPassword for reading os.Stdin to a password 2025-05-08 19:34:50 -07:00
Eggbertx
4778a631ba Improve password handling by returning an error on abortion and checking in the calling function 2025-05-08 17:38:22 -07:00
Eggbertx
25790fb5d7 Update tests involving staff creation 2025-05-08 17:15:01 -07:00
Eggbertx
95db89e2a3 Check for existence of user before trying to insert, for a more user-friendly error message 2025-05-08 16:50:00 -07:00
Eggbertx
7a4d28d3d9 Refactor command line initialization and logging error handling 2025-05-08 16:34:11 -07:00
Eggbertx
d923c73000 Rework command line staff management commands and password handling, update logging initialization options, and bump version to 4.2.0 in preparation for upcoming release 2025-05-07 14:51:57 -07:00
Eggbertx
305b557e41 Refactor threads table, rename cyclical attribute to cyclic for consistency 2025-05-02 11:47:01 -07:00
Eggbertx
d7f2995333 Add other staff callback tests 2025-05-01 16:23:00 -07:00
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
4cca346f47 Implement frontend spoiler handling, refactor loading to reduce FOUC 2025-04-24 15:36:33 -07:00
Eggbertx
13f29a5836 Remove default values from Info column in config.md 2025-04-24 11:19:30 -07:00
Eggbertx
9191c6e380 (re)build consts.js on startup 2025-04-22 17:39:36 -07:00
Eggbertx
512b7856aa Merge branch 'version-package' 2025-04-22 17:32:23 -07:00
Eggbertx
82b49bb829 Get gochan version in build.py from config.go constant string 2025-04-22 17:31:48 -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
ae8b874e69
Merge pull request #129 from gochan-org/update-config-docs
Auto-update config.md
2025-04-22 17:02:54 -07:00
Eggbertx
879fd7f0bc Automatically update configuration documentation 2025-04-22 23:10:32 +00: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