Commit Graph
3473 Commits
Author SHA1 Message Date
ShamshidandYağızhan cdca4b7e50 Add/replace modules icon and update manifest (#872)
* add/replace modules icon and update manifest entry

* update modules manifest homepage_url

* include svg to set color via css

* +Attribution

---------

Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2023-03-01 19:46:57 -08:00
Jaap Marcus 4f61366065 Fix: Path profile update mod_client (#879)
See release notes 0.3.0
2023-03-01 17:22:57 +01:00
Belle Aerni 86d4514b9a Fix email action code generation (#866) 2023-03-01 13:06:20 +02:00
Jaap Marcus 44e660043d Fix 787: Add support for custom payment gateway icons (#864)
* Fix 787-custom-icons
Add custom logo's for any provider
* Improve css
* Adjust size client balance
* Move to /data/assets/gateways
2023-02-28 17:01:47 +01:00
FOSSBilling BotandFOSSBilling Bot 48c9984852 Update CKEditor and Related Dependencies (#876)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-02-28 13:35:07 +01:00
Yağızhan ff73fc6327 Fixed broken Gravatars for the client ticket page (#875) 2023-02-28 13:13:25 +02:00
dependabot[bot] b17efbc78f Bump phpunit/phpunit from 9.6.3 to 9.6.4 in /src (#874)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.3 to 9.6.4.
- [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.3...9.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:27:06 +01:00
Jaap Marcus cdfd8d6389 Update gulp instructions (#871) 2023-02-28 09:02:35 +03:00
Shamshid 929e644bbf Replace spectrum color picker and improve locale selector (#858)
* use tomselect event listener for locale selector

* replace spectrum color picker with coloris

* fix sprite manifest url

* fix counter badge fill

* remove spectrum css

* set dark theme to Coloris
2023-02-27 23:45:04 +01:00
Adam 11a1906ee7 Fix broken module tests (#867)
* Fix typo in Email module tests

Fix missing semicolon in tests for Email module causing PHPUnit to fail.

* Fix module test errors due to RedBean

Fix module tests causing error due to RedBean when being mocked in PHPUnit.

* Fix module test failures

Update module tests to fix failures, and remove obsoleted tests causing failure.
2023-02-27 10:38:20 -08:00
FOSSBilling BotandFOSSBilling Bot 6b159f063f Update CKEditor and Related Dependencies (#870)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-02-27 15:36:06 +03:00
dependabot[bot] c25dcd2669 Bump cypress from 12.6.0 to 12.7.0 (#868)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.6.0 to 12.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.6.0...v12.7.0)

---
updated-dependencies:
- dependency-name: cypress
  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-27 02:23:34 -08:00
dependabot[bot] fcea5c75a1 Bump core-js from 3.28.0 to 3.29.0 (#869)
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.29.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  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-27 02:20:53 -08:00
Josh Wallace 9789f3214a Fix for #835 (#865)
* Fix for #835

Added Exception for email not found and Modified HTTP error code to unauth (401) rather than forbidden (403)

* Review as requested
2023-02-26 10:37:52 +01:00
Jaap Marcus f7b78b19d4 Fix #770 Use id instead of .extension (#828)
* Fix #770 Use id instead of .extension

* Update Admin.php
2023-02-25 09:18:11 -08:00
FOSSBilling BotandFOSSBilling Bot 9ca91c5b4b Update CKEditor and Related Dependencies (#860)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-02-24 15:23:37 -08:00
dependabot[bot] 64606efcfe Bump stripe/stripe-php from 10.6.1 to 10.7.0 in /src (#859)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.6.1 to 10.7.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.6.1...v10.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 11:09:15 +01:00
Belle Aerni 1430dbfc22 Update ckeditor_update.yml (#857) 2023-02-24 07:47:36 +02:00
dependabot[bot] e8bd0cb127 Bump apexcharts from 3.37.0 to 3.37.1 (#856)
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 3.37.0 to 3.37.1.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](https://github.com/apexcharts/apexcharts.js/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 12:42:29 -08:00
Adam edeaab5404 Add verification before permitting password change (#839)
Verify current password before allowing staff or clients to change password (#541).

API Endpoints Changed

    /api/admin/profile/change_password
        Required fields:
            current_password - Current admin user password.
            new_password - New admin user password.
            confirm_password - New admin user password confirmation.
    /api/client/profile/change_password
        Required fields:
            current_password - Current client user password.
            new_password - New client user password.
            confirm_password - New client user password confirmation.

Affected Theme Files

    mod_client_profile.html.twig
    mod_staff_profile.html.twig
2023-02-23 09:35:00 +02:00
dependabot[bot] d8720dd78e Bump phpstan/phpstan-deprecation-rules from 1.1.1 to 1.1.2 in /src (#855)
Bumps [phpstan/phpstan-deprecation-rules](https://github.com/phpstan/phpstan-deprecation-rules) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/phpstan/phpstan-deprecation-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-deprecation-rules/compare/1.1.1...1.1.2)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-deprecation-rules
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 17:38:43 -08:00
dependabot[bot] abbe4f335c Bump stripe/stripe-php from 10.6.0 to 10.6.1 in /src (#854)
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.6.0 to 10.6.1.
- [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.6.0...v10.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 13:13:59 +02:00
Jaap Marcus a42167f002 Redirect admins with a valid session to /admin/ (#844)
Redirect admins with a valid session to /admin/ instead of displaying the "login" form
2023-02-22 10:04:47 +02:00
Jaap Marcus 68744feddc Make option to updated assigned ip Addresses visible again (#843)
Same as in "Add new server"
2023-02-21 22:59:30 +02:00
dependabot[bot] dd2d41f48c Bump autosize from 5.0.2 to 6.0.1 (#850)
Bumps [autosize](https://github.com/jackmoore/autosize) from 5.0.2 to 6.0.1.
- [Release notes](https://github.com/jackmoore/autosize/releases)
- [Changelog](https://github.com/jackmoore/autosize/blob/master/changelog.md)
- [Commits](https://github.com/jackmoore/autosize/compare/5.0.2...6.0.1)

---
updated-dependencies:
- dependency-name: autosize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 21:45:59 +01:00
Shamshid 64b881d63b Replace admin_default flag icons (#853)
* add flag-icons

* add flag icon svgs from flag-icon package

* exclude flags from svg-sprite and fix url-loader

* replace flag icons from twig

* remove old flags

* ignore styelint to skip codeFactor error as the position is intentional
2023-02-21 21:45:34 +01:00
Shamshid 163585a248 fix dashboard responsiveness for mobile (#849) 2023-02-21 12:29:23 -08:00
dependabot[bot] 9cd8df938d Bump @babel/core from 7.20.12 to 7.21.0 (#851)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.12 to 7.21.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  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-21 12:25:32 -08:00
dependabot[bot] 44fd3964e1 Bump cypress from 12.5.1 to 12.6.0 (#852)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.5.1 to 12.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.5.1...v12.6.0)

---
updated-dependencies:
- dependency-name: cypress
  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-21 12:44:42 +01:00
Shamshid a72cc30cc8 Replace Gulp with Webpack Encore (#827)
* remove Gulp deps, set Encore deps and move theme deps
* install webpack-encore-bundle for twig extensions
* set encore extension for themes using Encore
* remove Gulp tasks and add Webpack Encore config
* set purgecss for build and improve broswerlist coverage
* import svg icons for svg-sprite
* set main entrypoints for Encore
* fix undefined errors
* replace tags with Encore twig functions
* remove duplicate dev dependencies from Wysiwyg
* remove bundle included spectrum assets
* replace artifact build command
* set locale flag tom-select
* remove purgecss
2023-02-21 11:42:11 +02:00
dependabot[bot] 57ea51ec43 Bump sass from 1.58.2 to 1.58.3 (#846)
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.2 to 1.58.3.
- [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.58.2...1.58.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 05:41:17 -08:00
dependabot[bot] df6bad196f Bump cypress from 12.5.1 to 12.6.0 (#847)
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.5.1 to 12.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.5.1...v12.6.0)

---
updated-dependencies:
- dependency-name: cypress
  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-20 05:40:56 -08:00
Belle Aerni 7395e32ce5 Move the twig filters to inside their class (#845)
A lot of them were outside the Box_TwigExtensions class which doesn't make much sense. Checked to see if any of those had direct references using VS code and they did not, so this shouldn't be a breaking change
2023-02-20 10:00:12 +01:00
Jaap Marcus acf8e69eb6 Fix Virtualmin Server Manger (#842)
* Fix errors due to Deprecation warnings

* Fix error in adapter

* Remove debug and testing code
2023-02-19 10:19:24 -08:00
John @ S4 62fb34667f Merge pull request #836 from FOSSBilling/fix/invoice-warnings
Cleanup errors inside PDF generator with debug mode enabled
2023-02-19 10:59:26 +02:00
John @ S4 4be1817292 Merge pull request #838 from FOSSBilling/fix/error-edit-themes
[Huraga] Fix showcase size input IDs not being unique
2023-02-19 10:03:06 +02:00
Adam 91a892c5be Remove remaining Google Fonts (#840)
* Remove remaining Google Fonts

Replaces remaining Google fonts with web safe fonts (resolves #249).

* Restore error page background image

Embed the background inline for the error page.
2023-02-18 15:52:34 -08:00
John @ S4 a977880de4 Merge pull request #830 from FOSSBilling/update/sub-modules
Update submodules
2023-02-18 18:20:24 +02:00
Jaap Marcus 2acc318e15 Update ids showcase_size as it needs to be a unique value
ID showcase_size already defined in Entity, line: 161

Existing "themes" made by different users should also update as it will not be fixed by this PR
2023-02-18 15:28:48 +01:00
Jaap Marcus 1738abd79c Fix warning in twig extensions 2023-02-17 23:58:31 +01:00
Jaap Marcus 75844d1e38 Fix Passing null to parameter #1 ($string) of type string is deprecated
- Prevent openbase dir error from generating pdf
2023-02-17 23:53:03 +01:00
Shamshid 44da6e3a74 Add flag icons for locale dropdown (#834)
* add tom-select

* set tom-select for build

* init TomSelect and set flag icons

* fix design

* fix dark mode color
2023-02-17 14:10:36 -08:00
Yağızhan 4034b22f6d Merge pull request #833 from FOSSBilling/dependabot/npm_and_yarn/yargs-17.7.0 0.3.0 2023-02-17 13:32:26 +03:00
Yağızhan 88c93726af Merge pull request #832 from FOSSBilling/dependabot/npm_and_yarn/sass-1.58.2 2023-02-17 13:32:09 +03:00
Yağızhan 63b0845f58 Merge pull request #831 from FOSSBilling/dependabot/composer/src/stripe/stripe-php-10.6.0 2023-02-17 13:31:44 +03:00
dependabot[bot] 0f59f03cfe Bump yargs from 17.6.2 to 17.7.0
Bumps [yargs](https://github.com/yargs/yargs) from 17.6.2 to 17.7.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.6.2...v17.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 10:04:04 +00:00
dependabot[bot] 1b9ee8e66b Bump sass from 1.58.1 to 1.58.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.58.1 to 1.58.2.
- [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.58.1...1.58.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 10:03:04 +00:00
dependabot[bot] 72c897cf2b Bump stripe/stripe-php from 10.5.0 to 10.6.0 in /src
Bumps [stripe/stripe-php](https://github.com/stripe/stripe-php) from 10.5.0 to 10.6.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.5.0...v10.6.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-17 10:02:01 +00:00
Jaap Marcus 761ca90423 Update submodules
Update submodules to the main commit. When using main branch for testing it uses the old submodules
2023-02-17 10:19:19 +01:00
Jaap Marcus 001288a458 Merge pull request #829 from shmshd/fix-locale-listing
Fix locale directories list
2023-02-17 07:58:43 +01:00