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

139 commits

Author SHA1 Message Date
Eggbertx
e375750e97 Replace strings.ReplaceAll with strings.Replace for compatibility 2020-07-27 18:19:56 -07:00
comraderat
f08fbb324c Fix catalog 2020-05-27 21:32:15 +02:00
comraderat
092aa8aede Removed any reference to board.html
Board.html used to be a symbolic link to 1.html.
Now uses 1.html directly verywhere, fixing a bug where the board
couldnt rebuild
2020-05-27 20:50:49 +02:00
comraderat
049207881a Add html truncating 2020-05-27 20:23:00 +02:00
Eggbertx
42e982581a Make gochan stripping properly cross platform 2020-03-31 13:35:33 -07:00
Eggbertx
5986d572bb Remove thread pagination, make logger write to requested log 2020-03-26 12:09:10 -07:00
Eggbertx
d8c8cabd4c Remove old manage.js reference, fix dropdown menu color 2020-03-23 17:01:04 -07:00
Eggbertx
a40b2dee0f Move password field filter remover to global.css 2020-03-09 13:26:46 -07: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
267a5eeb6f Start making templates more readable
Also change most remaining underscore var names to camelCase
2019-12-06 20:03:37 -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
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
ac623352bb Fix front page template to have links for posts without images. 2019-08-14 12:17:54 -07:00
Eggbertx
2651c38765 Remove overrides directory from gitignore 2019-08-02 10:45:41 -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
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
user.email
4fa467933b use QR file input when posting, improve front page formatting 2018-12-04 15:38:19 -08:00
user.email
8021743c82 Use stylesheet cookie if set 2018-12-01 16:41:17 -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
90530b389f Don't use header for site slogan 2018-11-28 17:27:28 -08:00
user.email
bf383a1b20 remove Version field from config struct to avoid JSON parsing issues 2018-11-26 15:29:26 -08:00
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
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
Joshua Merrell
75b35bdea9 Add board catalog building 2018-10-22 22:02:06 -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
dc3b48e3aa make banlist table on manage bans page account for permabans 2018-10-08 11:14:45 -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
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
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
7ef47e92e3 Fix thumbnail expansion 2018-07-08 21:30:14 -07:00
Joshua Merrell
7e1110214d Add post editing, fix log not showing IP/path 2018-06-09 23:40:20 -07:00
Joshua Merrell
88b1a1b777 Add systemd service, subject field autocomplete prevention 2018-05-29 11:38:33 -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
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
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