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

1930 commits

Author SHA1 Message Date
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
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
61693f4a4a Exit without errors (but with warning message) if database is empty, and with appropriate message if database_version exists but doesn't have gochan db version 2025-04-20 14:03:22 -07:00
Eggbertx
f370c4bd37 Merge branch 'master' into audit-config-fields 2025-04-20 10:52:40 -07:00
Eggbertx
8dfc6f64fc Update Docker README file with more info 2025-04-20 01:08:58 -07:00
Eggbertx
3702ab6deb Use single template json file, make necessary changes to the configuration for docker in build-images.sh, and add /etc/gochan/ as a volume 2025-04-20 00:14:16 -07:00
Eggbertx
bb8f9dcc93 Update required Go version in go.mod and installed version in vagrant/bootstrap.sh, add Node.js and NPM installation in vagrant/bootstrap.sh for frontend 2025-04-19 21:54:39 -07:00
Eggbertx
d5e6bb9a11 Update Go version in Dockerfile, add frontend building to shell script and fix view drop order 2025-04-18 14:42:00 -07:00
Eggbertx
3cbf75db1d Merge branch 'master' into audit-config-fields 2025-04-18 14:11:22 -07:00
Eggbertx
331d437c0e Update Go tag in Dockerfile, update config file, and fix Postgres compatibility issues in reset_views.sql 2025-04-18 14:06:50 -07:00
Eggbertx
f661c30441 Use mutex in BuildBoards to improve synchronization 2025-04-16 17:09:31 -07:00
Eggbertx
fe28ca1660 Update Go dependencies 2025-04-16 17:04:15 -07:00
Eggbertx
f37dbbc840 Rename threads column spoilered to is_spoilered for consistency 2025-04-16 16:57:44 -07:00
Eggbertx
00fb6a5688 Merge branch 'master' into audit-config-fields 2025-04-16 16:56:25 -07:00
Eggbertx
5c994674ac
Merge pull request #125 from gochan-org/dependabot/go_modules/golang.org/x/net-0.38.0
Bump golang.org/x/net from 0.36.0 to 0.38.0
2025-04-16 16:47:17 -07:00
dependabot[bot]
5a7fe2a98b
Bump golang.org/x/net from 0.36.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 23:19:22 +00: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
b8547af58d Update ERD 2025-04-09 23:04:51 -07:00
Eggbertx
01faaa992f Add spoilered column to threads table and improve initdb scripts to remove comments and properly get sql directory relative to script directory 2025-04-09 22:29:59 -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