Commit Graph

972 Commits (3e1731ef890362246610ec5d5d34e6ec415fef4a)

Author SHA1 Message Date
Matthew 9802240e94
fixes to root path endpoint 2020-07-04 23:04:16 -04:00
Matthew ea2a61fddd
fixes to root path endpoint 2020-07-04 23:01:37 -04:00
Matthew 8495560e18
changes to server data and moderation routes 2020-07-04 22:58:09 -04:00
Matthew 1b0f099885
changes to route and account util classes 2020-07-04 22:57:22 -04:00
Matthew 4773c9f952
fix bullshit 2020-07-01 17:58:06 -04:00
Matthew 1bc6b7c625
fixes 2020-07-01 17:54:32 -04:00
Matthew ba0ac57000
push fix 2020-07-01 16:42:43 -04:00
Matthew 4bfee04aa2
bind subcmds 2020-07-01 01:27:57 -04:00
Matthew c0e1c54ce0
commands to start/restart/stop a systemd service 2020-07-01 01:24:00 -04:00
Matthew 07e3e7ffdb
fixes 2020-07-01 00:54:29 -04:00
Matthew dfa6e6e642
bind subcmd 2020-07-01 00:50:26 -04:00
Matthew 20ce572fef
formatting 2020-07-01 00:49:58 -04:00
Matthew 2e960f1940
fixes 2020-07-01 00:47:09 -04:00
Matthew 050335b760
add systemd status cmd 2020-07-01 00:38:47 -04:00
Matthew 51ba72ff08
new cmds for cscli 2020-06-30 17:33:24 -04:00
Matthew 5e022b523a
changes 2020-06-30 15:03:49 -04:00
Matthew 00dde49d79
daemonization changes for storage calculations 2020-06-29 23:57:30 -04:00
Matthew 8378b27c96
daemonization changes for storage calculations 2020-06-29 23:46:51 -04:00
Matthew 9c6e900802
invalidate authentication for locked accounts 2020-06-29 18:22:44 -04:00
Matthew 9a77963823
delete msg after bearer revocation 2020-06-29 18:11:38 -04:00
Matthew d807d6bdfc
add jwt module and revokedBearers entry in Account model 2020-06-29 18:08:19 -04:00
Matthew 891e77a43f
add utility for revoking bearer tokens 2020-06-29 18:07:10 -04:00
Matthew e09665bad6
change from crypto to jwt for bearer tokens 2020-06-29 17:54:42 -04:00
Matthew 59f8336d25
api enable 2020-06-29 17:31:18 -04:00
Matthew 47444a26ed
fixes for command resolve 2020-06-29 17:26:39 -04:00
Matthew 1af0f58b23
fix server route resolve 2020-06-29 17:20:35 -04:00
Matthew d15932fe47
fix server route resolve 2020-06-29 17:19:14 -04:00
Matthew 9e72e02e78
fixes for client path resolve 2020-06-29 17:17:08 -04:00
Matthew 07d13f38a7
fix attempts 2020-06-29 17:13:54 -04:00
Matthew b15b7b514f
fixes 2020-06-29 03:00:27 -04:00
Matthew cbb5c1585a
rewrite everything x2 2020-06-29 02:50:26 -04:00
Matthew 89b8f0b9c9
new entry file location 2020-06-29 02:36:28 -04:00
Matthew 0d329d99fa
make db model index prettier 2020-06-29 02:36:15 -04:00
Matthew af7fbffe6b
rewrite all commands 2020-06-29 02:35:14 -04:00
Matthew 9d38a8bec7
move client class to class folder (rewrite) 2020-06-29 02:35:05 -04:00
Matthew c00b5d0a05
api index changes 2020-06-29 02:34:50 -04:00
Matthew f977f0f0b2
add resource/account api endpoints 2020-06-29 02:34:29 -04:00
Matthew b11af591e4
typo fix 2020-06-28 23:29:49 -04:00
Matthew 9678dddadd
add success/loading/error helper functions in Command class 2020-06-28 22:25:30 -04:00
Matthew 4be5279c8f
help text fixes for systemd linger cmd 2020-06-28 22:25:17 -04:00
Matthew 2991ffb455
fixes for disk calculation issues 2020-06-28 22:21:42 -04:00
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