Belle Aerni
5d862a7f18
Make tables sortable in the admin panel ( #1406 )
2023-07-04 14:35:44 +02:00
Belle Aerni and John @ S4
20e38a162f
Exception messages cleanup ( #1376 )
...
* Misc exception messages improvements
* Cleanup / improve server manager exceptions
* Tests :)
* Some registrar exception cleanup
* Clean up payment gateway exceptions
* Some other misc improvements
* Update Resellerclub.php
* Fix typo in Namecheap error message
---------
Co-authored-by: John @ S4 <64874788+John-S4@users.noreply.github.com >
2023-07-03 14:54:23 -07:00
Belle Aerni
3752db5096
Beef up invoice & ticket hash generation ( #1309 )
...
* Beef up invoice & ticket hash generation
* Update test for the new length
2023-06-22 09:51:27 +03:00
Belle Aerni
c49beb0eb8
Replace default email templates with HTML ones ( #1302 )
...
* Start replacing email templates with HTML ones
* Updated some more
* Spelling
* Completed some more email templates
* Completed the rest of them
* Fix spelling
* Some minor fixes + improvements
2023-06-19 11:46:56 +03:00
Belle Aerni
748d93e112
Prevent upgrade requests for invalid upgrades ( #1310 )
2023-06-11 19:33:20 -07:00
Belle Aerni
62f6feaef7
Minor improvements to the ticket view ( #1251 )
...
* Minor improvements to the ticket view
* Also make those only one table body
Makes the stripes more consistent and imo looks better this way
2023-05-20 14:20:50 +01:00
Adam Daley
8708d9d895
Fix error with PHPUnit tests ( #1217 )
...
Fix error with PHPUnit tests introduced by changes to `FOSSBilling\Validate` class.
2023-05-08 14:06:09 -07:00
Yağızhan
d909d77f7e
-Unnecessary whitespace in the class headers ( #1219 )
2023-05-07 13:24:29 -07:00
Yağızhan
412e4a9fbd
Standardized the class headers ( #1212 )
2023-05-06 13:06:17 +01:00
Adam Daley
e54569d2cd
Introduce namespaces and strict typing for FOSSBilling library classes ( #1206 )
2023-05-04 01:02:06 +01:00
Yağızhan
950e4dccef
Type hinting the DI methods and variables ( #1201 )
2023-05-01 21:01:35 +03:00
Yağızhan
884e66aa4b
Removed getSettingsRoutes & hasSettingsRoutes ( #1196 )
2023-05-01 13:27:39 +03:00
Belle Aerni
50fc50163f
Clean up deprecated CSS ( #1063 )
...
* Clean up deprecated CSS
* Fix a few old button classes
* Port Servicelicense pages to tabler
* Remove a bunch of old icons
* Run Huraga and Installer CSS through autoprefixer
2023-04-06 15:05:28 -07:00
Shamshid
185466f374
Major and minor design improvements to modules ( #999 )
2023-03-28 07:46:59 +01:00
Belle Aerni
9faa981c58
Replace usage of array_get ( #989 )
...
* Replace usage of array_get
* Fixes
* And a few more
* Remove remaining references
* Update Service.php
* Few more fixes
* Fix.. I think?
* Fix Client / Invoice updates
* Fix stats
* Fix issues noticed during code review
* More fixes
* And some more fixes :)
2023-03-27 23:44:30 -07:00
Adam Daley
9fb19e02d7
Improve date/datetime format handling and customisability ( #948 )
...
* 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 .
2023-03-24 23:16:07 +00:00
Belle Aerni
740f9e1371
Cleanup some more admin_default inconsistencies ( #972 )
2023-03-19 00:10:48 +00:00
Yağızhan
386c16c90c
Making the event listener work for every instance of the similar element ( #945 )
2023-03-13 04:46:39 -07: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
Yağızhan
bbbd6828e0
Introduced the new Modals toolkit ( #903 )
...
* The first editions of the new modals toolkit
* Make the modals centered and implement it to the batch delete partial
* Made CodeFactor happier
* Combining 'danger' and 'success' into one
* New 'small' modal type.
* Added 'small-confirm' type and refactored the massmailer template a bit.
* Minor refactoring for the form builder module
* Make apiLink use modals to confirm
* Minor updates
* Made the "notes" icon visible again and got rid of some jQuery
* Cleared some leftover jQuery code here and there
2023-03-07 21:38:40 -08:00
Shamshid
19197a5997
Replace admin_default datepicker and remove jquery-ui ( #899 )
...
* add litepicker
* init and set litepicker
* remove jquery-ui
2023-03-06 03:23:19 -08:00
Shamshid
5757909618
Replace admin_default js autocomplete ( #878 )
...
* move locale selector to tomselect.js
* improve tomselect css
* add autocomplete tomselect selector
* replace jquery-ui autocomplete with tomselect selector
* minor design improvement
* update placeholder text
2023-03-02 10:22:19 +01:00
imgbot[bot] and ImgBotApp
4d91f387d6
[ImgBot] Optimize images ( #880 )
...
*Total -- 84.07kb -> 66.40kb (21.02%)
/src/themes/huraga/assets/img/template_logo.png -- 20.97kb -> 9.30kb (55.66%)
/src/themes/huraga/assets/img/loader.gif -- 8.92kb -> 6.78kb (23.91%)
/src/themes/admin_default/images/patbg2.png -- 1.08kb -> 0.91kb (15.32%)
/src/themes/huraga/assets/img/logo.png -- 25.87kb -> 22.49kb (13.05%)
/src/themes/admin_default/assets/icons/arrow-up.svg -- 0.41kb -> 0.39kb (4.57%)
/src/themes/huraga/assets/img/fb_wallet.svg -- 1.35kb -> 1.30kb (3.77%)
/src/themes/admin_default/assets/icons/copy.svg -- 0.41kb -> 0.39kb (3.61%)
/src/themes/admin_default/assets/icons/heart.svg -- 0.38kb -> 0.36kb (2.86%)
/src/themes/admin_default/assets/icons/plus.svg -- 0.22kb -> 0.21kb (2.68%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader2.gif -- 4.08kb -> 4.02kb (1.53%)
/src/themes/huraga/assets/img/logo.svg -- 3.58kb -> 3.53kb (1.42%)
/src/themes/huraga/assets/img/logo_white.svg -- 3.72kb -> 3.67kb (1.36%)
/src/modules/Wysiwyg/icon.svg -- 0.15kb -> 0.15kb (1.29%)
/src/modules/Dashboard/icon.svg -- 0.15kb -> 0.15kb (1.28%)
/src/modules/Orderbutton/assets/img/assets/loaders/loader1.gif -- 0.59kb -> 0.59kb (0.99%)
/src/modules/Spamchecker/icon.svg -- 0.23kb -> 0.22kb (0.87%)
/src/modules/Massmailer/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Email/icon.svg -- 0.24kb -> 0.23kb (0.83%)
/src/modules/Embed/icon.svg -- 0.25kb -> 0.24kb (0.8%)
/src/modules/Redirect/icon.svg -- 0.26kb -> 0.25kb (0.76%)
/src/modules/Currency/icon.svg -- 0.27kb -> 0.27kb (0.71%)
/src/modules/Branding/icon.svg -- 0.28kb -> 0.28kb (0.7%)
/src/modules/Formbuilder/icon.svg -- 0.29kb -> 0.29kb (0.67%)
/src/modules/News/icon.svg -- 0.30kb -> 0.30kb (0.66%)
/src/modules/Invoice/icon.svg -- 0.31kb -> 0.31kb (0.62%)
/src/modules/Staff/icon.svg -- 0.38kb -> 0.37kb (0.52%)
/src/modules/Servicemembership/icon.svg -- 0.38kb -> 0.38kb (0.51%)
/src/modules/Custompages/icon.svg -- 0.40kb -> 0.40kb (0.49%)
/src/modules/Orderbutton/icon.svg -- 0.40kb -> 0.40kb (0.48%)
/src/modules/Example/icon.svg -- 0.42kb -> 0.42kb (0.47%)
/src/modules/Notification/icon.svg -- 0.42kb -> 0.42kb (0.46%)
/src/modules/Seo/icon.svg -- 0.48kb -> 0.47kb (0.41%)
/src/modules/Order/icon.svg -- 0.49kb -> 0.49kb (0.4%)
/src/modules/Queue/icon.svg -- 0.50kb -> 0.50kb (0.39%)
/src/modules/Cron/icon.svg -- 0.51kb -> 0.51kb (0.38%)
/src/modules/Kb/icon.svg -- 0.52kb -> 0.51kb (0.38%)
/src/modules/Support/icon.svg -- 0.63kb -> 0.63kb (0.31%)
/src/modules/Theme/icon.svg -- 0.64kb -> 0.64kb (0.3%)
/src/modules/Client/icon.svg -- 0.66kb -> 0.66kb (0.3%)
/src/modules/Cookieconsent/icon.svg -- 0.71kb -> 0.71kb (0.27%)
/src/modules/System/icon.svg -- 0.98kb -> 0.98kb (0.2%)
/src/modules/Paidsupport/icon.svg -- 1.02kb -> 1.02kb (0.19%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
2023-03-01 23:35:16 -08:00
Shamshid and Yağı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
Yağızhan
ff73fc6327
Fixed broken Gravatars for the client ticket page ( #875 )
2023-02-28 13:13:25 +02: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
Belle Aerni
dcdf1ea83c
Make module's settings labels translatable
2023-01-26 15:40:03 -08:00
Belle Aerni
d71d445661
Make module labels translatable
2023-01-21 21:38:08 -08:00
Belle Aerni
774f0d5c95
Use Rector to modernize code for PHP 8.0
2023-01-12 00:40:54 -08:00
John @ S4
96e3990083
Add body classes to client html files
2023-01-11 15:26:20 +02:00
Belle Aerni
695d2df3c2
Hotfix for issues caused by the CSRF token system
2022-12-07 14:12:05 -08: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
evrifaessa
8cd8f57003
Typos and wording
2022-12-03 19:28:03 +03:00
Belle Aerni
edd6f72634
Drop the "BB" prefix
2022-11-28 17:22:50 +03:00