Commit Graph

671 Commits (910afefcbf2de4e859fa8484531c770425ffb84a)

Author SHA1 Message Date
Bsian 591ced7c06
Trim newlines 2019-12-30 16:57:34 +00:00
Bsian 6cbedfa04b
include subcommands in cache removal 2019-12-30 16:47:14 +00:00
Bsian 0a2088977b
Added subcommand 2019-12-30 16:40:23 +00:00
Bsian f2d250921f
Get rid of the damn comments 2019-12-28 03:33:14 +00:00
Bsian 9a47286889
Merge branch 'master' of https://gitlab.libraryofcode.org/engineering/cloudservices 2019-12-28 03:12:22 +00:00
Bsian 2b227d49f4
Add subcommand 2019-12-28 03:12:14 +00:00
Matthew 7a42292f40
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-12-27 21:56:07 -05:00
Matthew f229e4a825
add parseCertificate typescript bindings 2019-12-27 21:55:21 -05:00
Matthew f866592513
add lock on storage 2019-12-27 21:19:32 -05:00
john doe 4cdc217b6e Update modlogs.ts 2019-12-27 15:24:54 -05:00
john doe 4bd924bae4 Update help.ts 2019-12-27 15:24:15 -05:00
john doe 326757130b Update cwg_data.ts 2019-12-27 15:23:40 -05:00
Matthew 13faf9b4f9
comma in homepath type in AccountInterface 2019-12-27 14:08:04 -05:00
Matthew f6779f90ce
remove groupdel 2019-12-27 14:07:51 -05:00
Matthew 9400caaea9
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-12-27 14:00:38 -05:00
Matthew dae9750d08
dir changes 2019-12-27 14:00:30 -05:00
Matthew 6a9d31f1a9
place go files in project dirs and updates to checkCertificate 2019-12-27 13:59:58 -05:00
Matthew a1176bfa36
removing group isnt required as deluser performs the operation 2019-12-27 13:59:28 -05:00
Bsian ff20f08d8a
Fix typo 2019-12-25 02:18:01 +00:00
Bsian 7c12ca9192
Fixes 2019-12-25 01:59:03 +00:00
Bsian e040f117a3
Diagnose bug 2019-12-25 01:40:48 +00:00
Bsian dcfb5472cc
Perms stuff 2019-12-23 23:28:48 +00:00
Bsian 630a9cbca8
Correct role permissions 2019-12-23 23:19:33 +00:00
Bsian 9e0ead2520
Failsafe i guess 2019-12-23 23:15:39 +00:00
Bsian 692b4af059
Added password reset command 2019-12-23 23:10:04 +00:00
Bsian 1fba4a3f06
Stop un initing 2019-12-23 18:14:42 +00:00
Bsian bc4e351a0a
Mongoose is a useless pile of shit, bye bye db reloader 2019-12-23 17:43:42 +00:00
Bsian 72b89b2f78
Added DB to reload 2019-12-23 17:15:24 +00:00
Bsian 612d527986
Add home path 2019-12-23 17:08:42 +00:00
Bsian 82b3148fd3
Move group delete to after folder delete 2019-12-23 16:55:10 +00:00
Bsian bbaf9f55db
Stop erroring if user isn't in server 2019-12-23 16:11:45 +00:00
Bsian 11ac39dc19
Stop erroring if user isn't in server 2019-12-23 15:24:46 +00:00
Bsian d445108a98
Promise rejections 2019-12-23 14:42:24 +00:00
Bsian 07a241ebe3
Removed unnecessary usage 2019-12-23 14:18:17 +00:00
Matthew c0ea781511
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-12-22 16:49:44 -05:00
Matthew b964d4f8d8
add checkCertificate go 2019-12-22 16:49:21 -05:00
Bsian f547c321ae
Delete group on account deletion 2019-12-21 18:30:52 +00:00
Matthew 1452ae0c9e
change to ms 2019-12-20 15:53:59 -05:00
Matthew f4ab9e9cb8
change spawn path 2019-12-20 12:54:35 -05:00
Matthew c707a05f35
change spawn path 2019-12-20 12:50:19 -05:00
Matthew 4ded030af6
change spawn path 2019-12-20 12:46:24 -05:00
Matthew 684c6b8d92
change spawn path 2019-12-20 12:32:00 -05:00
Matthew 9b7b5ee03d
change spawn path 2019-12-20 12:29:28 -05:00
Matthew efc17189c0
move go files to another directory 2019-12-20 12:25:35 -05:00
Matthew ace7594c12
should be spawn instead of execFile 2019-12-20 12:18:19 -05:00
Matthew de6ed2d37f
logs 2019-12-19 00:02:59 -05:00
Matthew 338f880bd4
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-12-18 23:47:13 -05:00
Matthew 31191b01c6
make storage.ts run go 2019-12-18 23:47:08 -05:00
Matthew 963993d520
dirsize and storage go files 2019-12-18 23:47:00 -05:00
Bsian 23d82e0f3a
Hopefully fix false positive 2019-12-18 23:26:42 +00:00
Bsian f96808e6d6
Fix failing to find commands 2019-12-18 23:03:46 +00:00
Bsian 6f20ecf178
test 2019-12-17 01:55:52 +00:00
Bsian b18cbfe7c3
test 2019-12-17 01:53:56 +00:00
Bsian a25274e51a
test 2019-12-17 01:50:20 +00:00
Bsian 66ef185819
test 2019-12-17 01:46:17 +00:00
Bsian ccb39a910c
test and fix 2019-12-17 01:41:31 +00:00
Bsian d793731bc9
Fix stuff, test 2019-12-17 01:35:16 +00:00
Bsian c3edc68a84
Alias only show parent command name if subcommand 2019-12-17 01:33:42 +00:00
Bsian 08effc5b53
Attempt 2 2019-12-17 01:27:12 +00:00
Bsian 532dbcc320
Message update 2019-12-17 00:04:39 +00:00
Matthew cb097067b5
fix for disk blocking 2019-12-13 19:23:48 -05:00
Matthew 0838022eae
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2019-12-11 22:21:11 -05:00
Matthew 0dcb367cc8
fixes an issue with account name in cacc being set to command invoker 2019-12-11 22:20:43 -05:00
Bsian 1d3e6ce811
Eris update 2019-12-09 10:07:59 +00:00
Bsian ba71d2ebdf
Fixed stuff for subcommands 2019-12-03 23:26:10 +00:00
Bsian 6796317c6c
this shit doesn't work 2019-12-01 01:50:47 +00:00
Bsian 00343fe7f3
testing 2019-12-01 01:35:15 +00:00
Bsian d9cc8ac1ec
stay in same format 2019-12-01 01:32:26 +00:00
Bsian 85a60c00e7
Fixed errors throwing starting prefix 2019-12-01 01:29:24 +00:00
Bsian 98c3b22f66
Fix util reloading 2019-12-01 00:44:36 +00:00
Bsian 1473aaec11
reverting for util, fixing for command 2019-12-01 00:38:01 +00:00
Bsian d481d7c90c
Fix util reloading 2019-12-01 00:25:47 +00:00
Bsian c11a7e62c3
Reverting and fixing command reloader 2019-12-01 00:22:51 +00:00
Bsian f7822fa2cb
Fix util reloading 2019-12-01 00:17:44 +00:00
Bsian 429a5fda8e
Fix args lowercase 2019-12-01 00:10:49 +00:00
Bsian af1827337f
Fix no args 2019-11-30 23:59:13 +00:00
Bsian 495159336b
Don't restart if build error 2019-11-30 23:55:49 +00:00
Bsian 7bc601b685
Perms fix 2019-11-30 23:53:23 +00:00
Bsian ceb613c95f
Added reload command 2019-11-30 23:47:47 +00:00
Bsian a7966d7adb
Added build error 2019-11-30 23:14:50 +00:00
Bsian d52e698fde
Memory saving 2019-11-30 23:00:11 +00:00
Bsian f806afa1da
Memory saving 2019-11-30 22:55:53 +00:00
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