Commit Graph
3260 Commits
Author SHA1 Message Date
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
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
Wynton Franklin f98fef0fb7 foss update fix 2023-01-16 05:21:43 -04:00
dependabot[bot] b3283e33ee Bump phpunit/phpunit from 9.5.27 to 9.5.28 in /src
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.5.28/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 09:15:40 +00:00
Wynton Franklin a68d3edc20 Merge remote-tracking branch 'upstream/main' into admin-password-reset 2023-01-15 17:30:12 -04:00
Wynton Franklin 6bd52065d8 add send email to one staff account. 2023-01-15 11:44:24 -04:00
Jaap Marcus f1565c748d Fix API wrapper (#700)
* Solve issue with get request that breaks

* Still convert to post as it is better

* Make sure links keep working

* Add CSRF token to the api call before when submiting a form / link

* Keep backward support alive

* Update comments
0.2.9
2023-01-15 10:00:17 +01:00
Belle Aerni 4becefb992 Fix issue #701 (#702) 2023-01-15 09:59:46 +01:00
Reynaldi Arya e94e42b09d fix favicon on admin login page (#703)
Fix favicon on admin login page
2023-01-15 10:43:14 +02:00
Belle Aerni 98c121a5ad Merge pull request #696 from FOSSBilling/fix/back-to-top
Check if #back-to-top exists on admin page
2023-01-14 16:20:14 -08:00
John @ S4 7ef26a2888 Merge pull request #698 from BelleNottelling/typo
Fix typos in ftp.php
2023-01-15 00:47:55 +02:00
Belle Aerni 36f9480883 Fix typos in ftp.php 2023-01-14 14:11:50 -08:00
Jaap Marcus fcd240d3cd Check if #back-to-top exists on admin page 2023-01-14 10:48:54 +01:00
John @ S4 225d521896 Update huraga-main.css (#693) 0.2.8 2023-01-13 15:10:12 +01:00
Belle Aerni 05d2840d64 Merge pull request #691 from FOSSBilling/John-S4-patch-1
Login / Signup / Pass reset styling
2023-01-12 13:43:25 -08:00
Belle Aerni dc926e04f2 Merge pull request #689 from jaapmarcus/cleanup-javascript-code
Clean up the new form serialize function a bit
2023-01-12 12:57:25 -08:00
John @ S4 98ffb79445 Add heading 2023-01-12 22:51:21 +02:00
John @ S4 15dd59f50b Add heading 2023-01-12 22:50:36 +02:00
John @ S4 ea4ee2a4dd To stop module changes from looking bad in Huraga
Added a selector so that changes to password/login/password modules will not break styles in Huraga.
2023-01-12 22:47:46 +02:00
John @ S4 600010f576 Add logo - consistent styling with login & signup 2023-01-12 22:39:06 +02:00
Jaap Marcus f16070c2af Improve output
Old code kept the unused keys still in place
2023-01-12 19:30:38 +01:00
Yağızhan 84525739ac Merge pull request #690 from FOSSBilling/John-S4-patch-1
Fixes replication of new css body classes and existing container classes
2023-01-12 18:38:10 +03:00
John @ S4 ff94373e6e Update mod_page_password-reset.html.twig 2023-01-12 16:25:54 +02:00
John @ S4 829792d6b0 Update mod_page_signup.html.twig 2023-01-12 16:25:30 +02:00
John @ S4 265e1c7d5f Update mod_page_login.html.twig 2023-01-12 16:24:51 +02:00
Jaap Marcus 29617d565d Clean up the new form serialize function a bit
Expanded the FormData Object a bit with 2 function 
- serializeObject that convert any html form to a object that can be converted with  JSON.stringify
- serializeJSON  that runs the JSON.stringify for us 

Usage: 
```
const formData = new FormData(document.getElementById('form'));
formData.serializeJSON()
```
2023-01-12 14:21:42 +01:00
Belle Aerni 7acac92709 Replace php-markdown with commonmark and remove Spyc (#688)
* Remove spyc package

We aren't using it

* Replace php-markdown with commonmark

* update lockfile after rebase
2023-01-12 12:40:12 +01:00
Belle Aerni d83f88b800 Merge pull request #687 from BelleNottelling/rector
Use Rector to modernize code for PHP 8.0
2023-01-12 03:22:21 -08:00
Belle Aerni 429e9c671d Make PHPStan ignore the rector file 2023-01-12 00:50:13 -08:00
Belle Aerni 774f0d5c95 Use Rector to modernize code for PHP 8.0 2023-01-12 00:40:54 -08:00
Belle Aerni 354f53c640 Import rector 2023-01-12 00:25:59 -08:00
Belle Aerni e4252e077e Merge pull request #685 from FOSSBilling/fix/api-wrapper-multi-select
Fix #665 and #631 where input name=field[] is used
2023-01-11 22:14:12 -08:00
Belle Aerni e61de43f79 Merge pull request #686 from FOSSBilling/modules-body-classes
Add css body classes to modules client html
2023-01-11 12:48:32 -08:00
John @ S4 96e3990083 Add body classes to client html files 2023-01-11 15:26:20 +02:00
John @ S4 98fef2e1d1 Update mod_client_profile.html.twig 2023-01-11 14:38:00 +02:00
John @ S4 0d32d8ea46 Update mod_client_balance.html.twig 2023-01-11 14:37:08 +02:00
Jaap Marcus 5f4e400dfa Move Payment Gateways into folders (#630)
* Update ServicePayGateway

* Resolve issues with crappy naming

* Resolve issues with auto loading
2023-01-11 11:24:37 +01:00
Jaap Marcus 637c586920 Fix #665 and #631 where input name=field[] is used
Object.formEnteries only return the last "value" when fieldname[] is used this behavoir is incorrect and this PR restores the behavoir by converting them to a array. After that reformatJSON should take care of it.
2023-01-11 11:14:17 +01:00
Wynton Franklin ff29b69581 remove empty in staff guest api 2023-01-09 19:18:59 -04:00
John @ S4 042e056b8e Merge pull request #680 from FOSSBilling/dependabot/npm_and_yarn/postcss-8.4.21
Bump postcss from 8.4.20 to 8.4.21
2023-01-09 22:54:20 +02:00
Ruben Uijtdewilligen 540c46dfbb BugFix: Modal wasn't displayed correctly (#681) 2023-01-09 21:38:06 +01:00
DataLores 3ed96e2c7f BugFix: Renewal failures do not properly save in order history (#673)
* BugFix: Renewal failures do not properly save in order history

Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.

This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.

* BugFix: Renewal failures do not properly save in order history

Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.

This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
2023-01-09 11:19:02 +01:00