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

1459 commits

Author SHA1 Message Date
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
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
ed0ee45f5d Improve new installation checking and only use initialsetupdb.sql on a fresh install 2018-11-28 19:33:01 -08:00
user.email
90530b389f Don't use header for site slogan 2018-11-28 17:27:28 -08:00
user.email
df28cac162 replace version (GochanConfig) with versionStr (string) in connectToSQLServer 2018-11-28 17:20:56 -08:00
user.email
bf383a1b20 remove Version field from config struct to avoid JSON parsing issues 2018-11-26 15:29:26 -08:00
user.email
a6d7e9f188 Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
user.email
0d36172570 Start using GochanVersion struct
TODO: replace current db update check with config.Version.CompareString()
2018-11-22 23:47:51 -08:00
user.email
6ecfc8e1f1 Update posting.go description to reflect changes, add version.go
The GochanVersion struct will be used to compare versions, especially for updating
2018-11-22 10:22:50 -08:00
Joshua Merrell
a86584062b Assign a random password to an incoming post if none is given 2018-11-04 23:39:49 -08:00
Joshua Merrell
d6be4855be Add BBCode and post submission keyboard shortcuts 2018-10-24 12:29:23 -07:00
Joshua Merrell
e98e2901ea Add id attribute to post subject field to prevent browsers from autofilling 2018-10-23 23:37:54 -07:00
e0b96f6b02 Ignore blank lines on Windows in initial setup and don't attempt to writeheader twice 2018-10-23 22:19:40 -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
a1fd8703a4 Make manage banpage usable 2018-10-10 10:52:47 -07:00
Joshua Merrell
2ae43dd030 Add two command line options, possibly more to come 2018-10-09 21:55:35 -07:00
Joshua Merrell
dc3b48e3aa make banlist table on manage bans page account for permabans 2018-10-08 11:14:45 -07:00