Commit Graph
30 Commits
Author SHA1 Message Date
zkldi 643b3dcadf Add a discord webhook for logs. 2021-09-17 20:03:26 +01:00
zkldi 742ce585e9 Add USC Chart Orphaning support (and tests!) 2021-09-06 16:40:19 +01:00
zkldi b79804d273 Fixing Random Test Failure (#309)
* Test 1: Async Wrapping

* Revert "Test 1: Async Wrapping"

This reverts commit 8f0e0d283686d367e18275684cc7858af0538515.

* Pin github actions node version to the same as ours

* Revert "Pin github actions node version to the same as ours"

This reverts commit 3758ee05ef5647f608ef3fd1c85b88eb97e3f077.

* Move lint step to after running tests

* add a NO_CONSOLE config option

* temporarily set log level to debug

* Enable more mongodb logging in testing

* Experimentally bundle before script into SPT.

* run without any before

* Revert "Experimentally bundle before script into SPT."

* Revert "Enable more mongodb logging in testing"

This reverts commit c11f918c850dc53cb49b262cb0b51141ac132aab.

* Fix missing import

* Re add the mongodb logging

* Set LOG_LEVEL back to reasonable levels

* Increase timeouts for mongo and redis connections

* Change how codecov works

* Use ServerSelectionTimeoutMS instead of connect

* pls?

* Bump TAP Timeout to 4 minutes, which we'll probably never hit.
2021-09-01 06:26:37 +01:00
zkldi 04776732eb Strip unused closeconnections 2021-08-26 13:42:47 +01:00
zkldi 8aabc33adf Hoist t.teardown calls to the single-process-tap script 2021-08-26 03:42:06 +01:00
zkldi a93defaf65 Refactor tap to use Single-Process-TAP 2021-08-26 03:06:29 +01:00
zkldi a12b510448 fix broken tests depending on old config code 2021-08-10 22:28:24 +01:00
zkldi 5a6a334e69 Config Code refactor 2021-07-31 01:54:33 +01:00
zkldi 8baa8dc37a Refactor entire repo to use baseUrl "/src"
Fixes #219
2021-07-28 23:53:05 +01:00
zkldi 997297932a Fix Maintenance Endpoint #221 2021-07-28 22:24:47 +01:00
zkldi dcb791d543 add getloglevel 2021-07-28 21:41:35 +01:00
zkldi 51c68dabc1 change json.stringify to safejson stringify 2021-07-24 02:44:55 +01:00
zkldi a962f3dfec Fix critical accident in RequestLoggerMiddleware 2021-07-23 19:10:32 +01:00
zkldi b2f9fdc6ae Fully tested new folder and tierlist APIs 2021-06-30 02:10:02 +01:00
zkldi 3f8fa475d6 clean up t.throws/t.rejects 2021-06-26 01:36:39 +01:00
zkldi b6cee346b9 Convert space indentation to tabs. 2021-06-20 03:13:05 +01:00
zkldi d573172cd9 that should be it for basic tests 2021-06-18 18:00:33 +01:00
zkldi 37993cdac1 Refactor every games calculatedData to be gameSpecific 2021-06-04 20:33:00 +01:00
zkldi bd041d4208 revert c8 ignore next changes 2021-06-01 22:23:57 +01:00
zkldi 0df9f9131a fix invalid transports in logger.test.ts 2021-06-01 13:58:15 +01:00
zkldi 691fa46fb7 remove file logging for testing 2021-06-01 13:57:24 +01:00
zkldi 1c9f1414e8 Add tests for codecov 2021-05-31 21:02:23 +01:00
zkldi 52560caf76 Change all calls to CloseMongoConnection to CloseAllConnections (This is because RedisPubSub clients now need to be closed sometimes) 2021-05-29 10:20:15 +01:00
zkldi af7bc16e37 fervidex-static tests 2021-05-27 20:10:40 +01:00
zkldi 6aef38bc8d fix error in CreateFakeAuthCookie 2021-05-25 21:59:51 +01:00
zkldi 3861546010 Improve severe logging to be slightly more important 2021-05-25 21:58:02 +01:00
zkldi c03a34365d red on bgWhite is illegible 2021-05-25 21:47:10 +01:00
zkldi c808c6c085 more env var fixing 2021-05-25 20:35:23 +01:00
zkldi da25b11702 move KtLogger type to lib/logger/logger 2021-05-25 19:16:21 +01:00
zkldi b80259ff26 move logger to lib/logger 2021-05-25 18:58:31 +01:00