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

422 commits

Author SHA1 Message Date
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
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
7de18e93f3 A few small db changes, fix weird file permission issues in bootstrap.sh 2018-10-05 22:22:36 -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
01877937eb Instead of failing if config.SiteWebfolder isn't set, use default "/"
Also append and/or prepend "/" as necessary to prevent possible issues
Also also fixed issues with broken links caused by the previous commit
2018-09-27 13:44:30 -07:00
Joshua Merrell
e1de5162ac prepend all absolute paths with {{$.config.SiteWebfolder}}
This fixes issues with people who have something aside from "/" as their config.SiteWebFolder setting
2018-09-27 13:19:24 -07:00
Joshua Merrell
171b03a237 Remove forced config.DBprefix if none is set and adding "_"
You should add _ to your gochan.json's DBprefix option, otherwise you'll get errors.
2018-08-23 17:37:00 -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
0ef760dd61 Strip port from incoming post IP 2018-08-02 17:23:16 -07:00
Joshua Merrell
810af2855f Don't track .bak (temporary backup) files 2018-07-15 07:35:34 -07:00
Joshua Merrell
7ef47e92e3 Fix thumbnail expansion 2018-07-08 21:30:14 -07:00
c7642cd748 Change access log to report correct IP on successful posts 2018-06-28 15:22:53 -07:00
Joshua Merrell
7ed7e1a850 Fix typo in gochan.example.json (version should be Version)
dist.sh now copies html/firstrun.html instead of html/index.html
2018-06-20 17:46:00 -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
53553b8ac4 Show error message if post is rejected by Akismet 2018-06-08 10:58:53 -07:00
Joshua Merrell
ec8bf65538 replace gc_info with DBPREFIXINFO in initialsetupdb.sql, as it should be 2018-06-01 15:37:14 -07:00
Joshua Merrell
88b1a1b777 Add systemd service, subject field autocomplete prevention 2018-05-29 11:38:33 -07:00
Joshua Merrell
5d7821cc6d Fix execSQL usage mistake, update ldflags variables in Makefile 2018-05-26 11:15:23 -07:00
Joshua Merrell
cf3535bb5d Fix file permission issues 2018-05-25 19:40: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
9597760442 More abstraction to make SQL queries simpler, initialsetupdb.sql is now called on every startup 2018-05-23 12:15:46 -07:00
Joshua Merrell
6a4443dbc6 Add various changes suggested by gometalinter, 359 more to go! 2018-05-04 17:41:46 -07:00
Joshua Merrell
f1df7aefce bin directory and go symlinks should be added to vagrant user, not root 2018-05-04 11:25:33 -07:00
d0182c8c28 Fix a stray </a> that shows up in replies
The conditional in the template accidentally used eq instead of ne
2018-04-24 13:57:28 -07:00
e99230116c Don't run templates on getstaffjquery 2018-04-24 13:44:29 -07:00
Josh
8c89997645
Merge pull request #10 from pqyptixa/master
Improve views for mobile devices
2018-04-23 15:21:34 -07:00
pqyptixa
0762e4de2e Revert "Set absolute path to the go 1.10 binary"
This reverts commit 2b09b491b1.
2018-04-23 19:20:27 -03:00
pqyptixa
ded719e687
Fix $PATH, again
... to include the go binary executable
2018-04-23 19:11:51 -03:00
pqyptixa
3c83f44716
Make sure no file was posted 2018-04-23 17:36:31 -03:00
pqyptixa
2b09b491b1
Set absolute path to the go 1.10 binary 2018-04-23 17:34:53 -03:00
pqyptixa
8790ca2db0
Enable port forwarding in vagrant 2018-04-23 17:33:09 -03:00
pqyptixa
1142184f60
Install Go 1.10 and fix $PATH 2018-04-23 17:32:22 -03:00