Commit Graph
11 Commits
Author SHA1 Message Date
Belle Aerni 5d862a7f18 Make tables sortable in the admin panel (#1406) 2023-07-04 14:35:44 +02:00
Adam Daley a3764ea435 Update Product promotion handling to fix various bugs (#1167)
Update the Product service promotion handling to fix various errors. Resolves #1055.
2023-04-25 15:51:07 -07:00
Adam Daley f5fc940ae6 Update Product links fields to be read only (#1121) 2023-04-19 21:33:46 -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
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
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
Jaap Marcus 7403042f87 Start removing multi selects (#708)
* Remove multi select on product upgrade page

Replace by checkbox
Also remove the "active" selected upgrade

* Configure hosting

Also fix javascript behaviour

* Fix spaces and replace this with true

* Create promo

* Update promo

* Fix saving of update promo

* use array_filter and array_values

* Remove var_dump
2023-01-23 15:16:16 +01:00
evrifaessa ded43d9ad2 Use the api-form util instead. 2022-12-19 22:08:59 +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