This repository has been archived on 2021-01-16. You can view files and clone it, but cannot push or open issues/pull-requests.
satyr/templates
knotteye 25cf8a37a2 Big Commit!
Seriously, this one is pretty massive. Satyr now has proper sessions in the browser (like a real website), and a lot of changes were made.

API Endpoints were changed from requiring a username and password to requiring a valid JsonWebToken, obtained from /api/login
Satyr will generate a PEM format key for JWT signing and verification on startup if it can't find one at config/jwt.pem
This file was added to .gitignore
Two new depencies: cookie-parser and jose, for reading and signing JWTs.

Refactored http.ts into mutiple functions, with a couple helper functions related to cookies and JWT decoding and verification. Socket.IO chat will also automatically log in users with a valid JWT.

Refactor api.ts to reflect new requirements from endpoints.

Minor bugfix in server.ts so we don't throw an uncaught exception when rejecting a stream with an invalid key.

Transcode options readded to default.toml. They do nothing and they are not sane defaults. Both of those things are in the todo list.
2019-12-03 19:51:14 -06:00
..
404.njk I don't even know. 2019-10-05 14:34:57 -05:00
about.html I don't even know. 2019-10-05 14:34:57 -05:00
about.njk Added some api functions, an express server for the API and nunjucks 2019-09-28 21:44:55 -05:00
base.njk Big Commit! 2019-12-03 19:51:14 -06:00
changepwd.njk Big Commit! 2019-12-03 19:51:14 -06:00
chat.html Add working Socket.IO based chat 2019-10-20 16:09:28 -05:00
help.njk Add help page, change base links. Turn off watch in nunjucks config. 2019-11-05 16:30:15 -06:00
list.njk I don't even know. 2019-10-05 14:34:57 -05:00
live.njk I don't even know. 2019-10-05 14:34:57 -05:00
login.njk Big Commit! 2019-12-03 19:51:14 -06:00
profile.njk Big Commit! 2019-12-03 19:51:14 -06:00
registration.njk Big Commit! 2019-12-03 19:51:14 -06:00
tos.html I don't even know. 2019-10-05 14:34:57 -05:00
user.njk Handle temporary data from database better instead of modifying njkconf in place. 2019-11-25 11:38:12 -06:00
vods.njk I don't even know. 2019-10-05 14:34:57 -05:00