* 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
* Await for things
We had a number of things that aren't await()ing their promises.
That led to non-deterministic compiler settings like Intel support.
I used the IDE to find them all and fix the ones that I thought looked
important.
More generally we should use tslint (once we're all typescript) to
ensure this more generally. I tried the eslint equivalent but it
either overreacted or didn't catch anything.
Closes#3085
We still support /shortener (though will scrape logs to see when
we can remove).
The route under /api/shortener will have the CORS headers set up
properly for things like @foonathan's lexy visualiser.
If --metricsPort XX is supplied, run a server on port XX that
responds with metrics. Configure only default node metrics for
now; hope to get more interesting stats in soon.
* manually parse formdata to be compatible with curl examples
* only parse formdata when /noscript/compile, add unittests
* no need to parse formdata in these cases
* use specific handling per url
* hello world again
* alt texts for sponsor icons
* lintfixes
* moved noscript alongside normal views and things
* language listitems
* offer link to noscript version when needed
* filter fixes and add execution output to text output
* reuse more things, add special css, support filters and execution to noscript
* bugfix
* bugfixes
* add icons because why not
* main sponsor urls
* support noscript z links
* start of better mobile view in noscript mode
* move files to noscript folder, fixes
* try to run script in mobile
* script works now
* refactoring
* scale textarea when theres css
* fix sponsorlink
* hide hidden compilers
* duplicate change from trunk
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>
* just the important bits
* hide arrows by default
* remove share button when in mobileviewmode
* oops
* support executor
* compiler output support, tools, executor, lot of refactoring
* support skipAsm filter
* 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.