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

251 commits

Author SHA1 Message Date
Eggbertx
dffe7fbe27 Replace custom post dropdown menu with HTML select element 2021-08-24 16:16:05 -07:00
Eggbertx
45a47e54fb Improve cookie loading with type setting 2021-08-24 13:14:11 -07:00
Eggbertx
282d0208f0 Replace box-shadow with drop-shadow filter for hardware acceleration 2021-08-24 12:00:50 -07:00
Eggbertx
2d945d38ca update npm packages, use fancy_log in gulpfile 2021-08-19 14:46:10 -07:00
Eggbertx
6b7ef77185 Move javascript files to html/js/ for smaller html files
Also add credit to other Gochan developers in LICENSE
2021-04-24 16:56:34 -07:00
Eggbertx
eb70899886 Package jquery with gochan.js 2021-04-21 17:36:19 -07:00
Eggbertx
8ccd217ff0 Add mp4 support 2021-03-24 11:44:50 -07:00
Eggbertx
d5a5fc53eb Add Clear and Dark themes from BunkerChan
Also adjust some other theme properties
resolves #43
2021-03-24 11:26:58 -07:00
Eggbertx
9b05efaecb Add Yotsuba B theme, use yotsuba mixin
Also add attribution to sass dir README
2021-03-23 00:05:51 -07:00
Eggbertx
74ca436465 Remove leetchan theme 2021-03-23 00:03:43 -07:00
Eggbertx
f715cba401 Rename Dark to Bunkerchan
I guess this is a good way of giving proper attribution, since that where it comes from
2021-03-22 10:15:49 -07:00
Eggbertx
59b7a10883 Increase opacity on Photon topbar, add pkg updates
Seems kinda overkill for a slight css change but it makes it clearer
2021-03-22 10:00:26 -07:00
Eggbertx
8979ed20cf Add Yotsuba theme 2021-03-22 09:54:08 -07:00
Eggbertx
1c489cf08c re-add closeHandle to avoid trying to run Close on potentially nil pointers
Move bbcompiler to struct to prevent issues with garbage collection
2020-04-04 23:06:29 -07:00
Eggbertx
d8c8cabd4c Remove old manage.js reference, fix dropdown menu color 2020-03-23 17:01:04 -07:00
Eggbertx
3dc55bcf78 Create main section on startup if the sections table is empty 2020-03-21 11:20:34 -07:00
Eggbertx
a3174936dc Fix lightbox dropdown box color and section title radius in Pipes 2020-03-21 09:36:10 -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
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
e25f428408 Fix JS error when getting page thread info 2019-11-29 16:39:14 -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
cfed861f1c Add *NIX installation compatibility 2019-08-01 21:05:06 -07:00
Eggbertx
317f9d4ba0 Add support for PostgreSQL and SQLite 2019-06-13 16:36:02 -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
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
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
a6d7e9f188 Rewrite CSS as Sass (.scss) files for better organization/loading 2018-11-25 14:16:22 -08:00
Joshua Merrell
d6be4855be Add BBCode and post submission keyboard shortcuts 2018-10-24 12:29:23 -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
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
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