comraderat
5b58adf8c6
Changed postgresql population script to new database
2020-04-10 16:15:07 +02:00
5ad1c06646
Fixed posting to a board with a non-contiguous board id
2020-04-08 03:18:14 -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
4eb3ae1546
Merge pull request #22 from gochan-org/docker-image
...
Docker image
2020-04-04 21:54:03 -07:00
DeepSource Bot
ada7c619b0
Add .deepsource.toml
2020-04-04 21:59:26 +00:00
Eggbertx
0899129066
Merge pull request #21 from nonmakina/nm/updateDocker
...
Nm/update docker
2020-04-02 21:58:52 -07:00
Anon
452be17b91
Remove unused code
2020-04-02 21:59:22 -06:00
Anon
2c45186e52
Fixes Docker. Adds docker-compose to run a container with mariadb
2020-04-02 21:56:29 -06:00
Eggbertx
522d217ae8
Merge pull request #20 from comraderat/master
...
Fixes and debug mode
2020-04-02 10:04:08 -07:00
comraderat
65dd400dc4
Added print all logs to console in debug mode
2020-04-02 13:28:28 +02:00
comraderat
5273ad160a
Added vscode launch profile
...
Updated gitignore
2020-04-02 00:45:36 +02:00
comraderat
6b86154ec1
Add debug mode flag to config
2020-04-02 00:44:54 +02:00
comraderat
d81d73b805
Fixed error of wrong amount of arguments for sections insert main SQL query
2020-04-02 00:42:59 +02:00
comraderat
6526a1ae06
Fixed postgresql database initialise bug
2020-04-02 00:42:16 +02:00
comraderat
e3419f8e3b
Fixed postgresql ssl error
2020-04-02 00:41:54 +02:00
Eggbertx
334895e650
Prevent Makefile from unintentionally deleting configuration (oops)
2020-03-31 14:36:30 -07:00
Eggbertx
42e982581a
Make gochan stripping properly cross platform
2020-03-31 13:35:33 -07:00
Eggbertx
cf7cfa9d4b
Remove unnecessary template functions
...
Also don't fail if strip fails (for example if it's an incompatible binary format)
Also also use proper switch fallthrough
2020-03-30 09:14:43 -07:00
Eggbertx
0bcd93379b
Only strip debugging symbols for releases
2020-03-27 17:42:53 -07:00
Eggbertx
5986d572bb
Remove thread pagination, make logger write to requested log
2020-03-26 12:09:10 -07:00
Eggbertx
598d5ba99a
Add PowerShell script for building from Windows
2020-03-24 17:40:08 -07:00
Eggbertx
d8c8cabd4c
Remove old manage.js reference, fix dropdown menu color
2020-03-23 17:01:04 -07:00
Eggbertx
2cf1a3c2ce
Looks like I forgot to properly initialize the logger.
2020-03-23 16:37:26 -07:00
Eggbertx
7b5e4e7abe
Make logs more consistent
...
Use GcLogger class for writing to multiple logs in one call as needed
2020-03-23 10:55:23 -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
758a87a38d
remove 'tag' from marshalJSON parameter list
2020-03-20 12:00:58 -07:00
Eggbertx
13fffdb4c9
Replace that clunky build.sh with a slightly less clunky Makefile
2020-03-20 11:04:39 -07:00
Eggbertx
48aaad4e6d
Add Dark theme based on Lynxchan/Bunkerchan's Dark theme
2020-03-19 13:56:21 -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
34d1b33331
Fix broken config reference in manage_header.html
2019-12-11 20:48:49 -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
267a5eeb6f
Start making templates more readable
...
Also change most remaining underscore var names to camelCase
2019-12-06 20:03:37 -08:00
Eggbertx
6a96420e3e
Update README
2019-12-04 18:40:01 -08:00
Eggbertx
e25f428408
Fix JS error when getting page thread info
2019-11-29 16:39:14 -08:00
Eggbertx
f6876f3c97
Forgot to apply the consts.js change to manage_header.html
2019-11-29 15:15:18 -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
7a729fd050
Bump version number since it deserves a new release
2019-11-24 14:48:51 -08:00
Eggbertx
cea3de04f4
Add docker compose config and improved bootstraper
...
Note that Docker support isn't finished, I'm still working on it.
2019-11-24 14:43:54 -08:00
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