Commit graph

355 commits

Author SHA1 Message Date
1day2die 9d812b77ee fix cent bug 2021-12-14 16:48:00 +01:00
Dennis d572a603d3
Merge branch 'development' into localization 2021-12-14 16:06:45 +01:00
IceToast 921135c5dd feat: added StripeSuccess Route with session handling 2021-12-14 15:47:50 +01:00
IceToast 27794078cc feat: added correct currency code for stripe api 2021-12-14 15:47:50 +01:00
IceToast a77455c5fd feat: added StripePay Route 2021-12-14 15:47:50 +01:00
IceToast e3b8ff5045 Rename PaypalProduct -> CreditProduct 2021-12-14 15:47:50 +01:00
1Day 720622ae02 Fixed Datatables 2021-12-14 15:47:17 +01:00
1Day ae67bd9a42 fix vouchers 2021-12-13 16:27:56 +01:00
1Day f54bed1c4a notification translations 2021-12-13 15:46:04 +01:00
1Day 60b310bc0c multilanguage support 2021-12-13 13:28:01 +01:00
1Day b7bf406c57 beautify 2021-12-13 13:09:08 +01:00
1Day ff9be6b543 invoice translation 2021-12-13 12:52:13 +01:00
1Day 7ef8fdff4e guess im done? 2021-12-13 11:47:35 +01:00
1day2die 39af10ff95 formatting 2021-12-07 20:27:54 +01:00
1day2die f9206fd7ce Update SettingsController.php 2021-12-07 20:27:06 +01:00
1day2die cb89f65885 Update SettingsController.php 2021-12-07 20:26:20 +01:00
1day2die b826173bcb Update SettingsController.php 2021-12-07 20:25:56 +01:00
1day2die 16edf98dae Fialsafe if no invoices exist 2021-12-07 20:24:25 +01:00
1Day f8e099e133 Update SettingsController.php 2021-12-07 13:16:44 +01:00
1day2die a6de39bc32 small fixes, logo update, prefix update 2021-12-05 20:08:09 +01:00
1day2die 57e3cd8430 Upper/Lowercase fixes- PSR4 2021-12-04 16:35:04 +01:00
1day2die 1d9b0546dd PSR-4 + cleanup 2021-12-04 16:32:25 +01:00
1day2die 32a40ca497 PSR-4 2021-12-04 16:31:33 +01:00
1Day 54a563082f mini-typo 2021-12-02 12:29:48 +01:00
1Day fcef2c6b7c Update PaypalProduct.php 2021-12-02 12:06:02 +01:00
1Day 75c550e0c1 Fixes requested by IceToast 2021-12-02 12:01:11 +01:00
WBLKLeipe 86716961f3 download all invoices button 2021-12-02 09:54:30 +01:00
WBLKLeipe 9fff368662 fix small mistake 2021-12-01 13:32:47 +01:00
WBLKLeipe f62583a007 clean UI 2021-12-01 13:30:40 +01:00
WBLKLeipe afd2e2eb21 re-enable email notifications 2021-12-01 12:32:46 +01:00
WBLKLeipe 7f4503d228 invoice settings via DB and changeable 2021-12-01 12:19:06 +01:00
Dennis 9d64eaf73f
Merge branch 'ControlPanel-gg:main' into Invoices 2021-11-30 21:05:41 +01:00
1day2die a11a9cf99c garkein bock mehr alter 2021-11-30 18:54:01 +01:00
1day2die ef3cc1e756 prepare the UI 2021-11-30 18:40:56 +01:00
1day2die c12e825b2e Attach invoice to mail 2021-11-30 18:18:15 +01:00
WBLKLeipe 8cfabf7088 small fixes 2021-11-30 16:30:48 +01:00
WBLKLeipe 69c41620b8 remove wrong save 2021-11-30 16:00:26 +01:00
WBLKLeipe 928086953c Logo, Template and Invoice stuff 2021-11-30 15:50:43 +01:00
WBLKLeipe 92f048c4bd save invoice in correct path 2021-11-30 14:52:36 +01:00
WBLKLeipe 67d0b66091 attach mail 2021-11-30 14:09:13 +01:00
1day2die 21b9d70035 invoice DB, counting up, format stuff 2021-11-27 02:47:36 +01:00
1day2die bf848f0bcb lul 2021-11-26 20:46:26 +01:00
1day2die c3a777bdf4 First COmmit 2021-11-26 20:42:38 +01:00
AVMG20 836784be48 Re-sync bug 2021-11-18 19:22:09 +01:00
AVMG20 fe6da0ee15 increased the limit of most api request to pterodacttyl 2021-11-13 11:56:34 +01:00
AVMG20 47c251e48d removed out of credits info 2021-11-12 20:59:33 +01:00
AVMG c93cf6166a
Merge pull request #281 from ControlPanel-gg/product_linking
fixed product disabled not working properly
2021-11-12 21:02:22 +01:00
AVMG20 180afb9ef5 fixed product disabled not working properly 2021-11-12 20:01:35 +01:00
AVMG 8e9895a40a
Merge pull request #276 from 1day2die/Out_of_credits_adminview
Show Client running out of Credits in Admin overview
2021-11-12 19:55:06 +01:00
AVMG 3be4c367e8
Merge pull request #275 from 1day2die/fix_creditsleft
Fix "You Ran out of Credits - hours"
2021-11-12 19:53:28 +01:00
1day2die cccc4bf9aa FIX SPACES AVMG 2021-11-12 19:53:12 +01:00
1day2die 93ce540b3f remove space 2021-11-12 19:48:28 +01:00
1day2die 021df3af4f Shortening - Magic 2021-11-12 19:47:13 +01:00
AVMG 0acd97026e
Merge pull request #280 from ControlPanel-gg/product_linking
Product linking
2021-11-12 19:19:48 +01:00
Dennis fd89a4bc91
fixed PHPStorm being PHPStorm 2021-11-12 18:45:10 +01:00
AVMG20 53a4faa662 Fixed the file uploads in settings 2021-11-12 18:23:06 +01:00
AVMG20 c6ea21dd6d Fixed a bug where disabled products were stilled used in server create 2021-11-12 18:19:06 +01:00
AVMG 126eedc610
Merge branch 'development' into product_linking 2021-11-11 22:06:47 +01:00
AVMG20 20f9ddeae2 Fixed a bug where products where only fetched using node and not egg,node 2021-11-11 22:05:42 +01:00
Dennis 8b1445ae0d
Removed unnessecary comment 2021-11-11 17:16:25 +01:00
WBLKLeipe e9017c9087 Days -> DaysLeft 2021-11-11 16:25:29 +01:00
WBLKLeipe c981add07c Smaller, Better, PHPstorm. Refactored some Variabled 2021-11-11 16:19:16 +01:00
WBLKLeipe 6e398c3ddf CTRL + ALT + L 2021-11-11 15:44:52 +01:00
WBLKLeipe feb3f10074 DocBlocks 2021-11-08 11:54:59 +01:00
WBLKLeipe 88944235f2 Show Client running out of Credits in Admin overview 2021-11-08 11:52:09 +01:00
WBLKLeipe 14bceeb311 Fix "You Ran out of Credits - hours" 2021-11-08 07:38:29 +01:00
Dennis 3fac4f87c0
Merge pull request #265 from 1day2die/fix_Tax
Full configurable Tax support
2021-11-07 20:57:11 +01:00
1day2die c664e60af7 Update Payment.php 2021-11-07 19:18:06 +01:00
1day2die e3829af116 fix docblocks? at this point im really nervous whats right and whats wrong 2021-11-07 18:43:38 +01:00
1day2die 8593bb8517 fix docblocks? 2021-11-07 18:39:20 +01:00
AnonDev 18e2a88e06
Update PaypalProductController.php 2021-11-07 18:06:32 +01:00
AnonDev c66f820462
Update ProductController.php 2021-11-07 18:05:47 +01:00
AnonDev 574dd24871
Update ServerController.php 2021-11-07 18:04:56 +01:00
1day2die 487040f06a DocBlocks 2021-11-07 18:02:53 +01:00
AnonDev 84a214aedd
Update ProductController.php 2021-11-07 18:01:23 +01:00
AnonDev 5b8ca6e9c5
Update ProfileController.php 2021-11-07 18:00:29 +01:00
AnonDev 23424d4ed4
Update ServerController.php 2021-11-07 17:58:01 +01:00
AVMG 7d36d3b1a4
Merge pull request #270 from ControlPanel-gg/product_linking
added node location in node select
2021-11-07 16:30:03 +01:00
AVMG20 88f2c22804 added node location in node select 2021-11-07 16:29:18 +01:00
AVMG20 2eb4d6ba74 updated side nav bar 2021-11-07 12:16:46 +01:00
AVMG 0039950a01
Merge pull request #267 from ControlPanel-gg/configuration_options_caching
Caching configuration options
2021-11-07 12:12:21 +01:00
AVMG20 bf5c36b232 cleanup 2021-11-07 12:10:46 +01:00
AVMG20 8c7c938c6a fine tuning :) 2021-11-07 12:07:30 +01:00
AVMG20 5cb91ea767 Caching configuration options 2021-11-07 02:13:36 +01:00
AVMG20 24e6d48496 removed pterodactyl pages, added overview page, made server create work 2021-11-07 01:47:16 +01:00
AVMG20 16a7d174e9 new server create page w.i.p 2021-11-06 01:56:57 +01:00
Jovan Jovanovic 9ac391d75b fix(tax): formatCurrency -> formatToCurrency 2021-11-06 01:32:51 +01:00
AVMG20 75622d3958 Merge remote-tracking branch 'origin/product_links' into development 2021-11-05 19:46:50 +01:00
1day2die 9e8abe314b Refactor as J22j suggested 2021-11-05 17:38:05 +01:00
WBLKLeipe 3f67ac5f21 Fixing FormatCurrency 2021-11-05 09:00:18 +01:00
WBLKLeipe 93d8dfcf0b EVERYTHING WORKING - Safing 2021-11-05 08:45:29 +01:00
WBLKLeipe c69c28bd89 Brackets! 2021-11-05 07:59:25 +01:00
WBLKLeipe 6797410cb4 Adding Tax, beautify 2021-11-05 07:43:57 +01:00
1day2die bff97e836d basically added tax 2021-11-04 21:42:17 +01:00
AVMG20 79b1be655c Syntax error and changing notification text 2021-11-03 20:35:07 +01:00
AVMG fbfbbda8f3
Merge pull request #243 from 1day2die/Fix_HomeView_CreditsLeft
Credits-Left box from View to Controller
2021-11-03 20:10:06 +01:00
Dennis 5ad0899516
:: to -> 2021-11-03 13:46:53 +01:00
1day2die 1056e1db8b let magic make this even better
Right DataTypes, Removed unnessecary function
2021-10-27 19:09:09 +02:00
WBLKLeipe aca06b5441 Fixing OUT_OF_CREDITS Text 2021-10-27 09:13:52 +02:00
WBLKLeipe 85c188182d PSR12 2021-10-27 08:41:07 +02:00
WBLKLeipe d2705cb838 Space space space enter 2021-10-27 07:48:41 +02:00
WBLKLeipe 46173d7bfb Beautify 2021-10-27 07:48:00 +02:00
Dennis 1edb4eb583
pass credits 2021-10-26 19:26:41 +02:00
Dennis 72165b0d95
fix strings to int 2021-10-26 19:24:08 +02:00
1day2die a2e4798b3d PSR12 2021-10-26 17:55:55 +02:00
1day2die fe588c5069 more variables 2021-10-26 17:51:15 +02:00
WBLKLeipe c92b435f65 Comments 2021-10-26 16:54:51 +02:00
WBLKLeipe 903ca36b7b The ways supposed to be 2021-10-26 16:53:53 +02:00
WBLKLeipe 3055c2f550 Fixed Redundant code 2021-10-26 16:24:57 +02:00
WBLKLeipe 70b937324e formatting? 2021-10-26 16:18:16 +02:00
WBLKLeipe ed3edd181b Fix 2021-10-26 16:12:47 +02:00
Jozef 015f735a4f Added to it shows the currency of your coins in the notification 2021-10-26 14:53:11 +01:00
Dennis 8ee876b30a
Fix for " redeclare"-error 2021-10-26 14:13:42 +02:00
AVMG 1e987bbbbc
Merge pull request #229 from 1day2die/fix_welcomemessage
Disable Discord/Email Credit WelcomeMessages if not set
2021-10-20 08:22:10 +02:00
AVMG d71bc134fb
Merge pull request #230 from 1day2die/fix_SERVER_LIMIT_REWARD_
Fix server limit reward
2021-10-19 19:49:45 +02:00
AVMG20 deb4e89701 temp removed discord images 2021-10-14 20:32:44 +02:00
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
Dennis 306536206b
Update WelcomeMessage.php 2021-10-13 23:29:42 +02:00
Dennis 8b963f170c
Update WelcomeMessage.php 2021-10-13 23:26:18 +02:00
Dennis c8c8ae753d
Disable Discord/Email Credit Messages if not set
This is a quick and dirty way I suppose? But it works and makes Companys that dont give away free servers not look that dumb
2021-10-13 23:21:53 +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