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

1384 commits

Author SHA1 Message Date
Eggbertx
3fd9778427 Simplify querying for building.Post 2024-01-09 13:51:24 -08:00
Eggbertx
0e34698257 Add more Postgres db migration for IP -> INET, split dbtypes into their own files 2024-01-09 13:11:22 -08:00
Eggbertx
d294462968 Fix SQL string replacer messing with prepared statements in Postgres 2024-01-02 17:02:42 -08:00
Eggbertx
121959fa15 Convert DBPREFIXposts.ip and DBPREFIXreports.ip to VARBINARY 2024-01-01 13:30:32 -08:00
Eggbertx
204ae9506f Update ban page and ban submission to accomodate ranges 2023-12-31 18:02:42 -08:00
Eggbertx
57693ba549 Replace IP field of IPBan with RangeStart and RangeEnd 2023-12-28 23:06:44 -08:00
Eggbertx
04c892bba8 Update gochan frontend version in package-lock, update db version in generated SQL files 2023-12-28 15:43:13 -08:00
Eggbertx
84ae85628f Add LogTime function and don't log expires or appealAt values if ban is permanent or can't be appealed, respectively 2023-12-28 15:40:17 -08:00
Eggbertx
28963eb813 Add IP Range parsing, start working on adding range bans 2023-12-28 00:36:24 -08:00
Eggbertx
8e9543970a Remove "Verbosity" config field and rename "DebugMode" to "Verbose" for enabling command line output on errors 2023-12-27 17:07:33 -08:00
Eggbertx
138b41bf0a Don't check GeoIP (to be fixed in the next release) 2023-12-27 12:01:02 -08:00
Eggbertx
e968dc875a Finish browser-based template editor, resolves issue #90 2023-12-26 17:02:09 -08:00
Eggbertx
6fbfb731bd Sort template list before it is returned 2023-12-21 16:58:53 -08:00
Eggbertx
7e07e24f16 Add template loading to the templates manage action 2023-12-21 15:55:29 -08:00
Eggbertx
a8436c5ee4 Fix some issues reported by DeepSource 2023-12-19 14:33:40 -08:00
Eggbertx
28a5ef63e3
Merge pull request #92 from gochan-org/template-editor
Update Go dependencies
2023-12-19 13:59:11 -08:00
Eggbertx
b252e65ba7 Make templates private, accessible via template filename 2023-12-19 13:32:25 -08:00
Eggbertx
9781726ce5
Merge pull request #91 from gochan-org/dependabot/go_modules/golang.org/x/crypto-0.17.0
Bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-19 09:21:40 -08:00
dependabot[bot]
499700bf80
Bump golang.org/x/crypto from 0.14.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:37:17 +00:00
Eggbertx
4c73891ff5 Add template override page (doesn't do anything yet) 2023-12-10 20:46:08 -08:00
Eggbertx
72d6b08a27 Close QR box if persistentqr is false (or not set, defaults to false) 2023-12-10 12:59:46 -08:00
Eggbertx
00a02a699a Fix storage -> element goofiness 2023-12-09 12:38:59 -08:00
Eggbertx
edd2c30d32 Use the default style set in the boards table before checking board.json 2023-12-08 15:29:04 -08:00
Eggbertx
ad8fb416bd Fix boolean settings, store default theme value as backup DOM attribute 2023-12-07 14:36:10 -08:00
Eggbertx
d4335cf5b9 Fix board-specific theming being overwritten by the frontend, update some NPM packages 2023-12-07 12:47:43 -08:00
Eggbertx
2e5e56b142 Add webPathDir template function (appends a trailing slash) 2023-12-07 12:11:58 -08:00
Eggbertx
5785530279 Set Username field in example config to empty string, remove unused SiteHeaderURL 2023-12-07 11:23:39 -08:00
Eggbertx
5980283218 Add MaxMind GeoIP loading 2023-12-06 14:54:51 -08:00
Eggbertx
78fe84ad7f Add some more info to gochan.example.json for DB stuff 2023-12-05 11:57:52 -08:00
Eggbertx
41ecd3faba Update changed example configuration file paths 2023-12-05 11:44:56 -08:00
Eggbertx
fa8adb98ed Add external modules to plugin API documentation 2023-11-17 12:09:39 -08:00
Eggbertx
735470081c Add JSON support to Lua and IPHub plugin 2023-10-27 17:03:13 -07:00
Eggbertx
21e14f356f Have the Akismet plugin load the key from a file 2023-10-27 14:56:11 -07:00
Eggbertx
52c0de39de Use generic Akismet key string 2023-10-27 10:26:16 -07:00
Eggbertx
79b5eb9996 Simplify table key alias checking 2023-10-26 10:54:31 -07:00
Eggbertx
a417d49df9 Replace http lua library with just a client for significantly smaller binary size 2023-10-25 13:52:31 -07:00
Eggbertx
9688082339 Move Lua plugin loaders to their respective gochan packages 2023-10-24 16:27:27 -07:00
Eggbertx
c9abd7a162 Remove expects from ban_ip explanation, since table is all optional stuff 2023-10-24 15:51:17 -07:00
Eggbertx
7e6936f509 Update plugin documentation with ban_ip 2023-10-24 15:45:36 -07:00
Eggbertx
b0c6f2bd98 Move staff argument in ban_ip out of table 2023-10-24 15:38:13 -07:00
Eggbertx
1dabea35df Add ban_ip lua function 2023-10-24 15:22:41 -07:00
Eggbertx
689a6da67c require gclog in check_links plugin example 2023-10-24 14:12:03 -07:00
Eggbertx
0fd9a3a812 Use stdout instead of stderr for multiwriter 2023-10-23 10:33:53 -07:00
Eggbertx
9a8cd64d2d Move Akismet checking to plugin 2023-10-20 16:49:46 -07:00
Eggbertx
553f49d783 Update Go and NPM dependencies 2023-10-20 09:41:37 -07:00
Eggbertx
8f9e64eb8e Add http requests and await/async to Lua plugins 2023-10-19 11:54:12 -07:00
Eggbertx
08fc8d5507 Remove unnecessary log hook 2023-10-19 11:42:01 -07:00
Eggbertx
b3a57f50a8 Add non-RPC changes to master 2023-10-19 11:33:21 -07:00
Eggbertx
6e40ae8a16
Merge pull request #89 from gochan-org/dependabot/npm_and_yarn/frontend/babel/traverse-7.23.2
Bump @babel/traverse from 7.22.10 to 7.23.2 in /frontend
2023-10-19 11:24:18 -07:00
dependabot[bot]
bf65028510
Bump @babel/traverse from 7.22.10 to 7.23.2 in /frontend
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 04:33:52 +00:00