Commit graph

149 commits

Author SHA1 Message Date
Jordan Eldredge
90aef32df8 Get rid of @babel/preset-react 2020-12-22 16:27:28 -08:00
Jordan Eldredge
ea1c7bdbbd Bump cursor-ani version 2020-12-10 20:12:07 -08:00
Jordan Eldredge
223084ad83 Mention ani blog post in changelog 2020-12-10 20:03:12 -08:00
Jordan Eldredge
829f7cbb6c Fix deploy of ani-cursor 2020-12-10 19:30:17 -08:00
Jordan Eldredge
5f6c8bd4ae Update blog post link 2020-12-10 00:05:33 -08:00
Jordan Eldredge
441b397a72 Clean up in prep of publishing ani-cursor 2020-12-09 22:58:02 -08:00
Jordan Eldredge
5abadecc4f
Pull ani-cursor out into its own package (#1040)
* Pull ani-cursor out into its own package

* Fix yarn.lock?

* Ignore compiled tests

* Was yarn.lock messed up?

* Add ani-cursor to build
2020-12-09 22:47:50 -08:00
Jordan Eldredge
f6cf3a1897 Refactor ani parser 2020-12-08 23:10:59 -08:00
Jordan Eldredge
0bb694d9d2
Correctly handle keyframe transitions (#1037)
* Correctly handle keyframe transitions

CSS properties with a animation type of "discrete" like `cursor`actually
switch half-way _between_ each keyframe. To avoid ambiguityabout how
long we want each frame to show, we explicitly give both thestart _and_
end timing of each frame.

https://drafts.csswg.org/web-animations-1/#discrete

Thanks to https://github.com/matthewwithanm/ for catching this bug.

We also add a `:hover` pseudo selector to avoid running the animation
when the cursor is not visible.

* Refactor to dedupe URIs in CSS

* Make ani parsing more robust by handling artist/title

Also, ignore icons that crash the parser

* Clean up comments
2020-12-07 13:07:13 -08:00
Jordan Eldredge
680b863b90
Support .ani cursor files (#1035)
* Use first frame of ani animation

* Add types for aniParse

* Sketch out animating .ani cursors

* Use existing util to convert Uint8Array to base64

* Match binary magic

* Support rate and seq

* Fix and cleanup tests

* Fix serialization tests

* Make jiffies to ms conversion more precise

* Add note to changelog about .ani cursors
2020-12-04 21:01:41 -08:00
Jordan Eldredge
5ddb7833ec Add !debug command 2020-12-02 15:18:18 -05:00
Jordan Eldredge
70095fe88f Get upload ids in parallel 2020-12-02 14:51:31 -05:00
Jordan Eldredge
031596f8a6 Remove !archive command in favor of the skin musuem upload flow 2020-12-02 14:49:11 -05:00
Jordan Eldredge
c76307d60e Overhaul ia sync 2020-12-02 14:39:38 -05:00
Jordan Eldredge
f7b45868cf Use async generator for handling uploads 2020-12-02 14:30:03 -05:00
Jordan Eldredge
ec8e791410 Ignore db meta files 2020-12-02 13:57:32 -05:00
Jordan Eldredge
542ab16772 Move upload discord notifications to discord event handler 2020-12-02 13:57:22 -05:00
Jordan Eldredge
f98f38402a Note why we only define seeds for test 2020-12-02 13:28:42 -05:00
Jordan Eldredge
16ec917b41 Ensure tweet ids are unique 2020-12-02 02:50:46 -05:00
Jordan Eldredge
039d3ea8c6 Remove tweet url field. It can be infered. 2020-12-02 02:10:57 -05:00
Jordan Eldredge
c7911aea8c Test tweet update function 2020-12-02 02:10:35 -05:00
Jordan Eldredge
9d08b99754 Improve tweet data 2020-12-02 01:21:24 -05:00
Jordan Eldredge
591c9cdc68 Remove unused import 2020-12-02 01:20:48 -05:00
Jordan Eldredge
303e607a37 Add type info 2020-12-02 01:20:31 -05:00
Jordan Eldredge
587f862d6f Remvoe comments 2020-12-02 01:20:22 -05:00
Jordan Eldredge
afe22daee5 Get skins by tweet id 2020-12-01 18:53:53 -05:00
Jordan Eldredge
986aecc708 Stub out integrity check 2020-11-30 22:00:57 -05:00
Jordan Eldredge
915ba85c8a Allow skins to be marked as NSFW via API 2020-11-30 22:00:38 -05:00
Jordan Eldredge
929aef926b Add command for server development 2020-11-30 19:30:32 -05:00
Jordan Eldredge
7c740372e3 Add more test coverage 2020-11-30 19:30:09 -05:00
Jordan Eldredge
34930e1b0e Inject server logger 2020-11-30 19:29:19 -05:00
Jordan Eldredge
53e85cdd60 Improve environment separation 2020-11-30 18:14:28 -05:00
Jordan Eldredge
093552fad0 Remove unused auth check 2020-11-30 16:38:18 -05:00
Jordan Eldredge
7f1b0fc538 CLI command to reject 2020-11-30 16:38:00 -05:00
Jordan Eldredge
d23c806a35 Send review messages to new channel 2020-11-30 16:37:54 -05:00
Jordan Eldredge
68dadec7ac Approve/reject skins from the website 2020-11-30 01:25:38 -05:00
Jordan Eldredge
918fd4b4da Progress 2020-11-29 00:31:08 -05:00
Jordan Eldredge
33bda6b061 More tests and eslint 2020-11-29 00:31:08 -05:00
Jordan Eldredge
5a93682f54 Cut 1.4.2 release 2020-11-26 13:40:45 -08:00
Jordan Eldredge
4e61a1ac23 Add close method to public types 2020-11-26 13:36:29 -08:00
Jordan Eldredge
46e0e8180c Cut 1.4.1 release 2020-11-26 13:26:22 -08:00
Jordan Eldredge
101fa863d9 Add webamp.close() method 2020-11-26 13:26:22 -08:00
Jordan Eldredge
d963f987b1 Add dummy data 2020-11-26 13:26:22 -08:00
Jordan Eldredge
2f326564a0 Split out Maki React components 2020-11-26 13:26:22 -08:00
Jordan Eldredge
62b00300a3 Remove duplicate dependencies 2020-11-26 13:26:22 -08:00
Jordan Eldredge
7b51ce1743 v1.4.1-beta06 2020-11-26 13:26:22 -08:00
Jordan Eldredge
de141d4eac Test get_upload_urls 2020-11-19 23:02:42 -05:00
Jordan Eldredge
150e0be317 Tests for fromAnything 2020-11-19 20:03:02 -05:00
Jordan Eldredge
e1d29222a5 Extract fromAnything logic into models 2020-11-19 19:02:21 -05:00
Jordan Eldredge
e7005dba72 Test skins route with query params 2020-11-19 10:18:16 -05:00