* Implemented SSO support for server managers
Co-Authored-By: Aziz Ozbek <aziza2772@gmail.com>
* Fixed typos
* Fixed a few untranslatable strings
---------
Co-authored-by: Aziz Ozbek <aziza2772@gmail.com>
* 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>
* 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.
* 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>
* Allow clients to choose if they want a subscription
* Spelling
* Fixed it
* Improved wording
* I wish I had spellcheck in VS Code
* Made it configurable
* Prevent Massmailer from duplicating recipients
* Minor optimization
We don't need this info as it's actually fetched in a later step. All we need from this step is the ID of each client
* Further optimize using the DISTINCT SQL query option
Thanks to @evrifaessa for pointing out this is an option.
Should be more efficient to let the SQL engine do the worth rather than doing it via PHP
* Further optimization, fixed filter selection in the UI
* Added the ability to see the list of recipients
* Update cspell.json
* Update rector config to include tests
* Run Rector against the tests
* Delete test-results
* Update .gitignore
* Correctly set the PHP min to 8.1, split the configs
* Corrected PHPDoc
* Deleted tests we can't really get to pass
PHPunit is hard-coded to fail when a class has a return type of `never`, which is the correct return type of our redirect function (and rightfully so).
No way to disable the exception as far as we can tell
* Update monolog/monolog to version 3.5
* Update Monolog priority levels to use Level enum
Update Monolog library class to use Level enum for priority levels, as previous constants depreciated.
* Bump minimum PHP version to 8.1
* Missed these too
* Shit's broke and stupid as fuck
* Update SentryHelper.php
* Update package-lock.json
* I did the fixing
---------
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Remove the Queue module and update massmailer
Queue module was only used by the massmailer module & it duplicated the functionality of the email service, resulting in added complexity for no real benefit.
This commit removes the Queue module outright and points the massmailer to the email service instead, which already implements queing, retires, and time limits.
* Added the ability to view the email queue
* Minor front-end improvements, added removal patch
* Cleanly handle a client being removed