Commit Graph
3309 Commits
Author SHA1 Message Date
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 f170503e98 Merge pull request #751 from 4yx/main
Move issue templates (& change bug report to form)
2023-01-27 13:23:10 -08:00
Belle Aerni 802b5dd42b Merge pull request #750 from BelleNottelling/trans-stuff
Translation work
2023-01-27 13:22:52 -08:00
Belle Aerni d8d04b24fa Revert "Improved period strings for non-plural periods"
This reverts commit df5610ea57.
2023-01-26 16:03:27 -08:00
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
Anyx 7cc14f56b6 Format YAML
Fix the whitespace issue.
2023-01-27 01:19:54 +02: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
Anyx 33b7585d92 Move issue templates (& change bug report to form)
Move issue templates to the main repo. Port the changes from https://github.com/FOSSBilling/.github/pull/2 (Replace the bug report template with a template form).
2023-01-27 01:01:22 +02: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