Commit Graph
2365 Commits
Author SHA1 Message Date
Belle Aerni 5eb516d4eb Prevent exceptions from being interpreted as HTML (#1394) 2023-07-01 14:58:13 +02:00
Belle Aerni c718051497 Provide a fallback method to perform patches (#1393)
* Provide a fallback method to perform patches

* I am not very good at spelling, don't tell anyone
2023-07-01 15:51:47 +03:00
Belle Aerni 06b010138c Allow IPs to be whitelisted from rate limiting (#1382)
* Allow IPs to be whitelisted from rate limiting

* Minor formatting change
2023-06-30 19:34:21 -07:00
Jaap MarcusandBelle Aerni 2ddb7438ee Limit "LIMIT" to numbers only + Disable upload theme (#1392)
* Prevent non numeric values being used in limits

Potential abuse for Sql injection
Only allow integers to be used


Adjust exception

* Disable upload assets via Theme pages

File upload was removed in an earlier PR

* Make sure the test run fine

* Fix the tests

* Use limit instead of per_page

* And another fix

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-06-30 22:51:50 +02:00
Belle Aerni 9402d6c4d4 Apply the EscapeFormula CSV formatter (#1391) 2023-06-30 22:51:37 +02:00
FOSSBilling BotandFOSSBilling Bot cf00611d45 Update CKEditor and Related Dependencies (#1389)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-30 22:00:45 +02:00
FOSSBilling BotandFOSSBilling Bot d232a88a54 Update CKEditor and Related Dependencies (#1385)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-29 13:57:16 -07:00
Belle Aerni 985f4bc88c Fix admin panel dark mode (#1383) 2023-06-29 04:59:53 +02:00
Belle Aerni 6548ae92e1 Created a new API key product type (#1272)
* Created a new API key product type

* Make the CI happy + a few minor fixes

* Improvements to the generation options

Plus generalized improvements to the config pages

* Fix my typo

* Final touches

At least, I hope they are the final touches. We will see after reviews :P

* Cleanup and minor improvements

* Minor fix

* Move to HTML email templates + add logo

* This doesn't / shouldn't return the ID anymore

It's no longer used as things were switched to the order ID

* Update the model to reflect DB changes

* Misc. cleanup + added some missing types
2023-06-28 11:14:20 -07:00
FOSSBilling BotandFOSSBilling Bot e0906d15cd Update CKEditor and Related Dependencies (#1381)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-28 16:12:23 +03:00
dependabot[bot] 0c8f7f9947 Bump imask from 7.0.0 to 7.0.1 (#1371) 2023-06-26 12:48:17 +02:00
Belle Aerni 1488c54afe Remove the installer's HTTPs rewrite (#1369) 2023-06-26 08:09:49 +03:00
Belle Aerni 776ddcb7e9 Modify the fingerprint weights (#1367)
* Modify the fingerprint weights

* Update cspell.json
2023-06-25 23:38:59 +03:00
Belle Aerni 4742615870 Fix config migrator using a string instead of an int (#1368) 2023-06-25 23:37:54 +03:00
Belle Aerni 484de12ae2 Fix issue with the sessions during installation (#1361) 2023-06-23 10:12:47 +03:00
Belle Aerni 3752db5096 Beef up invoice & ticket hash generation (#1309)
* Beef up invoice & ticket hash generation

* Update test for the new length
2023-06-22 09:51:27 +03:00
Avaneesh Kumar 375bb1fe13 Add check for null value in isBirthdayValid invocation (#1354)
* if condition to check for null birthdays in /admin/client/update

* removing redundant null coalescing
2023-06-21 11:12:01 -07:00
Belle Aerni 789e57c89c Prevent deprecation errors when adding products to cart (#1340)
* Prevent deprecation errors when adding products to cart

* Minor fix
2023-06-21 11:10:57 -07:00
Avaneesh Kumar e4c68854f1 Renamed phonestate_cc to city in admin/client/update (#1352) 2023-06-21 10:55:06 -07:00
Belle Aerni 47343fb58d Prevent twig from calling unsafe functions (#1337)
* Prevent twig from calling unsafe functions

* Just prevent anything that's not a closure

* Formatting
2023-06-20 05:31:20 -07:00
Belle Aerni ef0200c45a Fix disabling client signups / email changing (#1347)
* Fix disabling client signups / email changing

* Right - I needed to invert these params for the tests
2023-06-20 05:31:00 -07:00
Belle Aerni 9f7342903b Very minor bugfix (#1348) 2023-06-19 16:48:22 +02:00
Belle Aerni b9c35a1747 Replace Box_Session and improve session handling (#1332)
* Replace Box_Session and improve session handling

* Improve weights, capitalize class name correctly

* Make the tests pass, update the SQL structure

* Tweak to the fingerprint class, fix more tests

* Regenerate session IDs when logging in

* Improve readability

* Update ServiceTest.php

* Tweak weights and added Huntr badge to the readme

* Improve readability, add PHPDocs, and updated weight

* Update SECURITY.md
2023-06-19 04:14:29 -07:00
dependabot[bot] 2f90e055d0 Bump imask from 6.6.3 to 7.0.0 (#1345)
Bumps [imask](https://github.com/uNmAnNeR/imaskjs) from 6.6.3 to 7.0.0.
- [Release notes](https://github.com/uNmAnNeR/imaskjs/releases)
- [Commits](https://github.com/uNmAnNeR/imaskjs/compare/v6.6.3...v7.0.0)

---
updated-dependencies:
- dependency-name: imask
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 03:46:33 -07:00
dependabot[bot]andJaap Marcus e674ab9e83 Bump @tabler/core from 1.0.0-beta17 to 1.0.0-beta19 (#1239)
* Bump @tabler/core from 1.0.0-beta17 to 1.0.0-beta19

Bumps [@tabler/core](https://github.com/tabler/tabler) from 1.0.0-beta17 to 1.0.0-beta19.
- [Release notes](https://github.com/tabler/tabler/releases)
- [Changelog](https://github.com/tabler/tabler/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/tabler/tabler/compare/v1.0.0-beta17...v1.0.0-beta19)

---
updated-dependencies:
- dependency-name: "@tabler/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Include autosize

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
2023-06-19 02:24:36 -07:00
Belle Aerni c49beb0eb8 Replace default email templates with HTML ones (#1302)
* Start replacing email templates with HTML ones

* Updated some more

* Spelling

* Completed some more email templates

* Completed the rest of them

* Fix spelling

* Some minor fixes + improvements
2023-06-19 11:46:56 +03:00
Belle Aerni 549c120c2d Fix issue with the locale selector (#1329) 2023-06-19 10:48:36 +03:00
Belle Aerni f5df514a2a Avoid HTML interpretation of the company's "signature". (#1338) 2023-06-19 10:32:01 +03:00
Belle Aerni cde0f219f1 Fix order popup breaking Huraga layout (#1339) 2023-06-19 10:30:41 +03:00
Belle Aerni 6df45bab4c Fix & improve formbuilder layout + update last patch (#1324) 2023-06-13 19:07:16 -07:00
Guillaume ARNOUX e154086ec5 fix some input types (#1326) 2023-06-13 19:37:02 +02:00
Belle Aerni 9bf8c6875c Minor fix to the client update API (#1322) 2023-06-12 06:14:01 -07:00
Belle Aerni 6f2cedbb2c Fix changelog link when preview update branches are enabled (#1314) 2023-06-12 06:31:00 +02:00
Belle Aerni a02b1b32fe Re-check promo code validity during checkout (#1316)
* Re-check promo code validity during checkout

* Add tools mock to the failing test

* Properly resolve issue with the tests
2023-06-12 06:30:45 +02:00
Belle Aerni b65a75fcf7 Validate add-on configs before adding to cart (#1313)
* Validate addon configs before adding to cart

* Fix spelling mistake
2023-06-12 06:30:20 +02:00
Belle Aerni 64d60e254a Apply discount credits to account balance (#1312) 2023-06-12 06:29:09 +02:00
Belle Aerni b95f92554e Fix logical error in Servicedownloadable module (#1311)
* Fix logical error in Servicedownloadable module

* Fix the tests now
2023-06-12 06:28:36 +02:00
Belle Aerni 56a64fefdd Prevent checkouts with disabled products (#1308) 2023-06-12 06:28:00 +02:00
Belle Aerni 748d93e112 Prevent upgrade requests for invalid upgrades (#1310) 2023-06-11 19:33:20 -07:00
dependabot[bot] e05f4906ed Bump imask from 6.6.2 to 6.6.3 (#1300)
Bumps [imask](https://github.com/uNmAnNeR/imaskjs) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/uNmAnNeR/imaskjs/releases)
- [Commits](https://github.com/uNmAnNeR/imaskjs/compare/v6.6.2...v6.6.3)

---
updated-dependencies:
- dependency-name: imask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 03:14:24 -07:00
Jaap Marcus 8946f2c4f1 fix/do-not-translate-product_title (#1291)
return __trans(':product_title', [':product_title' => $product->title]);

is the same as 

 return $product->title);

And prevent users from making mistakes
2023-06-08 02:30:39 -07:00
Belle Aerni ddb1a48e7f Fix issues with updating clients (#1288)
* Fix issues with updating clients

* Remove accidentally duplicated line
2023-06-08 02:30:29 -07:00
dependabot[bot] 91cfde3966 Bump apexcharts from 3.40.0 to 3.41.0 (#1295)
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.40.0 to 3.41.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/commits)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 15:05:52 +02:00
FOSSBilling BotandFOSSBilling Bot 46b6d34a12 Update CKEditor and Related Dependencies (#1296)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-07 05:59:55 -07:00
dependabot[bot] 0c839d331c Bump @melloware/coloris from 0.19.1 to 0.20.0 (#1293)
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.19.1...0.20.0)

---
updated-dependencies:
- dependency-name: "@melloware/coloris"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 03:17:56 -07:00
FOSSBilling BotandFOSSBilling Bot 5f9a7497f5 Update CKEditor and Related Dependencies (#1290)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-06-02 14:47:48 +02:00
dependabot[bot] 59c6ce591f Bump imask from 6.6.1 to 6.6.2 (#1289)
Bumps [imask](https://github.com/uNmAnNeR/imaskjs) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/uNmAnNeR/imaskjs/releases)
- [Commits](https://github.com/uNmAnNeR/imaskjs/compare/v6.6.1...v6.6.2)

---
updated-dependencies:
- dependency-name: imask
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:46:47 +03:00
dependabot[bot] 6546a33328 Bump bootstrap from 5.2.3 to 5.3.0 (#1281)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.2.3...v5.3.0)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 21:12:14 +02:00
Adam Daley 3a37470e30 Improve Central Alerts Error Handling (#1271)
Improve Central Alerts error handling to prevent failure when remote system unavailable and from other potential system errors. Resolves #1270.
2023-05-30 16:46:32 -07:00
Belle Aerni 25a0090c5d Bump AntLoader to v2.0.0 (#1280) 2023-05-30 12:26:24 +03:00