Commit Graph

712 Commits (c7fb133a23323bfd2e19fceb2cc345a74f309c75)

Author SHA1 Message Date
Matthew 2af97851e1
no idea whats happening but i object 2020-03-28 04:57:40 -04:00
Matthew c77c2f5702
have createaccount cmd use account utils instance 2020-03-28 04:57:24 -04:00
Matthew cf465b01c8
add account utilities class and rework of util class 2020-03-28 04:57:08 -04:00
Matthew cae4c9c2cd
disable all api routes temporarily 2020-03-28 04:56:38 -04:00
Matthew 0a2ad6cdde
add tier information and perm cleanup for whois commands 2020-03-23 22:27:00 -04:00
Matthew fbe5037630
add tier to Account model and interface 2020-03-23 22:26:42 -04:00
Matthew 2955aec793
storage interval code cleanup 2020-03-23 22:26:29 -04:00
Matthew 1371b0efdf
automatic hard enforcement for memory limits 2020-03-23 22:26:06 -04:00
Matthew 7d4ac0b479
remove securesign link from account create command 2020-03-23 22:25:33 -04:00
Matthew ff97b32d5d
add tier to user upon account creation 2020-03-23 22:25:08 -04:00
Matthew 8e7a641c7b
Changes to path location 2020-03-17 01:39:18 -04:00
Matthew 4c0d5cad32
boot fixes 2020-03-17 01:35:43 -04:00
Bsian 6903b3f304
Got rid of as many errors as possible 2020-03-13 23:57:16 +00:00
Bsian 87fd47adce
Rework command 2020-03-13 21:49:51 +00:00
Matthew f25b118eff
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-01-31 00:45:32 -05:00
Matthew ec900dd23c
updates to cacc 2020-01-31 00:45:09 -05:00
Bsian 7155709924
Fixes to options and caps 2020-01-25 13:16:58 +00:00
Matthew e6ec7801bb
Route constructor changed to protected 2020-01-20 23:41:24 -05:00
Matthew f341f5364d
Security.keyBase changed to protected/readonly 2020-01-20 23:41:06 -05:00
Bsian 4549da9ba3
Better error handling 2020-01-20 23:01:01 +00:00
Bsian 66d28e4e75
Fix 2020-01-20 19:59:43 +00:00
Bsian 57b22596ca
Merge branch 'master' of https://gitlab.libraryofcode.org/engineering/cloudservices 2020-01-20 10:55:14 +00:00
Bsian 4c7f211cee
Stop throwing errors with C3 ECC 2020-01-20 10:53:44 +00:00
Matthew 751490a8b9
change email address in cmds that send notification mail 2020-01-18 00:12:50 -05:00
Matthew a6c546dfed
update storage set 2020-01-13 18:32:43 -05:00
Matthew ee95daa5ef
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-01-13 18:15:35 -05:00
Matthew ca36c554a7
update storage set 2020-01-13 18:15:11 -05:00
Bsian 0f2305b0fa
Merge branch 'master' of https://gitlab.libraryofcode.org/engineering/cloudservices 2020-01-05 20:53:28 +00:00
Bsian 641ac31796
Prompt password reset 2020-01-05 20:53:04 +00:00
Matthew 99b905d03a
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-01-05 14:59:48 -05:00
Matthew 9ba2265e60
mask ip in =whois to non-marshals 2020-01-05 14:59:28 -05:00
Bsian 26e31dece0
Added system process check 2020-01-05 13:27:12 +00:00
Bsian 56c94a5e33
add loading message 2020-01-04 16:14:08 +00:00
Bsian 9549c99ebb
no need to use promise.allsettled 2020-01-04 15:43:45 +00:00
Bsian fa5de93c8d
oop fix 2020-01-04 15:40:00 +00:00
Bsian dee2e6a820
FINALLY 2020-01-04 15:37:37 +00:00
Bsian 198aea79f6
Diagnosis 2020-01-04 15:34:21 +00:00
Bsian 3a40a6cc2b
Diagnosis 2020-01-04 15:30:19 +00:00
Bsian 542bed168b
Diagnosis 2020-01-04 15:28:48 +00:00
Bsian 6b2bb7293a
Diagnosis 2020-01-04 15:27:58 +00:00
Bsian 4f314051b7
Diagnosis 2020-01-04 15:25:22 +00:00
Bsian 2558c3e78b
Diagnosis 2020-01-04 15:17:03 +00:00
Bsian 51b888848f
Proper solution? 2020-01-04 15:05:05 +00:00
Bsian 1bae7f52a2
Solution? 2020-01-04 14:28:20 +00:00
Bsian dd1dacfe30
Promises 2020-01-04 14:06:10 +00:00
Bsian 350e5c021d
Use Promise.allSettled 2020-01-04 13:47:54 +00:00
Bsian 2e1bf68cc0
Correct placement 2020-01-04 13:18:22 +00:00
Bsian cf94993dc9
Speed increase i hope 2020-01-04 13:15:55 +00:00
Bsian 78b926678a
Stop error 2020-01-04 13:03:29 +00:00
Bsian a77f417e88
Fix? 2020-01-04 12:49:47 +00:00
Bsian 0b443e8297
Fix eval undefined if no args 2020-01-04 11:21:53 +00:00
Bsian 9809f32ee0
Order fix and more diagnosis 2020-01-04 11:18:38 +00:00
Bsian 59ae64b08f
More diagnosis 2020-01-04 11:13:22 +00:00
Bsian f5ae4392be
Diagnosis 2020-01-04 11:06:55 +00:00
Bsian 8cad4a87db
Fix args 2020-01-03 20:09:21 +00:00
Bsian fae3486148
Correct order 2020-01-03 20:05:16 +00:00
Bsian 7b63e5c77f
Add flags 2020-01-03 19:54:58 +00:00
Bsian cf23a073ea
Include functions in export 2020-01-03 15:57:18 +00:00
Bsian 7a38e68048
Allow clearing of function 2020-01-03 15:55:23 +00:00
Bsian bdfbb94ce7
Auto init 2020-01-03 15:34:31 +00:00
Bsian c60b3ca216
Fix typos 2020-01-03 15:23:00 +00:00
Bsian 0a4be74bc2
Update perms 2020-01-03 15:15:30 +00:00
Bsian af44d30a7a
Remove ls 2020-01-01 22:39:26 +00:00
Bsian c9f49a5fce
Remove env autoset 2020-01-01 22:38:23 +00:00
Bsian 91c7b0c6f5
Error catching for invalid certificates 2020-01-01 22:21:41 +00:00
Bsian 6390276306
Check something 2020-01-01 22:09:15 +00:00
Bsian bee69c5041
Change reject message 2020-01-01 22:06:43 +00:00
Bsian df58a9c4fe
set cwd 2020-01-01 22:04:13 +00:00
Bsian ab30afd7bc
Change result return 2020-01-01 22:00:08 +00:00
Bsian 7b3963dc54
Use golang parseCertificate 2020-01-01 21:45:46 +00:00
Bsian d5be7f6e0f
Set CWD 2020-01-01 21:39:55 +00:00
Bsian 41f42c2f9d
same as prev 2020-01-01 21:37:20 +00:00
Bsian e9430a85e6
made it so much less clusterfuck 2020-01-01 21:35:42 +00:00
Matthew a2213ae014
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-01-01 15:56:56 -05:00
Matthew ae971f9f32
optional args to Util.exec 2020-01-01 15:55:43 -05:00
Bsian 4910ba62db
remove 0 values 2020-01-01 16:13:51 +00:00
Bsian b77a0491af
ugh 2020-01-01 15:40:28 +00:00
Bsian bde6439c25
Seeing if this does anything 2020-01-01 15:39:09 +00:00
Bsian adad62cf96
idk anymore 2020-01-01 15:32:33 +00:00
Bsian b2196186be
Revert "Fix cert pathing"
This reverts commit 2a60c7dcf2.
2020-01-01 15:27:42 +00:00
Bsian 5bb02c85f0
Should fix certificate status not showing 2020-01-01 15:10:12 +00:00
Bsian e21140ce58
Fix array errors if null 2020-01-01 13:19:31 +00:00
Bsian 2a60c7dcf2
Fix cert pathing 2020-01-01 13:07:47 +00:00
Bsian 817ac0aa97
Check if cert and private key match 2020-01-01 12:50:52 +00:00
Bsian da29adac49
Improvements 2020-01-01 03:28:57 +00:00
Matthew a9cd35b21a
add coal to eval & exec user array 2019-12-30 18:14:09 -05:00
Matthew 2e88d68301
add cert/priv key signature checker 2019-12-30 17:59:07 -05:00
Matthew d464d3fa1c
set env variables for Util.exec 2019-12-30 17:58:39 -05:00
Bsian 5b600571f6
Update perms 2019-12-30 17:03:17 +00:00
Bsian a14e4eb6cf
And typo 2019-12-30 17:00:48 +00:00
Bsian fe31d925a3
Fix markdown 2019-12-30 16:59:22 +00:00
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