Commit Graph
30 Commits
Author SHA1 Message Date
Belle Aerni cde0f219f1 Fix order popup breaking Huraga layout (#1339) 2023-06-19 10:30:41 +03:00
Guillaume ARNOUX e154086ec5 fix some input types (#1326) 2023-06-13 19:37:02 +02:00
Yağızhan d909d77f7e -Unnecessary whitespace in the class headers (#1219) 2023-05-07 13:24:29 -07:00
Yağızhan 412e4a9fbd Standardized the class headers (#1212) 2023-05-06 13:06:17 +01:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
Yağızhan 950e4dccef Type hinting the DI methods and variables (#1201) 2023-05-01 21:01:35 +03:00
Belle Aerni b3f7e155c3 Fix product order not respecting configured priority (#1195) 2023-05-01 06:03:49 -07:00
Yağızhan 03dc677304 Fix for SEF-enabled instances (#1189) 2023-04-29 12:54:09 -07:00
Belle Aerni fbb3478ebb Fix Orderbutton JS error (#1186) 2023-04-29 13:45:15 +01:00
Shamshid 67148a88d2 Improve few more modules design (#961)
* improve Orderbutton module design

* improve Redirect module design

* improve SEO module design

* fix tab design for Staff module

* minor improvements to Theme settings and Wysiwyg

* improve delete confirmation for Custom Pages

* fix alert message

* fix Theme settings card title

* fix theme settings dropdown issue and show settings items

* Minor theme settings fixes and changes
2023-03-16 08:17:17 -07:00
Belle Aerni 61f04c89da Show the product categories when ordering (#926) 2023-03-09 20:48:14 +00:00
Shamshid e4d7996530 Upgrade jquery to v3 and cleanup related deprecations (#904)
* fix deprecations by using `.on()` method

* replace keyCode event with key

* use jquery v3 from npm

* fix support ticket canned response by replacing select2 lib

* fix `ajaxStart()` method requirement to be document

* remove jquery uniform()

* remove jquery.scrollTo

* finally, remove jquery v1

* remove unused CSS

* move canned_ticket_response style

* fix deprecated `:eq()` selector

* fix jquery.alert by adding package to bring in removed $.browser feat from v1

* fix escape key

* add comment for clarity on the added package

* remove unused css

* remove duplicate jquery-ui css
2023-03-08 08:57:35 +00:00
imgbot[bot]andImgBotApp 4d91f387d6 [ImgBot] Optimize images (#880)
*Total -- 84.07kb -> 66.40kb (21.02%)

/src/themes/huraga/assets/img/template_logo.png -- 20.97kb -> 9.30kb (55.66%)
/src/themes/huraga/assets/img/loader.gif -- 8.92kb -> 6.78kb (23.91%)
/src/themes/admin_default/images/patbg2.png -- 1.08kb -> 0.91kb (15.32%)
/src/themes/huraga/assets/img/logo.png -- 25.87kb -> 22.49kb (13.05%)
/src/themes/admin_default/assets/icons/arrow-up.svg -- 0.41kb -> 0.39kb (4.57%)
/src/themes/huraga/assets/img/fb_wallet.svg -- 1.35kb -> 1.30kb (3.77%)
/src/themes/admin_default/assets/icons/copy.svg -- 0.41kb -> 0.39kb (3.61%)
/src/themes/admin_default/assets/icons/heart.svg -- 0.38kb -> 0.36kb (2.86%)
/src/themes/admin_default/assets/icons/plus.svg -- 0.22kb -> 0.21kb (2.68%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader2.gif -- 4.08kb -> 4.02kb (1.53%)
/src/themes/huraga/assets/img/logo.svg -- 3.58kb -> 3.53kb (1.42%)
/src/themes/huraga/assets/img/logo_white.svg -- 3.72kb -> 3.67kb (1.36%)
/src/modules/Wysiwyg/icon.svg -- 0.15kb -> 0.15kb (1.29%)
/src/modules/Dashboard/icon.svg -- 0.15kb -> 0.15kb (1.28%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader1.gif -- 0.59kb -> 0.59kb (0.99%)
/src/modules/Spamchecker/icon.svg -- 0.23kb -> 0.22kb (0.87%)
/src/modules/Massmailer/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Email/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Embed/icon.svg -- 0.25kb -> 0.24kb (0.8%)
/src/modules/Redirect/icon.svg -- 0.26kb -> 0.25kb (0.76%)
/src/modules/Currency/icon.svg -- 0.27kb -> 0.27kb (0.71%)
/src/modules/Branding/icon.svg -- 0.28kb -> 0.28kb (0.7%)
/src/modules/Formbuilder/icon.svg -- 0.29kb -> 0.29kb (0.67%)
/src/modules/News/icon.svg -- 0.30kb -> 0.30kb (0.66%)
/src/modules/Invoice/icon.svg -- 0.31kb -> 0.31kb (0.62%)
/src/modules/Staff/icon.svg -- 0.38kb -> 0.37kb (0.52%)
/src/modules/Servicemembership/icon.svg -- 0.38kb -> 0.38kb (0.51%)
/src/modules/Custompages/icon.svg -- 0.40kb -> 0.40kb (0.49%)
/src/modules/Orderbutton/icon.svg -- 0.40kb -> 0.40kb (0.48%)
/src/modules/Example/icon.svg -- 0.42kb -> 0.42kb (0.47%)
/src/modules/Notification/icon.svg -- 0.42kb -> 0.42kb (0.46%)
/src/modules/Seo/icon.svg -- 0.48kb -> 0.47kb (0.41%)
/src/modules/Order/icon.svg -- 0.49kb -> 0.49kb (0.4%)
/src/modules/Queue/icon.svg -- 0.50kb -> 0.50kb (0.39%)
/src/modules/Cron/icon.svg -- 0.51kb -> 0.51kb (0.38%)
/src/modules/Kb/icon.svg -- 0.52kb -> 0.51kb (0.38%)
/src/modules/Support/icon.svg -- 0.63kb -> 0.63kb (0.31%)
/src/modules/Theme/icon.svg -- 0.64kb -> 0.64kb (0.3%)
/src/modules/Client/icon.svg -- 0.66kb -> 0.66kb (0.3%)
/src/modules/Cookieconsent/icon.svg -- 0.71kb -> 0.71kb (0.27%)
/src/modules/System/icon.svg -- 0.98kb -> 0.98kb (0.2%)
/src/modules/Paidsupport/icon.svg -- 1.02kb -> 1.02kb (0.19%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-03-01 23:35:16 -08:00
ShamshidandYağızhan cdca4b7e50 Add/replace modules icon and update manifest (#872)
* add/replace modules icon and update manifest entry

* update modules manifest homepage_url

* include svg to set color via css

* +Attribution

---------

Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2023-03-01 19:46:57 -08:00
Shamshid 929e644bbf Replace spectrum color picker and improve locale selector (#858)
* use tomselect event listener for locale selector

* replace spectrum color picker with coloris

* fix sprite manifest url

* fix counter badge fill

* remove spectrum css

* set dark theme to Coloris
2023-02-27 23:45:04 +01:00
GamenHaaDee 736b41d0dd Orderbutton fix (#778) 2023-02-05 01:36:32 +01:00
Yağızhan 6e417ba9de Merge pull request #754 from BelleNottelling/patch-2 2023-01-31 20:16:36 +03:00
Belle Aerni 82bb879097 Add more inclusive gender options (#753)
And allow it to be updated from within the client's profile.

This doesn't appear to be used anywhere in our default modules, but it's at least nice to give more inclusive options and allow it to be update by the client, for if it is ever used by a module.
2023-01-30 08:10:55 +01:00
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