Commit Graph

9 Commits

Author SHA1 Message Date
Calvin Montgomery 8338fe2f25 Work on banned channels feature 2022-09-23 21:39:38 -07:00
Calvin Montgomery 712a8c228b Refactor most pug templates to share a common layout template 2017-08-22 22:09:48 -07:00
Calvin Montgomery 0810591fe3 Remove unnecessary template mixin vars 2017-08-22 17:33:29 -07:00
Xaekai 6d4558c978 Allow channel path to be customizable
We now allow server operators to customize the /r/ part of the channel links
The new config option in the template is commented and the config module validates and will terminate with status 78 if an improper value is used.
We've also dropped some old cruft and uses a more elegant method to assign CHANNEL.name

Resolves #668
2017-06-16 20:09:36 -07:00
Calvin Montgomery 8ad9b4e543 Remove redundant template local 2017-06-05 18:57:04 -07:00
Xaekai 699aa2abe1 Finish validation touchup 2017-06-05 00:06:15 -07:00
Xaekai d42de93d74 Round 2. 2017-06-04 22:16:40 -07:00
Xaekai 8769ca1dd9 Basic validation of channel IDs on the registration page 2017-06-04 19:03:42 -07:00
Xaekai df5c5cd54f The Puggening: Update from Jade to Pug
1.) module dependency updated from jade 1.11.0 to pug 2.0.0-beta3
2.) All references to Jade have been changed to Pug
3.) /srv/web/jade.js is renamed to pug.js
4.) all template files renamed accordingly
5.) "mixin somename" is automatically considered a declaration, invocations must use "+somename"
6.) variable interpolation is no longer supported inside element attributes, use direct references and string concatenation instead.
7.) bumped minor version
2016-07-07 21:48:09 -07:00