Commit graph

93 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
8ad9b4e543 Remove redundant template local 2017-06-05 18:57:04 -07:00
Calvin Montgomery
58c65a5bac Use host header instead of req.host which is actually req.hostname 2017-06-05 18:53:36 -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
Calvin Montgomery
de309d675e Remove redundant signing logic from IP session cookie 2017-05-01 21:51:11 -07:00
Calvin Montgomery
8306d2d1b6 Refactor logging 2017-04-04 23:02:31 -07:00
Calvin Montgomery
309cd40da2 Compare owner name case-insensitively when deleting channel 2017-03-21 19:47:31 -07:00
Calvin Montgomery
70be35e3fa Experimental ustream fix 2017-03-02 18:47:47 -08:00
Calvin Montgomery
8719527a31 Enforce HTTPS for new profile images 2016-12-13 22:44:23 -08:00
Calvin Montgomery
35a8e2b52a Fix age old bug with /login redirecting to /register after registration 2016-10-01 21:31:04 -07: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
17aad006f7 Fix startup issue 2016-08-10 22:37:33 -07:00
calzoneman
0327b3de2e Modifications for ip session cookie 2016-08-10 22:10:02 -07:00
calzoneman
6245dc84da Minor bug fix 2016-08-08 23:04:34 -07:00
calzoneman
016b125f49 Initial IP session cookie implementation 2016-08-08 23:03:16 -07:00
Xaekai
5eebd88e13 Move ACP nav entry to templating
Closes #516
2016-07-10 23:23:46 -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
9a4237cd00 Exclude siteadmins from channel limit (resolves #508) 2015-12-12 17:03:42 -08:00
calzoneman
bfe76dae0e Check X-Forwarded-For on sockets (resolves #528) 2015-12-12 16:59:58 -08: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
47ef670f34 Fix typo 2015-11-02 21:10:52 -08:00
calzoneman
5ead24e45e Merge branch '3.0' into web-refactoring 2015-11-02 21:07:50 -08:00
calzoneman
5c339656b7 Minor fixes 2015-11-02 20:52:57 -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
26e8660af4 Change /logout from GET to POST (#515) 2015-10-26 23:21:09 -07:00
calzoneman
50ca141f1d Web refactoring 2015-10-26 22:56:53 -07:00
calzoneman
21c3a1b3cd API changes, add documentation 2015-10-25 17:20:39 -07:00
calzoneman
7b5476874d Minor function change 2015-10-21 20:56:09 -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