Johannes Meyer
f8d53c1d07
NavigationConfigForm: Sub-forms may require a parent being set
...
refs #5600
2015-09-17 13:42:25 +02:00
Eric Lippmann
06c6b09863
Set default port for Postgres connections if it's the first available driver
...
refs #9683
2015-09-17 12:46:49 +02:00
Johannes Meyer
2d9f20f2c5
Introduce form class DashletForm
...
refs #5600
2015-09-17 08:37:41 +02:00
Johannes Meyer
6a52de8a44
NavigationConfigForm: Load form classes dynamically
...
refs #5600
2015-09-17 08:24:23 +02:00
Johannes Meyer
4385d74e16
NavigationConfigForm: Apply share restrictions for users and groups
...
refs #5600
2015-09-16 16:25:17 +02:00
Johannes Meyer
0cff2ca545
RoleForm: Provide share restrictions for users and groups
...
refs #5600
2015-09-16 16:24:29 +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
2cd774018c
NavigationConfigForm: Provide proper labels for navigation item types
...
refs #5600
2015-09-16 13:51:12 +02:00
Johannes Meyer
dfc9c10589
NavigationConfigForm: Implement method unshare()
...
refs #5600
2015-09-16 13:10:21 +02:00
Johannes Meyer
cc66175e6c
shared navigation overview: Do not open a new column while unsharing
...
refs #5600
2015-09-16 13:08:44 +02:00
Johannes Meyer
4db2f7e7a9
shared navigation overview: Show a message if there's nothing shared
...
refs #5600
2015-09-16 13:07:41 +02:00
Johannes Meyer
16a57c5c1b
shared navigation overview: We're unsharing items, not removing them
...
refs #5600
2015-09-16 13:05:45 +02:00
Johannes Meyer
5d9a57446f
shared navigation overview: Display the owner of a shared navigation item
...
refs #5600
2015-09-16 11:52:42 +02:00
Johannes Meyer
fc5f0f0530
NavigationConfigForm: Make it possible to share items with others
...
refs #5600
2015-09-16 11:51:57 +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
50cdd0ad15
NavigationConfigForm: Do not validate an item's name
...
refs #5600
refs #10151
2015-09-16 09:33:43 +02:00
Johannes Meyer
402440735c
RoleForm: Add permission "application/share/navigation"
...
refs #5600
2015-09-16 08:30:40 +02:00
Johannes Meyer
b96c89339b
NavigationConfigForm: Do not use a sequenced array to initialize the select
...
refs #5600
2015-09-15 16:16:32 +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
Eric Lippmann
4e1543fd34
Make MySQL the default choice when configuring database connections again
2015-09-07 17:23:12 +02:00
Eric Lippmann
61f251d6ad
Allow to configure persistent database connections
2015-09-07 17:08:25 +02:00
Eric Lippmann
65e4d23d89
Require a port only for postgres connections
...
Screw it!
refs #9683
2015-09-07 17:01:09 +02:00
Johannes Meyer
1a2556af13
Add class NavigationConfigForm (WIP)
...
refs #5600
2015-09-07 16:58:22 +02:00
Eric Lippmann
e45140dd86
Don't mess w/ default ports when configuration a database connection
2015-09-07 16:57:43 +02:00
Eric Lippmann
947d5c6190
Don't require to configure a port for database connections
2015-09-07 16:52:54 +02:00
Eric Lippmann
56bef276e0
Allow to create MSSQL and Oracle resources
...
refs #9683
2015-09-07 16:44:35 +02:00
Eric Lippmann
e64ad87745
Use Platform::hasDatabaseSupport() and Platform::hasLdapSupport() in the resource config
...
refs #9683
2015-09-07 16:44:06 +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
Eric Lippmann
fe1c6d33fa
font: Add icon-circle
...
refs #8378
2015-09-07 10:21:17 +02:00
Johannes Meyer
ca72bd5455
NavigationRendererInterface: Use "div" as default outer element tag
...
"nav" is less often necessary.
refs #5600
2015-09-07 09:48:32 +02:00
Eric Lippmann
331c01c371
fontello: Add icon-pin for sticky acknowledgements
...
refs #9674
2015-09-04 12:13:43 +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
fd49b18bf4
Add description to the password input when updating a user
2015-09-01 23:30:30 +02:00
realitygaps
95fb00ac8d
Don't show password when creating or updating a user
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-01 23:24:53 +02:00
Davide Demuru
41ab03accb
Update locale it_IT
...
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-01 23:02:52 +02:00
Johannes Meyer
2e7f3b941c
LdapUserGroupBackendForm: Add missing form field..
...
..to configure the group_member_attribute option.
fixes #9903
2015-08-31 14:02:16 +02:00
Eric Lippmann
85a4c67705
Merge branch 'feature/namespaced-controllers-5786'
...
resolves #5786
2015-08-28 15:09:49 +02:00
Eric Lippmann
e5e64ab654
Static content: Fix check whether an image exists
2015-08-28 13:14:33 +02:00
Johannes Meyer
68f5e1a3e3
ResourceConfigForm: Add missing activity indicator
2015-08-28 11:00:03 +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
8af77e49e9
Optimize imports in the RoleForm
2015-08-27 14:01:29 +02:00
Eric Lippmann
898883f613
Remove unused alias in the RoleForm
2015-08-27 14:01:07 +02:00
Eric Lippmann
a134522e9e
Fix PHPDoc indents in the RoleForm
2015-08-27 14:00:56 +02:00
Eric Lippmann
dad9f5ba7c
Throw NotFoundError instead of InvalidArgumentException in RoleForm::update()
2015-08-27 14:00:24 +02:00
Eric Lippmann
0681cd2782
Throw NotFoundError instead of InvalidArgumentException in RoleForm::remove()
2015-08-27 13:59:34 +02:00
Eric Lippmann
1135643fe1
Throw AlreadyExistsException instead of InvalidArgumentException in RoleForm::add()
2015-08-27 13:58:51 +02:00
Eric Lippmann
2e970b2965
Fix PHPDoc of RoleForm::load()
2015-08-27 13:58:07 +02:00
Eric Lippmann
13131cb3f6
Throw NotFoundError instead of InvalidArgumentException in RoleForm::load()
2015-08-27 13:57:10 +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
93f7bfeeb9
Allow to dis-/enable stacktraces in a user's preferences
...
refs #9113
2015-08-24 14:47:37 +02:00
Johannes Meyer
0c47aececc
Allow to disable stack traces globally
...
refs #9113
2015-08-24 14:44:54 +02:00
Johannes Meyer
eb54c9875b
Add missing activity indicators when canceling group memberships
...
refs #8369
2015-08-24 13:00:32 +02:00
Johannes Meyer
b9252010b3
PreferenceForm: Add missing activity indicator
...
refs #8369
2015-08-24 12:47:34 +02:00
Johannes Meyer
9ca278d7b2
Merge branch 'master' into feature/activity-indicators-for-form-submits-8369
2015-08-21 13:37:54 +02:00
Johannes Meyer
1cb2009dcd
Animate the button when reordering authentication backends
...
refs #8369
2015-08-21 13:29:29 +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
Johannes Meyer
5602d57d0b
Indicate that the configuration is being validated
...
refs #8369
2015-08-20 15:48:41 +02:00
Johannes Meyer
bf1e177023
LoginForm: Provide a progress label
...
refs #8369
2015-08-20 15:32:53 +02:00
Matthias Jentsch
9e40f5f2c7
Remove option to skip certificate validation to prevent insecure configurations
...
Skipping certificate validation will allow MITM on every single request and not give any real security over just running unencrypted queries. On top of that, there is no way to configure this behavior from within PHP except of setting environment variables, which is really hacky and has side effects on other requests.
fixes #9607
2015-08-19 16:20:33 +02:00
Johannes Meyer
63e639caf0
Handle module identification directly in the ActionController
...
Fixes some issues with more complex customisations in a
module's controller.
Obsoletes: 93f8297344
2015-08-19 13:39:46 +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
15ec564bc5
Use an easier distinctable "disabled" icon for module state
...
fixes #9908
2015-08-18 11:42:42 +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
Johannes Meyer
71cb484299
Show the full layout for anonymous clients
...
fixes #9892
2015-08-12 16:47:31 +02:00
Matthias Jentsch
60675979bc
Merge branch 'bugfix/creating-dashlet-with-parentheses-9530'
...
fixes #9530
2015-08-05 18:22:29 +02:00
Alexander Fuhr
ac31fb00c9
dashboard/index: Fix the suggestion to enable modules
...
fixes #9790
2015-08-04 15:08:30 +02:00
Matthias Jentsch
7095ad5bc7
Improve ini editor and dashlet input validation
2015-08-04 13:23:30 +02:00
Johannes Meyer
d1917ad2b4
Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
...
Conflicts:
modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer
7bd8b4b19a
User: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:28:43 +02:00
Johannes Meyer
3b36009122
Group: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:28:25 +02:00
Johannes Meyer
d78f69368c
Users: Use $query->hasResult() instead of $query->count()
...
refs #9632
2015-08-03 16:19:00 +02:00
Johannes Meyer
7388db3241
Groups: Use $query->hasResult() intead of $query->count()
...
refs #9632
2015-08-03 16:18:37 +02:00
Eric Lippmann
688a08585b
Merge branch 'master' into bugfix/error-prone-generictts-9611
...
Conflicts:
modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann
6481e97565
Add createTicketLinks() view helper
...
refs #9611
2015-08-03 10:39:42 +02:00
Johannes Meyer
dafa722cec
Hide non-essential form fields when configuring LDAP user group backends
...
resolves #9780
2015-07-31 15:56:13 +02:00
Johannes Meyer
9b051cd7ce
reorder-authbackend.phtml: Fix hover styles of icon-only buttons
2015-07-31 08:29:59 +02:00
Johannes Meyer
316a4d8b82
Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609
2015-07-30 16:16:04 +02:00
Johannes Meyer
5ca0e981c4
UserGroupBackendPage: Ensure that all required fields exist
...
refs #9609
2015-07-30 15:49:04 +02:00
Eric Lippmann
a234852f32
Merge branch 'feature/basic-auth-9660'
...
resolves #9660
2015-07-30 15:05:07 +02:00
Eric Lippmann
81aad9d6a6
Rename Notifiation::getMessages() to popMessages()
...
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.
refs #9660
2015-07-30 13:45:39 +02:00
Eric Lippmann
3aae37aff3
Don't redirect on external auth
...
refs #9660
2015-07-30 12:02:42 +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
c3a057dbdb
lib: Add AuthChain::setSkipExternalBackends() in favor of setIteratorMode()
...
There's only one mode.
refs #9660
2015-07-29 16:18:30 +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
Matthias Jentsch
6db79a72d5
Display the rows in the auth backend configuration as active without any delay
...
refs #8623
2015-07-29 15:21:29 +02:00
Eric Lippmann
257a9f9d1d
Set Response::rerenderLayout() in the LoginForm
...
refs #9660
2015-07-29 15:09:29 +02:00
Eric Lippmann
23fcd39503
Relax auth controller complexity
...
refs #9660
2015-07-29 14:17:07 +02:00
Eric Lippmann
c5c7b40133
Remove info box about external auth requirement in the login view script
...
The LoginForm will add the info.
refs #9660
2015-07-29 14:16:14 +02:00
Eric Lippmann
db78f810ff
lib: Add log in functionality to the LoginForm
...
refs #9660
2015-07-29 14:15:11 +02:00
Johannes Meyer
155bcc5db7
LdapUserGroupBackendForm: Fetch config from the factory, not the app
...
refs #9609
2015-07-29 13:45:18 +02:00
Eric Lippmann
07849e0fea
lib: Rename Authentication/Manager to Authentication/Auth
...
refs #9660
2015-07-28 17:08:55 +02:00
Johannes Meyer
5411efd546
LdapBackendForm: Fail gracefully if the discovery is not possible
2015-07-28 15:07:33 +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
d40c3f0a29
Remove unnecessary use in FormTriStateCheckbox
...
refs #9449
2015-07-28 11:49:18 +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
a51f0ad65e
Roles: Include permissions and restrictions of unloaded modules too
...
Because we now have module permissions it makes sense to allow an admin to configure permissions and restrictions from a module
before allowing access to it.
refs #9644
2015-07-24 16:13:08 +02:00
Johannes Meyer
df81fd502d
ResourceConfigForm: Allow to manually validate the configuration
...
refs #7588
2015-07-24 14:31:02 +02:00
Johannes Meyer
2c4b6eb915
ResourceConfigForm: Replace isValid- with inspectResource()
...
refs #7588
2015-07-24 14:24:11 +02:00
Johannes Meyer
ccc809853a
UserBackendConfigForm: Allow to manually validate the configuration
...
refs #7588
2015-07-24 13:46:17 +02:00
Eric Lippmann
e1357c1386
Require config/modules permission for listing and showing modules
...
refs #9644
2015-07-24 13:34:47 +02:00
Eric Lippmann
8d7f32cac1
Fix static call of SearchDashboard::search()
...
refs #9644
2015-07-24 13:34:11 +02:00
Johannes Meyer
b3e6b2755c
UserBackendConfigForm: Replace isValid- with inspectUserBackend()
...
refs #7588
2015-07-24 11:45:49 +02:00
Johannes Meyer
624309774b
Fix style of buttons used for reordering user backends
2015-07-24 10:14:18 +02:00
Johannes Meyer
3b4bb6d890
ifont: Add new icons up|down|right|left-small
2015-07-24 10:13:26 +02:00
Johannes Meyer
760c7e4374
LdapBackendForm: Allow to discover a connection's default settings
...
refs #9602
2015-07-23 17:42:02 +02:00
Johannes Meyer
44643a6c4b
PreferenceForm: Improve button placement
2015-07-23 16:49:50 +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
Eric Lippmann
7c5b4de087
Fix coding style in RoleForm.php
2015-07-23 12:50:42 +02:00
Eric Lippmann
bf590ed380
Provide module permissions automatically
...
refs #9644
2015-07-22 15:01:54 +02:00
Johannes Meyer
cecd94be50
Merge branch 'master' into feature/support-for-file-uploads-8758
2015-07-22 08:47:24 +02:00
Johannes Meyer
fc481e527b
Form: Process request parameter _frameUpload
...
This parameter is being used to flag a request as form submission issued
by utilizing an iframe. Appending it to a form's action causes no redirection
to take place in case of successful submission and a reduced but still valid
layout to be printed in any way. Redirection must be handled by the client
regarding the meta tag "redirectUrl".
refs #8758
2015-07-21 15:22:24 +02:00
Johannes Meyer
be88683c19
layout.phtml: Add hidden iframe for non-xhr file uploads
...
refs #8758
2015-07-20 10:14:55 +02:00
Matthias Jentsch
e357960d1e
Add Inspection API to DB backend
...
refs #9641
2015-07-16 16:16:55 +02:00
Matthias Jentsch
f4054d575b
Add Inspection API to db connection
...
refs #9641
2015-07-16 15:29:45 +02:00
Matthias Jentsch
59c4f8d056
Use Inspection API in User Backend Form
...
refs #9630
2015-07-15 19:35:25 +02:00
Matthias Jentsch
cf8b760ade
Use Inspection API in LdapResourceForm
...
refs #9630
2015-07-15 19:33:47 +02:00
Matthias Jentsch
11360f36e4
Fix grammar errors in backend titles
2015-07-15 15:37:59 +02:00
Johannes Meyer
a8ac420897
LdapConnection: Establish a connection lazily
2015-07-10 09:51:39 +02:00
Johannes Meyer
066b3d9e28
ApplicationConfigForm: Make preference options be global options
...
refs #8709
2015-07-01 15:41:45 +02:00
Johannes Meyer
8c8198eeea
UserGroupBackendForm: Some small documentation fixes
2015-06-29 11:11:06 +02:00
Johannes Meyer
3dddee8b7d
Setup: Fix authentication backend validation
...
This is a ridiculous dirty fix. We'll definitely need to
improve how we create authentication backends...
fixes #9509
2015-06-25 14:36:51 +02:00
Johannes Meyer
d95874b84c
Setup: Provide a default user filter for ActiveDirectory backends
...
fixes #8703
2015-06-25 14:22:50 +02:00
Johannes Meyer
f2ba70d5ab
GroupController: Fix design for showing a group
2015-06-25 11:36:26 +02:00
Johannes Meyer
af7426451a
UserController: Fix design for showing a user
2015-06-25 11:27:28 +02:00
Johannes Meyer
e3f13c8a44
UserController: Fix permission check for editing users
...
Eh...?
2015-06-25 10:13:15 +02:00
Johannes Meyer
c3ad7b211a
Ldap\Connection: Rename to LdapConnection
...
refs #8954
2015-06-24 09:05:29 +02:00
Johannes Meyer
5fd2eb639a
LdapResourceForm: Display exact error messages to the user
2015-06-23 14:08:50 +02:00
Johannes Meyer
15220da645
Automatically strip unnecessary parentheses from custom ldap filters
...
fixes #9348
2015-06-23 10:32: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
Matthias Jentsch
d3dd88a925
Add alternating table layout to module views
2015-06-22 09:46:03 +02:00
Thomas Gelf
b154e13ad9
RoleForm: hide config/"all-but-*" for rc1
2015-06-18 15:49:49 +02:00
Thomas Gelf
cd70c27519
Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
2015-06-18 15:18:42 +02:00
Thomas Gelf
1e61f55210
dashboard: add compact support
2015-06-18 13:41:12 +02:00
Thomas Gelf
2f62a4383a
Layout: add showFullscreen parameter
...
refs #6729
2015-06-18 13:41:12 +02:00
Thomas Gelf
3462f0ee9a
Merge remote-tracking branch 'origin/master' into feature/refine-ui-for-rc1-9361
...
Conflicts:
modules/monitoring/application/views/scripts/host/history.phtml
modules/monitoring/application/views/scripts/list/services.phtml
2015-06-18 11:26:51 +02:00
Matthias Jentsch
5b517a2cb0
Improve table layout
...
Add alternating colors to table rows, to improve visibillity of the table.
refs #9361
2015-06-17 17:28:28 +02:00
Johannes Meyer
b54bf35402
ConfigController: Do not use forward() but redirectNow()
...
fixes #9349
2015-06-17 13:43:59 +02:00
Johannes Meyer
4d06bff5e8
Merge branch 'master' into feature/Move-notifications-to-the-bottom-of-the-page-8247
2015-06-17 12:47:58 +02:00
Matthias Jentsch
5b8c308679
Merge branch 'bugfix/use-statement-error-9281'
...
fixes #9281
2015-06-16 17:06:47 +02:00
Matthias Jentsch
5bf7bbdb8b
Remove unneeded use statements from global namespaces
...
Use statements on global classes from the global namespace don't have any effect, prevent warnings from being displayed in php versions >= 5.6.9 and version >= 5.5.25.
refs #9281
2015-06-16 16:10:52 +02:00
Thomas Gelf
e962b44b5e
user/show: get rid of useless styles...
...
...and use our default HTML tags/classes instead
2015-06-16 02:11:16 +02:00
Thomas Gelf
edf8bcca4b
layout.phtml: use cleartype on mobile IE
2015-06-15 23:54:12 +02:00
Matthias Jentsch
42de13a2b9
Merge branch 'feature/ssh-remote-connection-resource-configuration-7595'
...
resolves #7595
2015-06-15 17:30:42 +02:00
Matthias Jentsch
4cea9f15e9
Add heading to user and group view and fix layout
2015-06-09 10:29:45 +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
17fa0d3f11
Revert "Improve group and user view layout"
...
This reverts commit 44e3dba362
.
Reason:
* Controls are controls, not content
* Controls must still be shown in case of a non-matching filter
2015-06-09 08:23:06 +02:00
Matthias Jentsch
44e3dba362
Improve group and user view layout
...
Display header and hide filter and sort widgets when there are no entries to be sorted or filtered.
2015-06-08 16:19:03 +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
54b960addc
RoleController: Fix link to add a new role
2015-06-08 12:39:31 +02:00
Alexander A. Klimov
0b1bb54c26
Rename .fileNotReadable to .message-error
...
refs #9247
2015-06-08 11:22:26 +02:00
Johannes Meyer
2dd04bb6c9
LdapUserGroupBackendForm: Do not disable `user_filter' and `group_filter'
...
refs #7343
2015-06-05 17:24:03 +02:00
Johannes Meyer
e66f8731af
UserBackendConfigForm: Allow to configure user backends of type msldap
...
fixes #9355
2015-06-05 17:20:31 +02:00
Johannes Meyer
c800f1e6aa
UserGroupBackendForm: Do not translate LDAP and ActiveDirectory
...
refs #7343
2015-06-05 16:40:17 +02:00
Johannes Meyer
840069b436
LdapUserGroupBackendForm: Do not persist default values
...
...
refs #7343
2015-06-05 16:34:28 +02:00
Johannes Meyer
e910a5a254
LdapUserGroupBackendForm: Do not disable `base_dn' and `user_base_dn'
...
refs #7343
2015-06-05 16:16:35 +02:00
Johannes Meyer
797e9de629
LdapUserGroupBackendForm: Do not disable group configuration..
...
..when no user backend has been linked and it's not a ActiveDirectory.
refs #7343
2015-06-05 16:07:27 +02:00
Johannes Meyer
975edbe548
UserGroupBackendForm: Do not persist null values, really
...
Revert this once #9376 has been fixed.
refs #9376
2015-06-05 15:45:33 +02:00
Johannes Meyer
e6837cf9e9
UsergroupbackendController: Do not persist empty configuration values
...
refs #7343
2015-06-05 15:42:35 +02:00
Johannes Meyer
e9e97cb1b3
UserGroupBackendForm: Unset the `name' property, always
...
refs #7343
2015-06-05 15:41:24 +02:00
Johannes Meyer
5688f0cb85
Allow to configure user group backends of type LDAP
...
refs #7343
2015-06-05 14:53:29 +02:00
Johannes Meyer
447088af22
Introduce form LdapUserGroupBackendForm
...
refs #7343
2015-06-05 14:52:46 +02:00
Johannes Meyer
7ebf185036
UserGroupBackendForm: Fix that autosubmit do not have any effect
...
refs #7343
2015-06-05 13:07:16 +02:00
Alexander A. Klimov
67322e0b36
Show an error message rather than just "unknown version"
...
refs #9247
2015-06-05 11:56:15 +02:00
Alexander A. Klimov
602f0cf755
Move Version to Icinga\Application\
...
refs #9247
2015-06-05 10:18:24 +02:00
Alexander A. Klimov
7577b37cdb
Change VERSION's format
...
refs #9247
2015-06-03 18:08:54 +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
Alexander A. Klimov
441fc33643
Include version information on `git archive'
...
refs #9247
2015-06-02 16:49:26 +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