242 Commits

Author SHA1 Message Date
Brett Andrews
133c78db20 fix: fix serverless.yaml 2021-04-12 20:34:47 +10:00
Brett
a10837113e BREAKING CHANGE: change home page and add auth flow 2021-02-08 10:16:15 +10:00
Brett
2c1e7f55c0 chore: add winston dependency to packages/api 2021-02-08 09:47:32 +10:00
Brett
cff19d8a54 refactor: serverless events http to longhand 2021-02-07 22:11:24 +10:00
semantic-release-bot
2c2fea2b1e chore(release): 1.13.3 [skip ci]
## [1.13.3](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.13.2...v1.13.3) (2021-02-07)

### Bug Fixes

* update dependencies ([87b652f](87b652f1da))
v1.13.3
2021-02-07 05:20:14 +00:00
Brett
87b652f1da fix: update dependencies 2021-02-07 15:14:10 +10:00
semantic-release-bot
d4ca8a5197 chore(release): 1.13.2 [skip ci]
## [1.13.2](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.13.1...v1.13.2) (2021-02-07)

### Bug Fixes

* cleanup; handle additional discord 4xx; adjust alarms; use serverless-amplify-plugin package; automerge dependabot; fix PR sandbox stacks ([ade08ea](ade08ea458))
v1.13.2
2021-02-07 01:01:20 +00:00
Brett
ade08ea458 fix: cleanup; handle additional discord 4xx; adjust alarms; use serverless-amplify-plugin package; automerge dependabot; fix PR sandbox stacks 2021-02-07 10:55:32 +10:00
Brett
4bd7220e58 ci: add auto-merge-dependabot 2021-01-20 20:11:25 +10:00
semantic-release-bot
3892340561 chore(release): 1.13.1 [skip ci]
## [1.13.1](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.13.0...v1.13.1) (2021-01-17)

### Bug Fixes

* add Lambda Insights ([a18d47a](a18d47a90e))
* fix manifest and sourcemaps loading in UI ([c56151a](c56151a452))
* optimize lambda+sqs integration ([77b5bbc](77b5bbcf30))
v1.13.1
2021-01-17 11:14:51 +00:00
Brett
77b5bbcf30 fix: optimize lambda+sqs integration 2021-01-17 21:08:06 +10:00
Brett
a18d47a90e fix: add Lambda Insights 2021-01-17 10:10:15 +10:00
Brett
c56151a452 fix: fix manifest and sourcemaps loading in UI 2021-01-12 14:31:07 +10:00
semantic-release-bot
cc5d215451 chore(release): 1.13.0 [skip ci]
# [1.13.0](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.12.2...v1.13.0) (2021-01-11)

### Bug Fixes

* add ingestionTime to error log and log game in PROCESS_MESSAGE:ERROR_PROCESSING_NOT_OK_RESPONSE ([94ab57e](94ab57e79b))
* change lambda functions to 128MB ([9f9972d](9f9972d23b))
* increase lambda duration to 20s ([040554b](040554b3d0))
* update lambda function memorySizes ([66b45b2](66b45b28ba))
* **ops:** add cost alert; tweak duration alarm; update dashboard ([7b4ae4a](7b4ae4aa8f))

### Features

* set NONE discordWebhookUrl when one doesn't exist; test with dynalite ([226b326](226b32644b))
* update to serverless@2 and @vendia/serverless-express@4.rc ([572ba79](572ba795dc))
v1.13.0
2021-01-11 23:25:38 +00:00
Brett
66b45b28ba fix: update lambda function memorySizes 2021-01-12 09:20:01 +10:00
Brett
d9c3c44046 ci: change ci to fail on critical audit level instead of high 2021-01-11 08:28:39 +10:00
Brett
9f9972d23b fix: change lambda functions to 128MB 2021-01-11 08:28:07 +10:00
Brett
572ba795dc feat: update to serverless@2 and @vendia/serverless-express@4.rc 2021-01-09 08:28:06 +10:00
Brett
040554b3d0 fix: increase lambda duration to 20s 2021-01-07 21:59:06 +10:00
dependabot[bot]
c5d3ced837 build(deps): bump npm in /serverless-amplify-plugin (#28)
Bumps [npm](https://github.com/npm/cli) from 6.14.4 to 6.14.10.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/v6.14.10/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v6.14.4...v6.14.10)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 20:05:50 +10:00
dependabot[bot]
1134e6dd91 build(deps-dev): bump lodash in /serverless-amplify-plugin (#29)
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>
2021-01-06 15:35:07 +10:00
dependabot[bot]
17f0c26b10 build(deps): bump bl from 4.0.2 to 4.0.3 in /serverless-amplify-plugin (#26)
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 15:34:11 +10:00
dependabot[bot]
f2b6ce205b build(deps): bump node-fetch in /serverless-amplify-plugin (#27)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 15:33:51 +10:00
dependabot[bot]
d161160a7c build(deps): bump ini from 1.3.5 to 1.3.8 in /serverless-amplify-plugin (#31)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 15:33:28 +10:00
dependabot[bot]
1d11fe7291 build(deps-dev): bump semantic-release in /serverless-amplify-plugin (#30)
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.0.4 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.0.4...v17.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 15:33:15 +10:00
dependabot[bot]
15ac74435a build(deps): bump axios from 0.19.2 to 0.21.1 in /packages/ui (#36)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 15:27:14 +10:00
Brett
7b4ae4aa8f fix(ops): add cost alert; tweak duration alarm; update dashboard 2021-01-04 21:38:38 +10:00
Brett
226b32644b feat: set NONE discordWebhookUrl when one doesn't exist; test with dynalite 2021-01-04 00:10:39 +10:00
Brett
94ab57e79b fix: add ingestionTime to error log and log game in PROCESS_MESSAGE:ERROR_PROCESSING_NOT_OK_RESPONSE 2021-01-03 10:03:03 +10:00
semantic-release-bot
1338077a61 chore(release): 1.12.2 [skip ci]
## [1.12.2](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.12.1...v1.12.2) (2021-01-01)

### Bug Fixes

* fix ApiEndpoint output ([8d77f0a](8d77f0a41b))
v1.12.2
2021-01-01 13:04:08 +00:00
Brett
8d77f0a41b fix: fix ApiEndpoint output 2021-01-01 22:58:08 +10:00
semantic-release-bot
f68ff466ef chore(release): 1.12.1 [skip ci]
## [1.12.1](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.12.0...v1.12.1) (2021-01-01)

### Bug Fixes

* add MainTable (unused) ([e795d65](e795d656f9))
* add missing import dynamodb-toolbox ([1cc806c](1cc806c5f2))
v1.12.1
2021-01-01 12:00:14 +00:00
Brett
1cc806c5f2 fix: add missing import dynamodb-toolbox 2021-01-01 21:53:28 +10:00
Brett
e795d656f9 fix: add MainTable (unused) 2021-01-01 21:10:48 +10:00
Brett
6c578be48e docs: add license 2021-01-01 21:06:36 +10:00
semantic-release-bot
aac05d58d5 chore(release): 1.12.0 [skip ci]
# [1.12.0](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.11.3...v1.12.0) (2020-12-31)

### Bug Fixes

* add required to discordWebhookUrl ([b2aeb77](b2aeb77664))
* mark game as inactive if it doesn't have a discordWebhookUrl ([6581051](6581051ee5))
* **dashboard:** add no-notifications-sent alarm ([de45031](de4503107f))
* **dashboard:** fix no-notifications-sent alarm ([d0f4e27](d0f4e27f9a))
* update player length to 12 ([90dca4d](90dca4d0c0))
* **dashboard:** fix positioning and logs ([82c3d37](82c3d37d94))

### Features

* **ops:** add NoGamesCreated alarm ([76c298f](76c298fdd9))
* add custom logger to api lambda ([893c8f6](893c8f6196))
* add logging to api lambda ([f8265db](f8265db718))
* use serverless-express@v4 ([af83ff8](af83ff89ef))
v1.12.0
2020-12-31 11:43:46 +00:00
Brett
6581051ee5 fix: mark game as inactive if it doesn't have a discordWebhookUrl 2020-12-31 21:37:34 +10:00
Brett
76c298fdd9 feat(ops): add NoGamesCreated alarm 2020-12-31 20:22:33 +10:00
Brett
b2aeb77664 fix: add required to discordWebhookUrl 2020-12-31 07:24:05 +10:00
Brett
d0f4e27f9a fix(dashboard): fix no-notifications-sent alarm 2020-12-31 07:21:09 +10:00
Brett
90dca4d0c0 fix: update player length to 12 2020-12-31 05:38:37 +10:00
Brett
de4503107f fix(dashboard): add no-notifications-sent alarm 2020-12-31 05:30:45 +10:00
Brett
f8265db718 feat: add logging to api lambda 2020-12-31 05:29:53 +10:00
Brett
893c8f6196 feat: add custom logger to api lambda 2020-12-30 17:02:23 +10:00
Brett
82c3d37d94 fix(dashboard): fix positioning and logs 2020-12-29 20:40:18 +10:00
Brett
af83ff89ef feat: use serverless-express@v4 2020-12-28 23:20:52 +10:00
semantic-release-bot
3d8e9a48e5 chore(release): 1.11.3 [skip ci]
## [1.11.3](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.11.2...v1.11.3) (2020-12-27)

### Bug Fixes

* **dashboard:** add active games widget ([4628ee1](4628ee198a))
v1.11.3
2020-12-27 14:25:14 +00:00
Brett
4628ee198a fix(dashboard): add active games widget 2020-12-28 00:20:14 +10:00
semantic-release-bot
582c001e46 chore(release): 1.11.2 [skip ci]
## [1.11.2](https://github.com/brettstack/civ6-play-by-cloud-turn-notifier/compare/v1.11.1...v1.11.2) (2020-12-27)

### Bug Fixes

* **alarm:** increase duration alarm to 5000 ([acc7584](acc7584d05))
v1.11.2
2020-12-27 13:38:34 +00:00
Brett
acc7584d05 fix(alarm): increase duration alarm to 5000 2020-12-27 23:33:13 +10:00