Eric Lippmann
e1357c1386
Require config/modules permission for listing and showing modules
...
refs #9644
2015-07-24 13:34:47 +02:00
Johannes Meyer
4e3da3a6eb
UserBackendConfigForm: Adjust how to process requests...
...
...and use sub-forms, finally.
refs #9602
2015-07-23 16:18:09 +02:00
Eric Lippmann
cccb34e98c
Pass authenticated user to the SearchDashboard
...
refs #9644
2015-07-23 12:58:53 +02:00
Matthias Jentsch
11360f36e4
Fix grammar errors in backend titles
2015-07-15 15:37:59 +02:00
Johannes Meyer
066b3d9e28
ApplicationConfigForm: Make preference options be global options
...
refs #8709
2015-07-01 15:41:45 +02:00
Johannes Meyer
d36f90d8cb
Navigation: Restructure authentication backend configuration
...
This moves the configuration tabs for user and group backends into
a dedicated menu entry called "Authentication". All tabs previously
available in this menu entry were moved into their own dedicated
menu entry as well to not to confuse users.
fixes #9398
2015-06-22 13:26:24 +02:00
Johannes Meyer
b54bf35402
ConfigController: Do not use forward() but redirectNow()
...
fixes #9349
2015-06-17 13:43:59 +02:00
Matthias Jentsch
5b8c308679
Merge branch 'bugfix/use-statement-error-9281'
...
fixes #9281
2015-06-16 17:06:47 +02:00
Johannes Meyer
fb52ee5a7c
GroupController: Allow to quick search members
2015-06-09 08:31:21 +02:00
Johannes Meyer
27d2af5616
UserController: Allow to quick search memberships
2015-06-09 08:31:05 +02:00
Johannes Meyer
91cee3a957
GroupController: Behave nicely when not any backend is available
2015-06-08 13:28:25 +02:00
Johannes Meyer
07041fafc8
UserController: Behave nicely when not any backend is available
2015-06-08 13:28:25 +02:00
Alexander A. Klimov
1bd18c5adb
Merge branch 'feature/Show-Icinga-Web-2-s-version-in-the-frontend-9247'
...
resolves #9247
2015-06-08 12:40:14 +02:00
Johannes Meyer
e6837cf9e9
UsergroupbackendController: Do not persist empty configuration values
...
refs #7343
2015-06-05 15:42:35 +02:00
Alexander A. Klimov
602f0cf755
Move Version to Icinga\Application\
...
refs #9247
2015-06-05 10:18:24 +02:00
Alexander A. Klimov
757e993871
Outsource version-getting logic to Version::get()
...
refs #9247
2015-06-03 15:23:05 +02:00
Johannes Meyer
916a26572b
User-/GroupController: Register search columns to support quick searches
...
fixes #9353
2015-06-03 10:04:35 +02:00
Johannes Meyer
dd7cbf4b69
User-/GroupController: Create tabs as early as possible
...
fixes #9350
2015-06-03 10:04:35 +02:00
Alexander A. Klimov
887bd0b8f0
Show Icinga Web 2's version in the frontend
...
refs #9247
2015-06-02 16:49:27 +02:00
Michael Friedrich
00ae69a694
Fix PHP 5.6.9 error: The use statement with non-compound name 'Exception' has no effect
...
refs #9281
2015-06-02 16:41:33 +02:00
Johannes Meyer
7213379cac
AuthBackendController: Add final indexAction
...
Required to automatically redirect to the first permitted list action.
refs #8826
2015-06-02 11:59:04 +02:00
Johannes Meyer
00c31ffd28
RolesController: Rename to RoleController
2015-06-02 11:57:13 +02:00
Johannes Meyer
cd0c418854
Merge branch 'master' into feature/user-and-group-management-8826
2015-06-02 10:44:13 +02:00
Johannes Meyer
ae30a62055
ConfigController: Add tab for the user group backend configuration
...
refs #8826
2015-06-02 10:23:40 +02:00
Johannes Meyer
2490d0ae67
ConfigController: We're configuring user backends from now on
...
refs #8826
2015-06-02 09:58:57 +02:00
Johannes Meyer
9bd5d4148e
Drop permission config/application/groups/member
...
refs #8826
2015-06-02 09:08:16 +02:00
Johannes Meyer
cf96e66ff2
Rename permission config/application/roles* to config/authentication/...
...
Does also split it into *, show, add, edit, remove as this should behave like
any other authentication configuration.
refs #8826
2015-06-02 09:07:06 +02:00
Johannes Meyer
3fffd90135
Rename permission config/application/groups* to config/authentication/...
...
refs #8826
2015-06-02 09:04:34 +02:00
Johannes Meyer
a558f2873a
Rename permission config/application/users* to config/authentication/...
...
refs #8826
2015-06-02 09:02:57 +02:00
Johannes Meyer
46e2393074
UsergroupbackendController: Do only assert that the user has one permission
...
The configuration of a backend itself should not be that granular.
refs #8826
2015-06-02 08:58:21 +02:00
Johannes Meyer
17e7f1e754
Link the roles configuration with the user and group management
...
refs #8826
2015-06-01 16:43:11 +02:00
Johannes Meyer
66fd7dfd93
ConfigController: Rename applicationAction to generalAction
2015-06-01 16:35:27 +02:00
Johannes Meyer
ea959c2dfd
Introduce controller UsergroupbackendController
...
refs #8826
2015-05-29 16:35:30 +02:00
Johannes Meyer
cb4d6f013a
GroupController: Properly handle 404's when handling group members
...
refs #8826
2015-05-29 12:57:39 +02:00
Johannes Meyer
c94e6a3292
Db/IniUserGroupBackend: Drop column parent_name, it's not a name anymore
...
refs #8826
2015-05-29 08:56:58 +02:00
Johannes Meyer
2c9af2fb81
GroupController: Let the form validate a group's name
...
refs #8826
2015-05-28 16:28:59 +02:00
Johannes Meyer
ad6b4016f0
UserController: Let the form validate the user's name
...
refs #8826
2015-05-28 16:28:43 +02:00
Eric Lippmann
124173f3c8
Don't provide helpful error messages for unauthenticated users
...
fixes #6952
2015-05-28 13:17:00 +02:00
Eric Lippmann
c2d7f0577e
Use Controller::translate() instead of just t()
...
refs #7330
2015-05-28 13:17:00 +02:00
Eric Lippmann
a304645b14
Add missing return argument when removing a resource fails
2015-05-28 13:17:00 +02:00
Eric Lippmann
bd5d6e9661
Add missing return argument when removing an auth backend fails
2015-05-28 13:17:00 +02:00
Eric Lippmann
903b02a134
Translate no permission for configuration error message
...
refs #6339
2015-05-28 13:16:59 +02:00
Alexander A. Klimov
cbf37bf90e
Inherit from Icinga\Web\Controller
...
fixes #9317
2015-05-27 13:19:50 +02:00
Johannes Meyer
d157dec13b
GroupController: Apply permission config/application/groups/member/remove
...
refs #8826
2015-05-27 10:38:02 +02:00
Johannes Meyer
1517c72be1
GroupController: Apply permission config/application/groups/member/add
...
refs #8826
2015-05-27 10:34:10 +02:00
Johannes Meyer
0c9bac0686
GroupController: Apply permission config/application/groups/remove
...
refs #8826
2015-05-27 10:33:20 +02:00
Johannes Meyer
b58cd4747c
GroupController: Apply permission config/application/groups/edit
...
refs #8826
2015-05-27 10:32:41 +02:00
Johannes Meyer
fd2ecf395d
GroupController: Apply permission config/application/groups/add
...
refs #8826
2015-05-27 10:32:09 +02:00
Johannes Meyer
e31c99be1c
GroupController: Apply permission config/application/groups/show
...
refs #8826
2015-05-27 10:30:42 +02:00
Johannes Meyer
0e37aad6ce
UserController: Apply permission config/application/users/remove
...
refs #8826
2015-05-27 10:29:21 +02:00
Johannes Meyer
01b790cf18
UserController: Apply permission config/application/users/edit
...
refs #8826
2015-05-27 10:27:48 +02:00
Johannes Meyer
88ba718ffb
UserController: Apply permission config/application/users/add
...
refs #8826
2015-05-27 10:26:43 +02:00
Johannes Meyer
2cbea558ef
UserController: Apply permission config/application/users/show
...
refs #8826
2015-05-27 10:23:59 +02:00
Johannes Meyer
32c1a844b5
UserController: Do not show duplicate memberships when showing a user
...
refs #8826
2015-05-27 09:03:00 +02:00
Johannes Meyer
45fd1b78f1
UserGroupController: Properly handle errors when fetching memberships
...
refs #8826
2015-05-27 08:55:14 +02:00
Johannes Meyer
adc2d33814
GroupController: Properly handle errors when fetching users
...
refs #8826
2015-05-27 08:55:02 +02:00
Johannes Meyer
676d20920b
UserController: Remove redundant error handling
...
refs #8826
2015-05-27 08:53:34 +02:00
Johannes Meyer
e0f0fbf1cc
GroupController: Remove redundant error handling
...
refs #8826
2015-05-27 08:53:13 +02:00
Johannes Meyer
02afa9fd55
UserController: Add createmembershipAction()
...
refs #8826
2015-05-26 17:03:10 +02:00
Johannes Meyer
899a00e983
GroupController: Add addmemberAction()
...
refs #8826
2015-05-26 14:32:14 +02:00
Johannes Meyer
75c5aa2869
Move UserGroupForm to the Icinga\Forms\Config\UserGroup namespace
...
refs #8826
2015-05-26 10:24:13 +02:00
Johannes Meyer
e2c250ca77
Move UserForm to the Icinga\Forms\Config\User namespace
...
refs #8826
2015-05-26 10:23:40 +02:00
Johannes Meyer
2164fcf4b4
GroupController: Extend AuthBackendController
...
refs #8826
2015-05-26 10:12:25 +02:00
Johannes Meyer
a4f38f2334
UserController: Extend AuthBackendController
...
refs #8826
2015-05-26 10:12:10 +02:00
Johannes Meyer
e5819ef1b2
GroupController: Display a tab when showing a group
...
refs #8826
2015-05-22 16:13:38 +02:00
Johannes Meyer
5c6d5f51c4
UserController: Display a tab when showing a user
...
refs #8826
2015-05-22 16:13:20 +02:00
Johannes Meyer
705bb665a5
UserController: List memberships when showing a user
...
refs #8826
2015-05-22 15:53:47 +02:00
Johannes Meyer
030db8c8da
GroupController: Add removememberAction()
...
refs #8826
2015-05-22 14:35:34 +02:00
Johannes Meyer
265725447d
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-22 10:06:31 +02:00
Eric Lippmann
d2bb74a2f9
lib: Move HttpNotFoundException beneath the Http Exception namespace
...
refs #6281
2015-05-22 09:25:49 +02:00
Eric Lippmann
3f608fda24
Handle the HttpMethodNotAllowedException in the ErrorController
...
refs #6281
2015-05-22 09:15:52 +02:00
Eric Lippmann
5e520e7b59
Don't display a error message as title too
...
refs #6281
2015-05-21 16:57:43 +02:00
Eric Lippmann
03b4de3253
Handle the HttpNotFoundException in the ErrorController
...
refs #6281
2015-05-21 16:56:27 +02:00
Johannes Meyer
0686bc1d86
GroupController: List members when showing a group
...
refs #8826
2015-05-21 16:38:47 +02:00
Eric Lippmann
ce9110d22d
Revert "Add proper respond http codes to service and host controller"
...
This reverts commit 6df031dc78
.
I revert this commit for the following reasons:
- MissingParameterException must not be thrown manually because we have UrlParams::getRequired() which was UrlParams::req() before.
- The commit introduces the untranslated string 'host or service'.
- 4xx are client, not server errors.
- Copy and paste code for the stack trace handling in the ErrorController.
refs #6281
2015-05-21 16:14:02 +02:00
Johannes Meyer
ed166d6eb7
GroupController: Add showAction
...
refs #8826
2015-05-20 16:17:37 +02:00
Johannes Meyer
94cd4b91e5
GroupController: Just show a group's name when listing groups
...
refs #8826
2015-05-20 15:54:47 +02:00
Johannes Meyer
2cec4a6d67
UserController: Add showAction
...
refs #8826
2015-05-20 15:41:02 +02:00
Johannes Meyer
9891dc4491
UserController: Just show a user's name when listing users
...
Any additional information will be shown in the detail view soon.
refs #8826
2015-05-20 15:00:29 +02:00
Johannes Meyer
66611d4887
GroupController: Use proper redirect urls when adding and removing groups
...
refs #8826
2015-05-20 14:06:59 +02:00
Johannes Meyer
f86a05e0c3
UserController: Use proper redirect urls when adding and removing users
...
refs #8826
2015-05-20 13:54:05 +02:00
Johannes Meyer
539b824470
GroupController: Introduce addAction, editAction and removeAction
...
refs #8826
2015-05-20 11:54:28 +02:00
Johannes Meyer
bd07f78d94
GroupController: Do not throw Zend_Controller_Action_Exception (404)
...
Use Controller::httpNotFound() instead.
refs #8826
2015-05-20 10:59:41 +02:00
Johannes Meyer
605ae3d802
UserController: Introduce addAction, editAction and removeAction
...
refs #8826
2015-05-20 10:54:42 +02:00
Johannes Meyer
7dff1ca2b8
UserController: Do not throw Zend_Controller_Action_Exception (404)
...
Use Controller::httpNotFound() instead.
refs #8826
2015-05-20 10:52:50 +02:00
Alexander A. Klimov
bd3a9d65bc
Remove unreachable statements
...
refs #9003
2015-05-19 11:00:36 +02:00
Alexander A. Klimov
7ef7325335
Don't catch ProgrammingError when the superclass Exception has already been caught
...
refs #9003
2015-05-19 10:45:37 +02:00
Alexander A. Klimov
159f4eaf90
Don't use \Exception
...
refs #9003
2015-05-19 10:42:19 +02:00
Johannes Meyer
3f25cf560e
RepositoryQuery: Remove method paginate()
...
refs #8826
2015-05-18 14:03:22 +02:00
Johannes Meyer
524c449649
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-18 11:28:07 +02:00
Johannes Meyer
fbf0ad4339
Drop interface Browsable
...
We're not required to handle objects of Zend_Paginator in any way, so
creating such as part of a query is not necessary since QueryAdapter
accepts any instance of QueryInterface. (gets enforced in the near future)
refs #8339
2015-05-15 14:37:41 +02:00
Johannes Meyer
9eaa231c4f
GroupController: Since logging errors as well is usually a good idea, log errors
...
refs #8826
2015-05-13 13:58:48 +02:00
Johannes Meyer
07a5473616
UserController: Since logging errors as well is usually a good idea, log errors
...
refs #8826
2015-05-13 13:58:40 +02:00
Johannes Meyer
5db6fc9ba9
GroupController: Behave nicely when it's not possible to fetch any groups
...
refs #8826
2015-05-13 13:50:32 +02:00
Johannes Meyer
8927121266
UserController: Behave nicely when it's not possible to fetch any users
...
refs #8826
2015-05-13 13:50:19 +02:00
Johannes Meyer
a9f0fd0708
UserController: Ensure that the sort and dir parameters are being applied
...
refs #8826
2015-05-12 15:49:45 +02:00
Johannes Meyer
2e0a444f13
GroupController: Ensure that the sort and dir parameters are being applied
...
refs #8826
2015-05-12 15:49:24 +02:00
Johannes Meyer
c91d3e52ac
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-12 15:39:02 +02:00
Johannes Meyer
5ace0a08f3
GroupController: Add backend selection control
...
refs #8826
2015-05-08 09:56:07 +02:00
Johannes Meyer
1e1b9540f0
UserController: Add backend selection control
...
refs #8826
2015-05-08 09:54:45 +02:00
Alexander Fuhr
6df031dc78
Add proper respond http codes to service and host controller
...
fixes #6281
2015-05-06 14:21:46 +02:00
Johannes Meyer
1682b0ee32
Introduce controller GroupController
...
Still only able to list groups, more to follow...
refs #8826
2015-05-05 09:24:28 +02:00
Johannes Meyer
8cf0c29223
UserController: Add tab for the list action
...
refs #8826
2015-05-05 07:36:14 +02:00
Johannes Meyer
d171dd2ec9
Introduce controller UserController
...
Still only able to list users, more to follow...
refs #8826
2015-05-04 17:04:50 +02:00
Johannes Meyer
d09ea2845d
Merge branch 'master' into feature/user-and-group-management-8826
2015-04-30 15:20:40 +02:00
Alexander A. Klimov
7c0be30def
Handle and display multiline log messages correctly
2015-04-24 17:36:49 +02:00
Johannes Meyer
6ca68f438d
Move concrete UserBackend classes to Icinga\Authentication\User
...
refs #8826
2015-04-21 12:51:31 +02:00
Johannes Meyer
1ff9449ad7
List views: Show the output and dashboard actions for all views
...
refs #7876
2015-04-20 14:58:25 +02:00
Johannes Meyer
57d519bca8
ModuleOverview: Ensure dashboard compliance
...
refs #7876
2015-04-17 16:09:35 +02:00
Johannes Meyer
d5cc340439
ApplicationLog: Ensure dashboard compliance
...
refs #7876
2015-04-17 16:09:17 +02:00
Eric Lippmann
25736cf76e
Return HTTP 400 on MissingParameterException
...
refs #8886
2015-04-07 12:27:19 +02:00
Johannes Meyer
aae1d05684
Fetch the log path from the configuration
...
...instead of using a getter that has been dropped carelessly.
fixes #8972
2015-04-07 10:34:55 +02:00
Eric Lippmann
e36c430bb3
Merge branch 'feature/protected-menu-8720'
...
resolves #8720
2015-03-13 04:26:19 +01:00
Eric Lippmann
29d5fd351b
Merge branch 'bugfix/logout-external-8626'
...
fixes #8626
2015-03-12 16:47:49 +01:00
Eric Lippmann
8563d5ed3f
PHPDoc: Use @var instead of @type
...
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann
90971f2caf
Revert "Merge branch 'feature/organize-headings-7976'"
...
This reverts commit ea2a17a76c
, reversing
changes made to e72de8dfe1
.
refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Eric Lippmann
195fe6f04b
Security: Rename system/config/modules to config/modules
...
Module config permission and application config permission have to be separeted.
Application config related permissions were added beneath config/application and module
related config permissions will be config/modules for now.
refs #8720
2015-03-12 15:45:14 +01:00
Eric Lippmann
f6e9551235
Security: Rename system/config/roles to config/application/roles
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:10 +01:00
Eric Lippmann
08abbda152
Security: Rename system/config/resources to config/application/resources
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:07 +01:00
Eric Lippmann
a4e81c320a
Security: Rename system/config/authentication to config/application/authentication
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:45:04 +01:00
Eric Lippmann
956bc3c07a
Security: Rename system/config/application to config/application/general
...
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.
refs #8720
2015-03-12 15:44:58 +01:00
Eric Lippmann
7288f2e92b
Use space after the boolean negotiation operator
2015-03-11 22:25:52 +01:00
Eric Lippmann
4570151b4b
Fix indentation for strings spanning multiple lines in our auth controller
2015-03-11 22:11:10 +01:00
Johannes Meyer
f45f00b022
Run a module's configuration script only in case it has been registered
...
fixes #8601
2015-03-06 13:25:04 +01:00
Johannes Meyer
4324385010
Do not load a module twice while enabling it
2015-03-06 13:22:51 +01:00
Johannes Meyer
4ba281e7e8
Config: Use native form title and description support where appropriate
...
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer
f2259557c8
Fix missing tab labels
...
fixes #8518
2015-02-27 09:32:44 +01:00
Johannes Meyer
956efe5ef9
Merge branch 'master' into feature/link-labels-8458
...
Conflicts:
application/views/scripts/config/application.phtml
application/views/scripts/config/module.phtml
application/views/scripts/config/modules.phtml
library/Icinga/Web/Widget/Dashboard/Dashlet.php
modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer
6eb638f6b3
Add proper titles to the list view's tabs
...
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer
64a4dc67bc
Add proper titles to all config tabs
...
refs #8458
2015-02-23 16:50:31 +01:00
Marius Hein
7644888f25
Header: Add header semantic to roles configuration
...
refs #7976
2015-02-13 16:19:28 +01:00
Marius Hein
ce3a564de7
Header: Add header to tabs extension
...
refs #7976
2015-02-13 11:26:09 +01:00
Johannes Meyer
dfc18e0f95
Display authentication exceptions as form errors
2015-02-12 09:11:03 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
08fd000496
Remove any topbar related stuff
...
It's not used anywhere.
2015-02-03 12:42:02 +01:00
Eric Lippmann
9d6906bd64
Save user dashboards to Icinga Web 2's configuration directory
...
fixes #8056
2015-02-02 15:06:29 +01:00
Eric Lippmann
4bac5dfc37
security: Guard application and module configuration
2015-02-02 14:16:26 +01:00
Eric Lippmann
7a81133ad3
security: Guard configuring roles
2015-02-02 14:16:26 +01:00
Marius Hein
8c24dde17b
Error Controller: Move close tab creation to template
2015-02-02 12:08:20 +01:00
Johannes Meyer
bf470125c3
Merge branch 'master' into feature/create-missing-directories-when-creating-inis-8219
...
Conflicts:
modules/monitoring/library/Monitoring/MonitoringWizard.php
2015-01-30 16:21:42 +01:00
Marius Hein
6ec2ee753d
Render error messages in the container itself
...
fixes #6280
2015-01-30 14:50:25 +01:00
Johannes Meyer
0108d44d63
Fix "The use of non compound name 'Exception'..."
2015-01-30 09:38:59 +01:00
Johannes Meyer
63305fdf9a
Add Icinga\Application\Config::saveIni()
...
Simplifies saving INI files. Icinga\File\Ini\IniWriter does already require an
instance of Icinga\Application\Config so it's obvious to give "Config" the
task to initialize the writer.. We do also have a central place to handle
creating missing ancestor directories now.
refs #8219
2015-01-30 09:32:08 +01:00
Eric Lippmann
d42017018f
Return HTTP 403 in case a SecurityException was thrown
2015-01-30 09:31:05 +01:00
Johannes Meyer
7ad44b8411
login: Show a note if the only active external auth backend is not available
...
refs #8274
2015-01-27 14:26:06 +01:00
Johannes Meyer
d99d147901
Fix usages of AutoLoginBackend
...
refs #8274
2015-01-27 13:45:13 +01:00
Johannes Meyer
55c20abddc
Only show the "save to session" button in case preferences store = none
...
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
d452f3218d
Use "ini" as preferences store in case preferences are not configured
...
refs #8234
2015-01-23 16:25:24 +01:00
Eric Lippmann
250e05f2e8
Optimize imports in AuthenticationController.php
2014-12-29 14:30:47 +01:00
Eric Lippmann
9d8fab51b1
Use the setup related utility functions in AuthenticationController.php
2014-12-29 14:30:06 +01:00
Carlos Cesario
8d8b65473a
Add translation to some strings
...
Thank you Carlos.
resolves #7787
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Eric Lippmann
bc339e927b
Roles: Fix redirect URL
2014-11-25 16:11:02 +01:00
Eric Lippmann
d226126b6c
Roles: Fix tab activation
2014-11-25 16:11:02 +01:00
Eric Lippmann
0a1668acf6
Fix tab names in the RolesController
2014-11-25 16:11:01 +01:00
Eric Lippmann
2f02ac2f01
Fix the RolesController's class name
2014-11-25 16:11:01 +01:00
Eric Lippmann
e5d8fc7208
Rename the 'Permissions' tab to 'Roles'
2014-11-25 16:11:01 +01:00
Eric Lippmann
974357c84f
Rename /permissions to /roles
2014-11-25 16:11:01 +01:00
Eric Lippmann
f0ece3d88a
Revert "Remove permissions and restrictions for now"
...
This reverts commit 8335bdcb32
.
Readd permissions and restrictions.
2014-11-25 16:11:01 +01:00
Eric Lippmann
8335bdcb32
Remove permissions and restrictions for now
...
Our first beta release will not include permissions and restrictions.
We'll better test it before making it public.
2014-11-20 16:14:00 +01:00
Marius Hein
e600dc8adb
Dashboard: Rename component to dashlet
...
refs #7751
2014-11-20 12:08:50 +01:00
Marius Hein
2c4b730887
Dashboard: Update descriptions
...
refs #7751
2014-11-20 11:36:04 +01:00
Eric Lippmann
92b2c5061d
Security: Fix redicrect URL
2014-11-19 16:33:18 +01:00
Eric Lippmann
bfdf34b6bf
Security: Add permissions as tab to config
...
refs #5647
2014-11-19 15:32:25 +01:00
Eric Lippmann
63490094b9
Security: Fix PermissionsController class name
...
refs #5647
2014-11-19 15:24:57 +01:00
Eric Lippmann
e072678b2d
Security: Remove role suffix from actions
...
refs #5647
2014-11-19 15:23:15 +01:00
Eric Lippmann
2ae75370f2
Security: Rename security to permissions
...
refs #5647
2014-11-19 15:18:01 +01:00
Eric Lippmann
f0084542e6
Security: Remove obsolete actions
...
refs #5647
2014-11-19 14:44:28 +01:00
Eric Lippmann
f7076816eb
Security: Add action for removing roles
...
refs #5647
2014-11-19 14:40:49 +01:00
Eric Lippmann
a4744fa550
Security: Add action for updating roles
...
refs #5647
2014-11-19 14:36:36 +01:00
Eric Lippmann
7fcfc01464
Security: Add action for creating a new role
...
refs #5647
2014-11-19 14:26:21 +01:00
Eric Lippmann
a2818bd937
Merge branch 'master' into feature/security-gui-5647
2014-11-19 14:13:26 +01:00
Marius Hein
a40f357f3c
Dashboard: Show error message when can not write to file
...
refs #4537
2014-11-19 11:47:31 +01:00
Eric Lippmann
84b98cd58d
Security: Fix Form namespace
2014-11-18 17:10:14 +01:00
Eric Lippmann
aef81a56d6
Merge branch 'master' into feature/security-gui-5647
...
Conflicts:
library/Icinga/Application/Config.php
library/Icinga/File/Ini/IniWriter.php
library/Icinga/Web/Form.php
library/Icinga/Web/Menu.php
2014-11-18 17:08:25 +01:00
Eric Lippmann
f2717b6d26
Introduce Form::setOnSuccess() in favor of overriding the constructor
...
Zend_Form uses setters for options if a respective setter method exists.
It is not necessary to override the constructor for introducing new options.
Conflicts:
library/Icinga/Web/Form.php
2014-11-18 17:02:39 +01:00
Marius Hein
10cfecf2ec
Merge remote-tracking branch 'origin/master' into feature/add-to-dashboard-4537
...
Conflicts:
application/controllers/DashboardController.php
library/Icinga/Web/Form.php
library/Icinga/Web/Widget/Dashboard.php
2014-11-18 16:36:42 +01:00
Marius Hein
80871313e4
Dashboard: Remove actions
...
refs #4537
2014-11-18 16:28:04 +01:00
Johannes Meyer
be6358452e
Do not redirect to the wizard in case of an empty config.ini
2014-11-18 13:13:02 +01:00
Johannes Meyer
4ab5b2abf3
Fix anonymous onSuccess callbacks
2014-11-18 13:12:30 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Marius Hein
3e58ec2530
Dashboard: Use new controller actions
...
refs #4537
2014-11-18 12:51:28 +01:00
Marius Hein
cbcd276b44
Dashboard: Rewrite forms and controller [WIP]
...
refs #4537
2014-11-18 10:04:41 +01:00
Marius Hein
89b36f79b2
Dashboard: Reenable generic add link in tab bar
...
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein
bec0085683
Dashboard: Add urls to any dashboard (form)
...
refs #4537
2014-11-18 09:59:24 +01:00
Marius Hein
769e8f2636
Dashboard/Component: Add remove link
...
refs #4537
2014-11-18 09:59:23 +01:00
Marius Hein
af799d42dc
Widget/Dashboard: Cleanup object and remove unused stuff
...
refs #4537
2014-11-18 09:59:23 +01:00
Marius Hein
1000b4661f
AddToDashboard: Remove controller logic
...
refs #4537
2014-11-18 09:59:23 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Johannes Meyer
775c20d9ad
Rename namespace Icinga\Form to Icinga\Forms
...
refs #7553
2014-11-14 10:57:14 +01:00
Bernd Erk
903219b302
Merge branch 'master' into feature/redesign-7144
...
Conflicts:
library/Icinga/Web/Menu.php
public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Eric Lippmann
cc161764ff
Use 'Preferences' instead of 'General Settings'
...
refs #6073
2014-11-13 18:08:30 +01:00
Eric Lippmann
ac2ec83852
Merge branch 'master' into feature/localization-form-6073
...
Conflicts:
library/Icinga/Application/ApplicationBootstrap.php
test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Bernd Erk
c98a6d5912
Fixes type in error message
2014-11-13 15:41:31 +01:00
Johannes Meyer
259a465f97
Show only the most important warning on the login page
2014-11-12 16:23:55 +01:00
Johannes Meyer
2eb9a771c9
Do not check for any config file, just the directory to show the login-warning
...
refs #7163
2014-11-12 15:58:18 +01:00
Alexander Fuhr
8f6cac6a9e
Add translation to preference tab title
2014-11-12 11:10:25 +01:00
Johannes Meyer
b26e585837
Fix that the authentication.ini is being used as trigger for the config warning
...
Should have been the config.ini instead.
refs #7163
2014-11-11 12:42:49 +01:00
Johannes Meyer
8909bd5d59
Show warning on login page even if the configuration directory exists
...
refs #7163
2014-11-11 10:04:01 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
8f212018ec
Move the setup wizard code to a dedicated module
...
refs #7163
2014-11-10 15:11:44 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Eric Lippmann
ebd77ee5c1
security: Add actions for creating, updating and removing restrictions
...
refs #5647
2014-11-06 17:39:20 +01:00
Eric Lippmann
d0fc38ce94
security: Add controller for creating, updating and removing permissions
...
refs #5647
2014-11-04 16:17:54 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann
b38e3affb9
Move INI writer classes to the File namespace
...
fixes #7150
2014-10-31 10:54:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
c1bff9a26e
Merge branch 'master' into feature/setup-wizard-7163
2014-10-30 10:38:21 +01:00
Eric Lippmann
2698516005
Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
...
fixes #7191
2014-10-29 16:31:17 +01:00
Johannes Meyer
03bbc2e2e6
Use a dedicated method to clear a wizard's session
...
Simplifies session removal in case a sub-class of Icinga\Web\Wizard
requires special session handling
refs #7163
2014-10-24 13:55:41 +02:00
Johannes Meyer
ffc69c378c
Fix typo in ConfigController::moduleenableAction()
2014-10-24 13:49:49 +02:00
Johannes Meyer
b4a69792d8
Add note to login page when the configuration directory is missing
...
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Eric Lippmann
a2e1663e34
index: Don't drop query parameters when redirecting to dashboard
2014-10-20 13:27:33 +02:00
Johannes Meyer
c0df55c079
Add progress bar
...
refs #7163
2014-10-14 16:14:28 +02:00
Johannes Meyer
1cbe2451a8
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Johannes Meyer
b50c780bcf
Let the setup's view scripts be a bit more generic
...
refs #7163
2014-10-06 16:04:58 +02:00
Eric Lippmann
266936b9b5
Fix that logout of unauthenticated users throws exceptions
2014-10-01 08:13:17 +02:00
Matthias Jentsch
8008387559
Fix typo
2014-09-30 15:59:11 +02:00
Matthias Jentsch
9a57ddcfa6
Fix login redirects when AutologinBackend is used
2014-09-30 15:49:31 +02:00
Johannes Meyer
cbadaa78d6
Merge branch 'master' into feature/setup-wizard-7163
2014-09-29 15:35:52 +02:00
Alexander Fuhr
f7b7e0283a
Translation: another bunch of translatable strings
2014-09-29 15:20:19 +02:00
Johannes Meyer
288ae6885b
Show the web wizard, finally
...
refs #7163
2014-09-29 14:31:43 +02:00
Johannes Meyer
98fbfe68a8
Redirect to /setup if necessary
...
A user gets now redirected to /setup in case he is not logged in, the token
file exists and no config.ini was found.
refs #7163
2014-09-24 10:46:34 +02:00
Johannes Meyer
83772c6684
Merge branch 'master' into bugfix/rebuild-form-builder-5525
2014-09-09 16:03:22 +02:00
Matthias Jentsch
71f55e388f
Only display custom menu renders on XHR requests and not in regular HTML
...
The main navigation should be rendered without a working backend.
fixes #7143
2014-09-09 15:33:42 +02:00
Matthias Jentsch
157818c8e7
Fix navigation reload
...
Activate the correct menu item with JavaScript after relaod and don't
render it on server-side on XHR requests.
2014-09-09 13:57:48 +02:00
Johannes Meyer
c947ba3b18
Use the new view script to show INI configuration in case of failures
2014-09-09 09:46:57 +02:00
Matthias Jentsch
545db945da
Auto refresh menu
...
Put the navigation into a container and reload it once every 15 seconds from a distinct menu action. Include the current
path into an URL param to still be able to mark the current menu item as active.
fixes #6955
2014-09-08 15:21:14 +02:00
Johannes Meyer
f53519c54d
Rename ConfigForm::setConfig() to ConfigForm::setIniConfig()
...
We do not want to override Zend_Form::setConfig() so this renaming is
required. set*Ini*Config() because ConfigForm::save() utilizes an ini-writer
to persist the configuration to disk.
refs #5525
2014-09-08 13:31:25 +02:00
Alexander Fuhr
e8d526fcf9
StaticController: Fix img file inclusion
2014-09-08 12:59:22 +02:00
Alexander Fuhr
7386ae5ef5
Update Module img_ route to get image subfolders
2014-09-08 11:31:05 +02:00
Johannes Meyer
ae9e5a40cc
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Thomas Gelf
5a73f4b3c9
list: ooops
2014-09-05 15:33:34 +02:00
Thomas Gelf
b034028ff8
Menu: do not show application log when none exists
...
Added new functions to the logger to get rid of distributed logging config
"knowledge".
fixes #7062
fixes #7098
2014-09-05 15:31:30 +02:00
Thomas Gelf
d48f0ec453
static/gravatar: fetch smaller images
2014-09-05 12:00:29 +02:00
Johannes Meyer
fc72ddfbc8
Adjust Preferences/GeneralForm to use handleRequest() &. Co.
...
refs #5525
2014-09-05 10:21:24 +02:00
Thomas Gelf
0f7f2f2d8b
SearchDashboard: rename ::load() to ::search()
...
Function signature didn't match parent factory function
fixes #7081
2014-09-04 19:35:31 +02:00
Alexander Klimov
36a3c36c1b
Rename Icinga\Protocol\File\Reader to ...\File\FileReader
2014-09-04 16:37:24 +02:00
Alexander Fuhr
1eacde0233
Implement modules self provided search configuration
...
refs #6495
2014-09-04 16:31:10 +02:00
Alexander Klimov
f4b820aa57
Application log: don't use Icinga\Application\Config to get the log file name
...
refs #7060
2014-09-03 13:40:53 +02:00
Thomas Gelf
8577940e1e
StaticController: cache gravatar images
...
fixes #7061
2014-09-02 16:31:38 +02:00
Johannes Meyer
5464321a1b
ConfigController: Remove obsolete functionality
2014-09-02 16:25:03 +02:00
Johannes Meyer
1ba3df310c
Remove BaseConfigController, User\Message and Widget\AlertMesageBox
...
refs #6758
2014-09-02 16:25:03 +02:00
Johannes Meyer
2d86e6ba3b
Rename ResourceForm and make it use handleRequest() & Co.
...
refs #5525
2014-09-02 16:25:03 +02:00
Johannes Meyer
deebb64869
Adjust Icinga\Form\Config\General* to use handleRequest() & Co.
...
refs #5525
2014-09-01 16:16:56 +02:00
Johannes Meyer
0e63e36ec0
Move Icinga\Form\Config\ConfirmRemovalForm to Icinga\Form
...
This is a generic form not necessarily being used just for configuration
purposes.
refs #5525
2014-09-01 15:11:09 +02:00
Marius Hein
751d2e6d11
ErrorController: Log exception and stacktrace
...
refe #5896
2014-09-01 10:00:04 +02:00