Commit Graph
3303 Commits
Author SHA1 Message Date
Belle Aerni dcdf1ea83c Make module's settings labels translatable 2023-01-26 15:40:03 -08:00
Belle Aerni df5610ea57 Improved period strings for non-plural periods 2023-01-26 15:31:48 -08:00
Belle Aerni 5b232ce4dc Make all exception classes extend Box_Exception
This makes all of them translatable, I also created a new option for Box_Exception to hide values from the stack trace for improved security.
2023-01-26 15:28:03 -08:00
Belle Aerni 226c4766d4 Fix that test, and add another one 2023-01-26 15:08:09 -08:00
Belle Aerni 8f168f138b Translation work
Added plural translation functionality, fixed the usage of placeholders, and cleaned up the functions
2023-01-26 15:02:57 -08:00
dependabot[bot] 373ff01869 Bump io-developer/php-whois from 4.1.9 to 4.1.10 in /src (#749)
Bumps [io-developer/php-whois](https://github.com/io-developer/php-whois) from 4.1.9 to 4.1.10.
- [Release notes](https://github.com/io-developer/php-whois/releases)
- [Commits](https://github.com/io-developer/php-whois/compare/4.1.9...4.1.10)

---
updated-dependencies:
- dependency-name: io-developer/php-whois
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0.2.10
2023-01-26 18:35:18 +01:00
dependabot[bot] 50cb04b2df Bump symfony/twig-bridge from 6.0.17 to 6.0.19 in /src (#746)
Bumps [symfony/twig-bridge](https://github.com/symfony/twig-bridge) from 6.0.17 to 6.0.19.
- [Release notes](https://github.com/symfony/twig-bridge/releases)
- [Changelog](https://github.com/symfony/twig-bridge/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/twig-bridge/compare/v6.0.17...v6.0.19)

---
updated-dependencies:
- dependency-name: symfony/twig-bridge
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 10:23:12 +01:00
dependabot[bot] 7a2687cfc0 Bump symfony/translation from 6.0.14 to 6.0.19 in /src (#747)
Bumps [symfony/translation](https://github.com/symfony/translation) from 6.0.14 to 6.0.19.
- [Release notes](https://github.com/symfony/translation/releases)
- [Changelog](https://github.com/symfony/translation/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/translation/compare/v6.0.14...v6.0.19)

---
updated-dependencies:
- dependency-name: symfony/translation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 10:22:05 +01:00
John @ S4 53083af1b7 Merge pull request #732 from 4yx/main
Update docs URL & enforce FOSSBilling naming
2023-01-24 18:08:35 +02:00
Jaap Marcus 7403042f87 Start removing multi selects (#708)
* Remove multi select on product upgrade page

Replace by checkbox
Also remove the "active" selected upgrade

* Configure hosting

Also fix javascript behaviour

* Fix spaces and replace this with true

* Create promo

* Update promo

* Fix saving of update promo

* use array_filter and array_values

* Remove var_dump
2023-01-23 15:16:16 +01:00
Yağızhan 7e05192147 Merge pull request #741 from BelleNottelling/patch--1 2023-01-23 16:28:17 +03:00
Belle Aerni ac3ed28fce Merge pull request #743 from FOSSBilling/dependabot/composer/src/io-developer/php-whois-4.1.9
Bump io-developer/php-whois from 4.1.8 to 4.1.9 in /src
2023-01-23 01:21:06 -08:00
dependabot[bot] 5c8eb7d1da Bump io-developer/php-whois from 4.1.8 to 4.1.9 in /src
Bumps [io-developer/php-whois](https://github.com/io-developer/php-whois) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/io-developer/php-whois/releases)
- [Commits](https://github.com/io-developer/php-whois/compare/4.1.8...4.1.9)

---
updated-dependencies:
- dependency-name: io-developer/php-whois
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 09:15:33 +00:00
Yağızhan a5e54c708e Merge pull request #742 from BelleNottelling/patch-2 2023-01-23 09:12:00 +03:00
Belle Aerni afdb9f93bf Added a check for PHP version
Check added to the index.php file instead of the install.php file.
For some reason, on less than PHP 8.0, no matter where I put it in the install.php file, I never could get anything to display on the page, regardless of what I tried, so this way it at least is checked before redirecting to that file
2023-01-22 17:12:37 -08:00
Belle Aerni 4b74ca1f0a Define the version for api.js on the login screen 2023-01-22 16:03:20 -08:00
John @ S4 071237d2b4 Merge pull request #736 from BelleNottelling/issue725
Make module labels translatable
2023-01-22 12:07:17 +02:00
Anyx ff8ed8db2f Remove reference to pull request templates
No longer needed.
2023-01-22 12:02:26 +02:00
Anyx 446dfcf5a3 Update links
Remove old references and link to the new FOSSBilling documentation.
2023-01-22 11:57:09 +02:00
Anyx ed3780ce56 Update SECURITY.md
Update version to 0.2.X
2023-01-22 11:50:26 +02:00
Belle Aerni 140c80a852 Merge pull request #729 from FOSSBilling/fix/demo-mode-email
Demo mode and disabling mail caused issues in cronjobs / admin login
2023-01-22 00:01:32 -08:00
Belle Aerni d71d445661 Make module labels translatable 2023-01-21 21:38:08 -08:00
Anyx 0edee483a8 Update docs URL & enforce FOSSBilling naming
Update the documentation URL and replace instances of "fossbilling" with "FOSSBilling" where applicable.
2023-01-21 21:45:38 +02:00
Jaap Marcus 774127bdc5 Fix #727 Unable to save staff permissions (#728) 2023-01-21 16:20:41 +01:00
Jaap Marcus 968d1de51a Demo mode and disabling mail caused issues in cronjobs / admin login 2023-01-21 16:18:16 +01:00
John @ S4 411528e79f Merge pull request #724 from FOSSBilling/fix/php-exception
When proccessing invoice and url is not set it creates an  error
2023-01-21 17:10:48 +02:00
Jaap Marcus 2ec21f1778 Fix issue with "Test server connection" (#720)
* Fix issue with Save Update and Test connection

When calling: $('#server-update').submit() 
The new api call didn't get called I don't know why. Any way this caused undesirable behaviour

* Fix potential issue where body was overwriten by the orignal params
2023-01-21 09:39:36 +01:00
dependabot[bot] 97102e9ad3 Bump stripe/stripe-php from 7.128.0 to 10.4.0 in /src (#718)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 7.128.0 to 10.4.0.
- [Release notes](https://github.com/stripe/stripe-php/releases)
- [Changelog](https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-php/compare/v7.128.0...v10.4.0)

---
updated-dependencies:
- dependency-name: stripe/stripe-php
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-21 07:58:31 +01:00
Belle Aerni 4bb6a9312d Merge pull request #711 from BelleNottelling/stripe-update
Update Stripe to the latest SDK
2023-01-20 17:56:37 -08:00
Belle Aerni 820878747b Only process the transaction if it hasn't been before 2023-01-20 15:19:26 -08:00
Jaap Marcus 6aa59de46d When proccessing invoice and url is not set it creates an error
Causing payments to fail

Only happening with a valid invoice and url not set and not logged in as admin
2023-01-20 23:28:35 +01:00
Reynaldi Arya 1db06921d9 fix icon (#716) 2023-01-20 12:23:37 +01:00
John @ S4 f74bbcb427 Merge pull request #709 from FOSSBilling/fix/field-names-order-webhosting
Fix field names domain
2023-01-19 07:33:45 +02:00
Belle Aerni 95cfdb825e Merge pull request #714 from FOSSBilling/dependabot/composer/src/io-developer/php-whois-4.1.8
Bump io-developer/php-whois from 4.1.7 to 4.1.8 in /src
2023-01-18 01:20:46 -08:00
dependabot[bot] c1021965be Bump io-developer/php-whois from 4.1.7 to 4.1.8 in /src
Bumps [io-developer/php-whois](https://github.com/io-developer/php-whois) from 4.1.7 to 4.1.8.
- [Release notes](https://github.com/io-developer/php-whois/releases)
- [Commits](https://github.com/io-developer/php-whois/compare/4.1.7...4.1.8)

---
updated-dependencies:
- dependency-name: io-developer/php-whois
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 09:08:58 +00:00
Belle Aerni 7ce0a09740 Merge pull request #656 from jaapmarcus/fix/dont-store-hostingaccount-plaintext
Do not store passwords user hosting accounts in plain text
2023-01-17 23:04:54 -08:00
Belle Aerni 9495cc4317 Only set session save handlers if headers haven't been sent (#712) 2023-01-18 07:07:39 +01:00
Belle Aerni 5d63189626 Only add funds & try to pay if payment succeeded 2023-01-17 17:48:49 -08:00
Belle Aerni 2750c941dc Slightly clean up the code 2023-01-17 16:46:25 -08:00
Belle Aerni ae33cc1dc5 Verify the transaction status 2023-01-17 15:03:00 -08:00
Belle Aerni 65971839ab Update phpstan-baseline.neon 2023-01-17 14:27:56 -08:00
Belle Aerni 10dfa5444c Update the exception class names, add private var 2023-01-17 14:17:19 -08:00
Belle Aerni a0c0715730 Formatting 2023-01-17 14:02:30 -08:00
Belle Aerni 1d7c460a97 Bring in the Stripe updates from evrifaessa 2023-01-17 14:02:09 -08:00
Belle Aerni dbeb9711a3 Merge pull request #648 from wyntonfranklin/admin-password-reset
added password reset for admin accounts
2023-01-17 13:26:11 -08:00
Jaap Marcus bfe71438ba Fix field names domain 2023-01-17 11:47:22 +01:00
Adham Nasr 357a05f1b8 Update README.md (#705)
* Update README.md

Changed Docker instructions to current method and linked image repo.

* Update README.md

Add corrections to docker section.

* Update README.md

Deleted docker prerequisites

* Update README.md
2023-01-16 16:38:50 +01:00
Yağızhan 2a1a56bf3a Merge pull request #707 from FOSSBilling/remove-docker-things 2023-01-16 18:32:13 +03:00
Belle Aerni 95482e9d2b Merge pull request #706 from FOSSBilling/dependabot/composer/src/phpunit/phpunit-9.5.28
Bump phpunit/phpunit from 9.5.27 to 9.5.28 in /src
2023-01-16 02:06:33 -08:00
Jaap Marcus f420d7330b Remove docker and other old build files
That shouldn't been used any more.
- Testing have been replaced by Github Actions and I don't know if it is smart 5 year old docker images
- We don't use travis anymore 
- docker-compose has been replaced by a new one 
- data/phpfpm.conf we should consider removing it. But at least udpdate to a php8 as PHP5 is EOL
2023-01-16 10:34:50 +01:00