Compare commits

...

230 commits
0.1 ... master

Author SHA1 Message Date
dependabot[bot]
8c6cbe6762
chore(deps): bump moment from 2.29.4 to 2.30.1 (#232)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 17:53:42 -06:00
dependabot[bot]
d7f8dc0d52
chore(deps-dev): bump eslint from 8.55.0 to 8.56.0 (#231)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 17:51:04 -06:00
dependabot[bot]
ba6a39c240
chore(deps): bump sqlite3 from 5.1.6 to 5.1.7 (#233)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 17:49:49 -06:00
dependabot[bot]
2d9f13ad03
chore(deps-dev): bump eslint from 8.54.0 to 8.55.0 (#229)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 11:13:31 -06:00
dependabot[bot]
c391e188dd
chore(deps): bump sequelize from 6.35.1 to 6.35.2 (#230)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 11:00:07 -06:00
dependabot[bot]
2eeb3a632e
chore(deps-dev): bump eslint from 8.53.0 to 8.54.0 (#228)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 23:52:17 -06:00
dependabot[bot]
db89ddfd90
chore(deps): bump sequelize from 6.35.0 to 6.35.1 (#227)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 23:38:13 -06:00
dependabot[bot]
54c655c745
chore(deps): bump sequelize from 6.34.0 to 6.35.0 (#226)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 18:10:51 -06:00
dependabot[bot]
fad4113657
chore(deps): bump sequelize from 6.33.0 to 6.34.0 (#224)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 23:24:40 -06:00
dependabot[bot]
2da8af5697
chore(deps-dev): bump eslint from 8.52.0 to 8.53.0 (#225)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 23:24:22 -06:00
dependabot[bot]
a16d6af3d0
chore(deps-dev): bump eslint from 8.49.0 to 8.52.0 (#223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 17:36:44 -05:00
dependabot[bot]
ad4515b6dc
chore(deps): bump sequelize from 6.32.1 to 6.33.0 (#219)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 18:33:41 -05:00
dependabot[bot]
b7b69acdb7
chore(deps-dev): bump eslint from 8.48.0 to 8.49.0 (#220)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 18:15:02 -05:00
dependabot[bot]
a87f9940b3
chore(deps-dev): bump eslint from 8.47.0 to 8.48.0 (#218)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 14:10:46 -05:00
dependabot[bot]
da4c642b62
chore(deps-dev): bump eslint from 8.46.0 to 8.47.0 (#217)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 12:29:43 -05:00
dependabot[bot]
95bcc4d509
chore(deps-dev): bump eslint from 8.45.0 to 8.46.0 (#216)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 18:25:56 -05:00
dependabot[bot]
11fdad8965
chore(deps-dev): bump eslint from 8.43.0 to 8.45.0 (#215)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 20:38:43 -05:00
dependabot[bot]
de73643f89
chore(deps-dev): bump eslint from 8.42.0 to 8.43.0 (#212)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 15:04:07 -05:00
dependabot[bot]
9f81807b58
chore(deps): bump sequelize from 6.32.0 to 6.32.1 (#213)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 14:51:30 -05:00
dependabot[bot]
623047f30e
chore(deps): bump sequelize from 6.31.1 to 6.32.0 (#210)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 18:33:20 -05:00
dependabot[bot]
72d6f2e0ed
chore(deps-dev): bump eslint from 8.41.0 to 8.42.0 (#211)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 18:32:35 -05:00
dependabot[bot]
2967ce1599
chore(deps-dev): bump eslint from 8.40.0 to 8.41.0 (#209)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 12:49:41 -05:00
dependabot[bot]
76d61dfa41
chore(deps-dev): bump eslint from 8.39.0 to 8.40.0 (#208)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 17:24:41 -05:00
dependabot[bot]
18258e58d8
chore(deps): bump sequelize from 6.31.0 to 6.31.1 (#206)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 15:03:17 -05:00
dependabot[bot]
4a93e68f28
chore(deps): bump eventemitter3 from 5.0.0 to 5.0.1 (#207)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 14:38:45 -05:00
dependabot[bot]
2f240f08c7
chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 (#205)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 20:13:20 -05:00
dependabot[bot]
455adac9fb
chore(deps): bump ioredis from 5.3.1 to 5.3.2 (#204)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 08:01:12 -05:00
dependabot[bot]
b1f09ad2ff
chore(deps): bump sequelize from 6.30.0 to 6.31.0 (#202)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 19:57:27 -05:00
dependabot[bot]
9b5d1b0dfc
chore(deps-dev): bump eslint from 8.36.0 to 8.38.0 (#203)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 19:56:03 -05:00
dependabot[bot]
b79c9d4c95
chore(deps): bump sequelize from 6.29.3 to 6.30.0 (#200)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 21:03:54 -05:00
dependabot[bot]
9531716625
chore(deps-dev): bump eslint from 8.35.0 to 8.36.0 (#196)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:48:41 -05:00
dependabot[bot]
9c66981778
chore(deps): bump sqlite3 from 5.1.4 to 5.1.6 (#199)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:47:05 -05:00
dependabot[bot]
7d7c6a3be6
chore(deps): bump sequelize from 6.29.0 to 6.29.3 (#197)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:45:31 -05:00
dependabot[bot]
b59076b877
chore(deps): bump sequelize from 6.28.0 to 6.29.0 (#194)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 21:05:06 -06:00
dependabot[bot]
2d1274eb2d
chore(deps-dev): bump eslint from 8.34.0 to 8.35.0 (#195)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 21:05:00 -06:00
Snazzah
9b2ebfb452
fix: remove abort-controller pkg 2023-02-17 22:43:32 -06:00
Snazzah
64f1ce1430
chore(deps): update dysnomia 2023-02-17 22:26:45 -06:00
dependabot[bot]
e3db76da42
chore(deps): bump ioredis from 5.3.0 to 5.3.1 (#191)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 20:34:35 -06:00
dependabot[bot]
3c8ee9e768
chore(deps-dev): bump eslint from 8.33.0 to 8.34.0 (#192)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 20:33:15 -06:00
dependabot[bot]
12a7c676ee
chore(deps): bump @projectdysnomia/dysnomia from 008d5fa to e50d99c (#193)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 20:32:58 -06:00
dependabot[bot]
9dd1efd4ab
chore(deps): bump @projectdysnomia/dysnomia from 15ebb0c to 008d5fa (#190)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 14:53:47 -06:00
Snazzah
2f7702af20
chore(workflow): fix workflow 2023-02-03 22:09:20 -06:00
Snazzah
b4bbcce67d
refactor: use dysnomia, remove node-fetch, misc changes 2023-02-03 21:59:15 -06:00
dependabot[bot]
cba02ccacf
chore(deps): bump config from 3.3.8 to 3.3.9 (#187)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 19:42:24 -06:00
dependabot[bot]
35f9fae486
chore(deps): bump ioredis from 5.2.5 to 5.3.0 (#188)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 18:33:59 -06:00
dependabot[bot]
633c27cf1d
chore(deps): bump eventemitter3 from 4.0.7 to 5.0.0 (#173)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 18:33:50 -06:00
dependabot[bot]
2d1ab76e2a
chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 (#189)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 18:33:34 -06:00
dependabot[bot]
557511c857
chore(deps): bump ioredis from 5.2.4 to 5.2.5 (#185)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Snazzah <7025343+Snazzah@users.noreply.github.com>
2023-01-16 17:50:33 -06:00
dependabot[bot]
bb1475f226
chore(deps-dev): bump eslint from 8.30.0 to 8.32.0 (#186)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 17:50:21 -06:00
dependabot[bot]
e196d0b905
chore(deps): bump sequelize from 6.27.0 to 6.28.0 (#181)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-28 21:43:24 -06:00
dependabot[bot]
85ca91854e
chore(deps-dev): bump eslint from 8.29.0 to 8.30.0 (#180)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 17:37:07 -06:00
dependabot[bot]
3a70636103
chore(deps): bump sequelize from 6.26.0 to 6.27.0 (#179)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 13:04:20 -06:00
dependabot[bot]
4fe48a7895
chore(deps): bump sqlite3 from 5.1.2 to 5.1.4 (#178)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 13:02:05 -06:00
dependabot[bot]
9c61e2dc6a
chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 (#175)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 13:07:54 -06:00
dependabot[bot]
83ec220d2f
chore(deps): bump sequelize from 6.25.8 to 6.26.0 (#177)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 12:45:57 -06:00
dependabot[bot]
6b030f21fd
chore(deps): bump oceanic.js from 1.3.1 to 1.3.2 (#176)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 12:43:45 -06:00
dependabot[bot]
db88e933ce
chore(deps): bump sequelize from 6.25.7 to 6.25.8 (#174)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 15:46:51 -06:00
dependabot[bot]
293636f302
chore(deps-dev): bump eslint from 8.27.0 to 8.28.0 (#172)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 20:42:29 -06:00
dependabot[bot]
09be61aa7b
chore(deps): bump sequelize from 6.25.5 to 6.25.7 (#171)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 20:41:30 -06:00
dependabot[bot]
8cec82acaf
chore(deps): bump oceanic.js from 1.3.0 to 1.3.1 (#170)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 20:41:24 -06:00
Snazzah
33e8ac09dd
Merge branch 'master' of https://github.com/LBRYFoundation/curate 2022-11-14 15:59:00 -06:00
Snazzah
536495e83b
fix: fix perms again 2022-11-14 15:58:25 -06:00
dependabot[bot]
1eeeacb941
chore(deps): bump sequelize from 6.25.4 to 6.25.5 (#169)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 15:45:43 -06:00
Snazzah
ad1fa34f5b
fix: small fix to perms 2022-11-10 14:37:18 -06:00
Snazzah
f53adbca72
ci(workflow): update eslint runner 2022-11-09 18:15:40 -06:00
Snazzah
2769b6b89b
feat: update to use ioredis and oceanic.js 2022-11-09 18:14:17 -06:00
dependabot[bot]
bd1abab8cd
chore(deps): bump sequelize from 6.25.3 to 6.25.4 (#167)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 16:49:06 -06:00
dependabot[bot]
f6d98caa04
chore(deps-dev): bump eslint from 8.26.0 to 8.27.0 (#168)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 16:48:59 -06:00
dependabot[bot]
fe2725353e
chore(deps-dev): bump eslint from 8.25.0 to 8.26.0 (#164)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 18:11:02 -05:00
dependabot[bot]
b0c486ab4c
chore(deps): bump sequelize from 6.25.2 to 6.25.3 (#165)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 18:09:36 -05:00
dependabot[bot]
bc70cb7029
chore(deps): bump sequelize from 6.24.0 to 6.25.2 (#163)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 16:08:42 -05:00
dependabot[bot]
ef2da37394
chore(deps-dev): bump eslint from 8.24.0 to 8.25.0 (#162)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:57:40 -05:00
dependabot[bot]
d4164c63d0
chore(deps): bump sequelize from 6.23.2 to 6.24.0 (#161)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:56:54 -05:00
dependabot[bot]
21e5841bef
chore(deps): bump sqlite3 from 5.1.1 to 5.1.2 (#159)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 17:51:03 -05:00
dependabot[bot]
7b3a5f1fc5
chore(deps): bump sequelize from 6.23.1 to 6.23.2 (#160)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 16:58:09 -05:00
dependabot[bot]
8fd56a7fc7
chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 (#158)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 17:17:27 -05:00
dependabot[bot]
35869d6ce2
chore(deps): bump sequelize from 6.23.0 to 6.23.1 (#157)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 17:17:21 -05:00
dependabot[bot]
d98e39c39a
chore(deps): bump sequelize from 6.21.6 to 6.23.0 (#155)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 16:33:20 -05:00
dependabot[bot]
91d7eddfa5
chore(deps): bump sqlite3 from 5.0.11 to 5.1.1 (#156)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 16:23:59 -05:00
dependabot[bot]
6370163be2
chore(deps-dev): bump eslint from 8.23.0 to 8.23.1 (#153)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:11:21 -05:00
dependabot[bot]
82ca20bd25
chore(deps): bump config from 3.3.7 to 3.3.8 (#151)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:11:17 -05:00
dependabot[bot]
1fcf8f5220
chore(deps): bump sequelize from 6.21.4 to 6.21.6 (#154)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 19:10:50 -05:00
dependabot[bot]
04553d20db
chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#149)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 13:23:47 -05:00
dependabot[bot]
9e853743c4
chore(deps): bump sequelize from 6.21.3 to 6.21.4 (#148)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 20:01:16 -05:00
dependabot[bot]
e986339b32
chore(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#147)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 19:38:40 -05:00
dependabot[bot]
6e656d2d6b
chore(deps): bump sqlite3 from 5.0.10 to 5.0.11 (#145)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 00:47:03 -05:00
dependabot[bot]
cf2d55d8a8
chore(deps-dev): bump eslint from 8.20.0 to 8.21.0 (#146)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 00:39:43 -05:00
dependabot[bot]
9cd40ab691
chore(deps): bump sqlite3 from 5.0.9 to 5.0.10 (#144)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 17:06:18 -05:00
dependabot[bot]
77c7875a3c
chore(deps): bump sqlite3 from 5.0.8 to 5.0.9 (#143)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:16:00 -05:00
dependabot[bot]
a50cbb4e06
chore(deps-dev): bump eslint from 8.19.0 to 8.20.0 (#142)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:15:52 -05:00
dependabot[bot]
7ba4e097f7
chore(deps): bump sequelize from 6.21.2 to 6.21.3 (#140)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 23:34:06 -05:00
dependabot[bot]
87008a5753
chore(deps): bump moment from 2.29.3 to 2.29.4 (#141)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 23:34:00 -05:00
dependabot[bot]
ea2d35ef58
chore(deps): bump eris from 0.17.0 to 0.17.1 (#135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:23:48 -05:00
dependabot[bot]
78f614cfb6
chore(deps): bump sequelize from 6.21.1 to 6.21.2 (#137)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:23:42 -05:00
dependabot[bot]
d8cc074683
chore(deps-dev): bump eslint from 8.18.0 to 8.19.0 (#138)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:23:35 -05:00
dependabot[bot]
a0167e8f15
chore(deps): bump sequelize from 6.21.0 to 6.21.1 (#134)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 02:15:10 -05:00
dependabot[bot]
eeb330c9be
chore(deps-dev): bump eslint from 8.17.0 to 8.18.0 (#132)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 16:12:31 -05:00
dependabot[bot]
86905da0b8
chore(deps): bump sequelize from 6.20.1 to 6.21.0 (#133)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 16:12:26 -05:00
dependabot[bot]
737285357d
chore(deps): bump eris from 0.16.1 to 0.17.0 (#130)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 16:51:42 -05:00
dependabot[bot]
c84e754e00
chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 (#129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 16:51:35 -05:00
dependabot[bot]
4cccb8f98c
chore(deps): bump sequelize from 6.20.0 to 6.20.1 (#128)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 14:41:43 -05:00
dependabot[bot]
b9b2baf84d
chore(deps-dev): bump eslint from 8.15.0 to 8.16.0 (#126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 12:47:36 -05:00
dependabot[bot]
7a73459b2d
chore(deps): bump sequelize from 6.19.0 to 6.20.0 (#127)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 12:47:31 -05:00
Snazzah
d5162e092b
chore: set redis to v3 2022-05-13 15:32:21 -05:00
Ralph
a27ddeed21
Merge pull request #124 from LBRYFoundation/dependabot/npm_and_yarn/minimist-1.2.6
chore(deps): bump minimist from 1.2.5 to 1.2.6
2022-05-13 16:26:20 -04:00
Snazzah
f04cd1da82
chore: fix dependencies 2022-05-13 15:25:46 -05:00
dependabot[bot]
7c7656d396
chore(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 20:24:29 +00:00
dependabot[bot]
540ca1b516
chore(deps): bump sqlite3 from 5.0.6 to 5.0.8 (#123)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 23:38:29 -05:00
dependabot[bot]
567164bdd0
chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#122)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 23:30:57 -05:00
dependabot[bot]
ca3c42ed9b
chore(deps): bump node-fetch from 3.2.3 to 3.2.4 (#121)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 16:05:33 -05:00
dependabot[bot]
6a9f37f97d
chore(deps): bump sqlite3 from 5.0.5 to 5.0.6 (#120)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 16:05:29 -05:00
dependabot[bot]
e5c69317bf
chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 17:01:38 -05:00
dependabot[bot]
95c2c75b0f
chore(deps): bump sqlite3 from 5.0.4 to 5.0.5 (#117)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 17:01:33 -05:00
dependabot[bot]
b20890bdd6
chore(deps): bump sequelize from 6.18.0 to 6.19.0 (#114)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 19:15:25 -05:00
dependabot[bot]
a99667a64b
chore(deps): bump sqlite3 from 5.0.2 to 5.0.4 (#115)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 19:09:30 -05:00
dependabot[bot]
351aa04ef5
chore(deps): bump moment from 2.29.2 to 2.29.3 (#116)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 19:09:23 -05:00
dependabot[bot]
8609e28810
chore(deps-dev): bump eslint from 8.12.0 to 8.13.0 (#113)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 02:06:30 -05:00
dependabot[bot]
0174358877
chore(deps): bump moment from 2.29.1 to 2.29.2 (#110)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 16:19:31 -05:00
dependabot[bot]
f4c4b36a96
chore(deps): bump sequelize from 6.17.0 to 6.18.0 (#112)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 16:19:17 -05:00
dependabot[bot]
102fe16d2c
chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#109)
Bumps [eslint](https://github.com/eslint/eslint) from 8.11.0 to 8.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.11.0...v8.12.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 01:03:25 -05:00
dependabot[bot]
173d1cde6f
chore(deps): bump node-fetch from 3.2.2 to 3.2.3 (#108)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 15:38:02 -05:00
dependabot[bot]
74dda4228f
chore(deps-dev): bump eslint from 8.10.0 to 8.11.0 (#107)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 15:37:56 -05:00
dependabot[bot]
9cb9a63c00
chore(deps): bump node-fetch from 3.2.0 to 3.2.2 (#106)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 15:36:48 -06:00
dependabot[bot]
5c157f5307
chore(deps): bump sequelize from 6.16.2 to 6.17.0 (#103)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 15:54:10 -06:00
dependabot[bot]
45ae6b1fbf
chore(deps-dev): bump eslint from 8.9.0 to 8.10.0 (#104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 15:54:02 -06:00
dependabot[bot]
57a3176a88
chore(deps): bump sequelize from 6.16.1 to 6.16.2 (#102)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 17:08:07 -06:00
dependabot[bot]
3b5f15d431
chore(deps): bump sequelize from 6.15.1 to 6.16.1 (#101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 17:24:09 -06:00
dependabot[bot]
ab0e7b1cdf
chore(deps-dev): bump eslint from 8.8.0 to 8.9.0 (#100)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 17:23:58 -06:00
dependabot[bot]
54984125fa
chore(deps): bump sequelize from 6.15.0 to 6.15.1 (#99)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 18:33:54 -06:00
dependabot[bot]
a290b3cf0b
chore(deps-dev): bump eslint from 8.7.0 to 8.8.0 (#98)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 13:50:38 -06:00
dependabot[bot]
8534e1ddf7
chore(deps): bump sequelize from 6.14.0 to 6.15.0 (#97)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 13:50:11 -06:00
dependabot[bot]
1b5f3429f3
chore(deps): bump node-fetch from 3.1.1 to 3.2.0 (#95)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 02:36:54 -06:00
dependabot[bot]
2ae42ff5c4
chore(deps): bump sequelize from 6.13.0 to 6.14.0 (#94)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 01:11:30 -06:00
dependabot[bot]
7427369b71
chore(deps-dev): bump eslint from 8.6.0 to 8.7.0 (#91)
Bumps [eslint](https://github.com/eslint/eslint) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.6.0...v8.7.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 18:37:42 -05:00
dependabot[bot]
cacc31581e
chore(deps): bump node-fetch from 3.1.0 to 3.1.1 (#92)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 18:12:43 -05:00
dependabot[bot]
618e58d7ff
chore(deps): bump config from 3.3.6 to 3.3.7 (#93)
Bumps [config](https://github.com/lorenwest/node-config) from 3.3.6 to 3.3.7.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/compare/v3.3.6...v3.3.7)

---
updated-dependencies:
- dependency-name: config
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 18:12:31 -05:00
dependabot[bot]
16b114bc6a
chore(deps): bump sequelize from 6.12.4 to 6.13.0 (#89)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 20:52:16 -06:00
dependabot[bot]
3211fa716b
chore(deps-dev): bump eslint from 8.5.0 to 8.6.0 (#87)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 00:37:05 -06:00
dependabot[bot]
f89ecdd2e0
chore(deps): bump sequelize from 6.12.3 to 6.12.4 (#88)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 00:36:57 -06:00
dependabot[bot]
652d59508d
chore(deps): bump sequelize from 6.12.0 to 6.12.3 (#86)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 17:45:17 -06:00
dependabot[bot]
d5f10d70b7
chore(deps): bump sequelize from 6.11.0 to 6.12.0 (#84)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 16:40:28 -06:00
dependabot[bot]
11b1762aaf
chore(deps-dev): bump eslint from 8.4.1 to 8.5.0 (#85)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 16:40:20 -06:00
dependabot[bot]
7295b2b8a7
chore(deps-dev): bump eslint from 8.4.0 to 8.4.1 (#83)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 05:49:54 -06:00
dependabot[bot]
8449dcb6b8
chore(deps-dev): bump eslint from 8.3.0 to 8.4.0 (#81)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 23:58:30 -06:00
dependabot[bot]
ac2472dce4
chore(deps): bump eris from 0.16.0 to 0.16.1 (#77)
Bumps [eris](https://github.com/abalabahaha/eris) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/abalabahaha/eris/releases)
- [Commits](https://github.com/abalabahaha/eris/compare/0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: eris
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:25:08 -06:00
dependabot[bot]
cb838da054
chore(deps-dev): bump eslint from 8.2.0 to 8.3.0 (#78)
Bumps [eslint](https://github.com/eslint/eslint) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.2.0...v8.3.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:25:00 -06:00
dependabot[bot]
4cea8c7835
chore(deps): bump sequelize from 6.9.0 to 6.11.0 (#79)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.9.0 to 6.11.0.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.9.0...v6.11.0)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:24:53 -06:00
dependabot[bot]
fe6f7bd39c
chore(deps): bump eris from 0.15.1 to 0.16.0 (#76)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 16:10:01 -06:00
dependabot[bot]
c1c835d46d
chore(deps): bump node-fetch from 2.6.1 to 3.1.0 (#75)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:36:25 -06:00
dependabot[bot]
3bba930027
chore(deps-dev): bump eslint from 8.1.0 to 8.2.0 (#74)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:34:15 -06:00
dependabot[bot]
549abb86b3
chore(deps): bump sequelize from 6.8.0 to 6.9.0 (#73)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 09:21:46 -05:00
dependabot[bot]
907a40a085
chore(deps): bump sequelize from 6.7.0 to 6.8.0 (#71)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.7.0...v6.8.0)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 16:57:38 -05:00
dependabot[bot]
04bfd9a4f4
chore(deps-dev): bump eslint from 8.0.1 to 8.1.0 (#72)
Bumps [eslint](https://github.com/eslint/eslint) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.0.1...v8.1.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 16:57:30 -05:00
dependabot[bot]
30d9a6140e
chore(deps-dev): bump eslint from 8.0.0 to 8.0.1 (#70)
Bumps [eslint](https://github.com/eslint/eslint) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-19 16:29:53 -05:00
dependabot[bot]
8be60ef8d8
chore(deps-dev): bump eslint from 7.32.0 to 8.0.0 (#68)
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:50:42 -05:00
dependabot[bot]
eac58883b7
chore(deps): bump sequelize from 6.6.5 to 6.7.0 (#69)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.6.5 to 6.7.0.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.6.5...v6.7.0)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 18:50:34 -05:00
dependabot[bot]
b8dc5c8256
chore(deps-dev): bump eslint from 7.31.0 to 7.32.0 (#66)
Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.31.0...v7.32.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 19:49:39 -05:00
dependabot[bot]
a066db62ae
chore(deps-dev): bump eslint from 7.30.0 to 7.31.0 (#65)
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.31.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 03:46:02 -05:00
dependabot[bot]
86f33110bb
chore(deps): bump sequelize from 6.6.4 to 6.6.5 (#64)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.6.4 to 6.6.5.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.6.4...v6.6.5)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 09:52:48 -05:00
dependabot[bot]
a2f09e822a
chore(deps-dev): bump eslint from 7.29.0 to 7.30.0 (#63)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 17:38:26 -05:00
dependabot[bot]
68eee4e5de
chore(deps): bump sequelize from 6.6.2 to 6.6.4 (#62)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.6.2 to 6.6.4.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.6.2...v6.6.4)

---
updated-dependencies:
- dependency-name: sequelize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 21:47:06 -05:00
dependabot[bot]
9ab3721dbc
chore(deps-dev): bump eslint from 7.28.0 to 7.29.0 (#61)
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 20:50:48 -04:00
dependabot[bot]
d1a7cbead6
chore(deps): bump cat-loggr from 1.1.0 to 1.2.2 (#60)
Bumps [cat-loggr](https://github.com/Ratismal/cat-loggr) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/Ratismal/cat-loggr/releases)
- [Commits](https://github.com/Ratismal/cat-loggr/commits)

---
updated-dependencies:
- dependency-name: cat-loggr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 12:16:04 -04:00
Snazzah
cc7f31a723
Hofix allsupports command 2021-06-10 21:57:10 -05:00
Snazzah
d3ac0b6399
Add allsupports command 2021-06-10 21:46:02 -05:00
Snazzah
1b12d7be7e
Add buffer time 2021-06-10 21:22:36 -05:00
Snazzah
703eb02705
Add deleteall command 2021-06-10 21:17:33 -05:00
Snazzah
4532f9a71e
Fix paginator 2021-06-10 21:08:14 -05:00
Snazzah
751b1b2fbc
Add error handling to fundall 2021-06-10 21:08:01 -05:00
Snazzah
63f864f48a
Hotfix fundall 2021-06-10 20:57:02 -05:00
Snazzah
04cac532ac
Add fundall command 2021-06-10 20:51:17 -05:00
Snazzah
39f0700a92
Update supports format 2021-06-10 20:05:27 -05:00
Snazzah
2b79705d27
Fix abandonall 2021-06-10 20:00:20 -05:00
Snazzah
c7b0e60790
Update listall stuff 2021-06-10 19:42:33 -05:00
Snazzah
c51115f451
Fix listall typo
Co-authored-by: Coolguy3289 <Coolguy3289@users.noreply.github.com>
2021-06-10 19:41:11 -05:00
Snazzah
7d104ca388
Update command permission errors 2021-06-10 19:38:02 -05:00
Snazzah
2dfeac3d22
Add trusted commands
closes #52

Co-authored-by: Coolguy3289 <Coolguy3289@users.noreply.github.com>
2021-06-10 19:33:20 -05:00
Snazzah
a1725ec01b
Add listall command
Co-authored-by: Coolguy3289 <Coolguy3289@users.noreply.github.com>
2021-06-10 18:54:21 -05:00
Snazzah
58a5cd1995
Hotfix typo again 2021-06-10 18:28:10 -05:00
Snazzah
1a7fd55bc5
Hotfix typo 2021-06-10 18:27:11 -05:00
Snazzah
342e288624
Add sync functions and command 2021-06-10 18:19:21 -05:00
Snazzah
de8169af32
Throw when failed to back up wallet
Co-authored-by: Coolguy3289 <Coolguy3289@users.noreply.github.com>
2021-06-10 17:47:00 -05:00
dependabot[bot]
54d31ef0cc
chore(deps): bump ini from 1.3.5 to 1.3.8 (#59)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 17:44:14 -05:00
dependabot[bot]
b6c2863258
chore(deps): bump ws from 7.3.0 to 7.4.6 (#58)
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.0...7.4.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-10 17:40:49 -05:00
Snazzah
486219398d
Fix account deletion issues and incorrect address
closes #19
closes #57

Co-authored-by: Coolguy3289 <Coolguy3289@users.noreply.github.com>
2021-06-10 17:37:46 -05:00
dependabot[bot]
4693a59037
chore(deps-dev): bump eslint from 7.27.0 to 7.28.0 (#56)
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 12:03:31 -05:00
dependabot[bot]
97d5d5bf5c
chore(deps-dev): bump eslint from 7.26.0 to 7.27.0 (#55)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 11:09:49 -05:00
dependabot[bot]
ea409d6a3b
chore(deps): bump eris from 0.13.3 to 0.15.1 (#54)
Bumps [eris](https://github.com/abalabahaha/eris) from 0.13.3 to 0.15.1.
- [Release notes](https://github.com/abalabahaha/eris/releases)
- [Commits](https://github.com/abalabahaha/eris/compare/0.13.3...0.15.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:13:54 -05:00
dependabot[bot]
c63f3604cf
chore(deps-dev): bump eslint from 7.25.0 to 7.26.0 (#53)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:59:45 -05:00
dependabot[bot]
6f9dda4eb8
chore(deps): bump redis from 3.1.1 to 3.1.2 (#50)
Bumps [redis](https://github.com/NodeRedis/node-redis) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/NodeRedis/node-redis/releases)
- [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NodeRedis/node-redis/compare/v3.1.1...v3.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 11:00:10 -05:00
dependabot[bot]
9507ef6ce2
chore(deps-dev): bump eslint from 7.22.0 to 7.25.0 (#51)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 10:59:59 -05:00
dependabot[bot]
fa9deae1a6
chore(deps): bump sequelize from 6.6.1 to 6.6.2 (#45)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.6.1...v6.6.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 14:42:05 -05:00
dependabot[bot]
4e26db70c2
chore(deps): bump redis from 3.0.2 to 3.1.1 (#49)
Bumps [redis](https://github.com/NodeRedis/node-redis) from 3.0.2 to 3.1.1.
- [Release notes](https://github.com/NodeRedis/node-redis/releases)
- [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NodeRedis/node-redis/compare/v3.0.2...v3.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 14:38:51 -05:00
dependabot[bot]
a0ce8d470f
chore(deps): bump sequelize from 6.5.1 to 6.6.1 (#43)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.5.1 to 6.6.1.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.5.1...v6.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 09:03:08 -05:00
dependabot[bot]
c01909420d
chore(deps): bump sequelize from 6.5.0 to 6.5.1 (#40)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.5.0 to 6.5.1.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.5.0...v6.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 13:38:45 -05:00
dependabot[bot]
2aaca0eb31
chore(deps-dev): bump eslint from 7.21.0 to 7.22.0 (#41)
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 13:38:37 -05:00
dependabot[bot]
98a1a6e156
chore(deps): bump config from 3.3.4 to 3.3.6 (#42)
Bumps [config](https://github.com/lorenwest/node-config) from 3.3.4 to 3.3.6.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 13:38:27 -05:00
dependabot[bot]
2b59e0d3e5
chore(deps): bump config from 3.3.3 to 3.3.4 (#38)
Bumps [config](https://github.com/lorenwest/node-config) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 16:02:43 -06:00
dependabot[bot]
94e861e966
chore(deps-dev): bump eslint from 7.20.0 to 7.21.0 (#39)
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-03 16:01:42 -06:00
dependabot[bot]
6b4b614bab
chore(deps-dev): bump eslint from 7.18.0 to 7.20.0 (#36)
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.20.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 11:14:30 -06:00
dependabot[bot]
c1551944e4
chore(deps): bump sequelize from 6.3.5 to 6.5.0 (#34)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.3.5 to 6.5.0.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.3.5...v6.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 11:14:15 -06:00
dependabot[bot]
dcac5b45a8
chore(deps): bump sqlite3 from 5.0.1 to 5.0.2 (#37)
Bumps [sqlite3](https://github.com/mapbox/node-sqlite3) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/mapbox/node-sqlite3/releases)
- [Changelog](https://github.com/mapbox/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mapbox/node-sqlite3/compare/v5.0.1...v5.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-24 11:08:16 -06:00
dependabot[bot]
349b661a57
chore(deps): bump sqlite3 from 5.0.0 to 5.0.1 (#31)
Bumps [sqlite3](https://github.com/mapbox/node-sqlite3) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/mapbox/node-sqlite3/releases)
- [Changelog](https://github.com/mapbox/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mapbox/node-sqlite3/compare/v5.0.0...v5.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 04:19:19 -06:00
dependabot[bot]
4d489200e5
chore(deps-dev): bump eslint from 7.16.0 to 7.18.0 (#32)
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.16.0...v7.18.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 04:14:17 -06:00
dependabot[bot]
016d2facdc
chore(deps): bump config from 3.3.2 to 3.3.3 (#27)
Bumps [config](https://github.com/lorenwest/node-config) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-03 10:54:41 -05:00
dependabot[bot]
07a511c995
chore(deps-dev): bump eslint from 7.12.0 to 7.16.0 (#29)
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.0...v7.16.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-03 10:54:29 -05:00
dependabot[bot]
f975768dc1
chore(deps-dev): bump eslint from 7.11.0 to 7.12.0 (#22)
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 18:23:14 -05:00
dependabot[bot]
a8f6c024ae
chore(deps-dev): bump eslint from 7.9.0 to 7.11.0 (#20)
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.11.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-18 15:18:00 -05:00
dependabot[bot]
6ccb5008ef
chore(deps): bump moment from 2.28.0 to 2.29.1 (#21)
Bumps [moment](https://github.com/moment/moment) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.28.0...2.29.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-18 15:17:56 -05:00
dependabot[bot]
1f7248c6ba
chore(deps): bump config from 3.3.1 to 3.3.2 (#17)
Bumps [config](https://github.com/lorenwest/node-config) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-18 15:17:46 -05:00
Snazzah
0f8a133153
Update util.js 2020-09-22 20:23:20 -05:00
Snazzah
1cdbcb2bc3
v0.1.1 2020-09-19 04:43:21 -05:00
Snazzah
e7ad2851cd
Resolve LBRY URLs into claim IDs 2020-09-19 04:42:42 -05:00
Snazzah
8ecec7e455
Allow admins to see others balances 2020-09-19 04:39:03 -05:00
Snazzah
0ba37c0920
Fix config typo 2020-09-19 04:20:08 -05:00
dependabot[bot]
31e2abf01d
chore(deps-dev): bump eslint from 7.8.1 to 7.9.0 (#14)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-19 03:46:07 -05:00
dependabot[bot]
c61be39c71
chore(deps): bump moment from 2.27.0 to 2.28.0 (#15)
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.28.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.27.0...2.28.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-19 03:46:02 -05:00
dependabot[bot]
1bfd5528ae
chore(deps): bump sequelize from 6.3.4 to 6.3.5 (#10)
Bumps [sequelize](https://github.com/sequelize/sequelize) from 6.3.4 to 6.3.5.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v6.3.4...v6.3.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 12:37:36 -05:00
dependabot[bot]
d43df8ed32
chore(deps-dev): bump eslint from 7.7.0 to 7.8.1 (#11)
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 12:36:14 -05:00
dependabot[bot]
293a88ff90
chore(deps): bump eventemitter3 from 4.0.5 to 4.0.7 (#9)
Bumps [eventemitter3](https://github.com/primus/eventemitter3) from 4.0.5 to 4.0.7.
- [Release notes](https://github.com/primus/eventemitter3/releases)
- [Commits](https://github.com/primus/eventemitter3/compare/4.0.5...4.0.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 12:35:33 -05:00
dependabot[bot]
fe44f541cf
chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#12)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 12:35:19 -05:00
Ralph
1fcc33e85d
Merge pull request #7 from LBRYFoundation/dependabot/npm_and_yarn/master/eventemitter3-4.0.5
chore(deps): bump eventemitter3 from 4.0.4 to 4.0.5
2020-08-24 18:55:07 -04:00
dependabot[bot]
adb906f39c
chore(deps): bump eventemitter3 from 4.0.4 to 4.0.5
Bumps [eventemitter3](https://github.com/primus/eventemitter3) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/primus/eventemitter3/releases)
- [Commits](https://github.com/primus/eventemitter3/compare/4.0.4...4.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 07:01:39 +00:00
Snazzah
65e4cff9ef
Allow for multiple role IDs in invalid command perms 2020-08-18 12:05:54 -05:00
Snazzah
5cfa45bfab
Hotfix role names in invalid perms messages 2020-08-18 10:01:53 -05:00
Ralph
2f9147b94c
Update Category of command 2020-08-17 17:11:54 -04:00
Ralph
dbd7b5c88d
Merge pull request #2 from LBRYFoundation/dependabot/npm_and_yarn/master/eslint-7.7.0
chore(deps-dev): bump eslint from 7.6.0 to 7.7.0
2020-08-17 16:48:11 -04:00
dependabot[bot]
95d2449fe6
chore(deps-dev): bump eslint from 7.6.0 to 7.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-17 06:35:22 +00:00
Snazzah
bf98b57e74
Allow multiple curator/admin roles 2020-08-15 23:09:11 -05:00
Snazzah
b1ae562087
Fix length of lines in supports 2020-08-14 22:45:32 -05:00
32 changed files with 1747 additions and 1182 deletions

View file

@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v12
uses: actions/setup-node@v1
uses: actions/checkout@v3
- name: Install Node v18
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
@ -24,7 +24,7 @@ jobs:
- name: Run ESLint
run: yarn run eslint:fix
- name: Commit changes
uses: EndBug/add-and-commit@v4
uses: EndBug/add-and-commit@v9
with:
add: src
message: "chore(lint): Auto-fix linting errors"

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ config/production.js
config/curate.sqlite
package-lock.json
.idea/
yarn-error.log

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"deepscan.enable": true
}

View file

@ -7,7 +7,7 @@ This bot allows the community of LBRY to support eachother through the [LBRY Fou
## Installation
* Pull the repo
* Install [Node.JS LTS](https://nodejs.org/) (Currently Node v12.x)
* Install [Node.JS LTS](https://nodejs.org/) (Currently Node v18.x)
* Install [Yarn](https://yarnpkg.com/) (`npm install yarn -g`)
* Install [Redis](https://redis.io/) ([quickstart](https://redis.io/topics/quickstart))
* Install LBRY-SDK
@ -19,7 +19,7 @@ This bot allows the community of LBRY to support eachother through the [LBRY Fou
This bot would not be possible without the following people/software:
* LBRY Inc. and the LBRY SDK
* Eris - NodeJS Library for Discord
* Dysnomia - NodeJS Library for Discord, fork of Eris
* LBRY Foundation
* Snazzah - Creator of the Faux command base and developer of the bot
* Coolguy3289 - Developer of the bot and command flow

View file

@ -11,34 +11,42 @@ module.exports = {
debug: false,
// [number] The main embed color (#ffffff -> 0xffffff)
embedColor: 0x15521c,
// [string] curator_role_id
// [string|Array<string>] The role ID(s) for curator roles
curatorRoleID: "",
// [string] admin_role_id
// [string|Array<string>] The role ID(s) for trusted roles
trustedRoleID: "",
// [string|Array<string>] The role ID(s) for admin roles
adminRoleID: "",
// [string] guild_id
guildID: "",
// [string] sdk_url
sdkURL: "",
// [string] The ABSOLUTE path to the main wallet file to back up
walletPath: "~/.lbryum/wallets/default_wallet",
// [string] The ABSOLUTE path folder to store wallet backups after every deletion
walletBackupFolder: "~/.lbryum_backup/",
// [string] Amount to auto-fund upon account creation
startingBalance: "",
// [Object] Eris client options (https://abal.moe/Eris/docs/Client)
// [Object] Dysnomia client options (subset of https://abal.moe/Eris/docs/Client)
discordConfig: {
autoreconnect: true,
allowedMentions: {
everyone: false,
roles: false,
users: true
},
maxShards: "auto",
messageLimit: 0,
intents: [
"guilds",
"guildEmojis",
"guildMessages",
"guildMessageReactions",
"directMessages",
"directMessageReactions"
]
gateway: {
autoreconnect: true,
maxShards: "auto",
intents: [
"guilds",
"guildMessages",
"guildMessageReactions",
"directMessages",
"directMessageReactions",
"messageContent"
]
}
},
// [Object] Redis config
redis: {

View file

@ -1,6 +1,6 @@
{
"name": "lbry-curate",
"version": "0.0.1",
"version": "0.1.1",
"description": "Support the LBRY Community through Discord!",
"main": "src/bot.js",
"scripts": {
@ -9,21 +9,20 @@
"eslint:fix": "eslint ./src --fix"
},
"dependencies": {
"abort-controller": "^3.0.0",
"cat-loggr": "^1.1.0",
"config": "^3.3.1",
"eris": "^0.13.3",
"eventemitter3": "^4.0.4",
"@projectdysnomia/dysnomia": "github:projectdysnomia/dysnomia#0df1369a822dba8851c667b22d5bac34f4e849e6",
"cat-loggr": "^1.2.2",
"config": "^3.3.9",
"eventemitter3": "^5.0.1",
"fuzzy": "^0.1.3",
"moment": "^2.27.0",
"node-fetch": "^2.3.0",
"redis": "^3.0.2",
"ioredis": "^5.3.2",
"just-clone": "^6.2.0",
"moment": "^2.30.1",
"require-reload": "^0.2.2",
"sequelize": "^6.3.4",
"sqlite3": "^5.0.0"
"sequelize": "^6.35.2",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"eslint": "^7.6.0"
"eslint": "^8.56.0"
},
"repository": {
"type": "git",

View file

@ -1,4 +1,4 @@
const Eris = require('eris');
const Dysnomia = require('@projectdysnomia/dysnomia');
const Database = require('./database');
const EventHandler = require('./events');
const CommandLoader = require('./commandloader');
@ -8,12 +8,13 @@ const path = require('path');
const CatLoggr = require('cat-loggr');
const config = require('config');
const LBRY = require('./structures/LBRY');
const clone = require('just-clone');
class CurateBot extends Eris.Client {
class CurateBot extends Dysnomia.Client {
constructor({ packagePath, mainDir } = {}) {
// Initialization
const pkg = require(packagePath || `${mainDir}/package.json`);
super(config.token, JSON.parse(JSON.stringify(config.discordConfig)));
super(`Bot ${config.token}`, clone(config.discordConfig));
this.dir = mainDir;
this.pkg = pkg;
this.logger = new CatLoggr({
@ -23,10 +24,8 @@ class CurateBot extends Eris.Client {
{ name: 'error', color: CatLoggr._chalk.black.bgRed, err: true },
{ name: 'warn', color: CatLoggr._chalk.black.bgYellow, err: true },
{ name: 'init', color: CatLoggr._chalk.black.bgGreen },
{ name: 'webserv', color: CatLoggr._chalk.black.bgBlue },
{ name: 'info', color: CatLoggr._chalk.black.bgCyan },
{ name: 'assert', color: CatLoggr._chalk.cyan.bgBlack },
{ name: 'poster', color: CatLoggr._chalk.yellow.bgBlack },
{ name: 'debug', color: CatLoggr._chalk.magenta.bgBlack, aliases: ['log', 'dir'] },
{ name: 'limiter', color: CatLoggr._chalk.gray.bgBlack },
{ name: 'fileload', color: CatLoggr._chalk.white.bgBlack }
@ -103,17 +102,17 @@ class CurateBot extends Eris.Client {
}
/**
* KIlls the bot
* Kills the bot
*/
dieGracefully() {
return super.disconnect();
return super.disconnect(false);
}
// Typing
/**
* Start typing in a channel
* @param {Channel} channel The channel to start typing in
* @param {Dysnomia.TextableChannel} channel The channel to start typing in
*/
async startTyping(channel) {
if (this.isTyping(channel)) return;
@ -125,7 +124,7 @@ class CurateBot extends Eris.Client {
/**
* Whether the bot is currently typing in a channel
* @param {Channel} channel
* @param {Dysnomia.TextableChannel} channel
*/
isTyping(channel) {
return this.typingIntervals.has(channel.id);
@ -133,7 +132,7 @@ class CurateBot extends Eris.Client {
/**
* Stops typing in a channel
* @param {Channel} channel
* @param {Dysnomia.TextableChannel} channel
*/
stopTyping(channel) {
if (!this.isTyping(channel)) return;

View file

@ -37,6 +37,7 @@ module.exports = class AbaondonAll extends Command {
header: 'Are you sure you want to abandon **all supports** from **all accounts**?'
})) return;
await this.client.startTyping(message.channel);
await Util.LBRY.syncPairs(this.client);
const pairs = await this.client.sqlite.getAll();
let count = 0;
for (let i = 0, len = pairs.length; i < len; i++) {
@ -50,7 +51,7 @@ module.exports = class AbaondonAll extends Command {
}
get metadata() { return {
category: 'Curator',
category: 'Admin',
description: 'Abandons all supports of the bot or of a given account.',
usage: '[id|@mention]'
}; }

View file

@ -13,12 +13,12 @@ module.exports = class AdminBalance extends Command {
const response = await this.client.lbry.walletBalance();
const wallet = await response.json();
if (await this.handleResponse(message, response, wallet)) return;
return message.channel.createMessage({ embed: {
return message.channel.createMessage({ embeds: [{
color: config.embedColor,
description: `**Available:** ${wallet.result.available} LBC\n\n` +
`Reserved in Supports: ${wallet.result.reserved_subtotals.supports} LBC\n` +
`Total: ${wallet.result.total} LBC`
} });
}] });
}
get metadata() { return {

View file

@ -0,0 +1,60 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
const GenericPager = require('../../structures/GenericPager');
module.exports = class AllSupports extends Command {
get name() { return 'allsupports'; }
get _options() { return {
aliases: ['asups', 'allsups'],
permissions: ['admin'],
minimumArgs: 0
}; }
async exec(message, { args }) {
let givenClaim;
if (args[0]) {
givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');
}
await Util.LBRY.syncPairs(this.client);
const pairs = await this.client.sqlite.getAll();
if (pairs.length <= 0)
return message.channel.createMessage('No users found in the database.');
const allSupports = [];
for (const pair of pairs) {
const supportsCount = await Util.LBRY.getSupportsCount(this.client, pair.lbryID);
if (supportsCount <= 0) continue;
const supportsResponse = await this.client.lbry.listSupports({
accountID: pair.lbryID, page_size: supportsCount, claimID: givenClaim });
const supports = (await supportsResponse.json()).result.items;
for (const support of supports)
allSupports.push({
...support,
pair
});
}
if (allSupports.length <= 0)
return message.channel.createMessage('No supports found.');
const paginator = new GenericPager(this.client, message, {
items: allSupports,
header: `All supports${
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',itemsPerPage: 5,
display: item => `> ${item.name} \`${item.claim_id}\`\n> <@${item.pair.discordID}> ${item.amount} LBC\n`
});
return paginator.start(message.channel.id, message.author.id);
}
get metadata() { return {
category: 'Admin',
description: 'List all supports from all users.',
usage: '[claimID]'
}; }
};

View file

@ -21,8 +21,15 @@ module.exports = class DeleteAccount extends Command {
header:
`Are you sure you want to delete that account? *(${supportsCount.toLocaleString()} support[s])*`
})) return;
await Util.LBRY.deleteAccount(this.client, discordID, account.accountID);
return message.channel.createMessage('Deleted account.');
try {
await Util.LBRY.deleteAccount(this.client, discordID, account.accountID);
return message.channel.createMessage('Deleted account.');
} catch (e) {
return message.channel.createMessage(
'Failed to delete the account. An error most likely occured while backing up the wallet.' +
`\n\`\`\`\n${e.toString()}\`\`\``
);
}
} else
return message.channel.createMessage('That user does not have an account.');
}

View file

@ -0,0 +1,39 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class DeleteAll extends Command {
get name() { return 'deleteall'; }
get _options() { return {
aliases: ['delall'],
permissions: ['admin'],
minimumArgs: 0
}; }
async exec(message) {
await Util.LBRY.syncPairs(this.client);
const pairs = await this.client.sqlite.getAll();
if (!await this.client.messageAwaiter.confirm(message, {
header:
`Are you sure you want to delete **all** ${pairs.length} accounts?`
})) return;
for (const pair of pairs) {
try {
await Util.LBRY.deleteAccount(this.client, pair.discordID, pair.lbryID);
} catch (e) {
return message.channel.createMessage(
'Failed to delete an account. An error most likely occured while backing up the wallet.' +
`\n\`\`\`\n${e.toString()}\`\`\``
);
}
}
return message.channel.createMessage('Deleted all accounts.');
}
get metadata() { return {
category: 'Admin',
description: 'Deletes all accounts in the database.'
}; }
};

View file

@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class Deposit extends Command {
get name() { return 'deposit'; }
@ -9,7 +10,8 @@ module.exports = class Deposit extends Command {
}; }
async exec(message) {
const response = await this.client.lbry.listAddresses();
const account = await Util.LBRY.findSDKAccount(this.client, account => account.is_default);
const response = await this.client.lbry.listAddresses({ account_id: account.id });
const address = await response.json();
if (await this.handleResponse(message, response, address)) return;
return message.channel.createMessage(`Address: ${address.result.items[0].address}`);

View file

@ -0,0 +1,72 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
const config = require('config');
module.exports = class FundAll extends Command {
get name() { return 'fundall'; }
get _options() { return {
permissions: ['admin'],
minimumArgs: 1
}; }
async exec(message, { args }) {
const givenAmount = Util.LBRY.ensureDecimal(args[0]);
if (!givenAmount)
return message.channel.createMessage('The second argument must be a numeric amount of LBC to send!');
await Util.LBRY.syncPairs(this.client);
const pairs = await this.client.sqlite.getAll();
if (pairs.length <= 0) {
await this.client.startTyping(message.channel);
const curatorRoles = Array.isArray(config.curatorRoleID)
? config.curatorRoleID : [config.curatorRoleID];
const members = await this.client.guilds.get(config.guildID).fetchMembers();
for (const member of members) {
if (curatorRoles.map(r => member.roles.includes(r)).includes(true)) {
const account = await Util.LBRY.findOrCreateAccount(this.client, member.id);
pairs.push({ discordID: member.id, lbryID: account.accountID });
}
}
await Util.halt(5000);
this.client.stopTyping(message.channel);
}
if (!await this.client.messageAwaiter.confirm(message, {
header: `Are you sure you want to fund **all** accounts? *(${givenAmount} LBC)*`
})) return;
await this.client.startTyping(message.channel);
const resultLines = [];
let funded = 0,
errored = 0;
for (const pair of pairs) {
const response = await this.client.lbry.fundAccount({ to: pair.lbryID, amount: givenAmount });
await Util.halt(2000);
const transaction = await response.json();
if ('code' in transaction) {
console.info('Failed to fund account', pair.lbryID, transaction.code, transaction.message);
resultLines.push(`${pair.discordID} ! ${transaction.code} - ${transaction.message}`);
errored++;
} else {
console.info('Funded account', pair.lbryID, transaction.result.txid);
resultLines.push(`${pair.discordID} - https://explorer.lbry.com/tx/${transaction.result.txid}`);
funded++;
}
await Util.halt(2000);
}
this.client.stopTyping(message.channel);
return message.channel.createMessage(errored
? `Failed to fund ${errored} accounts! (${funded} funded)`
: `Successfully funded ${funded} account(s)!`, {
name: 'result.txt',
file: Buffer.from(resultLines.join('\n'), 'utf8')
});
}
get metadata() { return {
category: 'Admin',
description: 'Funds all users in the database a specified amount of LBC.',
usage: '<amount>'
}; }
};

View file

@ -0,0 +1,49 @@
const Command = require('../../structures/Command');
const GenericPager = require('../../structures/GenericPager');
module.exports = class ListAll extends Command {
get name() { return 'listall'; }
get _options() { return {
permissions: ['admin'],
minimumArgs: 0
}; }
async exec(message, { args }) {
const pairs = await this.client.sqlite.getAll();
if (pairs.length <= 0)
return message.channel.createMessage('No users found in the database.');
for (const pair of pairs) {
const response = await this.client.lbry.accountBalance(pair.lbryID);
const wallet = await response.json();
if (!wallet.code) {
pair.wallet_available = wallet.result.available;
pair.wallet_reserve = wallet.result.reserved_subtotals.supports;
pair.wallet_ok = true;
} else {
console.error([
'There was an error while retrieving the balance of an account.',
'This was likely caused by an old version of the Bot\'s SQLite database file. ' +
'Run the sync command to avoid this error!'
].join('\n'));
}
}
const paginator = new GenericPager(this.client, message, {
items: pairs, itemTitle: 'Users', itemsPerPage: 5,
display: pair => `> <@${pair.discordID}> - \`${pair.lbryID}\`\n` +
`> ${pair.wallet_ok
? `${pair.wallet_available} available, ${pair.wallet_reserve} staked.`
: 'Wallet Unavailable'}\n`
});
if (args[0])
paginator.toPage(args[0]);
return paginator.start(message.channel.id, message.author.id);
}
get metadata() { return {
category: 'Admin',
description: 'List all users in the database.',
usage: '[page]'
}; }
};

View file

@ -0,0 +1,20 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class Sync extends Command {
get name() { return 'sync'; }
get _options() { return {
permissions: ['admin']
}; }
async exec(message) {
const synced = await Util.LBRY.syncPairs(this.client);
return message.channel.createMessage(`Synced ${synced} new pairs.`);
}
get metadata() { return {
category: 'Admin',
description: 'Sync SDK-Discord pairs.'
}; }
};

View file

@ -1,7 +1,7 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class Abaondon extends Command {
module.exports = class Abandon extends Command {
get name() { return 'abandon'; }
get _options() { return {
@ -11,8 +11,8 @@ module.exports = class Abaondon extends Command {
}; }
async exec(message, { args }) {
const givenClaim = args[0];
if (!/^[a-f0-9]{40}$/.test(givenClaim))
const givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');

View file

@ -10,19 +10,46 @@ module.exports = class Balance extends Command {
permissions: ['curatorOrAdmin']
}; }
async exec(message) {
const account = await Util.LBRY.findOrCreateAccount(this.client, message.author.id);
const response = await this.client.lbry.accountBalance(account.accountID);
const wallet = await response.json();
if (await this.handleResponse(message, response, wallet)) return;
return message.channel.createMessage({ embed: {
color: config.embedColor,
description: `You have **${wallet.result.available}** LBC available.\n\n` +
`Reserved in Supports: ${wallet.result.reserved_subtotals.supports} LBC\n` +
`Total: ${wallet.result.total} LBC` +
(account.newAccount ? '\n\n:warning: This account was just created. ' +
'Please wait a few seconds, and run the command again to get an accurate balance.' : '')
} });
async exec(message, { args }) {
if (args.length) {
if (!Util.CommandPermissions.admin(this.client, message)) {
const admins = (Array.isArray(config.adminRoleID) ? config.adminRoleID : [config.adminRoleID])
.map(id => `"${this.client.guilds.get(config.guildID).roles.get(id).name}"`);
return message.channel.createMessage(
`You need to have the ${admins.join('/')} role(s) to see others balances!`);
}
const discordID = Util.resolveToUserID(args[0]);
if (!discordID)
return message.channel.createMessage('That Discord user isn\'t valid.');
const account = await Util.LBRY.findOrCreateAccount(this.client, discordID, false);
if (!account.accountID)
return message.channel.createMessage('That Discord user does not have an account.');
const response = await this.client.lbry.accountBalance(account.accountID);
const wallet = await response.json();
if (await this.handleResponse(message, response, wallet)) return;
return message.channel.createMessage({ embeds: [{
color: config.embedColor,
description: `<@${discordID}> has **${wallet.result.available}** LBC available.\n\n` +
`Reserved in Supports: ${wallet.result.reserved_subtotals.supports} LBC\n` +
`Total: ${wallet.result.total} LBC`
}] });
} else {
const account = await Util.LBRY.findOrCreateAccount(this.client, message.author.id);
const response = await this.client.lbry.accountBalance(account.accountID);
const wallet = await response.json();
if (await this.handleResponse(message, response, wallet)) return;
return message.channel.createMessage({ embeds: [{
color: config.embedColor,
description: `You have **${wallet.result.available}** LBC available.\n\n` +
`Reserved in Supports: ${wallet.result.reserved_subtotals.supports} LBC\n` +
`Total: ${wallet.result.total} LBC` +
(account.newAccount ? '\n\n:warning: This account was just created. ' +
'Please wait a few seconds, and run the command again to get an accurate balance.' : '')
}] });
}
}
get metadata() { return {

View file

@ -15,8 +15,8 @@ module.exports = class Support extends Command {
if (!givenAmount)
return message.channel.createMessage('The second argument must be a numeric amount of LBC to send!');
const givenClaim = args[0];
if (!/^[a-f0-9]{40}$/.test(givenClaim))
const givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');

View file

@ -42,12 +42,14 @@ module.exports = class Supports extends Command {
const supportsResponse = await this.client.lbry.listSupports({
accountID: account.accountID, page_size: supportsCount, claimID: givenClaim });
console.debug(
`Displaying supports for ${account.accountID}${givenClaim ? ` and claimID ${givenClaim}` : ''}, (${supportsCount})`);
`Displaying supports for ${
account.accountID}${givenClaim ? ` and claimID ${givenClaim}` : ''}, (${supportsCount})`);
const supports = (await supportsResponse.json()).result.items;
const paginator = new GenericPager(this.client, message, {
items: supports,
header: `All supports for <@${discordID || message.author.id}>${givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',
display: item => `*lbry://**${item.name}***#\`${item.claim_id}\` (${item.amount} LBC)`
header: `All supports for <@${discordID || message.author.id}>${
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',itemsPerPage: 5,
display: item => `> ${item.name} \`${item.claim_id}\`\n> ${item.amount} LBC\n`
});
return paginator.start(message.channel.id, message.author.id);
}

View file

@ -60,7 +60,7 @@ module.exports = class Help extends Command {
value: command.metadata.note
});
return message.channel.createMessage({ embed });
return message.channel.createMessage({ embeds: [embed] });
}
} else {
// Display general help command
@ -89,7 +89,7 @@ module.exports = class Help extends Command {
inline: true
});
});
return message.channel.createMessage({ embed });
return message.channel.createMessage({ embeds: [embed] });
}
}

View file

@ -0,0 +1,40 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class TAbandon extends Command {
get name() { return 'tabandon'; }
get _options() { return {
aliases: ['taban', 'tdrop'],
permissions: ['trustedOrAdmin'],
minimumArgs: 1
}; }
async exec(message, { args }) {
const givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');
if (!await this.client.messageAwaiter.confirm(message, {
header:
'Are you sure you want to abandon a claim from a **trusted** account?'
})) return;
const account = await Util.LBRY.findSDKAccount(this.client, account => account.is_default);
// Drop support
const response = await this.client.lbry.abandonSupport({
accountID: account.id, claimID: givenClaim });
const transaction = await response.json();
if (await this.handleResponse(message, response, transaction)) return;
const txid = transaction.result.txid;
return message.channel.createMessage(`Abandon successful! https://explorer.lbry.com/tx/${txid}`);
}
get metadata() { return {
category: 'Trusted',
description: 'Abandons a support on a given claim from the trusted account.',
usage: '<claim>'
}; }
};

View file

@ -0,0 +1,30 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
const config = require('config');
module.exports = class TBalance extends Command {
get name() { return 'tbalance'; }
get _options() { return {
aliases: ['tbal', 'trustedbal', 'trustedbalance'],
permissions: ['trustedOrAdmin']
}; }
async exec(message) {
const account = await Util.LBRY.findSDKAccount(this.client, account => account.is_default);
const response = await this.client.lbry.accountBalance(account.id);
const wallet = await response.json();
if (await this.handleResponse(message, response, wallet)) return;
return message.channel.createMessage({ embeds: [{
color: config.embedColor,
description: `**${wallet.result.available}** LBC is available in the trusted account.\n\n` +
`Reserved in Supports: ${wallet.result.reserved_subtotals.supports} LBC\n` +
`Total: ${wallet.result.total} LBC`
}] });
}
get metadata() { return {
category: 'Trusted',
description: 'Shows the trusted wallet balance.'
}; }
};

View file

@ -0,0 +1,51 @@
const Command = require('../../structures/Command');
const Util = require('../../util');
module.exports = class TSupport extends Command {
get name() { return 'tsupport'; }
get _options() { return {
aliases: ['tsup'],
permissions: ['trustedOrAdmin'],
minimumArgs: 2
}; }
async exec(message, { args }) {
const givenAmount = Util.LBRY.ensureDecimal(args[1]);
if (!givenAmount)
return message.channel.createMessage('The second argument must be a numeric amount of LBC to send!');
const givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');
// Get and check balance
const account = await Util.LBRY.findSDKAccount(this.client, account => account.is_default);
const walletResponse = await this.client.lbry.accountBalance(account.id);
const wallet = await walletResponse.json();
if (await this.handleResponse(message, walletResponse, wallet)) return;
const balance = wallet.result.available;
if (parseFloat(givenAmount) > parseFloat(balance))
return message.channel.createMessage('You don\'t have enough LBC to do this!');
if (!await this.client.messageAwaiter.confirm(message, {
header:
'Are you sure you want to support a claim from a **trusted** account?'
})) return;
// Create support
const response = await this.client.lbry.createSupport({
accountID: account.id, claimID: givenClaim, amount: givenAmount });
const transaction = await response.json();
if (await this.handleResponse(message, response, transaction)) return;
const txid = transaction.result.txid;
return message.channel.createMessage(`Support successful! https://explorer.lbry.com/tx/${txid}`);
}
get metadata() { return {
category: 'Trusted',
description: 'Support a given claim from the trusted account.',
usage: '<claim> <amount>'
}; }
};

View file

@ -0,0 +1,42 @@
const Command = require('../../structures/Command');
const GenericPager = require('../../structures/GenericPager');
const Util = require('../../util');
module.exports = class TSupports extends Command {
get name() { return 'tsupports'; }
get _options() { return {
aliases: ['tsups'],
permissions: ['trustedOrAdmin'],
minimumArgs: 0
}; }
async exec(message, { args }) {
let givenClaim;
if (args[0]) {
givenClaim = Util.resolveToClaimID(args[0]);
if (!givenClaim)
// @TODO use claim_search for invalid claim ids
return message.channel.createMessage('That Claim ID isn\'t valid.');
}
const account = await Util.LBRY.findSDKAccount(this.client, account => account.is_default);
const supportsCount = await Util.LBRY.getSupportsCount(this.client, account.id);
if (supportsCount <= 0)
return message.channel.createMessage('No supports found.');
const supportsResponse = await this.client.lbry.listSupports({
accountID: account.id, page_size: supportsCount, claimID: givenClaim });
const supports = (await supportsResponse.json()).result.items;
const paginator = new GenericPager(this.client, message, {
items: supports,
header: `All supports for the trusted account${
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports', itemsPerPage: 5,
display: item => `> ${item.name} \`${item.claim_id}\`\n> ${item.amount} LBC\n`
});
return paginator.start(message.channel.id, message.author.id);
}
get metadata() { return {
category: 'Trusted',
description: 'Shows the list of supports from the trusted account.',
usage: '[claimID]'
}; }
};

View file

@ -1,4 +1,4 @@
const redis = require('redis');
const { default: Redis } = require('ioredis');
const { EventEmitter } = require('eventemitter3');
/**
@ -19,7 +19,7 @@ module.exports = class Database extends EventEmitter {
connect({ host = 'localhost', port, password, prefix }) {
console.info('Connecting to redis...');
return new Promise((resolve, reject) => {
this.redis = redis.createClient({ host, port, password, prefix });
this.redis = new Redis(port, host, { password, keyPrefix: prefix });
this.redis.on('error', this.onError.bind(this));
this.redis.on('warning', w => console.warn('Redis Warning', w));
this.redis.on('end', () => this.onClose.bind(this));
@ -37,67 +37,32 @@ module.exports = class Database extends EventEmitter {
// #region Redis functions
hget(key, hashkey) {
return new Promise((resolve, reject) => {
this.redis.HGET(key, hashkey, (err, value) => {
if (err) reject(err);
resolve(value);
});
});
return this.redis.hget(key, hashkey);
}
hset(key, hashkey, value) {
return new Promise((resolve, reject) => {
this.redis.HSET(key, hashkey, value, (err, res) => {
if (err) reject(err);
resolve(res);
});
});
return this.redis.hset(key, hashkey, value);
}
incr(key) {
return new Promise((resolve, reject) => {
this.redis.incr(key, (err, res) => {
if (err) reject(err);
resolve(res);
});
});
return this.redis.incr(key);
}
get(key) {
return new Promise((resolve, reject) => {
this.redis.get(key, function(err, reply) {
if (err) reject(err);
resolve(reply);
});
});
return this.redis.get(key);
}
expire(key, ttl) {
return new Promise((resolve, reject) => {
this.redis.expire(key, ttl, (err, value) => {
if (err) reject(err);
resolve(value);
});
});
return this.redis.expire(key, ttl);
}
exists(key) {
return new Promise((resolve, reject) => {
this.redis.exists(key, (err, value) => {
if (err) reject(err);
resolve(value === 1);
});
});
return this.redis.exists(key);
}
set(key, value) {
return new Promise((resolve, reject) => {
this.redis.set(key, value, (err, res) => {
if (err) reject(err);
resolve(res);
});
});
return this.redis.set(key, value);
}
// #endregion

View file

@ -40,11 +40,11 @@ module.exports = class Events {
}
}
onReaction(message, emoji, userID) {
const id = `${message.id}:${userID}`;
onReaction(message, emoji, member) {
const id = `${message.id}:${member.id}`;
if (this.client.messageAwaiter.reactionCollectors.has(id)) {
const collector = this.client.messageAwaiter.reactionCollectors.get(id);
collector._onReaction(emoji, userID);
collector._onReaction(emoji, member.id);
}
}
};

View file

@ -42,6 +42,9 @@ class Command {
` \`${this.metadata.usage}\`` : ''}`);
// Check commmand permissions
const curators = Array.isArray(config.curatorRoleID) ? config.curatorRoleID : [config.curatorRoleID];
const admins = Array.isArray(config.adminRoleID) ? config.adminRoleID : [config.adminRoleID];
const trusteds = Array.isArray(config.trustedRoleID) ? config.trustedRoleID : [config.trustedRoleID];
if (this.options.permissions.length)
for (const i in this.options.permissions) {
const perm = this.options.permissions[i];
@ -53,13 +56,22 @@ class Command {
embed: 'I need the permission `Embed Links` to use this command!',
emoji: 'I need the permission `Use External Emojis` to use this command!',
elevated: 'Only the elevated users of the bot can use this command!',
curator: `This command requires you to have the "${
message.guild.roles.get(config.curatorRoleID).name}" role!`,
admin: `This command requires you to have the "${
message.guild.roles.get(config.adminRoleID).name}" role!`,
curatorOrAdmin: `This command requires you to have the "${
message.guild.roles.get(config.curatorRoleID).name}" or "${
message.guild.roles.get(config.adminRoleID).name}" roles!`,
curator: `This command requires you to have the ${
curators.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} role!`,
admin: `This command requires you to have the ${
admins.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} role!`,
curatorOrAdmin: `This command requires you to have the ${
curators.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} or ${
admins.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} role!`,
trustedOrAdmin: `This command requires you to have the ${
trusteds.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} or ${
admins.map(id =>
`"${this.client.guilds.get(config.guildID).roles.get(id).name}"`).join('/')} role!`,
guild: 'This command must be ran in a guild!',
}[perm]);
}

View file

@ -21,7 +21,7 @@ class GenericPager extends Paginator {
constructor(client, message, {
items = [], itemsPerPage = 15,
display = item => item.toString(),
embedExtra = {}, itemTitle = 'words.item.many',
embedExtra = {}, itemTitle = 'Items',
header = null, footer = null
} = {}) {
super(client, message, { items, itemsPerPage });
@ -70,7 +70,7 @@ class GenericPager extends Paginator {
value: displayPage.join('\n')
});
return { embed };
return { embeds: [embed] };
} else {
const top = `${this.itemTitle} ` +
`(${this.items.length}, Page ${this.pageNumber}/${this.maxPages})`;

View file

@ -1,5 +1,3 @@
const fetch = require('node-fetch');
const AbortController = require('abort-controller');
const config = require('config');
const Util = require('../util');
@ -182,10 +180,13 @@ class LBRY {
}
/**
* List account addresses or details of single address.
* List account addresses or details.
* @param {object} options
* @param {string} options.to How many items should be per page
* @param {string} options.amount The amount to send
*/
listAddresses() {
return this._sdkRequest('address_list', { page_size: 1 });
listAddresses({ page_size = 1, account_id } = {}) {
return this._sdkRequest('address_list', { page_size, account_id });
}
/**

View file

@ -1,5 +1,6 @@
const fetch = require('node-fetch');
const config = require('config');
const fs = require('fs');
const path = require('path');
/**
* Represents the utilities for the bot
@ -48,7 +49,7 @@ Util.Prefix = {
Util.Prefix.regex(client, prefixes), '$2').replace(/\s\s+/g, ' ').trim();
},
escapeRegex(s) {
return s.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
return s.replace(/[-/\\^$*+?.()|[\]{}!]/g, '\\$&');
}
};
@ -68,24 +69,40 @@ Util.CommandPermissions = {
curator: (client, message) => {
const member = message.guildID ? message.member :
client.guilds.get(config.guildID).members.get(message.author.id);
const roles = Array.isArray(config.curatorRoleID) ? config.curatorRoleID : [config.curatorRoleID];
if (!member) return false;
if (Util.CommandPermissions.elevated(client, message)) return true;
return member.roles.includes(config.curatorRoleID);
return roles.map(r => member.roles.includes(r)).includes(true);
},
admin: (client, message) => {
const member = message.guildID ? message.member :
client.guilds.get(config.guildID).members.get(message.author.id);
const roles = Array.isArray(config.adminRoleID) ? config.adminRoleID : [config.adminRoleID];
if (!member) return false;
if (Util.CommandPermissions.elevated(client, message)) return true;
return member.roles.includes(config.adminRoleID);
return roles.map(r => member.roles.includes(r)).includes(true);
},
curatorOrAdmin: (client, message) => {
const member = message.guildID ? message.member :
client.guilds.get(config.guildID).members.get(message.author.id);
const roles = [
...(Array.isArray(config.adminRoleID) ? config.adminRoleID : [config.adminRoleID]),
...(Array.isArray(config.curatorRoleID) ? config.curatorRoleID : [config.curatorRoleID]),
];
if (!member) return false;
if (Util.CommandPermissions.elevated(client, message)) return true;
return member.roles.includes(config.curatorRoleID) ||
member.roles.includes(config.adminRoleID);
return roles.map(r => member.roles.includes(r)).includes(true);
},
trustedOrAdmin: (client, message) => {
const member = message.guildID ? message.member :
client.guilds.get(config.guildID).members.get(message.author.id);
const roles = [
...(Array.isArray(config.adminRoleID) ? config.adminRoleID : [config.adminRoleID]),
...(Array.isArray(config.trustedRoleID) ? config.trustedRoleID : [config.trustedRoleID]),
];
if (!member) return false;
if (Util.CommandPermissions.elevated(client, message)) return true;
return roles.map(r => member.roles.includes(r)).includes(true);
},
};
@ -145,6 +162,20 @@ Util.resolveToUserID = (arg) => {
else return null;
};
/**
* Resolve argument to a claim ID
* @memberof Util.
* @param {string} arg
* @returns {?string}
*/
Util.resolveToClaimID = (arg) => {
if (/^[a-f0-9]{40}$/.test(arg))
return arg;
else if (/^lbry:\/\/@?[\w-]+#([a-f0-9]{40})$/.test(arg))
return arg.replace(/^lbry:\/\/@?[\w-]+#([a-f0-9]{40})$/, '$1');
else return null;
};
/**
* Make a promise that resolves after some time
* @memberof Util.
@ -201,6 +232,26 @@ Util.Hastebin = {
* @memberof Util.
*/
Util.LBRY = {
async syncPairs(client) {
const response = await client.lbry.listAccounts({ page_size: await Util.LBRY.getAccountCount(client) });
const accounts = await response.json();
let syncedAccounts = 0;
for (const account of accounts.result.items) {
if (/\d{17,19}/.test(account.name)) {
if (await client.sqlite.get(account.name)) continue;
await client.sqlite.pair(account.name, account.id);
syncedAccounts++;
}
}
return syncedAccounts;
},
async findSDKAccount(client, fn) {
const response = await client.lbry.listAccounts({ page_size: await Util.LBRY.getAccountCount(client) });
const accounts = await response.json();
return accounts.result.items.find(fn);
},
async findOrCreateAccount(client, discordID, create = true) {
// Check SQLite
const pair = await client.sqlite.get(discordID);
@ -208,9 +259,7 @@ Util.LBRY = {
return { accountID: pair.lbryID };
// Check accounts via SDK
const response = await client.lbry.listAccounts({ page_size: await Util.LBRY.getAccountCount(client) });
const accounts = await response.json();
const foundAccount = accounts.result.items.find(account => account.name === discordID);
const foundAccount = await Util.LBRY.findSDKAccount(client, account => account.name === discordID);
if (foundAccount) {
await client.sqlite.pair(discordID, foundAccount.id);
return { accountID: foundAccount.id };
@ -250,14 +299,27 @@ Util.LBRY = {
return Number.isInteger(num) ? `${num}.0` : num.toString();
},
async deleteAccount(client, discordID, lbryID) {
// Backup the wallet before doing any delete function
try {
Util.LBRY.backupWallet();
} catch (err) {
console.error('Error occurred while backing up wallet file!');
console.error(err);
throw err;
}
// Abandon supports
await Util.LBRY.abandonAllClaims(client, lbryID);
// Take out funds from account
const balanceResponse = await client.lbry.accountBalance(lbryID);
const amount = (await balanceResponse.json()).result.total;
if (parseFloat(amount) > 0)
let amount = (await balanceResponse.json()).result.total;
while (amount >= 2) {
await client.lbry.fundAccount({ from: lbryID, everything: true, amount });
const finalBalance = await client.lbry.accountBalance(lbryID);
amount = (await finalBalance.json()).result.total;
await Util.halt(3000);
}
// Remove account from SDK & SQLite
await client.lbry.removeAccount(lbryID);
@ -274,7 +336,27 @@ Util.LBRY = {
for (let i = 0, len = supports.length; i < len; i++) {
const support = supports[i];
await client.lbry.abandonSupport({ claimID: support.claim_id, accountID: lbryID });
await Util.halt(3000);
}
return { count: supports.length };
},
backupWallet() {
const wallet = fs.readFileSync(config.walletPath);
const d = new Date();
const date = [
d.getUTCFullYear(),
d.getUTCMonth().toString().padStart(2, '0'),
d.getUTCDay().toString().padStart(2, '0'),
].join('-');
const time = [
d.getUTCHours().toString().padStart(2, '0'),
d.getUTCMinutes().toString().padStart(2, '0'),
d.getUTCSeconds().toString().padStart(2, '0'),
d.getUTCMilliseconds().toString()
].join('-');
const backupName = 'default_wallet.' + date + '_' + time + '.bak';
const backupPath = path.join(config.walletBackupFolder, backupName);
fs.writeFileSync(backupPath, wallet);
console.log(`Backed up wallet file: ${backupPath}`);
}
};

2127
yarn.lock

File diff suppressed because it is too large Load diff