* 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>
* Reworked Password-Reset flow
- No more Passwords sent via E-Mail
- Correct redirects.
* Fixed spelling & last redirect
* Small fixes and updated tests for pw-reset-flow
* Fixed tests for pw-reset-flow
* Fixed tests for the Password reset flow
* Fixed typos, resolved Feedback
* Renamed event before password reset
* Renamed event after password reset
* Tweak a few comments, send the reset email instantly
---------
Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Fix / improve flawed email confirmation system
* Don't check email confirmation during login
This will prevent them from being able to change it if they had a typo and is not needed now that it's checked on page-load
* Removed the unneeded test
* Replace custom Twig bb_date/bb_datetime filters
Replace bb_date and bb_datetime Twig filters with format_date / format_datetime to better support i18n and customisability.
* Update templates to use format_date/format_datetime
Update all templates to use format_date/format_datetime (where appropriate and where not already used).
* Update locale configuration options
Update configuration options to include new locale settings, and ensure new options are used throughout.
* Add reset button to admin theme date picker
Add a reset button to the admin_default theme date picker to allow dates to be cleared, and fix an issue with Order module not allow blank dates. Resolves#938.
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
* 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
And allow it to be updated from within the client's profile.
This doesn't appear to be used anywhere in our default modules, but it's at least nice to give more inclusive options and allow it to be update by the client, for if it is ever used by a module.
* Implement a basic CSRF token system
* Update forms for all modules
* Added to the theme forms
* Create a config option for CSRF prevention
* Slightly rework the filter
* Let's actually use a global var
* Added the token to API hrefs
* Fixup
* Remove old reference
* Added the token to the installer twig globals
* The token isn't actually needed in the installer
* Fix client searching
* Whoops - those need quotes