Commit Graph
3372 Commits
Author SHA1 Message Date
Belle Aerni a67fbeb8a0 Update old API call
This is removed as of 0.3.0, so this PR points it to the new API endpoint under the profile module
2023-02-08 23:05:26 -08:00
Belle Aerni 9707ceed00 Merge pull request #793 from FOSSBilling/fix/block-password-reset
Disable password reset via Hooks
2023-02-08 08:22:40 -08:00
Jaap Marcus 8ff3da5265 Disable password reset via Hooks 2023-02-08 13:57:26 +01:00
Yağızhan 8509cc478a Merge pull request #786 from FOSSBilling/cypress 2023-02-08 14:35:48 +03:00
evrifaessa a1616deb46 Regenerate lockfile I guess? 2023-02-08 14:33:50 +03:00
evrifaessa 7dbc0a37b3 Rebased 2023-02-08 14:29:18 +03:00
evrifaessa a665ce9a74 Rebased the package.json 2023-02-08 14:05:30 +03:00
fba848f732 [Wysiwyg] Upgrade CKEditor4 to CKEditor5 (#713)
* add CKEditor5 and gulp-clean

* add gulp task for ckeditor

* add Wysiwyg build task

* run build (replaces CKEditor4 with CKEditor5)

* use CKEditor5 on DOMContentLoaded event

* move `gulp-clean` to devDep

* set gulp to build Wysiwyg (CKEditor for now) asset on artifact build

* add missing translations dir content

* remove @ckeditor/ckeditor5-build-classic and gulp-clean

* add packages to build ckeditor

* set CKEditor plugins and toolbar

* use new custom export of CKEditor

* add webpack config

* add Wysiwyg specific config

* build ckeditor using webpack

* remove wysiwyg package-lock.json

* add Wysiwyg workspace

* update lock file

* Multiple editor support and handling content properly

* Safety checks

* Set height to 300px

* fix table MD output

* add CKEditor image plugin

* replace `imageupload` with `imageinsert` and add `autoimage`

* set only image insert via URL

* fix unavailable items

* add image styling

* fix cs

* fix image widget-toolbar-no-items console warning

* move insertimage button to imagestyle group

* set min npm version

* set height to min-height to allow auto-grow

* set `reportValidity` for textarea with required attributes

* fix `required` attribute content check before API request

* Update fossbilling.js

* Merge conflict

---------

Co-authored-by: Yağızhan <hi@yagiz.dev>
Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
2023-02-08 11:58:46 +01:00
Yağızhan bbec835e5e Merge pull request #789 from jaapmarcus/fix/bug-product-table 2023-02-08 13:49:44 +03:00
Yağızhan 34d24ae850 Merge pull request #791 from FOSSBilling/dependabot/composer/src/twig/twig-3.5.1 2023-02-08 12:21:29 +03:00
Yağızhan 5e079e89fb Merge pull request #790 from FOSSBilling/dependabot/npm_and_yarn/fortawesome/fontawesome-free-6.3.0 2023-02-08 12:20:32 +03:00
dependabot[bot] d448717d37 Bump twig/twig from 3.5.0 to 3.5.1 in /src
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.5.0...v3.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 09:11:14 +00:00
dependabot[bot] 178175d14e Bump @fortawesome/fontawesome-free from 6.2.1 to 6.3.0
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.2.1...6.3.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 09:11:02 +00:00
Jaap Marcus 75c44f230d Fix typo in $code
Replace $$code with $code 
Unknown period selected
2023-02-07 21:13:21 +01:00
Belle Aerni 322370f11c Merge pull request #788 from FOSSBilling/dependabot/composer/src/dompdf/dompdf-2.0.3
Bump dompdf/dompdf from 2.0.2 to 2.0.3 in /src
2023-02-07 10:36:03 -08:00
dependabot[bot] 2381bfe70c Bump dompdf/dompdf from 2.0.2 to 2.0.3 in /src
Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/dompdf/dompdf/releases)
- [Commits](https://github.com/dompdf/dompdf/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: dompdf/dompdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 18:16:57 +00:00
Belle Aerni 113fb8f4a4 Merge pull request #769 from BelleNottelling/issue763
Fix issue #763 (Logging in as "system cron job")
2023-02-06 16:48:46 -08:00
evrifaessa e4515d299f renamed specs 2023-02-06 20:18:33 +03:00
evrifaessa cd295c7dcf Updated the credentials 2023-02-06 16:47:46 +03:00
evrifaessa 967d189c4c More tests 2023-02-06 15:17:19 +03:00
Jaap Marcus dec064a00c Remove version in composer.json / update lock 2023-02-06 11:28:23 +01:00
evrifaessa ef7830325c Unused config value 2023-02-06 13:09:38 +03:00
evrifaessa 52303d7a25 reverting the composer.json change to let someone with PHP 8.x handle it 2023-02-06 13:08:05 +03:00
evrifaessa 97a367dff8 renamed tests 2023-02-06 13:04:47 +03:00
evrifaessa 3807a39eba Added basic Cypress tests 2023-02-06 12:52:34 +03:00
Belle Aerni 8863cb4b65 Merge pull request #785 from FOSSBilling/dependabot/npm_and_yarn/apexcharts-3.37.0
Bump apexcharts from 3.36.3 to 3.37.0
2023-02-06 01:35:27 -08:00
Belle Aerni 6604654dec Merge pull request #784 from FOSSBilling/dependabot/composer/src/phpunit/phpunit-9.6.3
Bump phpunit/phpunit from 9.6.0 to 9.6.3 in /src
2023-02-06 01:35:15 -08:00
dependabot[bot] 029bd1e6d5 Bump apexcharts from 3.36.3 to 3.37.0
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.36.3 to 3.37.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/commits/v3.37.0)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 09:21:18 +00:00
dependabot[bot] 8a7dfd649f Bump phpunit/phpunit from 9.6.0 to 9.6.3 in /src
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.0 to 9.6.3.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.0...9.6.3)

---
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-02-06 09:21:06 +00:00
evrifaessa 3284ea6532 Imported Cypress as a dependency 2023-02-06 09:55:10 +03:00
Belle Aerni 7ecaf786d5 Move RedBeanPHP to composer (#767)
* Move RedBeanPHP to composer

* Remove missed references to rb.php

* This *should* fix the tests

* Update DummyBean.php

* Remove payment adapter tests

They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
2023-02-05 08:43:37 -08:00
Belle Aerni 9c9bea8ef6 Merge pull request #765 from BelleNottelling/issue710
Fix admin panel navbar on mobile & turn it into a hamburger menu
2023-02-05 08:37:23 -08:00
Yağızhan 06a5741e83 Merge pull request #780 from FOSSBilling/fix/demo-email 2023-02-05 19:28:41 +03:00
Yağızhan 2a8096f1c2 Merge pull request #775 from BelleNottelling/modelnotfound 2023-02-05 19:28:17 +03:00
Jaap Marcus 9d77a8632f Disable send mail batch completely 2023-02-05 02:38:07 +01:00
GamenHaaDee 736b41d0dd Orderbutton fix (#778) 2023-02-05 01:36:32 +01:00
Belle Aerni 79f90e11d5 Add the model name to the exception 2023-02-04 13:03:24 -08:00
Belle Aerni 086a2221fe Merge pull request #772 from BelleNottelling/re-add
Re-add support for prependOrderConfig
2023-02-04 02:09:21 -08:00
dependabot[bot] 4b47d7c90e Bump phpunit/phpunit from 9.5.28 to 9.6.0 in /src (#774)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 9.6.0.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.0)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  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-02-03 10:23:47 +01:00
Yağızhan 938777757d Merge pull request #773 from FOSSBilling/dependabot/composer/src/stripe/stripe-php-10.5.0 2023-02-03 12:13:31 +03:00
dependabot[bot] e7ec16238a Bump stripe/stripe-php from 10.4.0 to 10.5.0 in /src
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.4.0 to 10.5.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/v10.4.0...v10.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 09:07:09 +00:00
Belle Aerni 2cc0bfd132 Re-add support for prependOrderConfig
Looks like the Servicehosting module still relies on this, so let's add it back for now
2023-02-02 17:54:18 -08:00
Belle Aerni 4d7b341e03 Removed / cleaned up deprecated functions (#755)
* Add PHPStan extension for deprecation function usage

* Removed some deprecated functions

* And a few more

* Also remove the deprecated API calls

* Fix references to deprecated API calls

* Oh, and this too
2023-02-01 03:36:02 -08:00
John @ S4 03a8927b82 Merge pull request #764 from BelleNottelling/addFundsException
Make the add funds limit exception more specific
2023-02-01 13:03:26 +02:00
Belle Aerni a2503ae1ef Hopefully fix issue #763
CGI shouldn't be included in that check, as it would make any server running CGI log the user in as the cron user
2023-02-01 01:47:59 -08:00
dependabot[bot] 37ce5772aa Bump sass from 1.57.1 to 1.58.0 (#768)
Bumps [sass](https://github.com/sass/dart-sass) from 1.57.1 to 1.58.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.57.1...1.58.0)

---
updated-dependencies:
- dependency-name: sass
  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-02-01 10:33:56 +01:00
dependabot[bot] e580b746fb Bump dompdf/dompdf from 2.0.1 to 2.0.2 in /src (#766)
Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/dompdf/dompdf/releases)
- [Commits](https://github.com/dompdf/dompdf/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: dompdf/dompdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 06:31:17 +01:00
Belle Aerni b911385a9d Fix navbar on mobile 2023-01-31 15:58:59 -08:00
Belle Aerni eaec06de7c You saw nothing 2023-01-31 15:12:41 -08:00
Belle Aerni 967a9b73dc Make the add funds limit exception more specific
The other message wasn't really great for the end user and it gave no indication as to what the problem is, so now we specify why it's an invalid amount
2023-01-31 15:00:19 -08:00