Commit Graph
8 Commits
Author SHA1 Message Date
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
Belle Aerni 7c2148fc28 Basic CSV export functionality (#925)
* Basic client CSV exporting

* Basic CSV export for orders

* Orders CSV export

* +inline doc
2023-03-13 17:44:25 +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
Shamshid 64b881d63b Replace admin_default flag icons (#853)
* add flag-icons

* add flag icon svgs from flag-icon package

* exclude flags from svg-sprite and fix url-loader

* replace flag icons from twig

* remove old flags

* ignore styelint to skip codeFactor error as the position is intentional
2023-02-21 21:45:34 +01:00
Belle Aerni 6e6899ec7b Show all of the select options at once 2022-12-10 14:52:12 -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
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00