Commit graph

24 commits

Author SHA1 Message Date
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
8306d2d1b6 Refactor logging 2017-04-04 23:02:31 -07:00
Calvin Montgomery
70be35e3fa Experimental ustream fix 2017-03-02 18:47:47 -08:00
Calvin Montgomery
84fa7972e3 Skip minification for userscript 2016-08-30 21:20:42 -07:00
Calvin Montgomery
af6e958c49 Merge remote-tracking branch 'origin' into ip-session-age 2016-08-24 19:48:58 -07:00
Calvin Montgomery
5a81ab7ce7 Add a prompt explaining the situation as well as documentation 2016-08-23 21:50:18 -07:00
calzoneman
016b125f49 Initial IP session cookie implementation 2016-08-08 23:03:16 -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
calzoneman
aedd0df228 Limit the number of channels displayed on the index page 2016-05-21 16:59:28 -07:00
calzoneman
80c35b4190 Remove unused code 2015-12-12 16:28:24 -08:00
calzoneman
27af66075e Centralize x-forwarded-proto handling; fixes #542 2015-12-12 16:26:14 -08:00
calzoneman
fac11ee312 Fix variable misuse 2015-11-03 19:34:12 -08:00
calzoneman
04336c9712 Fix merge error 2015-11-02 21:13:02 -08:00
calzoneman
5ead24e45e Merge branch '3.0' into web-refactoring 2015-11-02 21:07:50 -08:00
calzoneman
6505aa2f5e More refactoring 2015-11-01 17:42:20 -08:00
calzoneman
a8cc8e4b04 Add more counters for diagnostic information 2015-10-28 23:38:17 -07:00
calzoneman
c2726898e5 Move x-forwarded-for middleware 2015-10-27 23:54:32 -07:00
calzoneman
13d4a49976 Move contact page to its own route handler 2015-10-27 22:04:21 -07:00
calzoneman
88236e036c Add better error pages 2015-10-27 20:44:40 -07:00
calzoneman
50ca141f1d Web refactoring 2015-10-26 22:56:53 -07:00
calzoneman
40e2a608f6 Initial sioconfig migration work 2015-10-19 22:32:00 -07:00
calzoneman
27b501e655 Add /sioconfig.json 2015-09-30 18:36:50 -07:00
calzoneman
22a4115217 webserver: update matcher for HTTP 416 errors 2015-09-27 09:33:42 -07:00
calzoneman
0109a87e55 package: build with babel for ES2015 support
* Rename lib/ -> src/
* Add `postinstall` npm target for compiling src files to lib
* Add `build-watch` npm target for development with babel --watch
* Add `lib/` to .gitignore
* Add `source-map-support` module for babel-generated sourcemaps
2015-09-23 19:27:04 -07:00
Renamed from lib/web/webserver.js (Browse further)