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

1271 commits

Author SHA1 Message Date
pqyptixa
10b0bd6167
Adds viewport meta tag to front.html
Add viewport meta tag to front.html to make it look better on mobile devices
2018-04-23 14:11:59 -03:00
Joshua Merrell
3d2368545b Fix leftover interface code 2018-04-22 22:32:59 -07:00
32038f535f Fix version in the footer 2018-04-14 12:56:37 -07:00
f7944e2dfe Fix template errors that appeared after template changes 2018-04-14 12:50:26 -07:00
Joshua Merrell
8f41692526 forgot to add postbox.html 2018-04-06 09:33:52 -07:00
Joshua Merrell
ce303c086e HEAVILY simplify template execution 2018-04-06 01:03:57 -07:00
Joshua Merrell
5745428655 Replace a lot of boilerplate error stuff with calls to handleError 2018-03-08 14:42:34 -08:00
Joshua Merrell
be879078d2 Show board dir in page header along with board name 2018-03-08 14:27:51 -08:00
Joshua Merrell
9986bc8a6f streamline row/stmt/file closing and error handling/printing 2018-02-17 19:21:22 -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
Joshua Merrell
ad683a1b34 Hide gochan's root directory if someone tries to make a board when the directory already exists, don't throw an error if a board SQL column doesn't have a default (they all should now, this is for old installations) 2018-02-03 10:21:45 -08:00
Joshua Merrell
a04e90e59f Fix issue with nginx starting before the vagrant shared directory is mounted 2018-02-02 13:01:34 -08:00
f945d6357c Remove CSS controlling the front page hyphenation 2018-01-29 19:20:00 -08:00
Joshua Merrell
502566d1f0 Forgot to update version to 1.8 2018-01-28 15:13:48 -08:00
Joshua Merrell
4fcb43330f Add webm support and update jQuery 2018-01-28 15:01:59 -08:00
Joshua Merrell
5a0d4e1ff8 Just in case Canonical desides to change the default SSH username on us again 2018-01-25 17:46:00 -08:00
Joshua Merrell
063c1c4c97 fix Staff menu not showing up because XML errors in manage_header.html 2018-01-24 21:15:01 -08:00
Joshua Merrell
38682162b2 increase max upload size to ~5 MB 2018-01-24 19:43:05 -08:00
Joshua Merrell
ec1a8bac1f update bootstrapper (since Canonical is dumb and changed the vagrant box username), remove unnecessary warning from getCurrentStaff 2018-01-19 14:04:24 -08:00
Joshua Merrell
2f19791f89 Don't unescape HTML strings (why were they being escaped in the first place??) 2018-01-14 16:43:38 -08:00
Joshua Merrell
8080e41b40 Force favicon to show up 2018-01-14 14:08:36 -08:00
Josh
2027fa1048
Merge pull request #9 from Eggbertx/testing
Merge pull request #8 from Eggbertx/master
2018-01-13 12:00:47 -08:00
Josh
9452feb1e7
Merge pull request #8 from Eggbertx/master
Update testing branch
2018-01-13 11:51:32 -08:00
Joshua Merrell
0f7e6b2696 use template for board management page instead of several if/else blocks and "html +=" 2018-01-10 17:31:54 -08:00
Joshua Merrell
e32ded4907 Cleanup function now removes deleted posts from db 2018-01-09 16:34:27 -08:00
Joshua Merrell
3de5490b21 Manage cookies expire in one month instead of two hours for convenience 2018-01-05 18:35:40 -08:00
Joshua Merrell
e640002591 Move escapeString and escapeQuotes to util.go since they're no longer necessary in sql.go (if they ever were) 2018-01-05 15:15:04 -08:00
Joshua Merrell
1b321c185b Add MySQL/MariaDB table optimization 2018-01-05 00:04:34 -08:00
97edf4dfe1 Start using bumpThread function
Fixes Issue #7.

Also adjust bumpThread to return any error it encounters to its caller.
Additionally, if bump is false in calls to insertPost, it will not bump the parent thread.
2018-01-01 22:56:28 -08:00
Joshua Merrell
7340a030bf replace my half-baked tripcode generator with a better one, improve post sanitizing/cookie saving 2017-12-31 00:33:19 -08:00
Joshua Merrell
92a4ff638f move getCountryCode() to util.go and remove now unnecessary geoip.go 2017-12-28 11:34:26 -08:00
Joshua Merrell
9aedc06232 add favicon and favicon2 in case any weeab-I mean admins might want to use it instead 2017-12-27 19:08:21 -08:00
Joshua Merrell
88aa2dec7b Clean up some old get*Arr stuff, start switching to camelCase, get ready to update master with new version 2017-12-20 09:48:20 -08:00
Joshua Merrell
b9ab1f5ca2 more parameters, new beta versioning scheme 2017-12-19 18:13:47 -08:00
Joshua Merrell
ddf2aaff92 Parameterize most SQL queries 2017-12-03 13:26:39 -08:00
600e81e0d8 Fix compilation issue with ban page template rendering. 2017-11-13 22:54:58 -08:00
Joshua Merrell
3dcc9db6b6 change default charset from utf8 to utf8mb4 for meme characters, fix $GOPATH not being kept after provision 2017-11-04 22:45:29 -07:00
Joshua Merrell
1586fcdb4a fix leftover template execution code (causing panics and/or template execution failure when not building board page) 2017-10-29 01:01:25 -07:00
Joshua Merrell
6edda7b5e1 Replace clunky template rendering with (slightly) less clunky template rendering 2017-10-29 00:59:42 -07:00
66fd647c3e Fixed post order issue on thread pages
There was a dependency on the DB returning posts in order.
2017-10-26 22:36:02 -07:00
Joshua Merrell
6f38e0e71b Fix missing GochanServer.ServeErrorPage function after refactor 2017-10-02 15:47:09 -07:00
Josh
b39add0ac0 Merge pull request #4 from xPushkin/master
Completely refactored server.go
2017-10-01 11:15:42 -07:00
xPushkin
a7df9cea0a Completely refactored server.go 2017-09-27 14:11:25 +01:00
Josh
9e69c25c84 Merge pull request #3 from xPushkin/patch-1
Update server.go
2017-09-26 16:43:40 -07:00
xPushkin
fe537e3490 Update server.go 2017-09-25 21:29:56 +01:00
xPushkin
ee81dcb07e Update server.go 2017-09-25 18:07:16 +01:00