Commit graph

680 commits

Author SHA1 Message Date
Max Isom 3db8b4cc1d
Lint & build on PRs 2021-12-18 12:05:25 -06:00
Thongrapee Panyapatiphan 5ce3f92023
Revert incorrect changes 2021-12-18 14:53:00 +07:00
Max Isom f92ec0dd42
0.1.1 2021-12-17 18:47:15 -06:00
Max Isom d8fc7d39e1
Merge pull request #420 from Hellysonrp/mutex 2021-12-17 19:45:13 -05:00
Max Isom 260e8702bf
Update changelog 2021-12-17 18:38:23 -06:00
Max Isom d07dc5baf4
Merge branch 'master' into mutex 2021-12-17 18:36:31 -06:00
Max Isom 09908f4af5
Update changelog 2021-12-16 15:08:28 -05:00
Max Isom 556c4080ae
Merge branch 'master' into feature/slash-commands 2021-12-16 15:06:46 -05:00
Max Isom 55c98ff2a9
Don't create a new tag 2021-12-16 15:05:37 -05:00
Max Isom a73fd840f7
Update README 2021-12-16 15:03:31 -05:00
Max Isom f6376048eb
Add changelog, generate releases 2021-12-16 14:03:27 -05:00
Max Isom ea6367ccdc
Build every commit 2021-12-16 14:00:21 -05:00
Max Isom 7c1e860c50
Add PR template 2021-12-16 13:59:38 -05:00
dependabot[bot] 988fa2b880
Bump @types/node from 16.11.7 to 17.0.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-16 10:03:16 +00:00
Max Isom 0b20cb3982
Start migrating queue command
Also: make it persistent & updating, add buttons 
2021-12-15 22:01:54 -05:00
Max Isom e965c02358
Migrate pause command 2021-12-15 13:46:03 -05:00
Max Isom cbc9aafe78
Migrate fseek command 2021-12-13 21:04:17 -05:00
Max Isom c33526b8b7
Migrate disconnect command 2021-12-13 20:51:08 -05:00
Max Isom c5e4c4b5cf
Migrate clear command 2021-12-13 20:45:34 -05:00
Max Isom 20e944ed15
Empty commit to test workflow 2021-12-13 20:29:22 -05:00
Max Isom f91d69492f
Fix branch name 2021-12-13 20:28:56 -05:00
Max Isom cf7f6c7e8f
Merge branch 'master' into feature/slash-commands 2021-12-13 20:28:04 -05:00
Max Isom 761ac9f7ed
Add PR workflow 2021-12-13 20:25:32 -05:00
dependabot[bot] 22061c2c66
Bump @types/ws from 8.2.0 to 8.2.2
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.2.0 to 8.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 01:16:14 +00:00
Max Isom 0703193b68
Merge pull request #432 from codetheweb/feature/splash-banner 2021-12-13 20:14:42 -05:00
Max Isom ffc8493ea3
Add splash banner and spinner progress for initial connection 2021-12-13 20:11:14 -05:00
Max Isom d2ab10a13a
Edit interaction reply if necessary for error messages 2021-12-12 20:31:55 -05:00
Max Isom dcb1351791
Migrate play command to slash command 2021-12-12 20:22:21 -05:00
Max Isom fa4ba0bb9a
Merge pull request #425 from codetheweb/dependabot/npm_and_yarn/got-12.0.0 2021-12-12 13:51:24 -05:00
dependabot[bot] f35f1de7b8
Bump got from 11.8.2 to 12.0.0
Bumps [got](https://github.com/sindresorhus/got) from 11.8.2 to 12.0.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.2...v12.0.0)

---
updated-dependencies:
- dependency-name: got
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-12 18:42:09 +00:00
Max Isom 4e9c1e78c6
Merge pull request #407 from codetheweb/dependabot/npm_and_yarn/array-shuffle-3.0.0 2021-12-12 13:39:55 -05:00
Max Isom af515e8938
Merge pull request #409 from codetheweb/dependabot/npm_and_yarn/inversify-6.0.1 2021-12-12 13:39:34 -05:00
Max Isom d0c89a98a8
Merge pull request #422 from codetheweb/dependabot/npm_and_yarn/typescript-4.5.3 2021-12-12 13:39:05 -05:00
Max Isom 53d9280dc6
Merge pull request #346 from codetheweb/dependabot/npm_and_yarn/p-limit-4.0.0 2021-12-12 13:38:43 -05:00
Max Isom 01afa11c99
Merge pull request #424 from codetheweb/play-behavior-fix-gpg 2021-12-12 13:32:40 -05:00
Max Isom e4a8dde776
Always resume 2021-12-12 13:20:36 -05:00
Max Isom f1756b9e9c
Merge branch 'master' into play-behavior-fix-gpg 2021-12-12 13:00:05 -05:00
Max Isom f833b3b756
Merge branch 'master' into play-behavior-fix-gpg 2021-12-12 12:59:19 -05:00
dependabot[bot] d5b8cc82b7
Bump typescript from 4.4.4 to 4.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 10:03:20 +00:00
Thongrapee Panyapatiphan d8086be5cf
Merge branch 'master' into playlist-limit-config 2021-12-09 17:55:29 +07:00
Max Isom 0396949b39
Check database direction for orphans 2021-12-07 20:36:37 -05:00
Max Isom 29ec1d0092
Revert back to static property 2021-12-03 11:28:50 -05:00
Max Isom 7ff54b9495
Use loop instead of recursion 2021-12-03 11:06:56 -05:00
Max Isom 4ffd679ddb
Update debug logging 2021-12-03 10:52:30 -05:00
Max Isom 3f0f97f762
Return when queue is empty 2021-12-03 10:45:09 -05:00
Max Isom 70a55e9a2e
Disable @typescript-eslint/no-implicit-any-catch
(Strict mode in TS 4.4 enables useUnknownInCatchVariables, so this is redundant.)
2021-12-03 10:36:06 -05:00
Hellyson Rodrigo Parteka b52f9253c2
add some debug logs 2021-12-03 03:26:36 -03:00
Hellyson Rodrigo Parteka af82be13f9
fix(file-cache): add queue to handle eviction of old files
This commit also removes the `await` from every stream creation. The eviction will be handled totally assyncronously. The only drawback is the possibility of  exceeding the cache limit for a moment, until the next execution of `evictOldest`.
This will only be a problem if the cache is set too close to the remaining disk space, which I wouldn't recomend.

I also removed the recursion.
2021-12-03 01:01:35 -03:00
Hellyson Rodrigo Parteka 3b2aa47e95
fix(file-cache): try/catch to prevent concurrency issues 2021-12-03 00:30:00 -03:00
dependabot[bot] 9abc7370a8
Bump p-limit from 3.1.0 to 4.0.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: p-limit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 01:19:30 +00:00