Commit graph

276 commits

Author SHA1 Message Date
Jordan Eldredge
6dce525272
Retry Internet Archive integration tests (#963)
* Increase timeout

* Retry failed tests five times
2020-01-13 20:36:43 -08:00
Jordan Eldredge
6d6dc1e8ba
Experiment with action to run IA tests (#961)
* Experiment with action to run IA tests

* Split out IA tests

* Don't try on push

* Also on push

* Make an error an error

* Introduce failing test

* Return an error exit code

* Remove failing test
2020-01-04 14:22:25 -08:00
Jordan Eldredge
1b188f1408 Add Internet Archive test 2019-12-19 06:48:55 -08:00
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
46caf4a66a Upgrade another imagemin 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
3d8b8432d9 Remove s3 stuff from Twitter bot 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
Jordan Eldredge
0f25e490e3 Remove empty dir 2019-11-30 13:42:53 -08:00
Jordan Eldredge
b829e67b02 Clean up types a bit 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
dependabot[bot]
c0b546847b Bump mixin-deep from 1.3.1 to 1.3.2 in /experiments/skinArchiveTools (#896)
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
dependabot[bot]
6d5c30f10b Bump lodash from 4.17.11 to 4.17.13 in /experiments/skinArchiveTools (#835)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

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
529c6be0a7 Fix debugger variables
I broke this in b2267d569b

This fix is gross, but I'm just trying to move forward.
2019-11-30 13:42:53 -08:00
jberg
a0fab01e0e Fix getclassname typo (#832) 2019-11-30 13:42:53 -08:00
jberg
de7f9655a3 add events on GuiObjects (#830)
* add events on GuiObjects

* switch to mouse enter/leave instead of out/over
2019-11-30 13:42:53 -08:00
Jordan Eldredge
617574ed44 Migrate to ES6 modules 2019-11-30 13:42:53 -08:00
Jordan Eldredge
656c4ef8a9 Use getclassname to avoid dependency cyle 2019-11-30 13:42:53 -08:00
jberg
8a2aef62f4 remove registry, use tree lookups (#828)
* remove images from registry, use tree lookups

* dont need registry for images anymore

* remove registry

* remove registry, apply groupdefs using lookups

* change function name

* simplify direct descendants

* remove prev siblings methods, just check inside loop for node

* comment on search

* handle groupdefs we dont find

* handle not finding specific id in first <elements> we find

* abstract out findInLexicalScope

* Add Js prefix for non-Maki objects
2019-11-30 13:42:53 -08:00
jberg
8ee3882aba fix variable unboxing issue, move all unboxing to single method (#827) 2019-11-30 13:42:53 -08:00
jberg
0335e4129f add more maki objects and functions for corner amp to work (#826)
* add more maki objects and functions for corner amp to work

* fix functions to lower case / add unimplemented warning
2019-11-30 13:42:53 -08:00
jberg
97dd22f314 Handle MAKI functions being case insensitive (#825) 2019-11-30 13:42:53 -08:00
jberg
3559953440 remove checking current hooks for event handling (#824) 2019-11-30 13:42:53 -08:00
jberg
769c7b9577 Initialize maki object tree (#823)
* make initialize tree out of maki objects

* pass global flag to variables, only need hooks for global variables

* implement new opcode

* start using non generic makiobject

* run scripts

* fix running scripts

* skip standardframe for now

* switch to simple example for now

* make WAL a group

* move xml/init functions to be in GuiObject

* handle creating backing XML nodes for objects created (new) in scripts

* simpler null check

* add js_ prefixes

* only bind event handlers for hooks if they are present

* uppercase for Classes

* make null checking explicit

* need to check undefined, not null

* implement init for adding nodes to state tree

* dont render groupdefs, dont execute scripts in groupdefs

* implement getContainer

* move find descendants to utils
2019-11-30 13:42:53 -08:00
Jordan Eldredge
1efded00d3 Fix a few variable names I forgot to update 2019-11-30 13:42:53 -08:00