Web
- Fixed a few notices and strange behaviour that could happen directly after installation on some systems
Modified files
Web
- inc/functions.php
- inc/classes/update.class.php
- install/validation.php
- pages/admin/dashboard.php
Web
- Replaced the TinyMCE editor with a self hosted version, in order for it to work again
- Updated the build chain
Modified files
Web
- inc/functions.php
- inc/footer.php
- compiled/*
Changelog
Web
- Fixed a display issue where a selected custom action/console command run type option would not show the currently selected option, causing a reset of this option every time you save.
Lua
- Fixed an issue where the console would spew errors about an invalid SQL syntax on MySQL versions 8 or newer. We used a no longer existent shorthand version of
ORDER BY <columns> DESC
.
Modified files
Web
- inc/functions.php
- inc/classes/options.class.php
Lua
- lua/prometheus/database.lua
This update contains some PayPal security fixes. Update ASAP!
Web
- Save Stripe customers for later use
- Custom jobs code now works properly
- PayPal security fixes
Modified files
Web
- inc/functions.php
- inc/classes/stripe.class.php
- inc/classes/update.class.php
- stripe.php
- pages/store/customjob.php
- inc/classes/verification.class.php
- ipn.php
Fixed a critical vulnerability to do with credit purchases where packages cost greater than 1000 credits. Update ASAP.
Web
- Fixed a critical vulnerability to do with credit purchases where packages cost greater than 1000 credits. Update ASAP.
- Fixed transferring credits to other users.
- Fixed an issue where redirecting to Stripe may not work if the ID returned from Prometheus has a space at the beginning.
Modified files
Web
- inc/credits.php
- inc/functions.php
- inc/classes/verification.class.php
- profile.php
- store.php
- pages/store/purchase.php
WARNING: If you are using Stripe you must update your API version in Stripe's dashboard for Stripe to work with this version of Prometheus. You can do so here: https://dashboard.stripe.com/developers
Web
- Modernized several parts of the code (PHP 7.4 now required).
- Stripe orders now have metadata set on them. You can search for things like product id, product type, user id and user receiver id.
- Fixed a problem in the installer where the Stripe keys would not be saved properly.
- Updated Stripe to the latest API version
- Fixed styling and text issues on the custom job creation page.
- Removed all usages of `get_magic_quotes_gpc`
Modified files
Web
- vendor/*
- inc/classes/actions.class.php
- inc/classes/customjob.class.php
- inc/classes/stripe.class.php
- inc/classes/steamLogin.class.php
- pages/store/customjob.php
- inc/functions.php
- stripe.php
- ipnlistener.php
- a bunch more files, but they are not required
Changelog
- Fixed an edge case where purchasing with credits would return a blank page if only credits is disabled and no custom price is set.
- Fixed PHP warnings in phpfastcache and in the credits purchase flow.
- Updated all our composer dependencies, this should fix some Stripe checkout errors.
Modified files
Web
- vendor/*
- inc/classes/coupon.class.php
- inc/classes/packages.class.php
- inc/credits.php
- cache/drivers/files.php
- cache/drivers/sqlite.php
- cache/drivers/abstract.php
- cache/drivers/phpfastcache.php
Changelog
- Fixed a bug where a free package would be given twice if credits are enabled while "only use credits" is disabled.
- Fixed a bug where assigning a non-permanent package would throw an error and not assign the package.
- Fixed a display bug in the dashboard.
- Added sAdmin support.
- Fixed QueryS error on the Lua side.
Modified files
Web
- inc/credits.php
- inc/functions.php
- pages/admin/dashboard.php
- admin/pkg/_actions.php
Lua
- lua/prometheus/actions.lua
- lua/prometheus/database.lua
- Timezone is no longer defaulted to
Europe/Berlin
. It now respectsphp.ini
unless$timezone
is set in the config file. - PHP 8.0 support.
- MySQL 8.0 support.
- I finally managed to spell 'successful' correctly in the successful installation message.
- Fixed labels display in packages.
- Fixed gifting packages using credits.
- Swapped out the Steam login image with the one Steam recommends you use.
- Submit buttons are now a green success colour to distinguish them from other actions.
- Fix payments using Stripe on newer versions of the Stripe webhook API.
Modified files
Web
- admin.php
- admin/pkg.php
- admin/pkg/php.php
- compiled/*
- config.example.php
- inc/classes/gateways.class.php
- inc/classes/packages.class.php
- inc/classes/prometheus.class.php
- inc/classes/steamLogin.class.php
- inc/credits.php
- inc/functions.php
- inc/header.php
- index.php
- logout.php
- pages/admin/users/credits.php
- profile.php
- store.php
- vendor/*
- stripe.php
As per usual, there's never an update without several patches following shortly after:
- Fixed part two of the previous issue: A credits price had to be set, or the package would be considered free instead of custom price if "only credits" is enabled.
Modified files
Web
- inc/functions.php
- inc/classes/gateways.class.php
- inc/classes/store.class.php
Changelog
- Fix the package editing/creation UI for enabling custom price when the option "Only use credits" is enabled
Modified files
Web
- inc/functions.php
- admin/pkg.php
Changelog
This update may break compatibility with some themes, namely the ones that modify the dashboard file.
- Fixed price of custom jobs when gifting
- Fixed code of custom jobs not generating properly when gifted
- Fixed auto updates (Note: you don't actually need to update to 1.8.0 for this fix, as the fix was made outside of Prometheus)
- Fixed the warning telling you that you're not on the latest version even though you are (Same note as the above)
- Fixed profile packages showing multiple times
- Fixed a missing icon in the admin dashboard user profile section
- Swapped out radial charts for bar charts in the admin panel and made them 100% wide
- Buying a discounted package for others now respects the price properly, you no longer get charged less if you have a discount but they don't
- Stripe and PayPal now both respect the buying for other's column in the transactions table
- No longer write superfluous logs to paymentwall.txt
- Background position should be center for server images
- You can now buy custom price packages using credits
- To be backwards compatible we added
Prometheus.Temp.CreditsSpent
andPrometheus.Temp.CashSpent
custom variables for use in custom actions. These are in addition toPrometheus.Temp.MoneySpent
, the key differences are that `MoneySpent` is used to describe the cash or credits a player spent, while the other two only represent their respective values. - No longer cache settings, it's better if these are always correct
- Fixed a potential issue when assigning channels through the TeamSpeak 3 integration
- You asked for it: We now support 100% off coupon codes
Modified files
Web
- inc/functions.php
- vendor/*
- ipn.php
- stripe.php
- paymentwall.php
- inc/credits.php
- inc/classes/verification.class.php
- inc/classes/gateways.class.php
- inc/classes/store.class.php
- inc/classes/stripe.class.php
- inc/classes/dashboard.class.php
- inc/classes/credits.class.php
- inc/classes/actions.class.php
- pages/admin/dashboard.php
- admin/pkg/_actions.php
- admin/cou.php