* Use webpack to autogenerate the files.
That way, we always generate them consistently, be it through
`make` or building for prod. This fixes the `make` issue, and also
means we've further unified the way we build and run with `make`
vs prod.
Unfortunately this doesn't work for `make dev`; which sees the
handlebars content only. That's probably ok though, I think.
* New build and deploy setup
* kills a lot of makefile complexity
* users will only ever use node-env=development for all practical
purposes. Hopefully fixes issues where something node_modules
is missing non-dev dependencies
* script building now pulled into a bash file
* Privacy policy updates. Closes#2276
* Improve policies timestamp generation
* Remove leftover debug print
* Python3 all the things
Also uses the short hash for policy commits
* More master->main.
Co-authored-by: RabsRincon <ruben@rinconblanco.es>
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>
* Implement (server-side) templating and parsing of sponsors to take some
of the toil out of updating what was thanks.html, and pave the way for
making this dynamically loaded outside of the codebase.
* Support corporate sponsorships. Currently showing two (unapproved, NOT
for merging) ideas of possible sponsors.
* Some minor tweaks to try and support small screens better for these.