Commit graph

4031 commits

Author SHA1 Message Date
Jordan Eldredge
4f391a14d5 Remove unused dep 2020-11-19 01:08:52 -05:00
Jordan Eldredge
a1c19791f5 Fix bugs that make server not work 2020-11-19 01:05:28 -05:00
Jordan Eldredge
134fade8b9 Adopt migrations and add tests 2020-11-19 00:22:02 -05:00
Jordan Eldredge
22637d34f1 Move UserContext into request 2020-11-18 17:07:57 -05:00
Jordan Eldredge
6c96817117 Refactor API server to be type safe 2020-11-18 16:34:37 -05:00
Jordan Eldredge
6c15aa5c53 Continue refactor to models 2020-11-18 15:45:07 -05:00
Jordan Eldredge
5ab03ca461 Switch to a model-based database model
This also allows us to get rid of mongo!
2020-11-18 02:27:25 -05:00
Jordan Eldredge
e0da87a570 Screenshot updates and sitemap 2020-11-18 02:27:25 -05:00
Jordan Eldredge
a397eecac1 Add more log events 2020-11-14 14:06:12 -08:00
Jordan Eldredge
296d4c67e4 Fix typo in log event type 2020-11-14 14:04:08 -08:00
Jordan Eldredge
1be1940e03 Use readme as description for skin page 2020-11-14 14:01:52 -08:00
Jordan Eldredge
028a8a6277 Upgrade caniuse data 2020-11-12 22:31:40 -08:00
Jordan Eldredge
24ed9254ac Upgrade Webamp 2020-11-12 19:46:19 -08:00
Jordan Eldredge
89c4f6dd9c
Handle case insensitive file collisions (#1032)
* Use last matching file

See comment in the code.

Here is the skin that originally surfaced this issue: https://skins.webamp.org/skin/a0cf0f893d345eba99809fc84af8a71c/Half-Life%202%20-%20Gordon.wsz/

* Add regression test for case insensitive filename collision
2020-11-12 12:01:10 -08:00
Jordan Eldredge
01379b0f2b Attempt to remove duplicate head tags 2020-11-11 21:39:50 -08:00
Jordan Eldredge
9bfc6d65b0 Try to support individual sitemap files 2020-11-11 20:34:04 -08:00
Jordan Eldredge
a26e7773cc SEO improvements 2020-11-11 20:27:46 -08:00
Jordan Eldredge
2136696fa2 Spelling is hard for me 2020-11-11 00:42:12 -08:00
Jordan Eldredge
21c6c22584 Disable Sentry (we are getting 529 errors from them) 2020-11-11 00:36:48 -08:00
Jordan Eldredge
ac0b6ce1c2 Track loading state so that we don't show "zero results" indicator while reloading page with search query 2020-11-11 00:36:02 -08:00
Jordan Eldredge
9b20f773e4 Extract DSN 2020-11-11 00:35:19 -08:00
Jordan Eldredge
108b7c2b55 Improve error message of https://sentry.io/share/issue/bf25bbefd3314b359ebd9ec58b7f0821/ 2020-11-08 13:34:01 -08:00
Jordan Eldredge
1a8394c2db Handle case where user selects random skin with no matching skins 2020-11-08 13:25:47 -08:00
Jordan Eldredge
2e4946ac79 Try to get a stack trace when trying to select skin without hash 2020-11-07 19:10:23 -08:00
Jordan Eldredge
e183d1f6a0 Don't load Webamp if we are already unmounted 2020-11-07 19:06:57 -08:00
Jordan Eldredge
5f38504464 Use skin filename not path name for tweets 2020-11-07 17:13:42 -05:00
Jordan Eldredge
42c4c34757 Add Sentry support 2020-11-07 17:13:33 -05:00
Jordan Eldredge
2d1ba5ec36 Add Sentry 2020-11-07 14:11:59 -08:00
Jordan Eldredge
47464a8595 Make tweeting not depend upon Mongodb 2020-11-06 23:03:18 -05:00
Jordan Eldredge
3218d30744 Support uploading from client 2020-11-06 16:30:42 -08:00
Jordan Eldredge
fea51ee947 Support uploading from within client 2020-11-06 19:29:26 -05:00
Jordan Eldredge
3b2f39c9a9 Remove Air quality hack
Twilio cleverly detected these creds and revoked them. Thanks Twilio!
2020-11-02 23:54:32 -05:00
Jordan Eldredge
b68b522516 Server changes 2020-11-02 23:49:49 -05:00
Jordan Eldredge
ffa94b5c27 Tweet from JS and scrape tweets 2020-11-02 23:49:49 -05:00
Jordan Eldredge
04dca01af9 Fix twitter bot 2020-11-02 23:48:40 -05:00
Jordan Eldredge
1c07cf8e29 Add query just for museum data 2020-11-02 23:48:40 -05:00
Jordan Eldredge
5841d2c5a5 Delete skin, skin content hash, rebuild index 2020-11-02 23:48:40 -05:00
Jordan Eldredge
ca227dc042 Remove nsfwjs 2020-11-02 23:48:40 -05:00
Jordan Eldredge
f9fa396436
React 17 (#1030)
* Use faster source maps in dev

* Upgrade react

* Don't need to import React just for JSX any more

* Upgrade react-test-renderer

* See if having only one version of React fixes it
2020-11-02 20:40:17 -08:00
Jordan Eldredge
90bc65830c Clean up eye icon SVG 2020-11-02 16:35:43 -08:00
Jordan Eldredge
fa00493d72 Fix warnings when building
Fixes #707
2020-11-02 10:28:06 -08:00
Jordan Eldredge
169c167821 Use faster source maps in dev 2020-11-01 22:29:36 -08:00
Jordan Eldredge
e2b5cb76bf Use suspense to ensure desktop images load atomically 2020-11-01 22:24:40 -08:00
dependabot[bot]
94a681a8a0
Bump bl from 1.2.2 to 1.2.3 in /packages/skin-database (#1028)
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 16:59:19 -08:00
Jordan Eldredge
5645f67d93 Update image snapshots 2020-11-01 16:58:54 -08:00
Jordan Eldredge
8c870b65c2 Fix skin url in integration tests 2020-11-01 16:53:13 -08:00
Dimitris Zorbas
942acccc3c
Fix typo in readme (#1024) 2020-11-01 08:46:11 -08:00
Jordan Eldredge
9d4f71546a Recover if individual files cannot be extracted
See:
https://webamp.org/?skinUrl=https://cdn.webampskins.org/skins/0a90a510fcc077b0710f4ff1a763c8c2.wsz

And: https://twitter.com/diamante_loco/status/1320374866311262210?s=21
2020-10-25 14:20:29 -07:00
Jordan Eldredge
8523b0686e Version bump 2020-10-19 10:09:52 -07:00
Jordan Eldredge
0a3664bdbc Require file extension for sprites 2020-10-12 21:53:34 -07:00