Alexander A. Klimov
f64db890d2
Show loaded modules in the about page
...
refs #9381
2015-09-24 19:23:49 +02:00
Johannes Meyer
b7ef951e57
NavigationController: Rerender the layout when editing a menu entry
...
refs #5600
2015-09-24 14:05:57 +02:00
Johannes Meyer
c4df7e05be
NavigationController: Rerender the layout when adding a menu entry
...
refs #5600
2015-09-24 14:05:28 +02:00
Johannes Meyer
4d303e7121
NavigationController: Redirect to the shared overview if its the referrer..
...
..when editing a navigation item.
refs #5600
2015-09-23 14:21:04 +02:00
Alexander A. Klimov
cd319f8c7d
Let the error page look like the login page when a non-authenticated user requests a non-existent page
...
refs #10009
2015-09-22 18:25:57 +02:00
Johannes Meyer
57e08e92d4
Do not mark relative urls as absolute
...
refs #5600
refs #10169
2015-09-22 14:12:08 +02:00
Johannes Meyer
5a494b3088
NavigationController: Show module item types only if accessible by the user
...
refs #5600
2015-09-21 08:59:36 +02:00
Johannes Meyer
84dfbf0b08
user navigation overview: Provide "owner" as sort column
...
This is rather a quick&dirty solution than anything proper.. But it basically
works and the only drawback is that ASC or DESC is dependent from the
owner's name...
refs #5600
2015-09-18 15:51:00 +02:00
Johannes Meyer
bef5eeda93
NavigationController: Fix action unshare()
...
refs #5600
2015-09-18 13:24:44 +02:00
Johannes Meyer
b39eddf69d
navigation overviews: Use "type" as default sort column instead of "name"
...
As long as we're not splitting the items by type in different views, this
sort column is probably more commonly used..
refs #5600
2015-09-18 08:58:57 +02:00
Johannes Meyer
2cf52df0a8
user navigation overview: Add sort control
...
refs #5600
2015-09-18 08:53:05 +02:00
Johannes Meyer
6e2d7dca9b
shared navigation overview: Add sort control
...
refs #5600
2015-09-17 15:17:46 +02:00
Johannes Meyer
99502a77e0
shared navigation overview: Display the type of a navigation item
...
refs #5600
2015-09-16 15:37:56 +02:00
Johannes Meyer
47257d74ff
user navigation overview: Display the type of a navigation item
...
refs #5600
2015-09-16 15:09:56 +02:00
Johannes Meyer
4c1dd2ed36
NavigationController: Provide available item types externally
...
refs #5600
2015-09-16 15:05:43 +02:00
Johannes Meyer
ac3ef393b5
NavigationConfigForm: Write both configurations in a single "operation"
...
refs #5600
2015-09-16 10:58:57 +02:00
Johannes Meyer
d4c0f10b47
NavigationConfigForm: Let the form decide which configuration to manage
...
refs #5600
2015-09-15 15:57:03 +02:00
Johannes Meyer
1d6ad6df21
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Johannes Meyer
9dbbc51721
NavigationController: Allow the owner to edit/remove a shared item
...
refs #5600
2015-09-07 16:27:27 +02:00
Johannes Meyer
3dc26e2dbe
NavigationController: Implement removeAction()
...
refs #5600
2015-09-07 16:02:12 +02:00
Johannes Meyer
bd32f09407
NavigationController: Implement addAction()
...
refs #5600
2015-09-07 15:50:26 +02:00
Johannes Meyer
55a961b411
NavigationController: Implement editAction()
...
refs #5600
2015-09-07 15:43:06 +02:00
Johannes Meyer
6f7059ef9a
NavigationController: Implement unshareAction()
...
refs #5600
2015-09-07 15:21:21 +02:00
Johannes Meyer
04a14a46b6
NavigationController: Implement sharedAction()
...
refs #5600
2015-09-07 15:04:31 +02:00
Johannes Meyer
8e6fc1580e
NavigationController: Implement indexAction()
...
refs #5600
2015-09-07 15:01:55 +02:00
Johannes Meyer
b1e3519353
Add class NavigationController (WIP)
...
refs #5600
2015-09-07 13:55:19 +02:00
Eric Lippmann
26d1a04e48
api: Use JsonResponse in the ErrorController
...
refs #9606
2015-09-07 13:37:00 +02:00
Eric Lippmann
0f8c28d749
Merge branch 'master' into feature/api-9606
2015-09-07 11:33:44 +02:00
Johannes Meyer
294f9022f2
Use the new navigation to render the menu
...
refs #5600
2015-09-04 10:53:01 +02:00
Eric Lippmann
e5e64ab654
Static content: Fix check whether an image exists
2015-08-28 13:14:33 +02:00
Eric Lippmann
4070f6c75b
Merge branch 'master' into feature/namespaced-controllers-5786
2015-08-27 15:05:44 +02:00
Eric Lippmann
1da39f6e1e
Add missing alias to the UsergroupbackendController after namespacing
...
refs #5786
2015-08-27 14:18:32 +02:00
Eric Lippmann
7550f48a71
Namespace the UsergroupbackendController
2015-08-27 14:18:17 +02:00
Eric Lippmann
f1a8cef5c0
Optimize imports in the UsergroupbackendController
2015-08-27 14:17:50 +02:00
Eric Lippmann
aae4e5c48d
Add missing alias to the UserController after namespacing
...
refs #5786
2015-08-27 14:17:19 +02:00
Eric Lippmann
2ed3af8f11
Namespace the UserController
...
refs #5786
2015-08-27 14:16:17 +02:00
Eric Lippmann
142264b784
Optimize imports in the UserController
2015-08-27 14:16:02 +02:00
Eric Lippmann
a8e6daa678
Fix some coding standard violations in the StaticController
2015-08-27 14:15:32 +02:00
Eric Lippmann
22b628c084
Fix StaticController::setCacheHeader() not using $maxAge
2015-08-27 14:13:03 +02:00
Eric Lippmann
3dd58a6ca7
Don't use absolute alias in the StaticController
2015-08-27 14:10:30 +02:00
Eric Lippmann
274c0eacef
Add PHPDoc to StaticController::stylesheetAction()
2015-08-27 14:09:54 +02:00
Eric Lippmann
d638868524
Namespace the StaticController
...
refs #5786
2015-08-27 14:08:12 +02:00
Eric Lippmann
7e4c602a60
Don't throw exceptions manually in the StaticController
2015-08-27 14:07:46 +02:00
Eric Lippmann
672c679064
Let StaticController extend Controller instead of ActionController
2015-08-27 14:07:00 +02:00
Eric Lippmann
fe3c7ec52b
Namespace the SearchController
...
refs #5786
2015-08-27 14:05:32 +02:00
Eric Lippmann
3e6a55bc07
Fix array indent in RoleController::createListTabs()
2015-08-27 14:05:05 +02:00
Eric Lippmann
5c883d902e
Don't throw exceptions manually in the RoleController
2015-08-27 14:03:49 +02:00
Eric Lippmann
fd8b5ec510
Use UrlParams::getRequired() in RoleController::removeAction()
2015-08-27 13:46:28 +02:00
Eric Lippmann
853d4fd534
Use UrlParams::getRequired() in RoleController::editAction()
2015-08-27 13:44:49 +02:00
Eric Lippmann
6375d1d427
Add missing aliases to the RoleController after namespacing
...
refs #5786
2015-08-27 13:44:00 +02:00
Eric Lippmann
f09c27aa51
Namespace the RoleController
...
refs #5786
2015-08-27 13:40:44 +02:00
Eric Lippmann
652bdb6e3e
Add RoleController renaming TODO
...
refs #10015
2015-08-27 13:40:06 +02:00
Eric Lippmann
02abe35faa
Add PreferenceController renaming TODO
...
refs #10014
2015-08-27 13:38:19 +02:00
Eric Lippmann
98130ff304
Namespace the PreferenceController
2015-08-27 13:36:33 +02:00
Eric Lippmann
28815a936a
Optimize imports in the PreferenceController
2015-08-27 13:35:32 +02:00
Eric Lippmann
c974b02d3a
Fix PHPDoc of ListController
2015-08-27 13:35:06 +02:00
Eric Lippmann
5f4c104397
Namespace the ListController
...
refs #5786
2015-08-27 13:34:37 +02:00
Eric Lippmann
01bbce8e64
Namespace the LayoutController
2015-08-27 13:33:36 +02:00
Eric Lippmann
0e7b6d7f44
Optimize imports in the LayoutController
2015-08-27 13:33:17 +02:00
Eric Lippmann
af8949dde2
Add TODO in the IndexController: Avoid landing page redirects
...
refs #9656
2015-08-27 13:32:35 +02:00
Eric Lippmann
46333f82e9
Remove unused alias in the IndexController
2015-08-27 13:31:50 +02:00
Eric Lippmann
7231510080
Namespace the IndexController
2015-08-27 13:31:36 +02:00
Eric Lippmann
43e7bf97ce
Optimize imports in the ConfigController
2015-08-27 13:30:43 +02:00
Eric Lippmann
896a01fdf6
Add missing alias in the GroupController after namespacing
...
refs #5786
2015-08-27 13:29:36 +02:00
Eric Lippmann
ce65c25a72
Optimize import in the GroupController
2015-08-27 13:29:06 +02:00
Eric Lippmann
cd9c445b82
Namespace the GroupController
...
refs #5786
2015-08-27 13:28:00 +02:00
Eric Lippmann
def92088b2
Remove the FilterController
2015-08-27 13:27:22 +02:00
Eric Lippmann
1419c8a601
Add missing alias in the ErrorController after namespacing
...
refs #5786
2015-08-27 13:25:46 +02:00
Eric Lippmann
3809ca1b43
Namespace the ErrorController
...
refs #5786
2015-08-27 13:25:23 +02:00
Eric Lippmann
204e6fe940
Remove unused alias in the ConfigController
2015-08-27 13:23:48 +02:00
Eric Lippmann
a9e6a4ed5c
Add missing aliases in the ConfigController after namespacing
...
refs #5786
2015-08-27 13:23:12 +02:00
Eric Lippmann
e9c73c1810
Namespace the ConfigController
...
refs #5786
2015-08-27 13:22:49 +02:00
Eric Lippmann
e92414ea6d
Use Request::setBody() for cookies disabled message
2015-08-27 13:21:43 +02:00
Eric Lippmann
016bcf070f
Remove unused alias in the AuthenticationController
2015-08-27 13:10:21 +02:00
Eric Lippmann
5518f61614
Namespace the AuthenticationController
...
refs #5786
2015-08-27 13:09:58 +02:00
Eric Lippmann
358735a0a3
Optimize imports in the AboutController
2015-08-27 13:07:10 +02:00
Eric Lippmann
5d8424535f
Namespace the AboutController
...
refs #5786
2015-08-27 13:05:20 +02:00
Eric Lippmann
28009eb563
Rename controller namespace to Controllers
...
refs #5786
2015-08-27 13:03:45 +02:00
Eric Lippmann
96fb3b5d4b
Merge branch 'master' into feature/api-9606
2015-08-25 09:25:59 +02:00
Eric Lippmann
30add41572
Handle the HttpBadRequestException in the error controller
...
refs #9606
2015-08-24 15:59:25 +02:00
Johannes Meyer
eb54c9875b
Add missing activity indicators when canceling group memberships
...
refs #8369
2015-08-24 13:00:32 +02:00
Eric Lippmann
1c5a784022
lib: Move Request::sendJson() to Response::sendJson()
...
refs #9606
2015-08-20 16:05:45 +02:00
Eric Lippmann
870b73ae09
lib: Rename Request::getIsApiRequest() to ::isApiRequest()
...
There's no setter involved.
refs #9606
2015-08-20 16:02:25 +02:00
Eric Lippmann
e914b733cd
Handle API requests in the ErrorController
...
refs #9606
2015-08-20 15:49:37 +02:00
Eric Lippmann
fba9780405
Add missing imports in the DashboardController after namespacing
...
refs #5786
2015-08-18 13:07:01 +02:00
Eric Lippmann
727f46139d
Optimize imports in the DashboardController
...
refs #5786
2015-08-18 13:06:43 +02:00
Eric Lippmann
c2d5d8f339
Namespace the DashboardController
...
refs #5786
2015-08-18 13:03:25 +02:00
Matthias Jentsch
d51ecc3d72
Use better icons for resource and auth views
...
refs #9908
2015-08-18 11:42:42 +02:00
Johannes Meyer
e5f249270a
Merge branch 'master' into feature/provide-a-complete-list-of-filter-columns-9029
2015-08-17 15:41:40 +02:00
Johannes Meyer
1e6c394693
Controller: Create the filter editor in setupFilterControl() ...
...
...instead of demanding a concrete controller to do so.
We still have to decide how to handle parameter preservation
properly.
refs #9029
2015-08-13 17:05:13 +02:00
Alexander Fuhr
a9ff6eebc0
Merge branch 'master' into bugfix/cookie-support-7383
2015-08-13 11:22:14 +02:00
Alexander Fuhr
d468c59e32
AuthenticationController: Add cookie detection to login action
...
refs #7383
2015-08-13 11:21:05 +02:00
Johannes Meyer
fa1e3a763d
Do not show the full layout on the login page
...
...
refs #9892
2015-08-13 08:12:30 +02:00
Eric Lippmann
a234852f32
Merge branch 'feature/basic-auth-9660'
...
resolves #9660
2015-07-30 15:05:07 +02:00
Matthias Jentsch
3e7cc299ec
Fix issue that caused the refresh button to remove side bar
...
Do not apply base target globally for all toolbar elements, but specifically for those that should remove side-bars.
refs #8623
refs #6436
2015-07-29 17:18:52 +02:00
Eric Lippmann
1b5c5deace
lib: Rename remote user to external user
...
We renamed our backend. Code now reflects this.
refs #9660
2015-07-29 15:44:32 +02:00
Eric Lippmann
23fcd39503
Relax auth controller complexity
...
refs #9660
2015-07-29 14:17:07 +02:00
Eric Lippmann
7cfc78558d
Merge branch 'master' into feature/secure-modules-9644
...
Conflicts:
library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Eric Lippmann
b36b447023
Use Controller::httpNotFound() in applicationlog/list
...
refs #9449
2015-07-28 11:33:33 +02:00
Johannes Meyer
86ad6c48ff
Form: Automatically remove query parameters only for GET forms
...
refs #9421
2015-07-27 08:52:33 +02:00
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