Commit Graph
2391 Commits
Author SHA1 Message Date
Belle Aerni 20c23b051e Invalidate existing sessions during PW reset (#1435) 2023-07-20 13:23:44 +01:00
Belle Aerni 5df9409efa Set the timezone when setting up PDO (#1437) 2023-07-20 13:21:59 +01:00
Belle Aerni 325155bccd Fix minor errors (#1443) 2023-07-20 13:12:54 +01:00
robinfford 9a7e6c4c3d Fixes dark mode system toast (#1454)
In dark mode system alerts (using Bootstrap toast) were not visible. This commit changes the toast background, border and font color when in dark mode so the alerts are visible.
2023-07-18 17:32:14 -07:00
Belle Aerni 9975f0c5d6 Minor improvements to the themes list (#1447) 2023-07-18 13:05:00 +02:00
Belle Aerni 947550693e Cleanly handle accounts being deleted (#1448)
* Cleanly handle accounts being deleted

* This should make PHPStan happy
2023-07-18 13:04:54 +02:00
Belle Aerni c83f80cc2d Fix / improve flawed email confirmation system (#1451)
* Fix / improve flawed email confirmation system

* Don't check email confirmation during login

This will prevent them from being able to change it if they had a typo and is not needed now that it's checked on page-load

* Removed the unneeded test
2023-07-18 13:04:39 +02:00
dependabot[bot] dba396dac5 Bump imask from 7.1.2 to 7.1.3 (#1453) 2023-07-18 11:37:29 +01:00
FOSSBilling BotandFOSSBilling Bot f5baf5d337 Update CKEditor and Related Dependencies (#1444)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-14 16:43:58 +02:00
Belle Aerni ee623529ca Minor improvements to cron (#1436)
* Minor improvements to cron

* I swear these tests are high sometimes

Seriously. Why did this check pass before?

* Update Service.php

* Update ServiceTest.php
2023-07-14 17:03:22 +03:00
dependabot[bot] cad987a84c Bump imask from 7.0.1 to 7.1.2 (#1433) 2023-07-13 00:16:19 +01:00
Belle Aerni df663db982 Fix update patcher overring locale / timezone config (#1422) 2023-07-12 10:17:35 +03:00
FOSSBilling BotandFOSSBilling Bot f27b9f133f Update CKEditor and Related Dependencies (#1431)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-11 21:39:11 +02:00
FOSSBilling BotandFOSSBilling Bot 8f373d9afc Update CKEditor and Related Dependencies (#1425)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-10 20:46:12 -07:00
Belle Aerni ef2aeb6f78 Increase release archive download timeout (#1423) 2023-07-08 03:00:05 -07:00
FOSSBilling BotandFOSSBilling Bot 677061075e Update CKEditor and Related Dependencies (#1417)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-07 15:14:48 -07:00
FOSSBilling BotandFOSSBilling Bot df136232c5 Update CKEditor and Related Dependencies (#1410)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-07-05 18:34:37 -07:00
Belle Aerni 5d862a7f18 Make tables sortable in the admin panel (#1406) 2023-07-04 14:35:44 +02:00
Belle Aerni b06d6b08f4 Fix resetting an ordered API key from admin panel (#1404) 2023-07-04 15:19:03 +03:00
Belle AerniandJohn @ S4 20e38a162f Exception messages cleanup (#1376)
* Misc exception messages improvements

* Cleanup / improve server manager exceptions

* Tests :)

* Some registrar exception cleanup

* Clean up payment gateway exceptions

* Some other misc improvements

* Update Resellerclub.php

* Fix typo in Namecheap error message

---------

Co-authored-by: John @ S4 <64874788+John-S4@users.noreply.github.com>
2023-07-03 14:54:23 -07:00
dependabot[bot] 87493357b1 Bump @melloware/coloris from 0.20.0 to 0.21.0 (#1408)
Bumps [@melloware/coloris](https://github.com/melloware/coloris-npm) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/melloware/coloris-npm/releases)
- [Commits](https://github.com/melloware/coloris-npm/compare/0.20.0...0.21.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-07-03 03:08:20 -07:00
Belle Aerni 79b3b8c6f8 Fix admin theme brief flash (#1407)
* Move the theme applying step up in the process

* Enable dark mode on the charts
2023-07-03 10:36:24 +03:00
Belle Aerni 3dccf978ad Fix some malformed search statements (#1400)
* Fix some malformed search statements

* Fix these stupidly written tests
2023-07-02 22:55:56 +03:00
Guillaume ARNOUX 776af1750f ✨Add prefix for generated users (#1378)
* ✨Add prefix for generated users

adding a customizable prefix for users whose name is automatically generated during an order

* fix spelling mistake
2023-07-02 22:54:57 +03:00
Belle AerniandAbhishek Morla f6348643d2 Escape HTML in company info (#1401)
Co-authored-by: Abhishek Morla <abhishekmorla87@gmail.com>
2023-07-02 22:53:03 +03:00
Belle Aerni 52a53efa48 Cleanup the PDF generator code a bit (#1402)
* Cleanup the PDF generator code a bit

* Fixed a few var names I missed
2023-07-02 08:17:54 +02:00
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