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

284 commits

Author SHA1 Message Date
Eggbertx
a85b0f8f83 Remove old domain from DomainRegex since it's no longer used
Also make the build.sh install message
2020-03-14 11:34:44 -07:00
Eggbertx
a40b2dee0f Move password field filter remover to global.css 2020-03-09 13:26:46 -07:00
Eggbertx
3c8a01dcea Stability fixes, mostly SQL related
Generate config.RandomSeed if one isn't provided in gochan.json
Don't automatically fail if a board's path already exists, unless it isn't a directory
Clean up SQL query strings with DBPREFIX replacer
Separate the gochan.service file into separate files for each SQL DB type
Enable the gochan.service in Vagrant and fix issue with it failing on restart
fixes #19
2020-03-07 17:20:35 -08:00
Eggbertx
d4b7185ecd Use v1 base64captcha API
Also check for sql.ErrNoRows when SELECTing from DBPREFIXinfo, fixes #16
2020-02-07 21:46:30 -08:00
Eggbertx
21bee813b1 Fix thread ID detection bug 2019-12-11 21:33:20 -08:00
Eggbertx
cbb5f1ec20 Merge gochan.js and manage.js, add option to minify gochan.js
Also add manage page titles to be used for an API
2019-12-11 20:33:02 -08:00
Eggbertx
e361223084 Add HTML, JS, and JSON minification
Also remove that stupid filter for password input fields that Firefox (and maybe other browsers) adds
2019-12-07 12:52:36 -08:00
Eggbertx
e25f428408 Fix JS error when getting page thread info 2019-11-29 16:39:14 -08:00
Eggbertx
424f419199 Store configuration-dependent variables in a JavaScript file
As opposed to every single HTML file
2019-11-29 15:08:18 -08:00
Eggbertx
cfed861f1c Add *NIX installation compatibility 2019-08-01 21:05:06 -07:00
Eggbertx
317f9d4ba0 Add support for PostgreSQL and SQLite 2019-06-13 16:36:02 -07:00
Eggbertx
53090a64d9 Prevent post autocomplete (for real this time) and remove old unused images 2019-05-30 13:42:49 -07:00
Eggbertx
fa72398c0c Replace JSON struct wrappers with struct tags
move (My)SQL initialization stuff to sql script to be run every time
2019-05-14 15:58:52 -07:00
eggbertx
bb9cb5a96c Improve new installation checking
make sure gc_info exists before it's queried in connectToSQLServer
2019-04-15 16:10:09 -07:00
14798cbeeb Fix lightbox loading with pages that have full HTML
Also fix invalid HTML in template for board pages
2019-02-24 01:14:01 -08:00
eggbertx
d558bcc0d0 Completely redo front.html to make it more mobile-friendly
Also add Photon theme
2019-02-16 19:18:00 -08:00
eggbertx
06ec16938c Fix settings cookies only being set for the session 2019-01-06 23:02:51 -08:00
user.email
4fa467933b use QR file input when posting, improve front page formatting 2018-12-04 15:38:19 -08:00
4ec04d799b Fix a catch in getCookie, it was breaking our JS for IE and Edge 2018-12-04 15:31:56 -08:00
user.email
b1609f0d3d Add QR box 2018-12-03 12:34:36 -08:00
user.email
8021743c82 Use stylesheet cookie if set 2018-12-01 16:41:17 -08:00
user.email
77b109770a Save setting cookies 2018-12-01 15:57:17 -08:00
user.email
a6ad0f81cb Finish (mostly) post click/mouseover previews
TODO: Add AJAX support and previewing for posts on other boards
2018-12-01 14:00:45 -08:00
user.email
ac2b962fa9 Change config.Styles from a string array to a Style struct array and give proper warning
TODO: Use javascript to allow an admin to add/edit themes from the config UI
2018-12-01 12:13:33 -08:00
user.email
a6d7e9f188 Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
Joshua Merrell
d6be4855be Add BBCode and post submission keyboard shortcuts 2018-10-24 12:29:23 -07:00
Joshua Merrell
75b35bdea9 Add board catalog building 2018-10-22 22:02:06 -07:00
Joshua Merrell
6a77bb9424 Move page building functions to building.go 2018-10-22 11:01:51 -07:00
Joshua Merrell
5af4074325 Redirect to post banning page when a post is selected and Ban button is clicked 2018-10-10 13:16:00 -07:00
Joshua Merrell
b9621b4f01 Oops, forgot to update the version 2018-10-07 12:21:22 -07:00
Joshua Merrell
1167f8c472 Finish ban checking and appeal submission (when allowed) 2018-10-07 12:20:10 -07:00
Joshua Merrell
87628a8d92 Finish (mostly) ban page displaying contents according to the database 2018-10-05 15:21:36 -07:00
Joshua Merrell
ad9d0989b2 Mostly work on banning
If a user is banned, they are redirected to the ban page with all the information, but the appeal form doesn't work (yet)
In the next couple commits I'm going to work on actually submitting bans
2018-10-03 00:31:43 -07:00
Joshua Merrell
553e19828d Update roadmap with configuration, update version in static error pages 2018-08-09 00:08:29 -07:00
Joshua Merrell
c700e4c0ce (Mostly) finish the configuration web interface, remove all _img fields since text boards won't happen 2018-08-09 00:04:45 -07:00
Joshua Merrell
7ef47e92e3 Fix thumbnail expansion 2018-07-08 21:30:14 -07:00
Joshua Merrell
9409ce3330 Fix broken link in firstrun.html 2018-06-20 17:38:13 -07:00
Joshua Merrell
78185e8325 Have config.verbosity be determined by gochan.json, not by Makefile
Finally add release instructions to README.md
2018-06-20 17:27:23 -07:00
Joshua Merrell
b090be5b67 Fix duplicating admin account 2018-06-12 13:35:36 -07:00
Joshua Merrell
7e1110214d Add post editing, fix log not showing IP/path 2018-06-09 23:40:20 -07:00
Joshua Merrell
5d7821cc6d Fix execSQL usage mistake, update ldflags variables in Makefile 2018-05-26 11:15:23 -07:00
f9558ac2a2 Fix the getStaff function
I had previously changed the backend to not run the template around
getstaffjquery, while the javascript was expecting that to happen still
2018-05-24 18:47:08 -07:00
Joshua Merrell
ce303c086e HEAVILY simplify template execution 2018-04-06 01:03:57 -07:00
Joshua Merrell
be879078d2 Show board dir in page header along with board name 2018-03-08 14:27:51 -08:00
Joshua Merrell
f39f55eda6 fix post/image deletion 2018-02-10 22:57:52 -08:00
Joshua Merrell
46a3e8ac77 Add bbcode, HTML reparsing function for imageboard admins 2018-02-10 16:30:35 -08:00
Joshua Merrell
4d93f8bb98 Videos (should) now format correctly 2018-02-03 14:42:05 -08:00
Joshua Merrell
c8aa02b420 Fix text appearing outside replies with images 2018-02-03 12:43:12 -08:00
Joshua Merrell
faa313d301 Fix backlinks and greentext doing weird things. 2018-02-03 10:49:15 -08:00
f945d6357c Remove CSS controlling the front page hyphenation 2018-01-29 19:20:00 -08:00