Commit graph

742 commits

Author SHA1 Message Date
Johannes Meyer
fe7879c68b group|role|user: Add new tab role/audit 2021-04-07 14:30:14 +02:00
sukhwinder33445
ab97b6fdf0
Enforce database as configuration backend (#4135) 2021-02-18 12:31:21 +01:00
Johannes Meyer
cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer
accbd9d847 ApplicationStateController: Initalize $autorefreshInterval
Instead of defining it with the setter. This prevents the
user's preferences from having an effect on this route.
2021-01-15 15:08:48 +01:00
Alexander A. Klimov
81b19285a7 Make auto refresh interval configurable
refs #2819
2020-11-26 11:38:02 +01:00
Johannes Meyer
39e59422f4 error/error: Show a hint to check dependencies if there are unmet ones 2020-11-18 13:21:34 +01:00
Johannes Meyer
32f9ce8b7c config/module: Show library dependencies and unmet ones 2020-11-18 13:21:34 +01:00
Johannes Meyer
05d74dd980 config: Fix missing module name in failing dis-/enable actions 2020-11-18 13:21:33 +01:00
Johannes Meyer
7af8bf351c about: List loaded libraries 2020-11-18 13:21:33 +01:00
Johannes Meyer
3035efac65 static/img: Make sure to correctly access module images
fixes #4226
2020-08-14 14:40:29 +02:00
Eric Lippmann
63514eeeb7 Add controls to the roles list 2020-05-25 11:09:33 +02:00
Philipp Dorschner
564fb8c320 Only show edit role link if user has the appropriate permission 2020-04-09 09:52:51 +02:00
Philipp Dorschner
c9921b386c Load user roles and populate to view 2020-04-09 09:13:44 +02:00
Johannes Meyer
4d6dbcc746 ActionForm: Utilize ConfigFormEventsHook 2019-12-13 16:42:38 +01:00
Johannes Meyer
67cc81e49f AccountController: Prohibit password changes for users with no-user/password-change 2019-12-05 09:13:34 +01:00
Johannes Meyer
775f5cd3b5 Remove .icinga-form and .icinga-controls from all inline remove forms 2019-07-29 10:19:39 +02:00
Johannes Meyer
f841c3d42f Apply icinga form style to remaining form classes 2019-07-29 10:17:59 +02:00
Johannes Meyer
02565ec326 user/list: Make backend selection look good again 2019-07-29 10:17:59 +02:00
Florian Strohmaier
54ba112d64 CSS: Align controls elements
refs #3676
2019-07-29 10:17:59 +02:00
Johannes Meyer
8310d9c781 roles: Restructure form and utilize class RolesConfig 2019-07-23 13:53:29 +02:00
Johannes Meyer
37a972cf75 dashboard: Differentiate between name and title
The former is the original name while title may
be changed by the user. This change is strictly
necessary for the references bug and should also
be introduced when rewriting this mess.

refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer
67c8053dc9 login: Override the default title instead of setting a title
refs #3851
2019-07-15 08:26:23 +02:00
Johannes Meyer
fb48731978 Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
57abdc8baa static/gravatar: Don't respond with a 500 in case of a connection error 2019-04-23 10:05:32 +02:00
Johannes Meyer
2b938442c4 announcements/index: Add filter and sort controls
refs #3414
2019-04-16 13:03:54 +02:00
Eric Lippmann
72f2158baa
Merge pull request #3584 from Icinga/fix/usergroups-not-loaded-for-externally-authenticated-users-3583
auth/external: Use a stripped down layout for the logout workaround
2018-11-15 11:29:44 +01:00
Johannes Meyer
7ba0466048 config/module(en|dis)able: Utilize a form instead of a link 2018-10-10 09:44:11 +02:00
Johannes Meyer
4c96da3d56 auth/external: Use a stripped down layout for the logout workaround
We've used the standard layout before which caused a automatic login.
Automatic because the browser saw our js/css <link> tags and accessed
the routes which in turn logged in the user, but only if there's a
enabled module which's configuration.php (or run.php) accesses the
Auth singleton. The stripped down layout provides its own js/css so
there's no need for our full-blown resources.

fixes #3583
2018-10-02 15:24:11 +02:00
Eric Lippmann
d18d05ccee Introduce ApplicationStateHook
refs #2835
2018-07-09 16:28:25 +02:00
Johannes Meyer
e81d2f9af0 Utilize Icinga\Web\Menu instead of Icinga\Application\Web::getMenu()
refs #2338
2018-04-30 10:26:00 +02:00
Johannes Meyer
30920d1178 DashboardController: Allow to update panes
refs #2901
2018-04-06 11:28:52 +02:00
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