Commit Graph

711 Commits

Author SHA1 Message Date
Davide Bizzarri 8b5fe61996 Add AuthenticationHook
Created AuthenticationHook class with two main methods: onLogin and
onLogout that are called after login and before logout.
2018-03-28 16:18:31 +02:00
Alexander A. Klimov 0fca1a0ee4 Display messages of routing-time errors as expected 2018-01-26 15:11:28 +01:00
Alexander A. Klimov ff6fbdf5f2 Censor arguments in stack traces
refs #2810
2018-01-22 10:28:47 +01:00
Alexander A. Klimov c650e5c1e3 /error/error: show the whole exception chain 2018-01-19 11:39:22 +01:00
Alexander A. Klimov b790cc98c1 /application-state: ignore unauthenticated requests
refs #2882
2018-01-15 14:21:28 +01:00
Alexander A. Klimov 9b6b00ebca /config/resource: sort resources by name 2017-11-23 12:54:18 +01:00
Eric Lippmann a83a9cef03 Introduce dashboard for navigation items 2017-11-21 22:55:45 +01:00
Alexander A. Klimov cbfbb3a162 Handle enabled, but deleted modules properly
refs #2811
2017-11-08 09:48:58 +01:00
Eric Lippmann cd05d00b63 Sort announcements descending by start time
refs #2987
2017-11-08 09:46:14 +01:00
Johannes Meyer 30b752c72c StaticController: Set a maximum age and check E-Tags of module image requests
refs #2917
2017-08-22 08:38:13 +02:00
Johannes Meyer 7e358f3619 StaticController: Set a maximum age and honor no-cache for gravatar requests
refs #2917
2017-08-22 08:38:13 +02:00
Johannes Meyer 375920f761 Use a more sophisticated inheritance and interface structure for HTTP exceptions (#2881)
HttpExceptionInterface now identifies HTTP exceptions, BaseHttpExceptions supersedes
HttpException as new superclass for other more concrete Exceptions and HttpException
is now a generic class to create new HTTP exceptions on the fly.

resolves #2880
2017-07-05 06:26:58 +02:00
Johannes Meyer 08095ad5e8 ErrorController: Set $this->rerenderLayout in init()
Solves the issue that when being redirected directly after login
or any other route which causes the layout being rerendered, we
are only presented with the inline layout of the error controller.
2017-06-29 09:51:24 +02:00
Eric Lippmann 686d022987 Merge pull request #2863 from Icinga/feature/domain-support-for-authn-authz-2153 2017-06-21 13:16:36 +02:00
Eric Lippmann 9ac8253290 Make membership loading domain-aware
refs #2153
2017-06-12 13:31:07 +02:00
Johannes Meyer 72b02f7f08 StaticController: Serve module and gravatar images with their proper MIME type
fixes #2784
2017-03-09 09:20:03 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Michael Friedrich 08a82daea3 Update to icinga.com
refs #2687
2017-01-18 12:04:43 +01:00
Johannes Meyer 2fa854b0a8 ConfigForm: Introduce and utilize method transformEmptyValuesToNull()
This utility method serves as alternative for all previous custom solutions to prevent empty values from being persisted to INI files.

Since the IniWriter now handles NULL correctly, we're able to refrain from using array_filter for this purpose which was the actual cause for the referenced bug.

fixes #13357
2016-12-01 10:55:24 +01:00
Eric Lippmann 39c7451664 Implement announcements
refs #11198
2016-11-29 15:24:34 +01:00
Johannes Meyer 82cc96173d ConfigController: Warn the user if he's about to remove referenced resources
refs #9804
2016-11-11 11:01:16 +01:00
Alexander A. Klimov 252ce5d60d Revert "Don't show the link for resource removal if the resource is utilized for configuration"
This reverts commit 7331904851.
2016-11-11 10:59:21 +01:00
Alexander A. Klimov 7331904851 Don't show the link for resource removal if the resource is utilized for configuration
refs #9804
2016-11-03 18:28:44 +01:00
Johannes Meyer 0fd5e8e4e8 ErrorController: Log the full stacktrace in case of unhandled exceptions 2016-10-13 12:06:23 +02:00
Jennifer Mourek d98732f663 ErrorController: Don't log exceptions other than HTTP 500
fixes #12760
2016-10-12 12:17:29 +02:00
Alexander A. Klimov 5a49c0beed config/module: show Git HEAD commit's ID if available
refs #11664
2016-09-01 10:26:55 +02:00
Eric Lippmann e62d94209f Allow users to change their password if backend is db
refs #10616
2016-07-21 17:38:19 +02:00
Eric Lippmann e6ec6e05b2 Rename Preferences to My Account
refs #10616
2016-07-21 12:31:10 +02:00
Eric Lippmann 9ec5a46fae Fix exception if all dashboards are disabled 2016-04-13 12:55:01 +02:00
Markus Frosch 88d973ac39 Restrict access to application log with 'application/log' permission
fixes #11279
2016-03-02 20:47:37 +01:00
Alexander A. Klimov 88ff055f39 Combine the lists of user and group backends
refs #10309
2016-02-17 18:43:26 +01:00
Alexander A. Klimov 6c39fb51f8 Menu: move Configuration/Authentication to Configuration/Application/Authentication
refs #10309
2016-02-17 18:23:38 +01:00
Alexander A. Klimov 07913238b3 Navigation items listing: don't rely on case sensitive usernames stored in INI files
refs #11051
2016-02-11 12:12:25 +01:00
Alexander A. Klimov 7fe71f7472 Integrate the iframe module into the framework
refs #10881
2016-02-09 13:37:53 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann ec177e78e5 Make error messages accessible 2016-01-25 07:44:48 +01:00
Eric Lippmann 7aac92a86f Fix tabs of new/update/remove dashlet 2016-01-25 07:23:12 +01:00
Eric Lippmann f5dac49330 Don't fire application-state requests if not authenticated
fixes #10749
2015-12-16 12:55:41 +01:00
Eric Lippmann c227bcc94d Rename error layout for guests and support theming
refs #10705
2015-12-10 13:34:54 +01:00
Johannes Meyer 6679490f13 Merge branch 'master' into feature/theming-10705 2015-12-07 14:25:25 +01:00
Johannes Meyer c6f2783d2d StaticController: Fix imgAction() not returning the correct content type for svg 2015-12-07 14:18:57 +01:00
Eric Lippmann b6b5caace3 Remove unused actions from the StaticController 2015-11-27 16:43:04 +01:00
Eric Lippmann 271b5f9d5c Move cookie support detection to a helper class
Icinga\Web\Cookie will become a real cookie implementation.
2015-11-27 15:42:18 +01:00
Eric Lippmann 6725d6fa9d Merge branch 'bugfix/Fix-DashboardController-code-9003' 2015-11-23 10:21:13 +01:00
Eric Lippmann 6b2a928fd7 Don't re-generate but save session every minute 2015-11-16 15:34:26 +01:00
Eric Lippmann 0cc54ce34b Refresh session every 10 minutes
Quick and dirty fix.

fixes #10229
2015-11-16 14:19:33 +01:00
Eric Lippmann 43ecd1fc90 Fix button for remove navigation item 2015-11-16 10:21:06 +01:00
Eric Lippmann d5fe0c9610 Merge branch 'feature/dope-layout-5543#2' 2015-11-13 15:21:07 +01:00
Eric Lippmann 8481daa91f Remove plus action from dashboard tabs
refs #5543
2015-11-12 16:00:22 +01:00
Eric Lippmann 3e5f801ea3 Remove icons from tabs beneath authorization
refs #5543
2015-11-12 15:43:34 +01:00
Johannes Meyer 7efefc1975 UserController: Use "group" instead of "group_name" for the membership quicksearch
refs #10370
2015-11-10 11:52:54 +01:00
Johannes Meyer 8d04c8548a Do not hardcode action specific parameters to preserve in the FilterEditor
This should only happen for other control parameters or framework
specific stuff. This is still subject to improvement, as this solution is
rather ugly imho..

refs #10370
2015-11-10 11:51:26 +01:00
Eric Lippmann b6b4d5dca2 Remove unnecessary controls in the module config overview
refs #5543
2015-11-03 12:28:58 +01:00
Johannes Meyer 9ccd6cd953 user/list.phtml: Fix coding style, link targets, css, etc
refs #10367
2015-10-15 17:06:02 +02:00
Johannes Meyer 1144c86936 group/list.phtml: Fix coding style, link targets, css, etc
refs #10367
2015-10-15 16:14:19 +02:00
Johannes Meyer 0ee73f2560 group/show.phtml: Fix coding style, link targets, css, etc
refs #10367
2015-10-15 15:47:38 +02:00
Johannes Meyer 635bb3eec6 user/show.phtml: Improve layout
refs #10367
2015-10-15 14:39:25 +02:00
Eric Lippmann 3d2521abf0 Merge branch 'master' into feature/dope-layout-5543 2015-10-01 17:42:24 +02:00
Eric Lippmann 08ab0befcd CSS: compat.less and monitoring detail
refs #5543
2015-10-01 16:31:25 +02:00
Johannes Meyer b80cfe7cdc NavigationController: Pass through the default url without creating the form 2015-10-01 13:55:12 +02:00
Eric Lippmann 380c8743c0 Add tab for create, update and remove user group
refs #5543
2015-10-01 10:03:29 +02:00
Eric Lippmann 631f5d8071 Add tab for create, update and remove user
refs #5543
2015-10-01 09:39:21 +02:00
Eric Lippmann cb46af8e9c Rearrange menu entries
refs #5543
2015-10-01 09:01:03 +02:00
Eric Lippmann 8cff607b5d Add tab for new, update and remove navigation item
refs #5543
2015-10-01 00:40:54 +02:00
Eric Lippmann f3f7fa381b Add tab for new, update and remove user group backend
refs #5543
2015-10-01 00:36:32 +02:00
Eric Lippmann 2059a06105 Add tab for new, update and remove user backend
refs #5543
2015-10-01 00:32:16 +02:00
Eric Lippmann be3c43ef77 Add tab to new, update and remove role
refs #5543
2015-10-01 00:25:54 +02:00
Eric Lippmann b15b04257b Add tab for new resource
refs #5543
2015-10-01 00:10:53 +02:00
Eric Lippmann c2b707697c Add tab for update resource
refs #5543
2015-10-01 00:09:33 +02:00
Eric Lippmann 2bc7e4a5ff Add tab for remove resource
refs #5543
2015-10-01 00:06:37 +02:00
Eric Lippmann 231c63b703 Merge branch 'master' into feature/dope-layout-5543 2015-09-30 18:52:52 +02:00
Johannes Meyer c2ac841871 Make the about page pretty
refs #9247
2015-09-30 17:07:55 +02:00
Johannes Meyer 142851ede7 Merge branch 'master' into feature/show-icinga-web-2-s-version-in-the-frontend-9247 2015-09-30 15:54:22 +02:00
Johannes Meyer 415690134b Add tab extension to add the current container url as new menu entry 2015-09-30 14:47:42 +02:00
Johannes Meyer ddeed579af NavigationController: Fix incorrect sort label
refs #10246
2015-09-30 12:28:40 +02:00
Johannes Meyer 6b31898566 NavigationController: Adjust how to load navigation items
refs #10246
2015-09-30 12:22:48 +02:00
Johannes Meyer befbc6cd6a Config: Add static method navigation()
refs #10246
2015-09-30 11:30:38 +02:00
Johannes Meyer 95d1ce371c Navigation: Add static method getItemTypeConfiguration()
refs #10246
2015-09-30 11:18:15 +02:00
Johannes Meyer 7db05fa043 NavigationController: Consider module types more important in method getConfigPath()
refs #10246
2015-09-30 09:47:26 +02:00
Johannes Meyer 64ba37ad04 NavigationController: Fix add action
refs #10246
2015-09-29 17:23:27 +02:00
Johannes Meyer d2d6815c92 Revert "Introduce controller DashboardsController"
This reverts commit 0d0480afea.
2015-09-29 17:17:47 +02:00
Johannes Meyer dcb4f7f52d Revert "DashboardsController: Add index action"
This reverts commit 2be8835f06.
2015-09-29 17:17:41 +02:00
Johannes Meyer 1c44a3306b NavigationController: Add new parameters to all view script's links
refs #10246
2015-09-29 17:15:57 +02:00
Johannes Meyer 4b76115399 NavigationController: Require parameter type in action edit
refs #10246
2015-09-29 17:15:03 +02:00
Johannes Meyer eb970b1467 NavigationController: Require paramter type in action remove
refs #10246
2015-09-29 17:14:17 +02:00
Johannes Meyer 8d0e57c95e NavigationController: Require parameter type and owner in action unshare
refs #10246
2015-09-29 17:13:45 +02:00
Johannes Meyer b4bcfa4e08 NavigationController: Register navigation item types differently
refs #10246
2015-09-29 17:12:57 +02:00
Johannes Meyer 4921b1a62e NavigationController: Add method getItemLabel()
refs #10246
2015-09-29 17:09:32 +02:00
Johannes Meyer 565704141c NavigationController: Add method getConfigPath()
refs #10246
2015-09-29 17:08:53 +02:00
Johannes Meyer 2be8835f06 DashboardsController: Add index action 2015-09-29 13:45:12 +02:00
Johannes Meyer 0d0480afea Introduce controller DashboardsController 2015-09-29 13:43:56 +02:00
Eric Lippmann 27e1611831 Navigation: Change Config/Application tabs
refs #5543
2015-09-29 12:01:29 +02:00
Johannes Meyer 2f9bd78721 Merge branch 'master' into bugfix/Prettify-page-layout-when-accessing-a-non-existent-route-while-not-being-authenticated-10009 2015-09-28 09:55:07 +02:00
Alexander A. Klimov 8e29fe92a5 Use a login-like layout for error messages displayed to non-authenticated users
refs #10009
2015-09-25 17:40:00 +02:00
Johannes Meyer 086579b254 NavigationController: Rerender the layout when removing menu entries
refs #5600
2015-09-25 10:51:44 +02:00
Johannes Meyer 2952eaefcd NavigationController: Rerender the layout when unsharing menu entries
refs #5600
2015-09-25 10:51:16 +02:00
Alexander A. Klimov 4a85e112d2 Don't link to loaded modules in the about page if the user doesn't have the required permission
refs #9381
2015-09-25 10:45:17 +02:00
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