Commit graph

39 commits

Author SHA1 Message Date
Jordan Eldredge
1e0a9114dd Upgrade ts (#952)
* Upgrade Typescript

* Upgrade prettier

* Upgrade eslint-typescript

* Don't abide extra else

* Remove eslint plugin that we don't use any more

* Remove unused Webpack plugin

* Remove eslint rule that we don't really need

* Remove unused Jest plugin

* Remove redundant package

* Prettier fixes
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d09293c975 Fix lints 2019-11-30 13:42:53 -08:00
Jordan Eldredge
4a2a08b628 Improve skin database 2019-11-30 13:42:53 -08:00
Jordan Eldredge
8968633dc0 Hash images 2019-11-30 13:42:53 -08:00
Jordan Eldredge
45ca2da562 Upgrade imagemin 2019-11-30 13:42:53 -08:00
Jordan Eldredge
e0f8555df1 Remove duplicate import 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d4e5b91229 Move all s3 APIs into the database interface 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f2c6835ee1 Throw explicit error when we can't find a skin. 2019-11-30 13:42:53 -08:00
Jordan Eldredge
dc1c06b7d2 Tone down request for review 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2b882d3f1f Add back missing imports 2019-11-30 13:42:53 -08:00
Jordan Eldredge
557c05980e Clean up lint errors 2019-11-30 13:42:53 -08:00
Jordan Eldredge
6034d80d86 Log more stuff to Discord 2019-11-30 13:42:53 -08:00
Jordan Eldredge
607f1ad10c Only alert via Discorn on logs that opt into alerting 2019-11-30 13:42:53 -08:00
Jordan Eldredge
750f28580a Move tweet bot notifications from Python to JS 2019-11-30 13:42:53 -08:00
Jordan Eldredge
10b4c558d3 Consolidate Discord logger setup 2019-11-30 13:42:53 -08:00
Jordan Eldredge
8a544c86c8 Don't require Internet Archive info to get skin 2019-11-30 13:42:53 -08:00
Jordan Eldredge
7feac1a223 Handle missing skins better and move s3 update from Python to JS 2019-11-30 13:42:53 -08:00
Jordan Eldredge
46d1cb9874 Fix getting a tweetable skin, and stats 2019-11-30 13:42:53 -08:00
Jordan Eldredge
d68f9b8ea8 Bail 2019-11-30 13:42:53 -08:00
Jordan Eldredge
44798d0a29 Output is not an object 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f9c6fdc6ab Ensure cli disconnects from DB 2019-11-30 13:42:53 -08:00
Jordan Eldredge
9ca10abdb4 Improve Discord logging 2019-11-30 13:42:53 -08:00
Jordan Eldredge
f526e4ba39 Remove reference to undefined db 2019-11-30 13:42:53 -08:00
Jordan Eldredge
86c3883af6 logger.warn only takes two arguments, unlike console.warn 2019-11-30 13:42:53 -08:00
dependabot[bot]
7c26257381 Bump mixin-deep from 1.3.1 to 1.3.2 in /experiments/skin-database (#895)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
Jordan Eldredge
646753526b Fix lints 2019-11-30 13:42:53 -08:00
dependabot[bot]
e1c37b260a Bump lodash from 4.17.11 to 4.17.15 in /experiments/skin-database (#838)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
Jordan Eldredge
02df797b40 Fix lint errors in skin-database 2019-11-30 13:42:53 -08:00
Jordan Eldredge
79ac60f1f1 Modern integration (#833)
* Make modern part of the code base

`yarn modern` will now start a dev server with the modern app running.

The debugger is not yet setup

`yarn test` will run all the tests, both Webamp and "modern".

* Let debug work

* Prettier

* Ignore lint errors for now

* Point test at the now skin location
2019-11-30 13:42:53 -08:00
Jordan Eldredge
ba3a4fdb25 Allow Discord bot to query skins by item name 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2d6fd75540 Start playing with a Winston client that DMs me 2019-11-30 13:42:53 -08:00
Jordan Eldredge
2186d2eb11 Improve logging 2019-11-30 13:42:53 -08:00
Jordan Eldredge
041d56616c Fix lint errors 2019-11-30 13:42:53 -08:00
Jordan Eldredge
3d8876f771 Small improvements 2019-11-30 13:42:53 -08:00
Jordan Eldredge
333e85ae23 Unify discord-bot and skin-database 2019-11-30 13:42:41 -08:00
Jordan Eldredge
3226d7820e Fix path 2019-06-07 21:28:23 -07:00
Jordan Eldredge
a60e4cb5d3 Add screenshot and other Discord bot improvements 2019-06-07 21:27:38 -07:00
Jordan Eldredge
90b7a1e4f7 Pull discord-bot into skin-database
Also make the cli for the skin-database the canonical way to tweet

This opens the door for moving the state of which tweets have been
approved/denied/tweeted into the MongoDB database and not S3
2019-06-07 21:10:19 -07:00
Jordan Eldredge
0fded822f8 Start playing with database 2019-06-06 07:11:03 -07:00