Bernd Bestel
9cea0c77cd
Applied VSCode JS formatting settings
2020-08-30 12:18:16 +02:00
Bernd Bestel
3b0d29bed0
Applied EditorConfig settings to all files
2020-08-29 16:41:27 +02:00
fipwmaqzufheoxq92ebc
b7d1b21f1d
[WIP] Implemented basic permissions ( #960 )
...
* 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 >
2020-08-29 12:05:32 +02:00
Marc Ole Bulling
49e5eda30f
Make GetUriParam work with special characters (eg. "&") ( #793 )
2020-04-23 20:48:48 +02:00
Bernd Bestel
890663bf63
Fixed the "Shopping list to stock workflow" with disabled FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING ( fixes #537 )
2020-02-02 13:01:31 +01:00
Bernd Bestel
8d490351d0
Replaced jQuery UI by Animate.css (better, faster, lighter)
2020-01-28 19:27:18 +01:00
Bernd Bestel
05aceb72ae
Squashed commit
...
- Only refresh contextual number/datetime info/formatting where needed (closes #513 )
- Also refresh correlated stock journal entries on undo (closes #471 )
- Prefill "New amount" with the current stock amount on the inventory page (closes #434 )
- Ensure that the location_id of the stock and stock_log tables is never empty after migration 95 (references #421 )
- Load initial values of the /stockedit form server side to improve loading performance (references #421 )
- Use more or less the same input ordering as on the purchase page for the /stockedit page (references #421 )
- Also display the "Compact view" button on the shopping list page when FEATURE_FLAG_SHOPPINGLIST_MULTIPLE_LISTS is disabled (references #453 )
- Ensure that the currently active sidebar menu item is visible
- Optimized sidebar menu item grouping/spacing
- Properly order the API documentation route groups and put the "by-barcode" routes into a separate group
- Updated dependencies
- Pulled translations from Transifex
- Prepared changelog for next release
2020-01-27 19:00:49 +01:00
Bernd Bestel
c7bcb9984a
Implemented "Scan mode"
2020-01-26 15:35:01 +01:00
Bernd Bestel
f543a3a472
Fixed and optimized some things related to #421 (& some more cleanup)
2020-01-21 17:30:09 +01:00
Bernd Bestel
d4bec3bd10
Added a "keep screen on" option using NoSleep.js ( closes #427 )
2020-01-05 10:03:02 +01:00
Bernd Bestel
e133508814
Delay DataTables search by 200ms (references #424 )
2019-10-15 19:59:14 +02:00
Bernd Bestel
9e1804252e
Centralize default DataTables init settings (references #424 )
2019-10-15 19:38:51 +02:00
Bernd Bestel
2636456461
Show the journal of the product/chore/battery cards in a dialog
2019-09-27 16:54:40 +02:00
Bernd Bestel
21503c26d2
Use properly formatted numbers "everywhere" (partly references #389 )
2019-09-26 15:25:30 +02:00
Bernd Bestel
b8f9d09afc
Don't remove products from stock overview on consuming all and the product has a min. stock amount & show it again on undo
2019-09-26 13:55:42 +02:00
Bernd Bestel
3b29110500
Never show close buttons in modal dialogs, this is not needed
2019-09-24 10:24:47 +02:00
Bernd Bestel
f7c4662e2b
Prevent error message spam when navigating away before the page has completely loaded
2019-09-22 09:36:28 +02:00
Bernd Bestel
6e4117526b
Improved productcard "never" date display
2019-09-21 13:40:31 +02:00
Bernd Bestel
d580990b25
Fixed JS errors on the login page
2019-09-21 08:25:32 +02:00
Bernd Bestel
c228126c3a
Added a new field calories for products ( closes #268 )
2019-09-20 20:06:24 +02:00
Bernd Bestel
292b652437
Updated localizations & improved some special and demo translation string data handling
2019-09-20 16:26:50 +02:00
Bernd Bestel
a95d6be4f4
Added more product actions on the stock overview page ( closes #327 )
2019-09-20 13:37:53 +02:00
Bernd Bestel
8f798a94d1
Only allow night mode enabled manually or automatically, but not both at the same time (again fixes #71 )
2019-09-18 19:43:33 +02:00
Bernd Bestel
991706920f
Fixed that datetimepickers not considered the config.php
setting CALENDAR_FIRST_DAY_OF_WEEK
( closes #334 )
2019-09-18 18:46:07 +02:00
Bernd Bestel
918f84f568
Lazy load all images to increase page load times (references #275 )
2019-09-18 13:59:37 +02:00
Bernd Bestel
0c27157db6
Implemented new Userfield type "Select list" ( closes #325 )
2019-09-17 19:11:06 +02:00
Bernd Bestel
a799f2b43f
Finished qu unit conversion handling ( closes #177 )
2019-09-16 09:35:20 +02:00
Bernd Bestel
26ebeec74f
Improved date display of "Track date only"-chores (never show the time part for them)
2019-09-14 13:05:36 +02:00
Bernd Bestel
f9036f0248
Use the summernote editor for product description ( closes #288 )
2019-08-15 14:35:28 +02:00
Bernd Bestel
6e3407b157
Always show "Track date only" shore execution times without the time part
2019-07-07 19:38:57 +02:00
Bernd Bestel
84e6e253ea
Fixed date "never" display on stock overview page (again closes #296 )
2019-07-07 09:04:40 +02:00
Bernd Bestel
c6c10c87e4
Improved date display for dates of today and no time
...
Instead of the hours since midnight now just "Today" will be shown
2019-07-06 17:19:28 +02:00
Bernd Bestel
df529c3c0b
Show 2999-12-31 as "Never" everywhere ( closes #296 )
2019-07-06 15:43:54 +02:00
Bernd Bestel
b76e51ba41
Fixed nested recipes costs calculation ( fixes #299 )
2019-07-06 14:48:46 +02:00
Bernd Bestel
a56f8be19e
Fixed page reloads with unsaved form data and "Auto reload on external changes" enabled ( fixes #265 )
2019-06-09 08:58:46 +02:00
Bernd Bestel
8504eb9b38
Finished first version of meal planning (for now closes #146 )
2019-05-07 19:48:14 +02:00
Bernd Bestel
24680154d8
Properly display/round recipe ingredients amounts ( closes #230 )
2019-05-03 19:36:27 +02:00
Bernd Bestel
4912dd56d1
Finished migration to use gettext (this now closes #161 )
2019-05-02 20:20:18 +02:00
Bernd Bestel
9b2dba2397
Migrated (hopefully) all translations to PO/Gettext (references #161 )
2019-05-01 20:19:18 +02:00
Bernd Bestel
40cc0ff280
Revert changes in file public/js/grocy.js of commit "Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page ( fixes #198 )"
...
This reverts changes in file public/js/grocy.js of commit 12082b52ab
.
2019-04-05 18:59:58 +02:00
Bernd Bestel
12082b52ab
Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page ( fixes #198 )
2019-04-05 18:41:21 +02:00
Bernd Bestel
6de4b120b3
Include changelog as markdown files and show it in the about dialog
2019-03-09 15:54:16 +01:00
Bernd Bestel
9f36a599a4
Changed the about dialog slightly
2019-03-06 19:23:53 +01:00
Bernd Bestel
fcdeda91d9
Show the iCal sharing link instead of directly open it (references #141 )
2019-03-05 19:36:14 +01:00
Bernd Bestel
7f2942d414
Also filter gallery items when searching for recipes (references #147 )
2019-03-05 19:17:10 +01:00
Bernd Bestel
8504429f5f
Implemented tare weight handling ( closes #132 )
2019-03-05 17:51:50 +01:00
Bernd Bestel
bb5daa5f8b
Display total cost of recipes based on last purchase prices ( closes #128 )
2019-03-03 16:33:48 +01:00
Bernd Bestel
01e9e3f5ce
Move about dialog into separate view and add API endpoint for system info
2019-02-09 13:41:40 +01:00
Bernd Bestel
03720940d4
Resize embedded iframes to content height (this should fix #130 )
2019-01-26 19:31:41 +01:00
Bernd Bestel
276bc94cc6
More improvements on the REST API (references #139 )
2019-01-21 22:13:42 +01:00