Commit graph

134 commits

Author SHA1 Message Date
Dennis e89c25cdcf
Hotfix HotFix to change Hard-Coded Server-limit-after-IRL-Purchase
This is absolutely not tested as i have no dev env right now
2021-10-14 09:08:20 +02:00
Dennis c2dadbf996
Reverse changes 2021-10-14 09:03:59 +02:00
AVMG20 2249738446 Return value was placed in an array, this altered the response from the array which could break existing implementations 2021-10-13 22:34:05 +02:00
Dennis 73fe6a502a
space 2021-10-13 22:05:37 +02:00
Dennis 4f838d89bb
Fixed error with discord pics not loading 2021-10-13 19:24:40 +02:00
Dennis 6325cd8f87
Beautify as AVMG wishes spacespacespaceenter 2021-10-13 18:47:45 +02:00
Dennis 228d55c389
If discord is connected, use discord avatar instead of gravatar 2021-10-13 18:39:51 +02:00
AVMG20 01b5ec80a6 cleanup 2021-10-12 21:37:11 +02:00
AVMG20 1f8b34e684 improved api endpoints
added includes and filters on most GET request routes
added discord id support for notifications
added register user endpoint
2021-10-12 21:36:13 +02:00
AVMG20 3665b9ff55 improved user controller 2021-10-11 23:46:06 +02:00
LogischJo e53a055bc2
Merge pull request #211 from j122j/minimum-credits
Add minimal credits per product
2021-10-06 21:55:11 +02:00
Dennis 4f953474cd
Merge pull request #216 from j122j/config-types
Change input type based on configuration type
2021-10-04 13:34:10 +02:00
Dennis 0ddeadfd27
Merge pull request #214 from j122j/voucher-users
Shows who redeemed vouchers
2021-10-04 13:33:39 +02:00
Jovan Jovanovic 76595aa7bb Change input type based on configuration type 2021-10-03 23:47:06 +02:00
Jovan Jovanovic 4d3c6c7a13 Fix select if using global limit 2021-10-03 15:18:08 +02:00
Jovan Jovanovic 7d229ec25b Remove the global check for minimum required credits 2021-10-03 14:47:51 +02:00
Jovan Jovanovic 6be22c0eea Add voucher users 2021-10-03 00:55:10 +02:00
Jovan Jovanovic 76d7710d0e Add form data casts for numbers 2021-10-02 18:29:32 +02:00
Jovan Jovanovic 28af0c0530 Add minimal credits per product 2021-10-01 23:21:49 +02:00
Johannes 241014134f Fix formatting 2021-09-27 20:27:06 +02:00
Johannes b1ca573dd1 User server gets suspended / unsuspended if an user accounts get suspended / unsuspended 2021-09-27 18:43:07 +02:00
Johannes 4c060fd270 Add the ability to Suspend Users 2021-09-26 17:50:13 +02:00
AVMG20 f4237b2e88 Charges the first hour worth of credits upon creating a server. 2021-09-15 08:37:43 +02:00
AVMG20 822d3b9540 fixed admin delete server, when server couldn't be found
when you try to delete a server which has already been deleted in pterodactyl, the delete will trow an error.
2021-09-15 08:30:15 +02:00
AVMG20 5877ddbe81 update auto unsuspend servers to be server resource friendlier 2021-09-09 21:09:57 +02:00
AVMG20 b8c8cb7404 cleanup + auto unsuspend servers when credits update 2021-09-09 20:50:16 +02:00
Jovan Jovanovic 5333139204 Use product limmit instead of hardcoded one 2021-08-10 00:49:28 +02:00
Jovan Jovanovic e764327e32
Merge branch 'development' into custom-notifications 2021-08-04 23:15:04 +02:00
Jovan Jovanovic e58b8c2aad Add array separator 2021-08-04 22:17:50 +02:00
Jovan Jovanovic e97ae55725 Send notification to multiple users 2021-08-04 22:01:50 +02:00
Jovan Jovanovic a19cbb1575 Merge database and mail fields 2021-08-03 22:46:58 +02:00
Jovan Jovanovic 0597b4aabe Add admin ui 2021-08-03 04:03:02 +02:00
Jovan Jovanovic aa19844d8e Remove required_if 2021-08-03 00:25:55 +02:00
Jovan Jovanovic 2f92967a9c Add notifications api 2021-08-03 00:10:59 +02:00
AVMG20 e9bc2e8827 CREDITS_DISPLAY_NAME 2021-08-02 20:32:22 +02:00
AVMG20 3f78d7dd1d small addition to the delete 2021-08-02 19:44:14 +02:00
AVMG20 370c85585c added the option to change the credits display name 2021-08-02 19:25:33 +02:00
AVMG20 cd4a01db7b make user command, made password field invis 2021-08-02 17:52:26 +02:00
AVMG20 07454ddd78 500 | Server Error on Duplicate Voucher #133
Fixed!
2021-08-02 17:49:37 +02:00
AVMG20 a07749e04b fixed a bug: is ptero is down don't delete the server from our side
if pterodactylpanel would be down and you would delete your server then it would be removed from controlpanel but not from pterodactyl, it now makes sure to delete on pterodactyl before deleting on controlpanel
2021-08-02 16:47:22 +02:00
AVMG20 27028c9711 cleanup 2021-08-02 16:33:34 +02:00
AVMG a857aa488a
Merge pull request #152 from Hiekki4/development
increment & decrement endpoints
2021-08-02 16:20:52 +02:00
António Duarte f177ae53ce
Update UserController.php 2021-08-01 18:52:44 +01:00
AVMG 9abd00f97a
Merge pull request #156 from j122j/vouchers-add-time
Vouchers add time
2021-07-29 19:48:15 +02:00
Jovan Jovanovic f0a31fd4e2 Add support to add time for voucher expires_at 2021-07-28 18:22:12 +02:00
Jovan Jovanovic 916fbad8af Clean up some code 2021-07-28 16:56:02 +02:00
Hiekki adba5b1fdb Validation for negative values 2021-07-28 09:47:10 +01:00
AVMG20 a5d030e710 improved the make user command to give better feedback 2021-07-28 10:05:01 +02:00
Hiekki b12007aea3 decrement and increment endpoints 2021-07-27 13:20:31 +01:00
Hiekki 696ce64df3 [WIP] increment 2021-07-27 09:15:10 +01:00