* Locales: use http-accept-language or "language"-cookie
* Add user-setting "locale"
Rename CULTURE to DEFAULT_LOCALE
* Use LocaleMiddleware also in dev mode
* CORS: don't require authentication on OPTIONS
* Use a standard user-settings-control and start a new generic user settings page, not a separate page for the locale setting
* Fixed (broken by myself) link-return handling
* Clarify language settings
* Removed unneeded files
* Better user settings icon
* Added localization hints
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
* Add permissions to Database & add "User"-classes
* Add UI & API for Permissions, protect "User"-(Api)-Controller with new permissions.
* Add some permissions.
* Add permission localization
* Add error handling.
* Error pages: only redirect on 404
* ExceptionController: return JSON-Response on api-routes
* Rename PRODUCT_ADD to PRODUCT_PURCHASE
* Move translation to new file
* Fix checkboxes stay selected on reload.
* Remove configurable User-implementation
* Remove MASTER_DATA_READ
* Disable buttons the user isn't allowed to use.
* Add default permissions for new users
* When migration to permissions, everyone starts as ADMIN
* Permission-Localization: add to transifex & LocalizationService
* Review
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
* Fixgrocy/grocy#834
* stock_missing_products_including_opened didn't take the opened amount in HAVING clauses
* Resolved merge conflicts
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
* Disable torch button, if not supported
* Allow toggling torch
* Don't exceed the screen width with camera window
* Disable torch button, if not supported
* Allow toggling torch
* Don't exceed the screen width with camera window
* Allow toggling torch
* Disable torch button, if not supported
* Allow toggling torch
* Don't exceed the screen width with camera window
* Allow toggling torch
* Allow toggling torch
* Don't exceed the screen width with camera window
* Remove toggling of torch, as it's not working
and add resize of video to fit in viewport hieght
* Add feature to always turn on the torch in camera scanner.
* Fix feature flag name
Co-authored-by: Michael Neuendorf <neuendorf@gonicus.de>
* Add missing translation for de
* Add option to set best-before-date field input-type to number
This allows faster input in mobile devices
* Fix datetimepicker with inputmode
* Fix datatimepicker with numeric input
* Add missing translation for de
* Add option to set best-before-date field input-type to number
This allows faster input in mobile devices
* Fix datetimepicker with inputmode
* Fix datatimepicker with numeric input
* Use more precise name for number pad option
* Update localization/de/strings.po
Co-Authored-By: Bernd Bestel <bernd@berrnd.de>
* Fix merge conflict
* Fix merge conflict try 2
Co-authored-by: Michael Neuendorf <neuendorf@gonicus.de>
Co-authored-by: Bernd Bestel <bernd@berrnd.de>