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
pqyptixa
cb50d0424c
Adds viewport meta tag to img_header.html
...
Add viewport meta tag to img_header.html to make threads/posts look better on mobile devices
2018-04-23 14:15:20 -03:00
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