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

1159 commits

Author SHA1 Message Date
Eggbertx
ef5a9f49c3 Add webp, zip, pdf uploading support 2023-04-26 13:10:38 -07:00
Eggbertx
23b3ffee59
Merge pull request #75 from gochan-org/dependabot/npm_and_yarn/frontend/yaml-and-htmlnano--removed
Bump yaml and htmlnano in /frontend
2023-04-25 16:52:11 -07:00
dependabot[bot]
3d613732d6
Bump yaml and htmlnano in /frontend
Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependency [htmlnano](https://github.com/posthtml/htmlnano). These dependencies need to be updated together.


Removes `yaml`

Updates `htmlnano` from 2.0.2 to 2.0.4
- [Release notes](https://github.com/posthtml/htmlnano/releases)
- [Changelog](https://github.com/posthtml/htmlnano/blob/master/CHANGELOG.md)
- [Commits](https://github.com/posthtml/htmlnano/compare/2.0.2...2.0.4)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
- dependency-name: htmlnano
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 06:18:22 +00:00
Eggbertx
8a64297e4d Don't build legacy db files by default 2023-04-24 11:57:09 -07:00
Eggbertx
20ab2397f1 Build gochan on first run in startup script 2023-04-23 21:56:49 -07:00
Eggbertx
608ff24d9a Move chain command in Dockerfile CMD to startup script, update Go version in Docker 2023-04-23 20:52:41 -07:00
Eggbertx
4216751847 Add db_query() and db_scan_rows() to plugin system (still in progress) 2023-04-22 16:32:32 -07:00
Eggbertx
761074d6b2 Add a few more event triggers, to be triggered only once 2023-04-20 08:25:21 -07:00
Eggbertx
ae7350e1c5
Merge pull request #74 from grosa1/fix/dockerfile-smell-DL3025
Fix for Dockerfile smell DL3025
2023-04-16 16:51:14 -07:00
grosa1
ccac77ca73 Fix for Dockerfile smell DL3025
Signed-off-by: grosa1 <g.rosa1@studenti.unimol.it>
2023-04-16 13:12:09 +02:00
Eggbertx
f0c13f21ba Make image metadata stripping (via exiftool) work 2023-04-15 10:43:00 -07:00
Eggbertx
d33b64cf95 remove tick printing in temp cleaner 2023-04-14 13:32:17 -07:00
Eggbertx
522783e103 Clean up temp post cleaner 2023-04-14 12:41:06 -07:00
Eggbertx
4420011125 Fix thumbnailing for very very short videos 2023-04-14 12:17:09 -07:00
Eggbertx
423dd25713 Correct extensions for video uploads (missing period at beginning) 2023-04-14 08:46:24 -07:00
Eggbertx
eef1599024 Organize thumbnailing-specific functions into their own source file 2023-04-14 08:28:23 -07:00
Eggbertx
623e2f4352 Add a list of events for reference.
Also have it trigger an event when an upload is written to the disk and log warnings if an event recovers from panic()
2023-04-13 15:15:29 -07:00
Eggbertx
1968cb77d2 Fix postref hyperlinks being formatted incorrectly 2023-04-13 10:50:19 -07:00
Eggbertx
3d18e593fd Split actions.go by rank requirement for staff 2023-04-13 10:45:30 -07:00
Eggbertx
4d860b8e0a Update path to gochan daemon in systemd unit files 2023-04-13 10:05:03 -07:00
Eggbertx
eca996b546 Fix frontend not getting board string from location for banner 2023-04-11 13:28:54 -07:00
Eggbertx
64956ecd2d Don't override global banners in randomBanner if a board is requested 2023-04-11 12:19:24 -07:00
Eggbertx
8eb173296c Add sample banner to sample config 2023-04-10 15:25:57 -07:00
Eggbertx
cb777fc0eb Update database version in initdb sql files 2023-04-10 15:25:38 -07:00
Eggbertx
f7da3ad9f5 Add request for random banner to server, add code for frontend to use it 2023-04-10 15:13:26 -07:00
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