Commit Graph
181 Commits
Author SHA1 Message Date
Austin Morton ff5e454b49 Fix codecov 2020-08-05 02:47:23 -04:00
RabsRincon e0a5e9e56b Bump eslint to version 7.6.0
Note that eslint-plugin-sonarjs asks for a peer fo <= 6,
 but we have no incompatibilities (We dropped node 8 support)

Check https://github.com/SonarSource/eslint-plugin-sonarjs/pull/155
2020-08-05 07:19:04 +02:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
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>
2020-08-04 16:39:02 -04:00
Austin Morton ba6b49b2e9 Split vendor code into separate webpack bundle and reduce amount of monaco code bundled (#2113)
Additionally minify css bundles.
2020-08-02 19:03:39 -04:00
dependabot[bot] 06d42a3bb9 Bump codecov from 3.6.5 to 3.7.1 (#2091)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.5 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.5...v3.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 15:17:47 +02:00
dependabot[bot] e052522dd9 Bump lodash from 4.17.15 to 4.17.19 (#2085)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 10:16:47 +02:00
Austin Morton 1035440125 Prevent editor selection changes from overwriting shortlink url (#2039)
fixes #2016
2020-06-20 20:39:34 +02:00
Matt Godbolt e86bdf89ed Update to latest sentry 2020-06-09 20:10:00 -05:00
Matt Godbolt 84e9b282fd Canonical URLs now https://github.com/compiler-explorer/compiler-explorer! Hooray :) 2020-05-16 11:09:30 -05:00
Matt Godbolt 420462bdfd Move thanks to "sponsors"
* 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.
2020-04-11 18:11:41 -05:00
Matt Godbolt c888929865 Pin jquery to 3.4.1 until twbs/bootstrap#30553 is fixed 2020-04-11 11:13:53 -05:00
Matt Godbolt 54940603b9 More npm upgrades 2020-04-10 12:46:57 -05:00
Matt Godbolt 147cb8c0a3 Update to latest monaco and monaco webpack plugin 2020-04-10 09:03:03 -05:00
Matt Godbolt 0037c8f531 Tweaks to remove more warnings from npm 2020-03-30 22:00:33 -05:00
Matt Godbolt cd22098fc4 Update to latest sentry 2020-03-30 21:44:33 -05:00
Austin Morton cadbdf59ff Switch to p-queue package, implement compilationEnvTimeoutMs, and improve temp cleanup logging (#1877)
These changes are an attempt to help diagnose a queue halting issue that decreases parallelism and prevents temp dir cleanup.

see #1875
2020-03-07 01:50:49 -05:00
Austin Morton 4760ae92de Update dependencies (#1842) 2020-02-25 02:46:41 -05:00
dependabot[bot] aec542b36c Bump codecov from 3.6.1 to 3.6.5
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.1 to 3.6.5.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-19 18:20:23 +00:00
Austin Morton baf354241e Pin minor versions of monaco-editor and monaco-editor-webpack-plugin
Until monaco-vim supports monaco-editor@0.20.0 we need to hold these back
2020-02-18 02:18:25 -05:00
Austin MortonandRubén Rincón Blanco 7ce90a3388 Update to latest monaco webpack plugin (#1836)
* Update to latest monaco webpack plugin to get content hashes on worker script path
* Move to Monaco built-in Pascal mode

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2020-02-17 17:09:47 -05:00
Matt Godbolt 5711a1af5d Move to terser (#1832)
uglify-plugin was deprecated and had security audit moans.
Tested this locally and seems equivalent. Didn't play much with
the settings. Very slight pessimisation of file size (adding ~80kb to
3.3MB)
2020-02-13 09:24:11 -05:00
Matt Godbolt 154ebf7fd7 Upstream package updates
* New sentry stuff
* Upgrade webcopy-plugin to help with security complaints
2020-02-12 07:33:11 -06:00
Austin Morton ac363db579 Log slow requests to sentry (#1813) 2020-01-31 13:40:36 -05:00
Matt Godbolt fd06260a5e Attempt at getting travis tagging 2020-01-11 15:26:40 -06:00
Matt Godbolt 742df2e6a0 Bump sentry version 2020-01-11 11:21:34 -06:00
Matt Godbolt 9020ed58db Logs server-side errors; update to latest sentry. See #1765 2020-01-06 22:22:48 -06:00
Austin Morton 9d1c26ea65 Support resolving non-absolute compiler exe values using system path
Closes #1649
2019-11-13 18:31:30 -05:00
Partouf d96017e258 Merge remote-tracking branch 'matt/master' into apicode 2019-10-27 15:48:20 +01:00
Matt Godbolt b865d08fa7 Upgrade npm deps.
Literally an `npm update` and then a test.
2019-10-22 20:38:04 -05:00
Partouf 6c4c578167 copypaste working version 2019-10-23 02:26:00 +02:00
Matt Godbolt fc2cc46080 Upgrade to latest sentry libraries 2019-10-22 17:16:14 -05:00
Partouf 107c23effa use latest monaco-vim 2019-08-29 20:48:45 +02:00
alclol e18bf5f5b0 merge 2019-08-24 02:44:44 -07:00
RabsRincon 1f7d7f3ec3 Merge branch 'master' into monaco-webpack 2019-07-26 23:01:02 +02:00
Austin Morton 6ee738e7e6 Fix external compilers when httpRoot is set. (#1410) 2019-07-23 17:01:38 -04:00
RabsRincon 6a9095ff02 First steps towards using Monaco with webpack 2019-07-22 14:37:49 +02:00
RabsRincon 57cb1e824a Completely remove need for denodeify
fs-extra already does what we were asking the package to do
2019-07-19 15:11:16 +02:00
Patrick Quist 945ab7f9b7 Merge pull request #1473 from mattgodbolt/features/configurable-health-check
[BUG] /healthcheck doesn't detect NFS mount failure
2019-07-16 22:04:37 +02:00
alclol 4f12babb76 vim keybinding feature. Need support to redesign the UI. 2019-07-16 11:26:56 -07:00
Austin Morton 4f0e1cf155 Implement health checks that read from a file on disk. See #1473 2019-07-16 04:57:39 -04:00
Austin Morton 73f9835fcd Fix support for IE11. Closes #1258 2019-07-15 01:29:58 -04:00
Matt Godbolt 91acd80003 Move moanco back to 0.15.6; the latest version for which mousewheel support works in FireFox 2019-07-13 08:45:29 -05:00
Matt Godbolt 5015f353db Upgrade lodash to fix high severity CVE 2019-07-11 22:05:38 -05:00
RabsRincon 6a8c67ff2a Upgrade to Monaco 0.17 2019-07-10 21:58:42 +02:00
RabsRincon 125d462f70 Initial try to upgrade webpack 2019-07-10 18:11:52 +02:00
RabsRincon ccbfdc3b61 Make ci-test available and fix bad line 2019-07-08 22:17:02 +02:00
RabsRincon 7e37263b1c Improve test & coverage handling 2019-07-08 21:46:39 +02:00
Matt Godbolt d06ed2c628 Update aws-sdk to latest. See #1217 2019-06-10 22:01:08 -05:00
Matt Godbolt 5d81757e91 Use released version of node-graceful 2019-05-29 09:52:47 -05:00
Matt Godbolt f012fffa7a Switch to a newer istanbul/nyc 2019-05-29 09:12:20 -05:00