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
fipwmaqzufheoxq92ebc
d60d981fd1
Refactor Authentication and add proxy-authentication ( #921 )
...
* Refactor Authentication-Middlewares
* Add Proxy-Authentication
* Disable "Logout" & "Manage Users" when using ProxyAuth
* Review
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2020-08-19 19:23:13 +02:00
Bernd Bestel
356cdf4991
Fixed pre requisite checker paths ( fixes #748 )
2020-04-17 19:57:22 +02:00
Bernd Bestel
db3021e475
Revert "Use a route cache file (speed optimization)"
...
This reverts commit 59cd4dbac47c5ceb7a28de0f14cc133390612a72.
2020-04-14 09:02:48 +02:00
Bernd Bestel
59cd4dbac4
Use a route cache file (speed optimization)
2020-04-13 21:26:34 +02:00
Bernd Bestel
8be14768df
Added new config.php setting for subdirectory base path ( closes #568 )
2020-03-06 20:41:00 +01:00
Bernd Bestel
c73ce21ef5
Removed selective/basepath (references #568 )
2020-03-06 20:33:36 +01:00
Bernd Bestel
c58b396a55
Try 1 to fix the problem after Slim Framework 4 upgrade when running grocy in a subdirectory
2020-02-13 22:10:39 +01:00
Bernd Bestel
d4fa1a64c2
Upgrade Slim Framework to v4 ( closes #561 )
2020-02-11 17:42:03 +01:00
Bernd Bestel
a8cf5ae9ab
Handle demo mode via a setting instead of checking the existence of a file ( closes #484 )
2020-01-05 09:11:11 +01:00
Bernd Bestel
d16f3c2daf
Optimized demo instance localization & data handling
2019-09-22 08:21:15 +02:00
Bernd Bestel
d8360993cc
Internal change that the demo instances (stable and pre-release) can be served through a single instance for all localizations (references #241 )
2019-09-21 15:07:29 +02:00
Bernd Bestel
09b23847b5
Added a new config.php
setting DISABLE_AUTH
to be able to disable authentication / the login screen ( closes #246 )
2019-07-06 18:29:18 +02:00
Bernd Bestel
6081b8ee67
Fix some form validation problems ( closes #36 )
2018-08-04 07:45:24 +02:00
Bernd Bestel
c8236b101b
Fix redefine of constant GROCY_DATAPATH when it's not an embedded AND not a demo installation
2018-07-31 17:31:03 +02:00
Bernd Bestel
42c1709633
Optimize and refactor latest changes
2018-07-25 19:28:15 +02:00
Bernd Bestel
249b01d7a8
Added possibility to track who did a habit (this implements and closes #21 )
2018-07-24 20:45:14 +02:00
Bernd Bestel
bcbdf58376
Prefix all global vars
2018-07-24 19:41:35 +02:00
Bernd Bestel
3b4141eb4d
Prepare for embedded mode
2018-07-16 21:17:32 +02:00
Bernd Bestel
37d1377f99
Fixed the rest of the broken stuff after the dependency upgrade party
2018-07-12 19:12:31 +02:00
Bernd Bestel
99b2a84667
Finish API documentation and token auth (references #5 )
2018-04-21 19:18:00 +02:00
Bernd Bestel
eae5b8bad9
Revise session handling to prepare API authentication via token
2018-04-20 11:34:53 +02:00
Bernd Bestel
607a90cccc
Use absolute URLs everywhere, this should fix #3
2018-04-18 19:03:39 +02:00
Bernd Bestel
4949913ccb
Fix usings
2018-04-15 16:02:17 +02:00
Bernd Bestel
2bf3448d18
Separate app bootstrapping and routes
2018-04-15 14:51:31 +02:00