Commit Graph

3308 Commits

Author SHA1 Message Date
dependabot[bot]
0ec42ead55
Bump jszip from 3.6.0 to 3.7.0 (#1129)
Bumps [jszip](https://github.com/Stuk/jszip) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 00:16:57 -07:00
dependabot[bot]
4738d53877
Bump tmpl from 1.0.4 to 1.0.5 (#1125)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 00:16:26 -07:00
dependabot[bot]
39d508e00e
Bump aws-sdk from 2.683.0 to 2.814.0 (#1134)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.683.0 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.683.0...v2.814.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 00:16:18 -07:00
dependabot[bot]
b54cefcb4f
Bump nanoid from 3.1.23 to 3.3.2 (#1168)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 00:15:14 -07:00
dependabot[bot]
aa41e94b4f
Bump minimist from 0.0.8 to 1.2.6 in /packages/skin-database (#1167)
Bumps [minimist](https://github.com/substack/minimist) from 0.0.8 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/0.0.8...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 00:15:05 -07:00
Jordan Eldredge
6381806bfd Fix lint 2022-04-02 00:12:17 -07:00
Fathony Luthfillah
10555e093f
Set the 2nd modern iteration as only one on (modern) track. (#1166)
* yarn extract-object-types (run again)

* preparing to load Application.mi

* avoid error about using function ins strict mode.
turn this to "function" syntax to see the error/warn

* embed TrueTypeFont in one CSS

* add api: getAttribute

* reaching zero erro at devtool Console

* set color correctly.

* move compiler to new project

* take some yarn-scripts from sibling (modern-1)

* reconfigure objectData target path

* remove duplicated folder

* discontinuing the 1st iteration
captbaritone: it's probably time to del modern & ren modern-2: modern

* set the 2nd iteration as only one on track.
captbaritone: it's probably time to del modern & ren modern-2: modern

* bugfix test not working: path unavailable

* implement TODO

* reduce warning at import jzip

* solving Deploy: failed

* solving deploy failed
error: Unknown workspace "webamp-modern

* bugfix premateur call of this._font_id

* bugfix font-family : ''; prettier.

Co-authored-by: Fathony <fathony@smart-leaders.net>
2022-03-30 19:35:19 -07:00
Fathony Luthfillah
69122b7c89
Revert back to /progress.html working (#1164) 2022-03-25 20:10:02 -07:00
Jordan Eldredge
c5215a79ca
Show list of 1000 modern skins to choose from (#1163) 2022-03-24 23:35:04 -07:00
Jordan Eldredge
904ae264ac Add some new cases to fix lint 2022-03-24 22:09:37 -07:00
Fathony Luthfillah
b0e24fb8a3
Use WinampModern (skin name) (#1162)
* Toggle container (action)
it works but the container is currently empty.

* Wasabi:Frame:Xxx : parse,load,init
this patch has no error, but not visible due relatW/relatH not available

* movable,resizable
Tested with MMD3 only

* allow unregister eventListener, etc. minor.

* make the group movable

* trial to move MMD3 main window

* Prettier.

* speedup devtool: simplify tag,style

* bugfix clip-path.
Issue: the bigColorTheme didn't rendered properly

* del "../winamp modern" (specific skin only)

* prettier

* +comment, prettier

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* warn for premateur bitmap that has no id.

* del dead code

* bugfix invalid css caused by empty array

* del premateur logic (no use case with MMD3)

* add comment: clarify that getToken is 0 based.

* +WinampConfig files

* don't stop on bitmap not found

* +skin as usecase

* showing main-window, for the first time

* del dead code

* showing less complainging errrors

* avoid shutdown while the skin.wal is updated.

* direct show obj (instead of stringify)

* incoming Audio: play/stop/pause

* + big elements, -big parser mod

* parsing in simple and safe way

* BitmapFont & Text

* okay. just an error (not initilaized) avoided.

* +doResize

* +implementation: autoWidthSource

* show long song title

* +api:sendparams

* bugfix interpreter: brutal boolean

* Seeker: song & volume

* load modern skin without thrown any error

* MuteBtn works

* bugfix transparency of seekerghost

* bugfix orphan sys to run (MMD3, etc)

* auto reapply regions after resizing

* bugfix titlebar.right.width==0

* MainWindow movable!

* color! it is now also gamma-aware

* colortheme: doubleclickable,bold,header-column

* allow handleAction:actionTarget, clTheme:next,prev

* close my Container!

* bugifx titlebar.getText()

* bugfix volume (knob) click.

* bugfix volume (knob) click on moved Container

* bugfix layer: cropped by transparent

* del dead code

* bugfix volum know conflict with layer crop

* bugfix font-size

* bugfix slider moves container

* bugfix 2pixel higher than expected.

* speedup resize + avoid flickering

* Equalizer: showInfo()

* integrate all eqSliders in single mouseMove

* reducing lock: anti-freeze mouseMove

* less error/warn. prettier.

* enableGammaSet accept string | null

* public function that exposes font._externalBitmap

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* prettier

* + a note for temporary hack.

* revert a dirty hack

* del overkill logic

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* nothing

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* nothing

Actually I hate implicit parameter, it may drive to wrong logic. But since it just local function, it is acceptable, even still I hate that way.

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

* turn to arrow function

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* bugfix ticker="scroll" | "bounce" | "off"

* Promise.all([].map(async)) !

* Promise.all([].map(async)) !

* remove double__underscore

* set AUDIO_* to string constant

* cleanup comments

* del dead code

* bugfix config-tabs, cleanup, prettier

* expose _id and _file via public method

* introducing new eventListener. works well.

* mute console

* bugfix mouse-move behavior

* remove old custom Emitter

* add note of why returning a function

* allow BOOLs to do logical AND.
without this, the play button click will throw error

* loading componentBucket entries

* add a wrapper for bucket children

* componentBucket: scrollable

* finalize the componentBucket

* +groupxfade. allow do skinParse(xmlnode) runtime.

* animate XFade content

* Show XFade sub-page

* del dead code

Co-authored-by: Fathony <fathony@smart-leaders.net>
Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-24 21:45:30 -07:00
Jordan Eldredge
6c325e9ec5 Use correct name for command 2022-03-25 00:08:53 -04:00
Jordan Eldredge
b03c60b836 Pin versions 2022-03-24 21:07:50 -07:00
Jordan Eldredge
612c7eea9a Remove log 2022-03-24 21:07:50 -07:00
Jordan Eldredge
00177224de Add modern skins to the graphql schema 2022-03-24 21:07:50 -07:00
Jordan Eldredge
169bd3b55f Fix lint errors 2022-03-24 21:07:50 -07:00
Jordan Eldredge
7c92bb3d7d Upgrade eslint 2022-03-24 21:07:50 -07:00
Jordan Eldredge
72bd7a2a53 Sart to expose modern skins via graphql 2022-03-24 21:07:50 -07:00
Jordan Eldredge
8c222d39c7 Better message on server start 2022-03-24 21:07:50 -07:00
Jordan Eldredge
69da26fb7c Throw an error if a skin is classic AND modern 2022-03-24 21:07:50 -07:00
Fathony Luthfillah
8ae08dce40
Show ColorTheme Form, Movable window/layer (#1161)
* Toggle container (action)
it works but the container is currently empty.

* Wasabi:Frame:Xxx : parse,load,init
this patch has no error, but not visible due relatW/relatH not available

* implement relatW/relatH
This patch shows the bigColorTheme window

* movable,resizable
Tested with MMD3 only

* bugfix: unexpected gotoTarget result

* allow unregister eventListener, etc. minor.

* make the group movable

* trial to move MMD3 main window

* Prettier.

* bugfix invalid clip-path value

* speedup devtool: simplify tag,style

* bugfix clip-path.
Issue: the bigColorTheme didn't rendered properly

* mute console

* avoid lowercasing the color-theme-name

* avoid double negative

historically, it was easy to understand : 100% - 12px due I think there shall never be 100% + 12px.
BUT they did! there is something 100% + 99px !

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* unregisterable self-event-listener

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* improve readability

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* relat() -> relative()

* del "../winamp modern" (specific skin only)

* prettier

* avoid exposing private on other class.

* del dead code, +comments

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* typo

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* +comment, prettier

* remove bind() for better unregister event listener

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* del dead code

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* add note of what going on.

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>

* warn for premateur bitmap that has no id.

* del dead code

* warn for unknown/unlisted guid

* remove seekerGhost transparency hack, prettier.

* typo

* guarding move vs resize to be not overlapped

* bugfix invalid css caused by empty array

* del dead var

* del premateur logic (no use case with MMD3)

* add comment: clarify that getToken is 0 based.

* bugfix typo of ambiguous var name.
@captbaritone: having w and W in the same namespace is too confusing.

* del confusing code

Co-authored-by: Fathony <fathony@smart-leaders.net>
Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-20 00:47:13 -07:00
Jordan Eldredge
9217429145 Turn off some tests that fail in CI 2022-03-18 00:21:19 -07:00
Jordan Eldredge
058228fd22 Add format command 2022-03-18 00:16:50 -07:00
Jordan Eldredge
df57bff7e1 Fix formatting in default query 2022-03-18 00:16:50 -07:00
Fathony
f637ccae7d doing prettier 2022-03-18 00:15:02 -07:00
Fathony Luthfillah
e0724c338c Update packages/webamp-modern-2/src/utils.ts
okay, one line is better. less code less bug

Co-authored-by: Jordan Eldredge <jordan@jordaneldredge.com>
2022-03-18 00:15:02 -07:00
Fathony
316c130bc6 move huge inline-css to <head> 2022-03-18 00:15:02 -07:00
Fathony
f8559f0b02 allow external *.wal
sample: http://localhost:8080/?skin=/assets/extracted/skins/MMD3.wal
2022-03-18 00:15:02 -07:00
Jordan Eldredge
b7c72ad414 Fix which channel we use for feedback 2022-03-16 02:16:25 -04:00
Jordan Eldredge
d7e4c1184b Fix formatting 2022-03-15 23:15:37 -07:00
Jordan Eldredge
df5aa4f5db Start to introduce Node 2022-03-15 23:00:13 -07:00
Jordan Eldredge
a028a65732 Don't crash on queries missing names 2022-03-15 22:57:42 -07:00
Jordan Eldredge
d9df41a7e1 Log actual query name 2022-03-15 22:51:14 -07:00
Jordan Eldredge
7a716ffbf8 Get the actual readme when posting a skin (must await) 2022-03-15 22:50:58 -07:00
Jordan Eldredge
87aa794312 Clean up cache and add command to delete skin locally only 2022-03-15 22:50:40 -07:00
Jordan Eldredge
8997049e18 Start to implement Node 2022-03-11 03:33:39 -05:00
Jordan Eldredge
4414c26a39 Add notion of DELAYED upload processing 2022-03-10 23:55:06 -05:00
Jordan Eldredge
85346ae068 Load .env earlier 2022-03-10 23:09:32 -05:00
Jordan Eldredge
1558b9b5cf Add config 2022-03-10 19:52:36 -08:00
Jordan Eldredge
df0ecbceb7 Don't use a date object for test data. Match DB. 2022-03-10 08:56:49 -08:00
Jordan Eldredge
5f1a4d71b3 Try to fix tests 2022-03-10 00:06:27 -08:00
Jordan Eldredge
2db9daf47f Fix casing 2022-03-10 00:03:40 -08:00
Jordan Eldredge
d5a3b8646f Try falling back to test 2022-03-09 23:40:48 -08:00
Jordan Eldredge
3cad5d280e Just try to get GitHub Actions to tell us what we have here 2022-03-09 23:36:16 -08:00
Jordan Eldredge
29ba129cb0 Log node env 2022-03-09 21:57:32 -08:00
Jordan Eldredge
11ccf71dce Pass NODE_ENV as test in tests 2022-03-09 21:51:10 -08:00
Jordan Eldredge
6d3ac62d78 Lift prettier to workspace 2022-03-09 21:45:18 -08:00
Jordan Eldredge
50fde5c4d3 Test server, including GraphQL endpoint 2022-03-09 21:40:01 -08:00
Jordan Eldredge
4bdb243933 Fix resolver bugs uncovered by test 2022-03-09 21:37:23 -08:00
Jordan Eldredge
63bdd3efa6 Disable DB tests 2022-03-06 23:32:15 -08:00