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

1903 commits

Author SHA1 Message Date
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
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
d0dbf82574 Add option to move orphans to a backup directory instead of deleting them 2025-04-05 20:41:08 -07:00
Eggbertx
739fdcd3fc Add script to search for and delete orphaned files 2025-04-05 20:05:32 -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
734274d4ff Fix delete "file only" for embed posts 2025-03-31 22:24:52 -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
af07b34752 Show embed on IP search page and add sample embed script for Youtube, Vimeo, and raw video embedding 2025-03-23 16:13:14 -07:00
Eggbertx
c648b41795 Show embed media URL in place of upload info 2025-03-23 14:55:08 -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
8470ef2b89 Remove border from embed iframe 2025-03-16 14:02:30 -07:00
Eggbertx
388ba21d17 Improve rawvideo example to use configured embed width/height as maximum instead of fixed size 2025-03-16 13:58:22 -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
28f9029a54 Apply upload styling to embeds, remove unused thumbnail styles 2025-03-16 13:44:34 -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