Commit Graph
4219 Commits
Author SHA1 Message Date
renovate[bot] 77e7cfeb5e Update dependency flag-icons to v7 (#1880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:43:38 +00:00
renovate[bot] caa2cd4c8f Update dependency stripe/stripe-php to v13.4.0 (#1878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:42:59 +00:00
renovate[bot] e711cbb926 Update dependency sortable-tablesort to v2.4.0 (#1877)
* Update CKEditor to ^40.1.0

* Update dependency tom-select to v2.2.3

* Update dependency sortable-tablesort to v2.4.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:35:20 +00:00
renovate[bot] afb23baa7a Update dependency github-markdown-css to v5.4.0 (#1876)
* Update CKEditor to ^40.1.0

* Update dependency tom-select to v2.2.3

* Update dependency github-markdown-css to v5.4.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:33:56 +00:00
renovate[bot] 083c734d7c Update dependency @melloware/coloris to v0.22.0 (#1872)
* Update CKEditor to ^40.1.0

* Update dependency @melloware/coloris to v0.22.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:24:14 +00:00
renovate[bot] 90c5107a3c Update dependency flag-icons to v6.15.0 (#1875)
* Update dependency flag-icons to v6.11.2

* Update dependency tom-select to v2.2.3

* Update dependency flag-icons to v6.15.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:09:02 +00:00
renovate[bot] 874d46e2a8 Update dependency cypress to v13.6.0 (#1873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-25 01:07:26 +00:00
Adam Daley f1e157c2d6 Update renovate.json 2023-11-25 00:52:31 +00:00
Adam Daley 06c0725515 Merge branch 'main' of https://github.com/FOSSBilling/FOSSBilling 2023-11-25 00:41:15 +00:00
Adam Daley 24a57aed0d Update renovate.json 2023-11-25 00:40:32 +00:00
Adam Daley 965cf5ddfd Update renovate.json 2023-11-25 00:35:59 +00:00
Adam Daley 629f473ac6 Merge branch 'renovate/configure' 2023-11-25 00:32:21 +00:00
Adam Daley e700efc6b2 Update renovate.json 2023-11-25 00:31:44 +00:00
Adam Daley 55684d67bd Merge branch 'renovate/configure' 2023-11-25 00:28:15 +00:00
Adam Daley 5a582b26ba Update renovate.json 2023-11-25 00:27:28 +00:00
Adam Daley 54dc391003 Merge branch 'renovate/configure' 2023-11-25 00:01:30 +00:00
Adam Daley 86a713971d Update renovate.json
Update renovate.json
2023-11-25 00:00:43 +00:00
renovate[bot] 10771c7cd3 Add renovate.json 2023-11-24 22:51:39 +00:00
dependabot[bot] 5a83e33ab2 Bump twig/intl-extra from 3.7.1 to 3.8.0 (#1862)
Bumps [twig/intl-extra](https://github.com/twigphp/intl-extra) from 3.7.1 to 3.8.0.
- [Commits](https://github.com/twigphp/intl-extra/compare/v3.7.1...v3.8.0)

---
updated-dependencies:
- dependency-name: twig/intl-extra
  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-11-24 22:44:43 +00:00
Belle Aerni 5c7718bf89 Prevent duplicated email logs in DB (#1866)
* Prevent duplicated email logs in DB

Also fixed installer the massmailer module

* Fix the test
2023-11-24 22:42:12 +00:00
51cbebda71 Migrate Huraga and all client templates to bootstrap 5 (#1602)
* Begin migration from BS 3.4.1 to BS 4

This is still entirely untested, I just read the docs and made some quick changes to follow it. Now I need to actually dig in and fix what was broken by this.

This is going to be the most painful upgrade path as BS 4 basically rewrote everything

* Started porting Huraga over to bootstrap

* Fix public dashboard for guests

* Minor fix for a long-standing issue

Resolves #412

* Fix the breadcrumb placement

* Migrate the client balance page

* Migrate the order list template

* Migrated the news pages

* Fix & improve breadcrumbs

* Remove outdated options, update showcase

* Migrated the KB pages

* Removed the company name from the header

* Remove the order popup menu

The way it's done is ugly and I don't like it, so instead let's just have those buttons take you to the actual order page

* Migrate the error page

* Fix the mobile layout, make the menu work

This makes it actually functional on mobile, although the nav menu is hideous and needs more work

* Migrate the Invoice templates

* Replace old usage of bb-btn

* Migrate the profile page

* Improve invoice

* Migrated a bunch of templates

The order management screen needs work to make it usable, but the layout is done and functional

* Improved usability on small devices + nav fixes

* Migrated login, signup, and PW reset templates

* TOS, Privacy Policy, & About + made them full-page

* Migrated support related templates

* Completed order management page

* Mobile usability improvements

* Remove outdated table logic

* Enhance Huraga with Bootstrap 5 Support and Design Improvements (#1612)

* setup package json

* set encore and postcss config

* add Huraga sass and js

* partially bring in legacy Huraga design in BS5

* improve design

* replace f16 flag icons with flag-icons

* add more order status badge

* add breadcrumb and replace card design for footer pages

* improve card text color

* improve invoices index

* improve footer link color

* add failed_renew badge

* change paid invoice button color

* apply muted text color to whole footer texts

* replace bs colors with tailwind

* improve payment history and replace it with Wallet

* replace layout nav icons with MDI svg

* remove icon and rename ticket modal title

* improve order page design

* replace iframe with twig include and improve accordion

* fix tabs and improve account form

* remove accordion chevron icon

* add mistakenly removed postcode

* use tom-select for language selector

* fix the product config tabs and improve form

* improve order form

* fix and improve news module design

* improve and fix tabs of profile page

* fix spacing on card header

* improve public page design

* Improve emails card

* use API.js to login

* improve public pages by replacing jquery and bb-jquery

* improve contact us page and fix minor spacing

* improve Cookieconsent design

* minor improvements to auth error message

* fix toast message for funds form

* improve custom page card

* Improve Kb, servicedomain and orderbutton modules

* fix ticket modal submission

* improve Invoice page

* minor fixes

* Replace Google Font with local font for Inter

* Fix ticket modal

* add offcanvas and describedby

* fix service ticket modals

* set github markdown for support ticket conversation

* minor improvements to order and servicehosting

* improve error page design

* add flashMessage method

* Improve emails module

* hide warning on empty api key

* more improvements to Emails

* remove stripes from services table

* add BS5 support for pagination

* improve emails pagination

* place asterisk using js (Firefox does not support :has())

* add auth class for asterisk to be ignored

* Updated the npm lockfile, replaced BB_URL references

* Ported back some changes

* Use web-safe fonts (Verdana)

* Some adjustments

* Resolve issues after recent merger of KB and support

* Reviewed the BS 5 migration guide

* Remove the "proforma" labeling

AFAIK the old behavior was never truly proforma, but things have been changed since then anyways so now it's definitely not

* Bug fixes and removed unused deps

* Bug fixes

* Revised the KB article template

* Further improvements & fixes. New default config

* Update settings_data.json.example

* Fix: emails can change the page layout / styling

This was a PITA, but I got it to (mostly) work quite well.
The full list does as it should, but the individual email page didn't work correctly with the autosizing so that's just hardcoded in size.

I don't think most will use that page over the complete list, but even if they do an an email is too long a scroll bar will be visible so it's good enough till we find a better solution

* Spelling

* Ignore iframes for spelling

* Fix the checkout process

* Improved table consistency

* Migrated the new password reset template

* A create account button doesn't make sense there..

* QC: Replaced unnecessary custom JS code

* Fixed a grammatical error

Fix originates from PR #1868

Co-Authored-By: Duncan Bennie <33364216+DuncanBennie@users.noreply.github.com>

* Addressed feedback and suggestions

---------

Co-authored-by: Shamshid <shmshd12@gmail.com>
Co-authored-by: Duncan Bennie <33364216+DuncanBennie@users.noreply.github.com>
2023-11-24 12:28:43 -08:00
dependabot[bot] 91a84aa49c Bump antcms/antloader from 2.0.2 to 2.0.3 (#1855)
Bumps [antcms/antloader](https://github.com/AntCMS-org/AntLoader) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/AntCMS-org/AntLoader/releases)
- [Commits](https://github.com/AntCMS-org/AntLoader/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: antcms/antloader
  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-11-23 03:23:20 +00:00
Belle Aerni 50a198de6d Fix DebugBar error when rendering twig exceptions (#1854) 2023-11-22 14:18:56 +02:00
Belle Aerni cd002b4729 Rebuilt the requirements class (#1858)
* Rebuilt the requirements class

* Update cspell.json
2023-11-22 15:05:50 +03:00
Belle Aerni 5bd3ff7751 Begin reworking permission management (#1545)
* Begin reworking permission management

* Tests

* This.. tested functionality that didn't exist in the app

* Fixes

* Added permission checks for the system module

* Implemented extension settings permission

The "extension" settings page will now check for permission before allowing a staff member to even visit the settings page for a client.

FOSSBilling will also check for permission before saving a new config so the API can't be used to bypass this limitation.

I also removed a test as it was checking a function which only ever had one possible return value, no point in updating it to work with this PR

* This should fix the test

* I got a little mixed up with that, but this should work

* Fixed the tests

* Implemented give all & revoke all buttons

* Implemented more, enhancements, & bugfix

* Rename function

* Fix tests

* Optimize, address comment

* Now let's make the tests happy again

* Deduplicate code, cleanup a bit

* Bugfix

* Added selectbox support to the front-end

* Quick bugfix

* Fix issue PHPStan detected

* Bug fix

* Improved page layout & styling

* Implemented more checks

* Fix the tests

* Update error.html.twig

* Cleanup

* Fix the tests

* Updated the design to be more space efficient

* Don't list module access when always given

* Updated the exception type

* setMethod -> onlyMethods

* I donno how that got goofed up

* Fix the test, email module should always be accessible

* Removed the broken test

It's.. not really checking anything anyways. Just that the `extension` module is in a hardcoded array.
2023-11-21 16:18:53 -08:00
FOSSBilling BotandFOSSBilling Bot ee1c0f33fa Apply PHP Code Styling & Quality Changes (#1856)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-21 11:27:18 -08:00
Belle Aerni ae0083141d Fix updating from previous releases (#1852) 2023-11-20 22:38:57 +00:00
dependabot[bot] 240f8dba1f Bump core-js from 3.33.2 to 3.33.3 (#1851) 2023-11-20 10:40:39 +00:00
dependabot[bot] fb47d47ec5 Bump flag-icons from 6.15.0 to 7.0.2 (#1850) 2023-11-20 10:40:02 +00:00
Belle Aerni 4b53bff9e6 Improved backup patching (#1849) 2023-11-20 07:51:59 +02:00
Belle Aerni 64edea94c4 Cache extension configs (#1848)
* Cache extension configs

* Adjusted the tests

* Use ArrayAdapter
2023-11-19 01:24:36 +01:00
Belle Aerni 6a20f7cc06 Fix a logged error (#1847) 2023-11-18 19:27:19 +03:00
dependabot[bot] 1f869237c6 Bump sortable-tablesort from 3.0.0 to 3.1.0 (#1845)
Bumps [sortable-tablesort](https://github.com/tofsjonas/sortable) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/tofsjonas/sortable/releases)
- [Changelog](https://github.com/tofsjonas/sortable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tofsjonas/sortable/compare/3.0.0...3.1.0)

---
updated-dependencies:
- dependency-name: sortable-tablesort
  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-11-17 20:31:11 +03:00
dependabot[bot] 0348482cd4 Bump rector/rector from 0.18.8 to 0.18.10 (#1846)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.8 to 0.18.10.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.8...0.18.10)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-17 20:30:39 +03:00
Belle Aerni 6006bfa264 Resolve events being duplicated in Sentry (#1844)
* Resolve events being duplicated in Sentry

* Fixed a typo

* Aaaand restored the placeholder

* Also adjust the API code
2023-11-17 09:00:05 +02:00
Belle Aerni 60f1f5c155 Enable stock control for all product types (#1840) 2023-11-17 08:59:51 +02:00
Belle AerniandYağızhan 865b0b6159 Implemented PHP DebugBar (#1825)
* Brought in the debugbar extension

Co-Authored-By: Yağızhan <hi@yagiz.dev>

* Completely restructured

Redid the previous work to allow us to pass around a single instance of the debug bar, allowing us to leverage more types of data collection.

* Added some more time measurements

* Enabled HTML var dumper, added config collector

* Fix

---------

Co-authored-by: Yağızhan <hi@yagiz.dev>
2023-11-16 23:21:14 +00:00
FOSSBilling BotandFOSSBilling Bot a73c570abc Apply PHP Code Styling & Quality Changes (#1841)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-16 07:51:45 -08:00
dependabot[bot] 88a82a224a Bump cypress from 13.5.0 to 13.5.1 (#1838)
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.5.0 to 13.5.1.
- [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/v13.5.0...v13.5.1)

---
updated-dependencies:
- dependency-name: cypress
  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-11-15 15:43:00 +01:00
dependabot[bot] 55ecec8f2a Bump rector/rector from 0.18.7 to 0.18.8 (#1839)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.7 to 0.18.8.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.7...0.18.8)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-15 15:42:28 +01:00
Belle Aerni 0136740a9e Fix email resend option (#1833)
* Fix email resend option

* Return the testing check
2023-11-14 19:37:53 +00:00
Belle Aerni add20b6281 Resolve reported errors (#1836)
* Resolve reported errors

* Update ServicePayGatewayTest.php
2023-11-14 19:25:17 +01:00
FOSSBilling BotandFOSSBilling Bot 9f3fb51377 Apply PHP Code Styling & Quality Changes (#1834)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-14 04:43:14 -08:00
FOSSBilling BotandFOSSBilling Bot e315b1a23a Update CKEditor and Related Dependencies (#1835)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2023-11-14 04:42:28 -08:00
dependabot[bot] a46bec22a3 Bump streetsidesoftware/cspell-action from 4 to 5 (#1830)
Bumps [streetsidesoftware/cspell-action](https://github.com/streetsidesoftware/cspell-action) from 4 to 5.
- [Release notes](https://github.com/streetsidesoftware/cspell-action/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: streetsidesoftware/cspell-action
  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-11-14 03:28:59 -08:00
dependabot[bot] d0831a6441 Bump rector/rector from 0.18.6 to 0.18.7 (#1829)
Bumps [rector/rector](https://github.com/rectorphp/rector) from 0.18.6 to 0.18.7.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/0.18.6...0.18.7)

---
updated-dependencies:
- dependency-name: rector/rector
  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-11-14 03:28:06 -08:00
dependabot[bot] a6403cad41 Bump friendsofphp/php-cs-fixer from 3.38.0 to 3.38.2 (#1828)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.38.0 to 3.38.2.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.38.0...v3.38.2)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  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-11-14 03:27:18 -08:00
dependabot[bot] 189c405dab Bump sentry/sentry from 4.0.0 to 4.0.1 (#1827)
Bumps [sentry/sentry](https://github.com/getsentry/sentry-php) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/getsentry/sentry-php/releases)
- [Changelog](https://github.com/getsentry/sentry-php/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-php/compare/4.0.0...4.0.1)

---
updated-dependencies:
- dependency-name: sentry/sentry
  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-11-14 03:26:49 -08:00
Belle Aerni 7c36b25763 Remove the generate EU VAT rates button (#1826)
* Remove the generate EU VAT rates button

* Update AdminTest.php
2023-11-14 10:07:56 +01:00
Belle Aerni 7b91c63344 Direct people to the website for the system reqs (#1824) 2023-11-13 20:10:26 +00:00