1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 11:46:22 -07:00
Commit graph

1384 commits

Author SHA1 Message Date
Eggbertx
f786ff4269 Update board configurations when the board array is reset 2023-04-10 08:31:27 -07:00
Eggbertx
33dda4d4ef Add first banner file 2023-04-07 21:11:43 -07:00
Eggbertx
ada23ffed8 Print a separate string if the database was updated instead of migrated 2023-04-07 15:11:02 -07:00
Eggbertx
b132c54789 Update README with more info on gochan-migration and MariaDB/MySQL
Also update the TODO list
2023-04-07 15:04:41 -07:00
Eggbertx
17c28e5ebe Move database schema updating to gochan-migration 2023-04-07 14:34:28 -07:00
Eggbertx
1da4330780 Store gochan version in build.py instead of reading it from version 2023-04-07 12:35:12 -07:00
Eggbertx
9f7d5ad3ac Add function for checking default values with generics 2023-04-03 14:20:28 -07:00
Eggbertx
4247c1f56e use current time for ban appeal and expiration timestamps to avoid timestamp issues 2023-03-30 08:23:52 -07:00
Eggbertx
29f54a6064 parse command line flags in gochan-migration before loading config 2023-03-29 09:35:46 -07:00
Eggbertx
d4f1ce4d45 Add sample-plugins dir to the list of release files 2023-03-29 08:27:13 -07:00
Eggbertx
5de1d61a3d
Merge pull request #73 from gochan-org/mysql-compatibility
Fix compatibility with mainline MySQL
2023-03-27 20:21:34 -07:00
Eggbertx
e14e1f176b Clean up connect.go a little and update version for release 2023-03-27 20:11:58 -07:00
Eggbertx
881a87c6b1 Fix alter table SQL statement in sqlite3 block
Also, add environment variable for installing mainline MySQL (instead of MariaDB) in vagrant
2023-03-27 19:51:34 -07:00
Eggbertx
353b5d7552 Alter table to fix MySQL collation wonkyness 2023-03-27 16:44:59 -07:00
Eggbertx
d2216d0cdf Add some compatibility fixes caused by unexpected differences between MariaDB and mainline MySQL 2023-03-27 15:35:26 -07:00
Eggbertx
424cb2d39f
Merge pull request #70 from gochan-org/dependabot/go_modules/golang.org/x/image-0.5.0
Bump golang.org/x/image from 0.0.0-20191009234506-e7c1f5e7dbb8 to 0.5.0
2023-03-19 19:13:50 -07:00
dependabot[bot]
9c0e24bbba
Bump golang.org/x/image from 0.0.0-20191009234506-e7c1f5e7dbb8 to 0.5.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20191009234506-e7c1f5e7dbb8 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 00:21:13 +00:00
Eggbertx
bbd055f9d3 Use trimpath go build flag in build.py 2023-03-19 16:58:25 -07:00
Eggbertx
3e9979e5d6 Fix exif stripping configuration (exiftool not yet used) 2023-03-19 16:56:26 -07:00
Eggbertx
9c0d109978 Start using go 1.18, as required by an upgraded module 2023-03-19 16:55:01 -07:00
Eggbertx
6f6b2b05a1
Merge pull request #69 from gochan-org/dependabot/go_modules/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0
2023-03-19 16:25:25 -07:00
Eggbertx
637c357bf3 rename struct ErrInvalidValue to InvalidValueError, remove unused function GochanConfig.ToMap()
Also check exiftool path in ValidateValues if relevant settings are set
2023-03-19 16:23:39 -07:00
dependabot[bot]
eef3d3afb8
Bump golang.org/x/net from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 02:02:51 +00:00
Eggbertx
69654caeb4 Make thread movement use proper password, improve logging 2023-02-15 11:53:00 -08:00
Eggbertx
46db3e0abc Fix edit post not letting non-privileged users edit their posts 2023-02-11 15:33:15 -08:00
Eggbertx
0ec36c2840 un-disable the code bbcode tag 2023-02-11 14:36:25 -08:00
Eggbertx
017cdd4459 Add thread status icons to catalog 2023-02-09 12:44:17 -08:00
Eggbertx
f82b9761f8 Make stickied threads show up on top 2023-02-09 11:25:21 -08:00
Eggbertx
371372645c Show proper omitted post count, add omitted image count to board page
Also show sticky icon for stickied threads, though stickying hasn't been fully implemented yet
2023-02-09 09:55:50 -08:00
Eggbertx
69320d5df4 Add lock/unlock option to post dropdown 2023-02-08 12:40:36 -08:00
Eggbertx
5956223d1f Build thread page on attribute change 2023-02-03 12:58:47 -08:00
Eggbertx
94ca564e06 Rebuild the board page if a thread attribute was changed 2023-02-03 12:48:50 -08:00
Eggbertx
b8f53cb029 Fix thread/top post inconsistency in threadattrs manage page 2023-02-03 12:03:12 -08:00
Eggbertx
76f583e56f Move eslint globals to eslint file 2023-02-03 11:36:48 -08:00
Eggbertx
016bf2a447 Fix qr using the wrong boardid 2023-02-03 11:36:31 -08:00
Eggbertx
8f21f97f9d Show lock icon by locked threads 2023-02-03 10:31:47 -08:00
Eggbertx
bef2e1875b Add GET handler for /post, redirect to site root 2023-02-03 08:02:24 -08:00
Eggbertx
46452028af Make thread/board locks actually prevent posting 2023-02-02 12:25:27 -08:00
Eggbertx
78c510c881 Properly show an error message if an invalid board is requested in threadattrs 2023-02-02 11:27:33 -08:00
Eggbertx
34cab06311 Add ability to update thread attributes from manage page 2023-02-02 11:12:39 -08:00
Eggbertx
0f0c9362eb Add thread attributes manage page 2023-01-28 15:23:44 -08:00
Eggbertx
39fdb320c9 Add autofocus attribute to login username field 2023-01-26 10:30:49 -08:00
Eggbertx
a3d1613479 Add icon for locked posts 2023-01-26 10:15:07 -08:00
Eggbertx
235bb40897 condense html/static/* paths to html/static/ in build.py 2023-01-26 09:42:15 -08:00
Eggbertx
4019e23d32 Move sounds and non-css images to /html/static 2023-01-26 09:38:04 -08:00
Eggbertx
080a7fa207 Add icon for stickied posts 2023-01-26 09:25:18 -08:00
Eggbertx
fe201ad2ac Sort posts on catalog by last_bump 2023-01-26 08:06:57 -08:00
Eggbertx
052123a273 Fix gochan path in build.py install() 2023-01-24 11:22:50 -08:00
Eggbertx
7e80580018 replace ! operator with = FALSE since some SQL providers don't support ! 2023-01-24 09:38:26 -08:00
Eggbertx
690c77d2de Add code for pruning old threads to be run when the board is built 2023-01-19 12:31:08 -08:00