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

877 commits

Author SHA1 Message Date
Eggbertx
758a87a38d remove 'tag' from marshalJSON parameter list 2020-03-20 12:00:58 -07:00
Eggbertx
13fffdb4c9 Replace that clunky build.sh with a slightly less clunky Makefile 2020-03-20 11:04:39 -07:00
Eggbertx
48aaad4e6d Add Dark theme based on Lynxchan/Bunkerchan's Dark theme 2020-03-19 13:56:21 -07:00
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
34d1b33331 Fix broken config reference in manage_header.html 2019-12-11 20:48:49 -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
267a5eeb6f Start making templates more readable
Also change most remaining underscore var names to camelCase
2019-12-06 20:03:37 -08:00
Eggbertx
6a96420e3e Update README 2019-12-04 18:40:01 -08:00
Eggbertx
e25f428408 Fix JS error when getting page thread info 2019-11-29 16:39:14 -08:00
Eggbertx
f6876f3c97 Forgot to apply the consts.js change to manage_header.html 2019-11-29 15:15:18 -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
7a729fd050 Bump version number since it deserves a new release 2019-11-24 14:48:51 -08:00
Eggbertx
cea3de04f4 Add docker compose config and improved bootstraper
Note that Docker support isn't finished, I'm still working on it.
2019-11-24 14:43:54 -08:00
Eggbertx
21e01d7708 Add basic captcha support 2019-11-24 14:42:39 -08:00
Eggbertx
9a247cc7b2 Show thread number in page title if OP is blank and has no subject 2019-11-17 15:14:28 -08:00
Eggbertx
58dc6a0942 Have build.sh fail if user tries to cross-compile to macOS
TODO: get cross-compilation properly working (Windows seems to be fine)
2019-11-02 17:28:55 -07:00
Eggbertx
a53659dc28 Add Docker disclaimer to README.md 2019-09-19 13:01:37 -07:00
Eggbertx
e2c5d66b14 Add preliminary Docker stuff (still very unstable) 2019-09-19 12:50:09 -07:00
1cd3fc2c40 Update the README to add a little more clarity as to Gochan's method of operation.
Also change the demo install URL to use TLS, and make it clear that it is the demo install.
2019-08-22 01:41:55 -07:00
ac623352bb Fix front page template to have links for posts without images. 2019-08-14 12:17:54 -07:00
Eggbertx
4e67e072e5 Fix broken SQLite connection, update README 2019-08-09 14:25:02 -07:00
Eggbertx
2651c38765 Remove overrides directory from gitignore 2019-08-02 10:45:41 -07:00
Eggbertx
cfed861f1c Add *NIX installation compatibility 2019-08-01 21:05:06 -07:00
Eggbertx
51881dba85 Create admin account and /test/ board on first run 2019-06-17 22:10:39 -07:00
Eggbertx
9ccb6df5f9 Replace Makefile and dist.sh with single shell script 2019-06-17 21:02:11 -07:00
Eggbertx
4f766746d6 Fix misleading gochan.example.json key, remove unnecessary keepalive option 2019-06-17 14:37:35 -07:00
Eggbertx
317f9d4ba0 Add support for PostgreSQL and SQLite 2019-06-13 16:36:02 -07:00
Eggbertx
72774c48aa Strip root path from stack traces (for privacy) 2019-05-31 17:21:17 -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
d29ea2fd57 Remove unnecessary panic in util.go 2019-05-14 18:20:43 -07:00
Eggbertx
fe15568d78 Update sql startup script filename in dist.sh 2019-05-14 16:12:18 -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
eggbertx
964914d63d Add ability to override template files, remove minimum recent posts 2019-01-03 11:51:59 -08:00
eggbertx
15a42b6473 Make thumbnail filenames lowercase 2018-12-28 17:14:41 -08:00
e7be7fc348 Use actual IP, not just remote addr in log for image and video posts 2018-12-21 12:58:21 -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