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

42 commits

Author SHA1 Message Date
Eggbertx
e446f2a5d7 Add tests for banpage.html template 2024-04-02 11:33:13 -07:00
Eggbertx
8404e3834e Add image and video thumbnail fingerprint checking on post attempt 2024-02-27 20:47:12 -08:00
Eggbertx
5e7a648e37 Start adding ahash fingerprinting support 2024-02-12 15:22:58 -08:00
Eggbertx
24ff232c59 Add flag and country to post queries 2024-01-17 15:55:41 -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
57693ba549 Replace IP field of IPBan with RangeStart and RangeEnd 2023-12-28 23:06:44 -08:00
Eggbertx
28963eb813 Add IP Range parsing, start working on adding range bans 2023-12-28 00:36:24 -08:00
Eggbertx
7e07e24f16 Add template loading to the templates manage action 2023-12-21 15:55:29 -08:00
Eggbertx
d5e614b664 Remove unused manage_config.html template and function, add manage_announcements.html 2023-09-03 00:48:12 -07:00
Eggbertx
aba84ceed2 Use router package instead of GET parameter for manage pages 2023-01-04 15:33:50 -08:00
Eggbertx
cad707baf6 Move board JSON data to separate struct 2022-12-20 16:04:47 -08:00
Eggbertx
585c54c772 Add file checksum verification/ban 2022-11-07 16:37:53 -08:00
Eggbertx
379e846daf Add filename and username banning, add more de-deprecation stuff to posting/post.go 2022-11-07 12:56:51 -08:00
Eggbertx
6567da3300 Add de-deprecation stuff (will not build yet) 2022-10-11 14:26:31 -07:00
Eggbertx
943c0f6221 Add filebans staff action, related to issue #28
though currently it can only view, not add new bans
2022-09-15 21:37:56 -07:00
Eggbertx
9542949413 Remove file i/o from gcsql package for better organization 2022-09-03 14:13:49 -07:00
Eggbertx
af93aff9fe Add the ability to edit and delete sections 2022-08-08 15:43:05 -07:00
Eggbertx
c64d7b16e8 Move internal report creation code to gcsql
Also insert the report's timestamp into the report audit table
2022-07-26 11:31:13 -07:00
Eggbertx
84ad96e465 Add Board property to MessagePostContainer 2022-07-25 09:29:00 -07:00
Eggbertx
0415b3066a If upload is gif and not bigger than a thumbnail, still create a thumbnail if it's animated 2022-06-18 12:49:12 -07:00
Eggbertx
1848e2f073 Add function for handling reports
(still needs a lot of work)
2022-03-20 23:01:18 -07:00
Eggbertx
b85c943cf5 Add manage page to clear all login sessions for the current user at /manage?action=clearmysessions
Resolves issue #40
2022-01-31 22:35:47 -08:00
Eggbertx
3addaf57d7 Update WordFilter struct to work with modified table 2022-01-30 17:19:54 -08:00
Eggbertx
67df39ffd9 Fix board editing, resolves #51 2022-01-16 14:38:57 -08:00
Eggbertx
656c2a3046 Fix board deletion and partially fix modification 2022-01-16 14:11:55 -08:00
Eggbertx
9e82333c47 (re)add board creation related to issue #51 2022-01-16 13:30:33 -08:00
Eggbertx
a0966925cb Rewrite board edit template, related to issues #51 and #52 2022-01-15 21:20:43 -08:00
Eggbertx
a6a37bb29f Use template for staff manage page 2021-11-29 21:53:47 -08:00
Eggbertx
5f8e53fb76 Add functions for getting thread and board info 2021-09-03 15:49:53 -07:00
Eggbertx
dfdb926d71 Add partially refactored configuration changes 2021-07-11 11:51:29 -07:00
Eggbertx
55317504a1 Fix anti-patterns pointed out by DeepSource
But not the switch fallthroughs/expression lists, there's no benefit
2020-07-09 15:54:31 -07:00
Eggbertx
497a3925e0 Delete post upload(s) if we get an error 2020-07-09 13:08:24 -07:00
Eggbertx
40c1f48186 Fix json tag, Printf usage, add initial gochan-migration stuff
TODO: make gochan-migration actually useful
2020-06-12 11:01:28 -07:00
comraderat
193913bcb4 Changes formatted message to template.HTML 2020-05-24 18:56:24 +02:00
comraderat
17db31613c Move build to building package 2020-05-23 12:29:12 +02:00
comraderat
4ace56a661 Changed ip back to varchar for old db compatibility
Might change later, or not.
2020-05-17 16:32:22 +02:00
comraderat
68059c28eb Implement some more queries 2020-05-11 15:20:49 +02:00
comraderat
7e4ea59dbe Implement queries, remove unused fields in BanInfo 2020-05-08 13:06:34 +02:00
comraderat
bae28256e0 Removed non-functional staff boards field 2020-05-03 13:37:33 +02:00
comraderat
647df66989 Add deprecation notice to Post and RecentPost 2020-05-02 20:11:25 +02:00
comraderat
4f925c3622 Extract & implement post retrieval queries
Removed unused field in Post table
2020-05-02 20:08:17 +02:00
Eggbertx
d1292bd9fe refactor/reorganize gochan's source code into subpackages
Also use Go version 1.11 in vagrant for module support
2020-04-29 17:44:29 -07:00