Commit Graph
378 Commits
Author SHA1 Message Date
Belle Aerni df5610ea57 Improved period strings for non-plural periods 2023-01-26 15:31:48 -08:00
Belle Aerni 226c4766d4 Fix that test, and add another one 2023-01-26 15:08:09 -08:00
Belle Aerni efa70f1019 Fix the period strings (#667)
* Fix the period strings

* Update Box_PeriodTest.php
2023-01-06 11:41:58 +01:00
Belle Aerni 3011c8a4b0 Move PHPStan to it's own action & bump the scanning level (#629)
* Move PHPStan to it's own action

* Bump PHPStan to level 1

* This fix it?

* Update Box_MailTest.php

* And fix a typo in the action

* Update phpstan.yml

* Update phpstan.yml

* Test
2022-12-28 04:32:17 -08:00
Jaap Marcus c96a45157f Feature | Disable email when in Demo mode (#570)
* Disable Email when Demo mode is enabled

* And for mass mail

* Fix tests
2022-12-11 02:57:09 -08:00
Belle Aerni a68c1d7261 Fix checks 2022-12-08 17:06:32 -08:00
Belle Aerni c243f91b3d Create custom "__trans" function & use that 2022-12-08 12:18:22 -08:00
Belle Aerni 18ee32f357 Move the locales to a submodule (#537)
* Move the locale folder to a submodule

* Create locale

* Update the tasks

* Remove that part of the check
2022-12-06 18:52:51 -08:00
Yağızhan 59027f6535 Dark variant option for the company logo (#497)
* +dark variant option for the company logo

* Updated content dates

* Fixed the default logo not being picked up

* Tests
2022-12-01 21:08:05 +01:00
Belle Aerni 417a048885 bb-config.php --> config.php 2022-11-28 17:22:51 +03:00
Belle Aerni edb163f442 BB_PATH --> PATH 2022-11-28 17:22:51 +03:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00
Yağızhan a2e257420f Implementing the new extension store (#480)
* Syncing extension store work

* these two can stay the same

* Updates

* Let the user activate it instead

* Doing my best at tests

* Extension site -> Extension store

* Extension site -> Extension store

* Update Service.php

* Update ServiceTest.php

* Missed semicolon

* I'm trying

* Updated tests

* Tests

* Working on tests

* Update ServiceTest.php

* Removed tests related to Ne-Lexa/php-zip

* Special check for tests

* Bring ZIP tests back, with a catch.

* Special test case

* Update ServiceTest.php

* We're close

* Update ServiceTest.php
2022-11-27 12:35:43 -08:00
evrifaessa d6b79c6d4a Remainings of the SolusVM module. 2022-11-22 22:15:53 +03:00
Belle Aerni 5dfa99a447 Fix testTicketCreateForGuest
Switched to SHA256 instead of SHA1, so the expected length is now 64
2022-11-16 17:18:15 -08:00
Belle Aerni b27c8a8951 Disabled tests 2022-11-07 17:38:51 -08:00
Yağızhan 834d7b3db8 eh? 2022-11-06 08:47:34 +03:00
Belle Aerni af85f70f03 This should fix the tests 2022-11-05 22:37:44 -07:00
Belle Aerni 1de308f21c Address review 2022-11-01 22:15:42 -07:00
Belle Aerni 6d557ce39c Fix remaining typos 2022-11-01 18:53:36 -07:00
Belle Aerni 1aab2653cd Update AdminTest.php 2022-10-28 21:09:44 -07:00
Belle Aerni b5b2d2dd9f Attempt to create a test for the config migrator 2022-10-28 21:04:41 -07:00
Belle Aerni 0b1eba4506 workaround since I don't want to complicate it 2022-10-27 17:52:29 -07:00
Belle Aerni 4ce004ee86 Should fix the tests 2022-10-27 17:35:39 -07:00
Belle Aerni 4d9fde7b04 Fix validateAndSanitizeEmail for international domains (#386)
* Fix validateAndSanitizeEmail for international

And write tests to prove it works as intended

* Update FOSS_Tools.php

* Update tests

* Update FOSS_ToolsTest.php

* This should fix it

* Disabled test

* Require intl polyfill
2022-10-26 22:31:40 +02:00
Belle Aerni ea30d5b160 Validate Emails Addresses & Other Security Tweaks(#385)
* Use generatePassword rather than a shortened hash

* Tweak how cron credentials are created

* Use the standard PHP function to validate emails

* Validate and sanitize emails

* Fix typos

* Use idn_to_ascii when validating emails

* Only use idn_to_ascii when validating the email

* Fix tests

* More text fixing

* We should only have one more failure now

* sighs

* Disable that since it's failing for no reason
2022-10-25 02:09:33 -07:00
Belle Aerni f7abf20039 Adjust Password Requirements (#369)
* Increase password requirements & check them more

* This should fix tests

* Actually fix tests
2022-10-22 08:46:00 +02:00
Belle Aerni 1aec4ade28 Replace strftime() with date() (#360)
strftime is depreciated as of PHP 8.1
2022-10-18 09:16:26 -07:00
evrifaessa 5c49ffc65d Dropped the forum module. 2022-09-30 20:56:37 +03:00
AnyxandBenjamin Aerni 4e8d83eafb Default to Huraga Green & update naming/URL (#295)
* Default to Huraga Green & update naming/URL

* Apply the code from the Orderbutton module that defaults to Huraga Green to all templates that request Huraga's color scheme. Replace incorrect setting.

* Replace some old references to BoxBilling and boxbilling.org with the FOSSBilling ones. Update LICENSE URLs.

* Fix broken test

Co-authored-by: Benjamin Aerni <belleaerni@gmail.com>
2022-09-30 05:09:02 +02:00
John @ S4 729f820297 Merge pull request #279 from FOSSBilling/drop-themes
Drop the "boxbilling" and "bootstrap" themes and focus on Huraga
2022-09-26 20:19:03 +03:00
DataLores 9fb04bbaf7 BugFix Issue #262 Prevent cron from paying deposit invoice with credits (#265)
Deposit invoices types are generated during client add funds and should only be payable via payment gateways with valid transactions.
2022-09-25 11:12:43 +02:00
evrifaessa db6a1946ce Updated tests. 2022-09-24 20:04:39 +03:00
Yağızhan b89d916471 Removed links and tests related to the file manager (#270)
* Removed mod_filemanager tests

* Removed link to the removed file manager
2022-09-19 22:05:55 +02:00
Yağızhan e86694765e Add 4 new events (#174)
* new events: onBeforeAdminUpdateCore & onAfterAdminUpdateCore

* write tests for the new events

* new events: onBeforeAdminUpdateExtension & onAfterAdminUpdateExtension

* write tests for the new events
2022-07-24 21:50:06 +02:00
Yağızhan 2a5d525859 Updated tests (#177) 2022-07-22 12:35:03 +02:00
Yağızhan 8ea355a8e8 Write tests for the new events 2022-07-21 10:29:14 +03:00
S4 Hosting b5427fdd46 Copyright and license notices changed to correctly comply with Apache 2.0 2022-05-31 14:51:44 +03:00
CatFlip™ 33eb58c70a Fixed sample + messages + some others 2022-05-26 22:49:01 -05:00
CatFlip™ 1dea204c0c Literal and link references
All literal ("BoxBilling") references and link ("www.boxbilling.org") were replaced. Also replaced all fossbiling.org "http://" by "https://"
2022-05-26 17:55:34 -05:00
Yağızhan Burak Yakar c135a1efcd Merge remote-tracking branch 'origin/main' into rename-templates 2022-05-20 10:45:55 +03:00
Yağızhan Burak Yakar ff197210d8 Follow-up 2022-05-18 20:23:15 +03:00
andpavlenko 3380a10178 Task #1276 - Rename templates to native Twig extension 2022-04-21 13:49:37 +00:00
Andrey Pavlenkoandandpavlenko 9b474dee89 Bump to Twig 3 (#1264)
* Bump to Twig 3 and update templates

* Update composer.lock

* Fix test Box\Mod\System\ServiceTest::testrenderStringTemplate

Co-authored-by: andpavlenko <lance@xosting.net.ua>
2022-04-09 11:02:17 +03:00
Yağızhan Burak Yakar 132059dd58 Revert any changes made to the tests 2021-12-03 13:43:14 +03:00
Yağızhan ea291bb761 Merge branch 'master' into maintenance-mode 2021-10-28 10:48:55 +03:00
Ben Nottelling 3e9f7fe61b Attempt to update testGetClientAddressForwarded test 2021-10-27 18:07:20 -07:00
Yağızhan 1ac193bc37 Update Box_RequestTest.php 2021-10-27 22:50:42 +03:00
Yağızhan bd1988295c fix tests, I guess...? 2021-10-27 22:46:40 +03:00