Commit Graph

589 Commits (36f7660afdfa3db8f79db8cc530ed6079dc11f69)

Author SHA1 Message Date
Bsian a718bf23b3
rewrite command resolver 2019-11-30 22:09:24 +00:00
Bsian a283542048
What the fuck is wrong with returning? Aint no need for another unnecessary line 2019-11-26 08:24:24 +00:00
Matthew 24db3a2513
msg editing 2019-11-25 21:06:01 -05:00
Matthew d2c10b45ad
update shell 2019-11-25 18:25:04 -05:00
Matthew 3a99c9efa4
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-11-21 21:22:25 -05:00
Matthew 84a22a6a76
rm comments and change archtypes 2019-11-21 21:22:07 -05:00
Bsian 5a3520aa4b
Error handler 2019-11-21 14:42:05 +00:00
Bsian 3156fe58e9
Error handling 2019-11-21 14:39:07 +00:00
Bsian 7316b62282
Added command 2019-11-21 14:35:21 +00:00
Matthew b623654412
rename me command and add optional user lookup 2019-11-19 18:57:15 -05:00
Matthew 5cc441115e
register subcommand 2019-11-19 18:28:21 -05:00
Matthew e934d6d398
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-11-19 18:27:05 -05:00
Matthew 7322c014c9
add maintenance boolean 2019-11-19 18:26:59 -05:00
Matthew a7012e31aa
why r u awaiting a constructor 2019-11-19 18:26:13 -05:00
Matthew fe1e48cdb0
Add whois_me command 2019-11-19 18:25:57 -05:00
Bsian 7d212bde3f
I don't like extra spaces 2019-11-19 20:34:24 +00:00
Bsian f97b43426b
title not showing subcommand 2019-11-19 20:30:08 +00:00
Bsian e550c68fbe
Let's try this method 2019-11-19 20:26:08 +00:00
Bsian bb179d2854
I think this adds the subcommand properly to the subcommand list 2019-11-19 20:20:33 +00:00
Bsian 6651e3cc86
Stop erroring in DMs 2019-11-19 15:57:28 +00:00
Bsian 6106fb067c
Fix markdown 2019-11-19 15:53:55 +00:00
Bsian 28f8ec58ec
Include the damn fuckin file 2019-11-19 15:47:37 +00:00
Bsian af136b1b6e
Added createcrt command 2019-11-19 15:45:22 +00:00
Bsian 2152c988bf
Use new hash getter to authenticate 2019-11-19 14:06:44 +00:00
Bsian a7415ce381
Use securesign cli hash 2019-11-19 14:00:50 +00:00
Bsian 405d9345dd
Matt fuckin look at the errors 2019-11-19 13:41:07 +00:00
Bsian b04cfbd0a6
Don't restart when updating 2019-11-19 13:32:33 +00:00
Bsian d5fb18b73b
Change 1 for auth update 2019-11-19 13:26:15 +00:00
Matthew 1e8512e9f5
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-11-18 20:52:20 -05:00
Matthew ade9525cf9
typings for route in Server.ts 2019-11-18 20:52:12 -05:00
Matthew 0150affaf5
change .us domains to .org in cacc command 2019-11-18 17:33:45 -05:00
Bsian 06265b653e
Don't error if user doesn't have account 2019-11-18 20:42:18 +00:00
Bsian 0fbd44c463
Registered the command 2019-11-18 20:33:47 +00:00
Bsian 99ea3da196
Forgot to include this 2019-11-18 20:21:06 +00:00
Bsian 701eb132cb
Added restart command 2019-11-18 20:14:43 +00:00
Bsian 0dbb6c698c
Merge branch 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-18 09:45:51 +00:00
Matthew 6f9569b38a
fix spacing in cwg_create 2019-11-17 20:53:01 -05:00
Matthew 254f489909
some jsdoc in Route class 2019-11-17 20:52:54 -05:00
Matthew 0b25a67575
change Map to Collection in server routes 2019-11-17 20:52:41 -05:00
Matthew 7e8256a474
remove redudant await and remove logging 2019-11-17 20:44:26 -05:00
Matthew 2b2b4f6830
string should be a number 2019-11-17 18:13:17 -05:00
Matthew 51839c20eb
fix typo 2019-11-17 18:13:09 -05:00
Matthew 1f2791db45
FS route 2019-11-17 18:02:54 -05:00
Matthew 95f78b3643
add storage information route 2019-11-17 18:02:48 -05:00
Matthew 7e2339cbc8
add maintenance binding routes 2019-11-17 18:02:40 -05:00
Matthew cc1b9a2342
fix routing issue 2019-11-17 16:26:07 -05:00
Matthew 09eb30d813
fix csp again 2019-11-17 16:23:24 -05:00
Matthew d219a1eb7e
fix issue with CSP 2019-11-17 16:20:56 -05:00
Matthew a45f1b6692
New Root endpoint 2019-11-17 16:12:00 -05:00
Matthew 42ed3da0d3
Error Handling & Minification 2019-11-17 16:11:41 -05:00
Bsian d399811cbb
Error handler 2019-11-17 11:07:01 +00:00
Matthew 69a7af127b
update index 2019-11-17 00:51:09 -05:00
Matthew deac75184b
l 2019-11-17 00:50:01 -05:00
Matthew eab054c12a
add bearer token command 2019-11-17 00:43:58 -05:00
Matthew 466babfe74
optional moderation id 2019-11-17 00:28:14 -05:00
Matthew d10156e2c1
remove debugs 2019-11-17 00:24:14 -05:00
Matthew 8d43d4c6c5
checks 2019-11-17 00:19:38 -05:00
Matthew 8e613a9425
change checks 2019-11-17 00:03:44 -05:00
Matthew a08babb0de
check 2019-11-17 00:00:24 -05:00
Matthew 988539279b
account changes 2019-11-16 23:58:11 -05:00
Matthew 1927e3b295
auth tags 2019-11-16 23:57:17 -05:00
Matthew 6fba087b2d
fix cipher issues 2019-11-16 23:40:32 -05:00
Matthew e44da74a0f
check 2019-11-16 23:29:36 -05:00
Matthew 747a9a7ae5
await 2019-11-16 23:26:34 -05:00
Matthew e18307cb7f
add new fields 2019-11-16 23:24:36 -05:00
Matthew b0cf9bfc1e
add salt 2019-11-16 23:22:49 -05:00
Matthew 009bdad83e
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 22:55:49 -05:00
Matthew aa6af03930
remove unused imports 2019-11-16 22:55:45 -05:00
Matthew 466fc8bf1d
add new code constant in route 2019-11-16 22:55:38 -05:00
Matthew b0fe33f98a
Change Bearer methods (verify to encrypt) 2019-11-16 22:55:25 -05:00
Bsian 1a0162734d
Got rid of embed import 2019-11-17 02:57:59 +00:00
Bsian 48468754c5
Added activatekey subcommand 2019-11-17 02:57:33 +00:00
Bsian 8cf1157442
Fix? 2019-11-17 01:53:38 +00:00
Bsian a0f990105d
Merge branch 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-17 01:49:43 +00:00
Matthew ba214c5335
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 20:48:48 -05:00
Matthew b9101de1cc
Fix encoding issue 2019-11-16 20:48:40 -05:00
Bsian 31b9c69728
SecureSign hash error handler 2019-11-17 01:46:55 +00:00
Bsian 3ec1e03e27
Perm fix 2019-11-17 01:42:47 +00:00
Matthew 020d530451
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 20:38:20 -05:00
Matthew 72d8805854
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 20:38:09 -05:00
Bsian b3370954b6
Registered subcommand 2019-11-17 01:38:05 +00:00
Matthew 9023ed1112
update security checking 2019-11-16 20:38:03 -05:00
Bsian 8c35748aee
Added and changed stuff 2019-11-17 01:35:50 +00:00
Matthew 6f0741b03b
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 20:33:43 -05:00
Matthew 95a217e3c3
Fix keypairs 2019-11-16 20:33:29 -05:00
Bsian c6267a455d
Fixing something else 2019-11-17 01:14:50 +00:00
Bsian 6fdf77555a
Merge branch 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-17 01:14:11 +00:00
Bsian 942754f64a
Fixing smth 2019-11-17 01:13:59 +00:00
Matthew 35519fd948
Fix issue with auth 2019-11-16 20:13:35 -05:00
Matthew cc0416c67e
change loading 2019-11-16 20:04:00 -05:00
Matthew ceb2e54e99
. 2019-11-16 19:55:00 -05:00
Matthew 428898f085
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 19:51:38 -05:00
Matthew cb26af0252
Fix module loading 2019-11-16 19:51:29 -05:00
Bsian dde33ce76b
Merge branch 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-17 00:45:59 +00:00
Bsian 2dc19179a7
config 2019-11-17 00:45:43 +00:00
Matthew 820bf7b081
Fix module loading issue 2019-11-16 19:45:39 -05:00
Matthew 242ade0fbb
Commit server.ts 2019-11-16 19:43:21 -05:00
Matthew 2ab5d40c55
add logging to Server.loadRoutes() 2019-11-16 19:38:59 -05:00
Matthew e24bca245e
add acc info GET 2019-11-16 19:37:45 -05:00
Matthew 1ec893b0fa
update class index 2019-11-16 19:26:39 -05:00
Matthew 8345ec0733
add Account route 2019-11-16 19:25:44 -05:00
Matthew 5a0d4cdcaa
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 19:24:54 -05:00
Matthew a846d2a831
add Route extender class 2019-11-16 19:24:43 -05:00
Matthew e42761dcda
add security api class 2019-11-16 19:24:32 -05:00
Matthew ed9d095e78
Add express server class 2019-11-16 19:24:24 -05:00
Matthew ea1f20afc6
Add bearer signatures to acc model 2019-11-16 19:24:08 -05:00
Matthew 76a1ccba1c
Bind server to client 2019-11-16 19:23:50 -05:00
Bsian af0db23af3
Prep for SecureSign CLI integration 2019-11-16 23:43:05 +00:00
Bsian 44ddfa0511
Better wording 2019-11-16 23:11:55 +00:00
Bsian a0dbbbe15b
Fix the flipping endswith 2019-11-16 22:53:35 +00:00
Bsian 5657e6bc14
More info added to error 2019-11-16 22:50:58 +00:00
Bsian 61bfb1e2ec
Account check fix 2019-11-16 22:46:38 +00:00
Bsian f946b1c8bf
Fixes 2019-11-16 22:39:34 +00:00
Bsian 802d18541f
Added commands (not complete) 2019-11-16 22:27:51 +00:00
Bsian 6c769682f9
Made eval and exec not guild only 2019-11-16 19:42:34 +00:00
Bsian 97152cd063
Merge branch 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-16 19:29:20 +00:00
Matthew 17572da752
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices-rewrite 2019-11-16 14:19:47 -05:00
Matthew 6fac48e996
Return types in funcs 2019-11-16 14:19:24 -05:00
Bsian 1d603c12f4
Got rid of comments 2019-11-16 15:09:41 +00:00
Bsian 259c5d15c8
Workaround for embed limits 2019-11-14 23:13:52 +00:00
Bsian 43943fce5d
Register command 2019-11-14 22:12:12 +00:00
Bsian 56d1ce3e30
added command 2019-11-14 21:56:58 +00:00
Bsian b1c261cb57
Merge branches 'master' and 'master' of https://gitlab.libraryofcode.us/engineering/cloudservices-rewrite 2019-11-14 21:02:30 +00:00
Matthew 7c4ca745ac
error handling for ENOENT in parse 2019-11-11 21:00:41 -05:00
Matthew ba3fd31c8e
update archetypes 2019-11-11 20:52:42 -05:00
Matthew 9412ee87c9
permission changes 2019-11-11 20:15:46 -05:00
Matthew 3964c77a40
memory is wrong, fix 2019-11-10 00:03:35 -05:00
Matthew 564623bc53
factor 2019-11-09 23:50:28 -05:00
Matthew 6af603b96b
factor 2019-11-09 23:46:21 -05:00
Matthew adf1240116
fix int issue 2019-11-09 23:38:11 -05:00
Matthew a62d10caa5
run every 15 minutes 2019-11-09 23:34:48 -05:00
Matthew 166ba54c4b
change to 0 KB if bytes == 0 2019-11-09 23:34:36 -05:00
Matthew 0c55303505
fix await issue in whois 2019-11-09 23:34:19 -05:00
Matthew e40d8fe47f
fix issue with storage 2019-11-09 23:23:26 -05:00
Matthew b924e08ced
change mark issues 2019-11-09 23:16:04 -05:00
Matthew 990cb8be23
change mark issues 2019-11-09 23:14:14 -05:00
Matthew d7a19e1b4e
move bindings 2019-11-09 23:14:02 -05:00
Matthew cbeb964b21
change interval timing on storage 2019-11-09 23:13:49 -05:00
Matthew 615cc76904
Add storage interval 2019-11-09 23:05:34 -05:00
Matthew b6f37d072c
add cpu usage, memory, and storage to whois 2019-11-09 23:05:17 -05:00
Matthew 8a23d7dbe4
bind intervals on startup and add redis 2019-11-09 23:05:01 -05:00
Matthew 8959dd5315
send dm to log and user on delete cwg 2019-11-08 20:05:47 -05:00
Matthew d583cd969e
conflict 2019-11-08 20:03:01 -05:00
Bsian 8b47fba0ba
Sort by date 2019-11-02 16:17:55 +00:00
Bsian af6ba645f8
use result path 2019-11-02 13:28:20 +00:00
Bsian 8e59238c5d
Fixed result 2019-11-02 13:26:45 +00:00
Bsian e9110c3180
show help info 2019-11-02 13:24:04 +00:00
Bsian e7bab80282
k 2019-11-02 13:22:49 +00:00
Bsian 1a59bdcc77
last try 2019-11-02 00:55:46 +00:00
Bsian 16cfd9062e
Fix? 2019-11-02 00:53:34 +00:00
Bsian 41914db777
Fix? 2019-11-02 00:41:15 +00:00
Bsian c7e036062f
Hopefully stop memory leak 2019-11-02 00:32:58 +00:00
Bsian 9b85bea477
k 2019-11-02 00:19:09 +00:00
Bsian ad1b70888e
k 2019-11-02 00:15:22 +00:00
Bsian 1d687f6d69
k 2019-11-02 00:09:25 +00:00
Bsian a2d267465c
Diagnosis 2019-11-02 00:06:14 +00:00
Bsian 7c6d9e23cf
Attempted fix at embed not showing 2019-11-02 00:02:16 +00:00
Bsian a5cf30652c
Support multiple domains using a single port 2019-11-01 23:53:21 +00:00
Bsian 2c528c36c9
Allowed multiple domains to use the same port 2019-11-01 23:26:19 +00:00
Bsian d918cd30bd
included extra stuff 2019-11-01 23:15:39 +00:00
Bsian 0c4902fb61
Added disk command 2019-11-01 22:27:15 +00:00
Matthew 014a53890d
rm check for ports 2019-11-01 17:46:23 -04:00
Bsian bf7d86d5a5
Fixed subcommand text 2019-11-01 16:04:24 +00:00
Bsian 4e04e20f9f
Fixed subcommand list 2019-11-01 15:13:21 +00:00
Bsian 98cfa9f49e
Stop failing to load command 2019-11-01 15:07:21 +00:00
Bsian da2435fbcc
Implement Array#map 2019-11-01 15:00:25 +00:00
Bsian db7785c749
Changed usage 2019-11-01 15:00:00 +00:00
Bsian 6e39a27dc5
Hopefully fix second+ subcommand aliases not working 2019-11-01 12:11:25 +00:00
Bsian 01e0cafb6e
Remove role on account delete 2019-11-01 10:51:45 +00:00
Matthew cd123f38a5
fix html 2019-10-31 23:59:43 -04:00
Matthew ef3919ce92
add additional typings to collection 2019-10-31 20:38:19 -04:00
Matthew 633f380cb8
deleteaccount should remove verified role 2019-10-31 20:37:53 -04:00
Bsian 697111cb1d
Fix parent label subcommand names not resolving 2019-11-01 00:24:08 +00:00
Bsian 694461a303
Fix command name for subcommands 2019-11-01 00:22:11 +00:00
Bsian bb81cf6842
Last attempt 2019-11-01 00:20:55 +00:00
Bsian 5076b7deef
Attempted fix at help 2019-11-01 00:17:57 +00:00
Bsian f92245b843
I was not meant to slice 2019-10-31 23:57:18 +00:00
Bsian 8d8156d22a
Hopefully fix subcommand name issue in help 2019-10-31 23:54:25 +00:00
Bsian 7e32cb50e2
Fixed help loader 2019-10-31 23:47:36 +00:00
Bsian 7cf6adfff5
Fixed args resolve command 2019-10-31 23:39:17 +00:00
Bsian bacfef6770
Fix leak 2019-10-31 23:38:42 +00:00
Bsian 38eb31dce9
Diagnosis 2019-10-31 23:32:58 +00:00
Bsian 358604ec48
Attempted fix at leak 2019-10-31 23:29:51 +00:00
Bsian c78f58bf5a
Changed CWG command to subcommand format 2019-10-31 23:17:34 +00:00
Bsian 62cb43829b
Updated error handler for subcommands 2019-10-31 23:00:14 +00:00
Bsian f8a600535b
Use new system for loading commands 2019-10-31 22:23:59 +00:00
Bsian ab7008b429
New subcommand support 2019-10-31 22:14:34 +00:00
Bsian 29c7b0a5f9
Stop base command from registering 2019-10-31 20:32:12 +00:00
Bsian d01624fc11
More edits 2019-10-31 20:26:01 +00:00
Bsian e8441563f3
More updates 2019-10-31 20:12:08 +00:00
Bsian e8782c24ea
Removed unused import 2019-10-31 20:11:56 +00:00
Bsian 01232279ac
Actually included the file 2019-10-31 20:11:20 +00:00
Bsian 71053df288
Added in-house Collection 2019-10-31 18:32:59 +00:00
Bsian 28229f6e69
Added user for notification, in cloud logs only 2019-10-31 10:44:39 +00:00
Matthew e55eeb8dc7
delete inv cmd 2019-10-30 22:13:10 -04:00
Matthew 25c8611b4d
rm 2019-10-30 22:12:08 -04:00
Matthew 62557efecf
add notify command 2019-10-30 22:10:20 -04:00
Matthew f6f2105776
fix usage typos 2019-10-30 22:10:06 -04:00
Matthew afabcad8c1
fix typing errors 2019-10-30 21:32:37 -04:00
Matthew 9f8112fd20
Add ack for support 2019-10-30 21:32:30 -04:00