Commit Graph

1849 Commits

Author SHA1 Message Date
Eric Lippmann c64c6ee0b9 Merge pull request #2757 from Icinga/bugfix/icingacli-module-disable-fails-2714
CLI: don't fail to disable an already disabled module
2017-03-28 10:13:06 +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
Alexander A. Klimov f9eb5ac1a8 CLI: don't fail to disable an already disabled module
refs #2714
2017-02-14 14:43:18 +01:00
Alexander A. Klimov c015da7dfc Document WebCommand::serveAction()
refs #10682
2017-02-10 11:27:39 +01:00
Alexander A. Klimov 11c7531650 WebCommand::serveAction(): add optional parameters --listen and --port
refs #10682
2017-02-09 18:11:29 +01:00
Johannes Meyer 460c06e922 RepositoryForm: Add more flexibility when interacting with the repository 2017-02-03 12:20:24 +01:00
Johannes Meyer 7864450dde LdapResourceForm: Add hostname validation
refs #2645
2017-02-02 11:08:07 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Johannes Meyer d246f76268 NavigationItemForm: Don't pre-optimize urls with a port-macro
fixes #2695
2017-01-23 14:56:27 +01:00
Michael Friedrich 1f7bf97a7e Update 'About' (remove wiki, update to Github)
refs #2687
2017-01-18 12:06:05 +01:00
Michael Friedrich 08a82daea3 Update to icinga.com
refs #2687
2017-01-18 12:04:43 +01:00
Johannes Meyer 0716f87852 Update german translation 2016-12-13 13:57:27 +01:00
Eric Lippmann 752891ef80 Fix executeable files 2016-12-13 13:49:21 +01:00
Uwe Ebel 93b7b11449 Make default listen address for CLI command web serve configureable
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>

resolves #13381
2016-12-13 12:05:25 +01:00
Alexander A. Klimov b75e24db91 Improve rendering of the announcements list
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-13 11:04:56 +01:00
Eric Lippmann 94071848ca Only keep hashes of active acknowledged announcements in the announcements cookie
refs #11198
2016-12-13 11:04:56 +01:00
Eric Lippmann de94749502 Note that its possible to provide multiple LDAP hosts separated by a space
fixes #11809
2016-12-12 16:42:56 +01:00
Alexander A. Klimov b44c932de8 Improve element handling in the resource config forms
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-12-11 17:23:20 +01:00
Alexander A. Klimov 3889e870a3 Don't require passwords for DB resources
fixes #12170
2016-12-11 17:23:14 +01:00
Alexander A. Klimov 302075be60 Fix missing German translation 2016-12-09 15:36:53 +01:00
Alexander A. Klimov bb920c37d4 Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115
refs #11115
2016-12-09 14:12:49 +01:00
Alexander A. Klimov 3cedcd5408 Fix missing German translation
refs #11115
2016-12-08 18:38:39 +01:00
Alexander A. Klimov e10384770d DbResourceForm: make the encryption selection a checkbox
refs #11115
2016-12-08 17:52:07 +01:00
Alexander A. Klimov eafb066024 DbResourceForm: make code a bit less redundand
refs #11115
2016-12-08 17:30:16 +01:00
Alexander A. Klimov 2e1c1da927 DbResourceForm: move the encryption settings below all others
refs #11115
2016-12-08 17:11:15 +01:00
Alexander A. Klimov dce6b4eb08 Merge branch 'master' into feature/add-ssl-support-to-mysql-database-resources-11115 2016-12-08 16:50:41 +01:00
Alexander A. Klimov 01dd60c0fe Fix missing German translation
refs #12598
2016-12-07 18:06:32 +01:00
Alexander A. Klimov 648f088564 Conform to coding guidelines
refs #12598
2016-12-07 17:45:50 +01:00
Rune Darrud 59f1a70d5e Add support for nested AD groups resolved from the user
This will make sure that nested groups also work with roles.

Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>

refs #12598
2016-12-07 17:15:59 +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
Florian Strohmaier bd7b612ba7 Replace chat icon w/ chat-empty in the about page
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:48 +01:00
Florian Strohmaier a7a23be1c8 Update icon font
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-25 15:11:42 +01:00
Florian Strohmaier de7d409377 Replace icinga header logos with pixel optimized SVGs
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-22 15:12:18 +01:00
Eric Lippmann f94b6be8c6 Merge branch 'bugfix/history-separate-hard-soft-state-11859'
fixes #11859
2016-11-22 10:40:08 +01:00
Eric Lippmann 3d6e804ff3 Merge branch 'feature/include-check-if-chosen-locale-is-available-11820'
resolves #11820
2016-11-17 11:23:49 +01:00
Alexander A. Klimov 1450bc4022 Show a warning if the chosen locale by the user is not available on the system
refs #11820
2016-11-17 11:21:59 +01:00
Alexander A. Klimov 8f3ee4dedf Display the module's title in the module detail view
fixes #12557

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-16 16:31:41 +01:00
Eric Lippmann 6b06e05c04 CSS: Add clear button to the search field in the menu
refs #11835
2016-11-16 11:43:21 +01:00
Eric Lippmann bdeeec50bb CSS: Add icon warning-empty
refs #11859
2016-11-14 15:09:46 +01:00
Eric Lippmann 7c83db08a3 Don't auto-capitalize the username in the login form 2016-11-14 14:01:55 +01:00
Johannes Meyer f3b1d28f7d Merge branch 'bugfix/renaming-the-resource-used-for-the-config-backend-9804'
fixes #9804
2016-11-11 11:03:55 +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
Johannes Meyer 39e4a39654 Merge branch 'bugfix/ldapusergroupbackendform-user_-settings-not-purged-10401'
fixes #10401
2016-11-11 09:55:10 +01:00
Johannes Meyer c72cf257ca LdapUserGroupBackendForm: Fix doc of method createHiddenUserConfigElements
refs #10401
2016-11-11 09:50:37 +01:00
Alexander A. Klimov 14363e52f4 Revert "Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'"
This reverts commit f27e8c059d.

refs #11652
2016-11-09 11:48:17 +01:00
Alexander A. Klimov 1045d91389 LoggingConfigForm: only display the Syslog facility option if logging to Syslog 2016-11-04 17:19:35 +01:00
Alexander A. Klimov f27e8c059d Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'
resolves #11652
2016-11-04 17:15:06 +01:00
Alexander A. Klimov 9c13eedd00 LdapUserGroupBackendForm::createHiddenUserConfigElements(): improve doc
refs #10401
2016-11-03 18:48:01 +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
Eric Lippmann 8da05e0bf8 Compile Arabic translation 2016-11-03 16:16:02 +01:00
Munzir Taha e50dd10193 Add Arabic translation
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-03 16:16:02 +01:00
Johannes Meyer da2940a811 NavigationItemForm: Don't bypass Url's own optimisations when saving urls
refs #12133
2016-11-03 14:31:47 +01:00
Alexander A. Klimov 4689f224b5 Fix missing translation
refs #11652
2016-11-03 12:51:13 +01:00
Alexander A. Klimov 8952434393 PhpWriter: prefix messages with the app name as in Syslog
refs #11652
2016-11-03 12:35:40 +01:00
Noah Hilverling e737d591e5 Merge branch 'bugfix/navigation-item-creation-throws-exception-without-scheme-in-url-12890'
fixes #12890
2016-10-28 10:42:53 +02:00
Noah Hilverling 6492f3c105 NavigationItemForm: Validate that urls with credentials contain a protocol
refs #12890
2016-10-28 10:36:13 +02:00
Noah Hilverling 366064e21f NavigationItemForm: Improve translation
refs #12890
2016-10-25 13:37:31 +02:00
Alexander A. Klimov 893daf3a7b Store available Syslog facilities non-redundandly
refs #11214
2016-10-24 10:55:15 +02:00
Alexander A. Klimov 00af3d61b7 LoggingConfigForm: provide less Syslog facilities
refs #11214
2016-10-24 10:43:27 +02:00
Alexander A. Klimov 52e6293b96 Allow to configure the Syslog facility
refs #11214
2016-10-21 17:09:22 +02:00
Alexander A. Klimov 319f648b32 LdapUserGroupBackendForm: purge user_* settings
refs #10401
2016-10-21 11:48:39 +02:00
Noah Hilverling 8a06e686bb NavigationItemForm: Update translation to fit updated Url class
refs #12890
2016-10-20 11:29:35 +02:00
Alexander A. Klimov 59e763c863 LoggingConfigForm: make the webserver log option available
refs #11652
2016-10-19 15:34:57 +02:00
Alexander A. Klimov 647c0b4354 ResourceConfigForm: if the resource being used as config backend gets renamed, update the global config
refs #9804
2016-10-19 14:09:06 +02:00
Alexander A. Klimov b16c64443b Merge branch 'bugfix/ini-writer-must-not-persist-section-keys-with-a-null-value-11743'
fixes #11743
2016-10-18 14:21:24 +02:00
Alexander A. Klimov e2f6c81bfa Remove obsolete workarounds
refs #11743
2016-10-17 15:00:43 +02: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 014e7c136a Revert "UserGroupBackendForm: Do not persist null values, really"
This reverts commit 975edbe548.

refs #11743
2016-10-12 11:07:21 +02:00
Alexander A. Klimov 5576e00a01 Fix missing translation
refs #12655
2016-09-27 11:22:18 +02:00
Alexander A. Klimov b3a3db6382 Make permission application/log configurable
refs #12655
2016-09-27 11:08:34 +02:00
Eric Lippmann 4398267db5 Merge branch 'bugfix/wrong-url-makes-whole-dashboard-unusable-11920'
fixes #11920
2016-09-09 15:22:48 +02:00
Eric Lippmann 5845d6c0cb Optimize imports in DashletForm
refs #11920
2016-09-09 15:20:45 +02:00
Eric Lippmann eafb689136 Merge branch 'feature/show-git-head-for-modules-11664'
resolves #11664
2016-09-09 14:23:39 +02:00
Eric Lippmann 9237350405 Compile translation for colon 2016-09-01 11:30:16 +02:00
Ken Jungclaus c559055b9d Fix translation for colon
Colon is no comma... gave me a short headache. :)

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2016-09-01 11:30:07 +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
Alexander A. Klimov fa113e023b dashboard/new-dashlet: don't allow external URLs
refs #11920
2016-08-31 15:11:55 +02:00
Eric Lippmann c899456d93 Fix copyright year in ChangePasswordForm
refs #10616
2016-08-04 16:11:43 +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 c37275c9e2 Merge branch 'bugfix/mobile-meta-tags-11910'
fixes #11910
2016-06-07 14:09:29 +02:00
Florian Strohmaier c59bd73e06 Add meta tags for using Web 2 as mobile web app bookmark
refs #11910
2016-06-07 14:09:21 +02:00
Florian Strohmaier 9f5e1d4785 Remove duplicate meta tag for viewport scale
refs #11910
2016-06-07 14:09:11 +02:00
Florian Strohmaier c7b4ef00e2 Replace multiple touch icon images with universal image
refs #11910
2016-06-07 11:26:28 +02:00
Eric Lippmann 3978d70127 Add screenreader compatibility note to the login page 2016-06-02 15:46:18 +02:00
hailthemelody@rm-laptop04 188703cf95 fix various typos
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-06-02 08:24:05 +02:00
Johannes Meyer b759ab6f5a DbResourceForm: Don't show SSL form elements by default
Addded additionally a check for PHP 5.4 so that these elements
are not shown for earlier versions.

refs #11115
2016-05-27 15:45:22 +02:00
Johannes Meyer 5e7817cad2 DbResourceForm: Fix initial db type selection
refs #11115
2016-05-27 15:42:16 +02:00
Lee Clemens 87e774cb88 Add SSL Support to MySQL resources
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-05-27 13:15:48 +02:00
Johannes Meyer 695d2fdaf6 RepositoryForm: Use null as default in methods add() and edit()
An empty array is now considered valid data in method
onUpdateRequest() which now allows to avoid unnecessary
data retrieval.
2016-04-29 09:32:20 +02:00
Johannes Meyer 9c097c3957 RepositoryForm: Introduce method getBaseTable()
Concrete form classes may want to utilize another base table
than the one of the repository.
2016-04-29 09:31:26 +02:00
Eric Lippmann 9ec5a46fae Fix exception if all dashboards are disabled 2016-04-13 12:55:01 +02:00
Eric Lippmann be7263ebfa Fix that only one default dashboard could be removed
fixes #11078
2016-04-13 12:27:25 +02:00
Florian Strohmaier 73a80234cb Fix icon for remove action in the user group list 2016-04-07 10:53:54 +02:00
Florian Strohmaier 9d87b469c7 Fix UserGroup authentication markup for empty state 2016-04-07 10:50:57 +02:00
Florian Strohmaier 4ea1e054e9 Update user and group list controls markup
refs #11145
2016-03-31 10:37:07 +02:00
Markus Frosch 88d973ac39 Restrict access to application log with 'application/log' permission
fixes #11279
2016-03-02 20:47:37 +01:00
Marius Hein 2a9a96c8b4 Update german translation 2016-02-29 22:18:31 +01:00
Eric Lippmann 88f4f68f29 Merge branch 'bugfix/move-auth-backend-configuration-to-app-config-10309'
fixes #10309
2016-02-27 15:25:11 +01:00
Alexander A. Klimov 172ebd0fd4 Escape backend names in authentication backend reorder form 2016-02-24 17:07:07 +01:00
Alexander A. Klimov 21eeeea7ea Don't allow raw double quotes in dashlet URLs 2016-02-23 16:34:18 +01:00
Alexander A. Klimov b670855f25 Dashboard settings: escape panes' names to prevent XSS 2016-02-23 16:34:18 +01:00
Alexander A. Klimov 15c8269a57 Write Url instead of URL not to let IDEs report an unused use statement 2016-02-23 13:32:34 +01:00
Alexander A. Klimov 41e11d3183 Restore the edit user button's title
refs #10442
2016-02-22 11:35:07 +01:00
Alexander A. Klimov 923cd1087f Make edit user button more prominent
refs #10442
2016-02-18 13:07:36 +01:00
Alexander A. Klimov 4e9e0f9b35 Separate the lists of user and group backends with headings
refs #10309
2016-02-17 18:48:47 +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 8958873e77 Change the height of iframes to 99%
refs #10881
2016-02-09 13:54:56 +01:00
Alexander A. Klimov 86834c4993 Add missing html structure to view script
refs #10881
2016-02-09 13:39:44 +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 7fd575080e PHP7: Rename String to StringHelper
refs #10251
2016-01-27 16:46:55 +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 0e4b9f1672 Auto-focus submit button in the confirm removal form 2016-01-25 07:23:12 +01:00
Eric Lippmann 5e51bb9c74 Make notifications accessible 2016-01-22 13:35:51 +01:00
Eric Lippmann da4387cecd Auto-focus error messages 2016-01-18 14:10:55 +01:00
Eric Lippmann 26d6362657 Revert changes of LoginForm 2016-01-18 13:44:54 +01:00
Eric Lippmann e1eb505986 JS: Maintain autosubmit focus 2016-01-18 13:28:36 +01:00
Eric Lippmann 92d8ad42e6 Fix control order in the dashlet form 2016-01-18 12:50:27 +01:00
Eric Lippmann 4251e758a7 Remove tabindex from skip to content jump link 2016-01-18 12:50:27 +01:00
Eric Lippmann 1b744fe335 Remove tabindex from header-logo 2016-01-18 12:50:27 +01:00
Eric Lippmann 17dda6df4e Fix that themes are always disabled in the general config
fixes #10906
2015-12-23 14:03:17 +01:00
Eric Lippmann 9c7c2bd6b1 Show correct default theme in configuration dialogs 2015-12-22 14:10:47 +01:00
Eric Lippmann 9599b63a55 Fix that setting a default theme had not effect 2015-12-22 13:00:01 +01:00
Alexander A. Klimov 21f7af4b64 Revert "Merge branch 'bugfix/logout-requires-restart-of-browser-10330'"
This reverts commit 94f4c670c1, reversing
changes made to 7d5c15469e.

refs #10330
2015-12-17 18:50:51 +01:00
Alexander A. Klimov 2059261eeb NavigationItemForm: use the new target names in createElements()
refs #10330
2015-12-17 18:05:49 +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 8006090108 Merge branch 'feature/theming-10705'
resolves #10705
2015-12-16 12:49:11 +01:00
Eric Lippmann 99f0a348c5 Disable transitions on page load 2015-12-15 13:29:30 +01:00
Eric Lippmann 16e5ce9e73 Fix login markup 2015-12-10 13:34:54 +01:00
Eric Lippmann a5812c6b8a Don't echo the unset layout variables moduleStart and moduleEnd 2015-12-10 13:34:54 +01:00
Eric Lippmann 637f09aa5a Support theming #header-logo
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann c227bcc94d Rename error layout for guests and support theming
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann b193ea5d32 Fix print styles 2015-12-10 13:34:53 +01:00
Alexander A. Klimov ad3f6bbbad LoggingConfigForm: correct syslog application prefix validation
fixes #10781
2015-12-09 17:56:22 +01:00
Johannes Meyer 6679490f13 Merge branch 'master' into feature/theming-10705 2015-12-07 14:25:25 +01:00
Eric Lippmann f51c2ce6ad Support theming for login logo
refs #10705
2015-12-07 14:22:45 +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 a1bb4bb695 Merge branch 'master' into feature/theming-10705 2015-12-07 14:17:57 +01:00
Eric Lippmann a7c6535bf9 Support theming for the header logo
refs #10705
2015-12-07 13:52:14 +01:00
Johannes Meyer c57d1212eb de_DE: Fix login button label
fixes #10771
2015-12-04 07:35:50 +01:00
Eric Lippmann b6b5caace3 Remove unused actions from the StaticController 2015-11-27 16:43:04 +01:00
Eric Lippmann 1f467ecfaa Add theme to the stylesheet if set and ...
... revamp interface of LessCompiler and StyleSheet

refs #10705
2015-11-27 16:40:17 +01:00
Eric Lippmann 958f8e5baf Allow to choose a theme via preferences when there are themes
refs #10705
2015-11-27 15:42:18 +01:00