Commit Graph

931 Commits (refactor/models)

Author SHA1 Message Date
Matthew 81b19b6267
optimizations for storage calculations 2020-06-28 22:11:17 -04:00
Matthew f8d466686d
add systemd cat and systemd linger cmd 2020-06-28 22:10:50 -04:00
Matthew a43de64957
add killpid command 2020-06-21 01:10:37 -04:00
Matthew fee35c6fcb
fix issue with private key validation 2020-06-16 19:22:22 -04:00
Bsian 37ebe1858b
remove messages 2020-06-15 23:06:41 +01:00
Bsian ee9588c077
change how args works 2020-06-15 23:05:29 +01:00
Bsian 02e41276cf
args 2020-06-15 23:00:43 +01:00
Bsian 27cbb57ccf
correct place 2020-06-15 22:58:52 +01:00
Bsian 96b3e55dd1
aaaa 2020-06-15 22:57:12 +01:00
Bsian 06a0906ca9
ugh 2020-06-15 22:50:34 +01:00
Bsian f5f04c5a0c
as above 2020-06-15 22:47:31 +01:00
Bsian 765cf135a2
same as before 2020-06-15 22:36:23 +01:00
Bsian 2019a9e686
Check eval string 2020-06-15 22:32:32 +01:00
Bsian 0f93d42c2c
Fix full flag 2020-06-09 23:01:50 +01:00
Bsian b315d471a7
Fix loading information 2020-06-09 22:55:54 +01:00
Bsian 15d703fd82
Fix lockfile yarn install filter 2020-06-09 22:48:43 +01:00
Bsian 362c568040
Add deprecated commands 2020-06-09 22:26:59 +01:00
Bsian 6f51772033
Refurbish whois command 2020-06-09 22:26:13 +01:00
Bsian 52351fd8e4
Definitions inside methods 2020-06-09 12:56:14 +01:00
Bsian d534ea163d
Clean up 2020-06-09 12:40:02 +01:00
Matthew a979f73890
send msgs to terminals on certain actions 2020-05-22 22:24:51 -04:00
Matthew 9092dfcae9
send msgs to terminals on certain actions 2020-05-22 22:19:38 -04:00
Matthew e1a7155cf5
go bindings for username lookup by UID 2020-05-22 22:10:45 -04:00
Matthew 8aebf2b291
go bindings for username lookup by UID 2020-05-22 22:07:17 -04:00
Matthew 393832889d
go bindings for username lookup by UID 2020-05-22 21:56:56 -04:00
Matthew 860effb91c
func for sending messages to user terminals 2020-05-22 21:56:21 -04:00
Matthew 8c7bf288c4
various additions 2020-05-17 06:58:45 -04:00
Matthew 789c97f3ff
various additions 2020-05-17 06:55:07 -04:00
Matthew 15ea1efe12
various additions 2020-05-17 06:48:08 -04:00
Matthew 02a9526752
various additions 2020-05-17 06:43:52 -04:00
Matthew fb82ee1a60
various additions 2020-05-17 06:36:40 -04:00
Matthew a6b81139a3
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-05-17 06:31:43 -04:00
Matthew 22d194ea08
various additions 2020-05-17 06:31:14 -04:00
Bsian 10d2fbb374
This is a bodge fix 2020-05-12 17:32:46 +01:00
Bsian 18267b8a0a
depth 0 2020-05-12 17:27:12 +01:00
Bsian 60971038d4
Timeout 2020-05-12 17:26:39 +01:00
Bsian 6e7845b052
More stuff 2020-05-12 17:22:19 +01:00
Bsian 1aeb51eb7a
Attempt at a fix? 2020-05-12 17:10:34 +01:00
Bsian d098ac1832
change names 2020-05-12 16:46:19 +01:00
Bsian 0ba05afa66
dunno what's happening 2020-05-12 16:42:13 +01:00
Bsian 1464253675
Test 2020-05-12 16:37:23 +01:00
Bsian 0a69845110
Check something 2020-05-12 16:34:01 +01:00
Bsian e523e277e7
Return the correct message 2020-05-12 16:24:06 +01:00
Bsian a1bd340d98
Reject with error 2020-05-12 16:21:26 +01:00
Bsian fd78b2ef35
Back 2020-05-12 15:54:07 +01:00
Matthew c2c00e102d
typing fix 2020-05-12 10:47:40 -04:00
Matthew 025c14139b
typing fix 2020-05-12 10:44:16 -04:00
Matthew f507131ae2
typing fix 2020-05-12 10:35:28 -04:00
Matthew a0479d1cff
fix issue with cwg create 2020-05-12 10:30:15 -04:00
Matthew 88198b2234
roll back issue with exec 2020-05-12 10:21:30 -04:00
Matthew 8ce060282e
various fixes 2020-05-08 19:41:16 -04:00
Matthew f51ced85ae
various fixes 2020-05-08 19:37:24 -04:00
Matthew 60a65f3709
various fixes 2020-05-08 19:27:45 -04:00
Matthew 331afd449a
various fixes 2020-05-08 19:16:22 -04:00
Matthew dcf7103913
various fixes 2020-05-08 19:14:01 -04:00
Matthew 202f87e832
various fixes 2020-05-08 19:10:53 -04:00
Matthew 8c611ff5b9
fix conflict 2020-05-05 19:52:45 -04:00
Matthew 9455bb195d
fix conflict 2020-05-05 19:50:14 -04:00
Matthew a5fefbd264
fix conflict 2020-05-05 19:41:56 -04:00
Matthew 8f58d22461
fix calculation error in memory.ts 2020-05-05 19:41:00 -04:00
Bsian e646685bc3
Lint 2020-05-04 13:12:38 +01:00
Bsian 1b9d3c56f1
Fix CI 2020-05-04 13:07:55 +01:00
Bsian 810ad6e7be
Fix message 2020-05-04 12:21:42 +01:00
Bsian 723c46e3c4
Remove the shit that's breaking shit 2020-05-04 12:18:57 +01:00
Bsian d8267112c7
Check something 2020-05-04 12:13:17 +01:00
Matthew 5fffe9f5f2
fixes to util/exec 2020-05-03 23:55:12 -04:00
Bsian e8cfac48cc
Add force update version 2020-05-04 02:14:31 +01:00
Bsian ff3f4c0e9f
No idea what's causing the errors 2020-05-04 02:00:16 +01:00
Bsian 3030db18d9
TS2740 2020-05-04 01:00:52 +01:00
Bsian c7fb133a23
Fix type error 2020-05-04 00:50:57 +01:00
Bsian d81d6752ad
Add an extra space just to test something 2020-05-04 00:49:36 +01:00
Bsian 6a0596d3a4
Fix too long error 2020-05-04 00:46:51 +01:00
Bsian 58989a9b7e
Improve exec system 2020-05-04 00:25:04 +01:00
Matthew c690a5425b
fixes for stuff 2020-05-03 19:11:23 -04:00
Matthew deb2c0fc20
stuff 2020-05-03 19:08:10 -04:00
Matthew b4ceed1de1
fixes 2020-05-03 19:05:41 -04:00
Matthew eabea72f09
default to -50 2020-05-03 19:00:36 -04:00
Matthew caf27269a9
set to 0 instead of -1 2020-05-03 19:00:18 -04:00
Matthew 1775afb2d3
various changes 2020-05-03 18:59:49 -04:00
Bsian 2a6af24499
Only show command line output on error 2020-05-03 23:55:57 +01:00
Matthew eb1cce3d70
fixes 2020-05-03 18:49:03 -04:00
Bsian 911218cdaf
Set disable notif value to 0 2020-05-03 23:47:44 +01:00
Matthew 9201599aae
fixes 2020-05-03 18:36:18 -04:00
Matthew f87a02fd17
fixes 2020-05-03 18:31:31 -04:00
Matthew b784d91abf
fixes 2020-05-03 18:23:28 -04:00
Matthew a67cc4d595
fixes 2020-05-03 17:56:27 -04:00
Matthew 4f1a9b01d9
function for updating all existing accounts 2020-05-03 17:50:06 -04:00
Matthew 3985b0c3aa
multiple changes to memory notification handling 2020-05-03 17:49:50 -04:00
Matthew 7897ff2165
update account model 2020-05-03 17:49:40 -04:00
Matthew 9836554be7
auto-update ram limit notification threshold on tier change 2020-05-03 17:49:29 -04:00
Matthew 0182b0af14
commands for viewing limit and changing limit threshold 2020-05-03 17:48:58 -04:00
Matthew c3f6867f4b
set ram notification threshold default on account creation 2020-05-03 17:48:40 -04:00
Matthew b5a1744002
memory int various fixes 2020-05-03 16:44:42 -04:00
Matthew ee2ea41d8b
changes to memory 2020-05-03 16:35:47 -04:00
Matthew 0a7ebc9f34
change hard designation to 5mb over instead of 50mb 2020-05-03 15:58:56 -04:00
Matthew 321878d85d
changes to setlimit cmd 2020-05-02 02:47:04 -04:00
Matthew 5e5735676b
update index 2020-05-02 02:41:10 -04:00
Matthew 9f2fdc6a17
client changes 2020-05-02 02:35:32 -04:00
Matthew 688e243839
add tier model 2020-05-02 02:35:25 -04:00
Matthew 8df5589242
fix of intervals, change how memory.ts gets info 2020-05-02 02:35:17 -04:00
Matthew 24715e77d6
fixup of functions 2020-05-02 02:35:03 -04:00
Matthew 84cf60069f
commands to set resource limits 2020-05-02 02:34:52 -04:00
Matthew 637c01ae49
command to view resource limits 2020-05-02 02:34:40 -04:00
Matthew 2414c2aa6a
change eval/exec perms 2020-05-01 17:46:05 -04:00
Matthew 961f0e6c74
fix issue with emailcode 2020-05-01 17:45:53 -04:00
Matthew 50a9d05f97
various changes 2020-05-01 02:51:02 -04:00
Matthew 3731ecb863
allow whois lookup by support key 2020-04-23 20:59:24 -04:00
Matthew 7ec7c864cb
fix issues with whois guild resolve 2020-04-21 14:59:53 -04:00
Matthew f43ef83dda
perm fix 2020-04-20 16:18:19 -04:00
Matthew 11cc0fcabb
update staff intervals/db entries 2020-04-20 16:04:38 -04:00
Matthew 910afefcbf
perms change for pull cmd 2020-04-19 12:37:43 -04:00
Matthew 86668ead8b
major permissions change 2020-04-19 11:35:24 -04:00
Matthew 585b86f9a2
change whois command styling 2020-04-08 07:02:49 -04:00
Matthew 9adaa33636
update memory tier limits 2020-04-02 01:51:46 -04:00
Matthew 3dcff26c59
import of named module 'axios' should appear before destructured/local imports 2020-04-02 01:51:23 -04:00
Bsian 9cff96318a
Fix. 2020-04-02 01:15:33 +01:00
Bsian 1d780c313d
Fix? 2020-04-02 01:14:24 +01:00
Bsian fa2a0c8c10
trying to see where this shit breaks 2020-04-02 01:11:29 +01:00
Bsian 12086cf815
Fix? 2020-04-02 01:09:56 +01:00
Bsian 3651e9fcad
trying to see where this shit breaks 2020-04-02 01:07:37 +01:00
Bsian 16a6a01e6b
trying to see where this shit breaks 2020-04-02 01:04:08 +01:00
Bsian e3d6c108d7
Bug fixes 2020-03-30 16:48:59 +01:00
Bsian f96b35f20e
Added command 2020-03-30 16:41:06 +01:00
Bsian 8ca73f2b62
Cleanup and stuff 2020-03-30 12:22:32 +01:00
Bsian 7cec2cad3d
Merge branch 'master' of https://gitlab.libraryofcode.org/engineering/cloudservices 2020-03-30 11:47:56 +01:00
Bsian 50531f07ca
Bug fix 2020-03-30 11:47:42 +01:00
Matthew dbf931bbde
fix editing issue 2020-03-29 23:57:55 -04:00
Matthew b52eb6218a
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-03-29 18:12:48 -04:00
Matthew 5c869bd803
fix interval 2020-03-29 18:12:36 -04:00
Bsian 7ade778788
Bug fix 2020-03-29 23:11:21 +01:00
Bsian d6ec1d6a6c
More bug fixes 2020-03-29 22:59:21 +01:00
Bsian f55db08f36
More bug fixes? 2020-03-29 22:51:17 +01:00
Bsian e342734317
Merge branch 'master' of https://gitlab.libraryofcode.org/engineering/cloudservices 2020-03-29 22:41:28 +01:00
Bsian e07211d0f8
Bug fixes 2020-03-29 22:40:50 +01:00
Matthew 3639178952
notifs 2020-03-29 06:48:20 -04:00
Matthew 682d067f67
add role on account creation 2020-03-29 06:19:32 -04:00
Matthew c4541b7ec0
fix memory checking issue 2020-03-29 05:59:57 -04:00
Matthew c5ddad81c7
fix memory checking issue 2020-03-29 05:53:15 -04:00
Matthew 6ebddbf9e0
fix memory checking issue 2020-03-29 05:47:53 -04:00
Matthew 4f6233548b
fix memory checking issue 2020-03-29 05:47:42 -04:00
Matthew 2cec8a45ae
fix memory checking issue 2020-03-29 05:43:40 -04:00
Matthew 0b08700140
fix memory checking issue 2020-03-29 05:37:14 -04:00
Matthew 271cfe1959
fix memory checking issue 2020-03-29 05:33:43 -04:00
Matthew 4ca2e9b188
fix memory checking issue 2020-03-29 05:28:40 -04:00
Matthew 344926c742
fix memory checking issue 2020-03-29 05:23:11 -04:00
Matthew 2b8772dbfb
fix memory checking issue 2020-03-29 05:22:22 -04:00
Matthew f38bf25872
add new commands 2020-03-29 04:58:29 -04:00
Matthew 53774752dd
fix issue in automatic perm checks 2020-03-29 04:45:59 -04:00
Matthew 09de117cbd
command for email verification 2020-03-29 04:32:38 -04:00
Matthew 2159845d46
command to change tier 2020-03-29 04:32:27 -04:00
Matthew efc8dc8f02
create a support key on account creation 2020-03-29 04:32:17 -04:00
Matthew ec6adfad41
Merge branch 'master' of gitlab.libraryofcode.org:engineering/cloudservices 2020-03-29 01:55:44 -04:00
Matthew 077efbbd45
syntax fixes 2020-03-29 01:55:31 -04:00
Bsian 944cfc8c1e
Disable command 2020-03-29 02:00:42 +01:00
Bsian fbd5c478cc
Fix certain typings stuff 2020-03-29 00:55:40 +00:00
Matthew 9433ad997f
small changes to nginx default config file 2020-03-28 18:16:27 -04:00
Matthew eafcdf1cf6
build CI fixes 2020-03-28 12:16:39 -04:00
Matthew c88d4cd9ad
various fixes to whois commands 2020-03-28 12:15:00 -04:00
Matthew 2f015b4e49
add new interval which automatically updates permissions based on roles 2020-03-28 12:14:39 -04:00
Matthew 56a2b3eabf
add new interval which automatically updates permissions based on roles 2020-03-28 12:11:16 -04:00
Matthew febb9ee924
various fixes to account model and intervals 2020-03-28 12:10:58 -04:00
Matthew 23afdcdf90
sheriff perms to create accs 2020-03-28 12:10:09 -04:00
Matthew 11cf7db6c9
tier memory updates 2020-03-28 11:37:01 -04:00
Matthew b615178da6
fix issue on CI 2020-03-28 11:32:51 -04:00
Matthew da61fade27
change default shell to bash 2020-03-28 11:28:07 -04:00
Matthew 449d61fd55
fixes 2020-03-28 05:08:37 -04:00
Matthew ffa3d24f89
disable checkSS interval function 2020-03-28 04:59:23 -04:00
Matthew 3f7ead1db4
disable all securesign commands 2020-03-28 04:58:14 -04:00
Matthew 2f2d6d823c
disable parse commands 2020-03-28 04:57:59 -04:00
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