* narrow down where stryder error originated and why it happened
* more rigorous response checks
* Catch rejected promises properly and return for bad statusCode
* improve code maybe
* formatting
* fix respawn's json and add status check (and fix uri check?)
* extra check for the case when stryder doesnt give a status in its json
* require minimum version
enforced on client and server auth with ms
* Use semver.gte instead of checking number explicitly
Should be morer eadable as well
* Dev version is always allowed regardless of version requirement
The idea being that contributors can compile source from source without having to change version number
By default source code is version `0.0.0+dev`
* Working username fetching and db field
also sends the username in authenticate_incoming_player
* Update dev.env
* Switch from using puppeteer to just http
* Fix indentation
* fail open instead of closed
if i’m not mistaken, failing every time they auth will result in username being “null”, otherwise will remain as the previous value
* should make the default username in db be empty string
* Fix username fetch (added missing package)
* Format
* eslint pain
* eslint pain episode 2
* switch to async func over promise
* i removed by accident, makes it work again
* allow origin stuff to be disabled
* Add persistent sid cookie
* remove newline in sid.cookie
* automatic db upgrading using dbSchema.json
* Catch origin auth error
* Nicely do this instead
* Save non-authed state when failing
* Add landing page to master server
Would display at https://northstar.tf/ by default instead of the github
Also makes eslint ignore web cause it thinks it's nodejs :trollface:
* Instead of removing github redirect, just move it
now at northstar.tf/github
* Add help section below installation and change to use redirects instead of hard links
* Make background video smaller
(14.5MB -> 7.13MB)
* Add description below logo
I know the code looks jank but trust me, it near perfectly replicates the tf|2 logo
* Fix kerning (enable caps lock :trollface:)
* Slight adjustment to titanfall divider position
* Remove frontline font, isn't even in the folder anymore
* test preload stuff
might work, might not
* Only preload font
* Add catch to the download url fetch, log cause why not
* Add funny obfuscated log
Actually says: console.log("Interested in modding? Join the Discord ("+location.href+"discord) and have a look at the modding docs ("+"https://r2northstar.readthedocs.io/"+")")
* warn instead of log
* Change blur slightly
* New background video
* Update NorthstarPromoPoster.jpg
* use trusted proxy list
comes with cfaddresses.txt cause i know bob uses cloudflare
added support for # comments to the file cause why not
* Fix indentation
thanks fucked github mobile editor