Commit Graph
31 Commits
Author SHA1 Message Date
b772526ae3 Replace outdated Twig features with recommended equivalents (#2780)
* Replace Twig `include` tag with function

* Replace Twig `attribute` function with dot operator

* Fix spelling issues in mod_order_manage.html.twig

---------

Co-authored-by: John P <64874788+j-a-pope@users.noreply.github.com>
Co-authored-by: Yağızhan <yagizhan49@protonmail.com>
2025-06-07 11:40:06 +03:00
John PandBelle Aerni 0ff53768af Change of heading level for semantic improvement in client themes (#2730)
* Heading level change in card headers

* login, signup, forgotten pass pages

* Update huraga.scss

* Fix and slightly optimize the tests

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2025-05-19 20:23:17 -07:00
4b5121e78e Fix some display inconsistencies that annoy me (#2516)
* Add space after language, before language code

* Add space in locale.title instead of editing layout

* Consistency & improvements regarding Knowledge Base

* Improve ticket dashboard (at least in my opinion)

* More consistency

* Improve footer copyright in admin panel

* Fix a little display issue - copyright notice should now look great.

* Save some bytes - because why not?

* GitHub is a brand name and does not have to be translated - even more space saved!

* Another improvement

* Sign up -> Register

* Remove hidden useless space after footer

* Improve wording

* Improve wording in ticket dashboard for clarity

* Fix little mistake in the copyright notice

---------

Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2024-12-17 05:38:56 -08:00
Kenny e64c266c5f set dark logo if dark theme is enabled in hurage. (#2232)
* set dark logo if dark theme is enabled in hurage.
fixes @2218

* fix some styling

* fix typo

* fixed feedback
2024-04-11 13:43:19 -07:00
Belle Aerni 21468f7c32 Add TOS / Privacy policy to the checkout & signup pages (#2172)
* Fix the sitemap

* Add TOS / Privacy policy to the checkout screen

* Fixed the sitemap indent, added to sign up page + more control
2024-03-17 09:57:46 +01:00
Robert Thomas e6a93dc3a8 Improved Customer Mobile Navigation (#2031) + Auth Flow Design (#2044)
Moved sidebar navigation buttons into top menu for mobile users
Improved auth flow buttons
2024-01-06 11:33:30 -08:00
Belle Aerni be36d68f61 Restructure the redirect after login functionality (#1897)
* Restructure the login after redirect functionality

* Initialize the session in the start of the app

* Fix the test

* That 100% needs to come after the fallback patcher
2023-11-29 08:45:55 +02: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
Adam Daley 230b10f6ea Replace direct config references with constants (#1768)
* Fix PATH_DATA constant to use config

Update `PATH_DATA` constant to use the `path_data` config option.

* Replace direct config references with constants

Replace direct references to `config.php` file and specific config options in favour of global constants, where available.

* Drop BB prefix on global constants

Rename global constants to drop `BB_` prefix, where appropriate.
2023-11-06 07:55:23 +00:00
Adam DaleyandBelle Aerni b35b2efc52 Merge Kb and Support modules (#1180)
* Merge Kb and Support modules

Merge the Kb and Support modules as they contain related functionality.

* General improvements to Support module UI

Update Support module copy and navigation to be more consistent, and other general improvements.

* This was missed.. and now it's not 😉

---------

Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-11-06 04:10:09 +00:00
Jelmer Visser 4c33386675 Redirect admin to previous url after login (#1745)
* 1224: Redirect to previous url after login

* 1224: Early return when logged in

* 1224: Unset _url to remove it from query params

* 1224: Added redirect for guests, use of session

* 1224: Use admin prefix from config instead of static prefix

* Use the ADMIN_PREFIX constant
2023-10-27 21:17:18 +03:00
9e4e3023fa Fixed Password Reset handling (#1365)
* Fixed Passwort Reset handling so the message is the same whether the E-Mail address exists or not.

* Fixed spelling & Test

* Fixed Typo

* Improved Staff PW Reset handling and removed both Exceptions to return true

* Improved grammar & wording

---------

Co-authored-by: Christoph Schläpfer <c.schlaepfer@datact.ch>
Co-authored-by: Anuril <ta@TAPC01.localdomain>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
2023-07-30 06:58:11 -07:00
Belle Aerni dfcabdd80b Remove the "remember me" checkbox (#1471)
The functionality for this isn't actually implemented and it doesn't work
2023-07-26 08:14:28 -07:00
Guillaume ARNOUX e154086ec5 fix some input types (#1326) 2023-06-13 19:37:02 +02:00
Belle Aerni 21b819c864 Remove jqBootstrapValidation (#1101) 2023-04-13 20:16:22 +01:00
Shamshid e4d7996530 Upgrade jquery to v3 and cleanup related deprecations (#904)
* fix deprecations by using `.on()` method

* replace keyCode event with key

* use jquery v3 from npm

* fix support ticket canned response by replacing select2 lib

* fix `ajaxStart()` method requirement to be document

* remove jquery uniform()

* remove jquery.scrollTo

* finally, remove jquery v1

* remove unused CSS

* move canned_ticket_response style

* fix deprecated `:eq()` selector

* fix jquery.alert by adding package to bring in removed $.browser feat from v1

* fix escape key

* add comment for clarity on the added package

* remove unused css

* remove duplicate jquery-ui css
2023-03-08 08:57:35 +00:00
Belle Aerni 714e7c1768 Fix custom fields not being displayed on the client profile 2023-02-12 20:48:08 -08:00
Yağızhan 6e417ba9de Merge pull request #754 from BelleNottelling/patch-2 2023-01-31 20:16:36 +03:00
Belle Aerni 82bb879097 Add more inclusive gender options (#753)
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.
2023-01-30 08:10:55 +01:00
Belle Aerni 64d8e2fef6 Replace usage of the bbmd filter
It's just an alias of the `markdown` one, so let's use that one directly and mark this one as deprecated
2023-01-29 15:25:41 -08:00
John @ S4 98ffb79445 Add heading 2023-01-12 22:51:21 +02:00
John @ S4 15dd59f50b Add heading 2023-01-12 22:50:36 +02:00
John @ S4 600010f576 Add logo - consistent styling with login & signup 2023-01-12 22:39:06 +02:00
John @ S4 ff94373e6e Update mod_page_password-reset.html.twig 2023-01-12 16:25:54 +02:00
John @ S4 829792d6b0 Update mod_page_signup.html.twig 2023-01-12 16:25:30 +02:00
John @ S4 265e1c7d5f Update mod_page_login.html.twig 2023-01-12 16:24:51 +02:00
John @ S4 96e3990083 Add body classes to client html files 2023-01-11 15:26:20 +02:00
Belle Aerni 27a309b3e1 Capitalize Privacy Policy (#571) 2022-12-11 06:51:43 +01:00
evrifaessa 13733d8b37 Added imports for the main Huraga stylesheet 2022-12-10 18:11:22 +03:00
Belle Aerni 8821d50cff Created a CSRF token system (#526)
* 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
2022-12-06 18:47:14 +01:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00