Commit Graph
12 Commits
Author SHA1 Message Date
Belle Aerni 64d8e2fef6 Replace usage of the bbmd filter
It's just an alias of the `markdown` one, so let's use that one directly and mark this one as deprecated
2023-01-29 15:25:41 -08:00
Belle Aerni 774f0d5c95 Use Rector to modernize code for PHP 8.0 2023-01-12 00:40:54 -08:00
DataLores 3ed96e2c7f BugFix: Renewal failures do not properly save in order history (#673)
* BugFix: Renewal failures do not properly save in order history

Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.

This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.

* BugFix: Renewal failures do not properly save in order history

Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.

This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
2023-01-09 11:19:02 +01:00
Belle Aerni 5b06f91c18 Fix a few more refences 2022-12-12 20:29:07 -08:00
Belle Aerni d81db5c50e Define the background color for orderbutton 2022-12-12 20:15:41 -08:00
Belle Aerni dcd692f238 Huraga: rename assets back to the original name 2022-12-12 19:52:26 -08:00
evrifaessa 13733d8b37 Added imports for the main Huraga stylesheet 2022-12-10 18:11:22 +03:00
Belle Aerni 7e5d3cfd1a Even more clean up 2022-12-10 02:13:13 -08:00
Belle Aerni f63e033fc4 Clean up a ton of Huraga dependencies 2022-12-10 01:37:38 -08:00
Belle Aerni 695d2df3c2 Hotfix for issues caused by the CSRF token system 2022-12-07 14:12:05 -08:00
Belle Aerni 8821d50cff Created a CSRF token system (#526)
* Implement a basic CSRF token system

* Update forms for all modules

* Added to the theme forms

* Create a config option for CSRF prevention

* Slightly rework the filter

* Let's actually use a global var

* Added the token to API hrefs

* Fixup

* Remove old reference

* Added the token to the installer twig globals

* The token isn't actually needed in the installer

* Fix client searching

* Whoops - those need quotes
2022-12-06 18:47:14 +01:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00