In recent versions of PHP, converting from a float to an int causes deprecation warnings. This PR cleans up a situation I came across where that was happing.
* 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 :)
* 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.
* 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>
* 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