5638 Commits

Author SHA1 Message Date
Eric Lippmann
4ebfbf83ab Leave note about __SELF__ in our action controller
refs #8626
2015-03-11 21:40:14 +01:00
Eric Lippmann
7f94858b8d Add JSDoc to Icinga.Loader.prototype.processRedirectHeader()
refs #8626
2015-03-11 21:26:44 +01:00
Eric Lippmann
031f9ddc84 Don't always redirect to the current window's URL if the redirect URL is __SELF__
Please see code comments for an explanation.

refs #8626
2015-03-11 21:24:56 +01:00
Eric Lippmann
846a22e7a1 Don't use jQuery in the logout view script
jQuery is not available here because JavaScript is loaded after the content.
This was no problem before because the logout action was submitted using XHR and thus having JavaScript.

refs #8626
2015-03-11 15:35:44 +01:00
Eric Lippmann
0ff8416efb Use View::translate() instead of t() in the logout view script
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
8df9520497 Fix getXMLHttpRequest vs new XMLHttpRequest
I have never ever heard of getXMLHttpRequest.

refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
84348151ce Strings spanning multiple lines continue on the next line ...
... not on the same line

refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
f44d5ec20a Use <br> instead of <br /> in the logout view script
refs #8626
2015-03-11 15:33:14 +01:00
Eric Lippmann
7220d781d8 Fix implicit declaration of variable msg in the logout view script
refs #8626
2015-03-11 15:33:12 +01:00
Eric Lippmann
815dc8a5fa Replace /** with /* for non PHPDoc in the logout script
refs #8626
2015-03-11 14:51:59 +01:00
Johannes Meyer
ba0154ab79 Tab: Use the title as caption if there is no label set yet 2015-03-11 10:21:06 +01:00
Johannes Meyer
4a5e6bfc7c Merge branch 'feature/custom-ldap-filter-8365'
resolves #8365
2015-03-11 09:56:31 +01:00
Johannes Meyer
39a74c4f3d LDAP-Auth backend config: Add support for custom LDAP filter rules
refs #8365
2015-03-11 09:52:14 +01:00
Johannes Meyer
0758be4af1 Add support for dynamic ldap filter expressions
"Dynamic" is a more of a overstatement when describing this commit but
the current implementation is just the start. Once our ldap protocol stuff
supports our filter implementation this will be vastly improved.

refs #8365
2015-03-11 09:50:41 +01:00
Johannes Meyer
2cf09ebc48 Revert "LdapResourceForm: Validate the host field and do not require a port"
This reverts commit a34d6026b31a112922508e01f8aad46df47fd162.

refs #7990
2015-03-11 08:00:20 +01:00
Johannes Meyer
e4e6c1cb28 Wizard: Fix that the wrong form element is used in case a user already exists
fixes #8678
2015-03-11 07:59:04 +01:00
Markus Frosch
e72e340faa Remove Debian packaging from GIT
Refs #6402
2015-03-10 18:25:21 +01:00
Johannes Meyer
a34d6026b3 LdapResourceForm: Validate the host field and do not require a port
fixes #7990
2015-03-10 15:03:48 +01:00
Johannes Meyer
f87a43b9d3 Catch errors occuring on ldap discoveries
fixes #8656
2015-03-10 13:24:54 +01:00
Johannes Meyer
d0383a241e Use date and mktime instead of cal_days_in_month to count a month's days
fixes #8637
2015-03-10 12:30:22 +01:00
Johannes Meyer
b978fdb115 Merge branch 'feature/conditional-requirements-8508'
resolves #8508
2015-03-10 12:07:57 +01:00
Johannes Meyer
f4446cbade Add todo to the MonitoringWizard related to the livestatus backend type
The requirement should be added to the OR-set that has currently both
ido requirement sets so that livestatus may the only choice again.

refs #8254
2015-03-10 11:00:51 +01:00
Johannes Meyer
59f43a0f5e Show module requirements as a separate table
refs #8508
2015-03-10 10:56:05 +01:00
Johannes Meyer
c44d5d2a73 Use a custom RecursiveIteratorIterator to render a RequirementSet
refs #8508
2015-03-10 09:31:57 +01:00
Johannes Meyer
bc450c573d Refactor and fix requirement evaluation
refs #8508
2015-03-10 09:12:06 +01:00
Johannes Meyer
e80786d63d Rename Requirements to RequirementSet
refs #8508
2015-03-09 09:05:56 +01:00
Johannes Meyer
4badbc660b Merge branch 'master' into feature/conditional-requirements-8508 2015-03-09 08:51:03 +01:00
Gunnar Beutner
8ef119dd39 Update AUTHORS 2015-03-08 15:32:42 +01:00
Louis Sautier
003a9be43d Fix external authentication with nginx
fixes #8634

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:34 +01:00
Louis Sautier
083c1a9e6b Fix some spelling errors in comments and messages
fixes #8633

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:22 +01:00
Eric Lippmann
d414d7e395 Fix that preferences can't be stored in a database
The mtime column is a column to update, not a column for the where condition.

fixes #8629
2015-03-08 10:19:17 +01:00
Johannes Meyer
cddcde9494 Setup: Automatically check the respective admin account type selection
resolves #8603
2015-03-06 15:41:25 +01:00
Johannes Meyer
c0deeefe00 Re-add dashboard link to the upper left logo
fixes #8592
2015-03-06 13:44:14 +01:00
Johannes Meyer
f45f00b022 Run a module's configuration script only in case it has been registered
fixes #8601
2015-03-06 13:25:04 +01:00
Johannes Meyer
d7dcbb48a2 Do not try to access a module's title if there is none 2015-03-06 13:23:22 +01:00
Johannes Meyer
4324385010 Do not load a module twice while enabling it 2015-03-06 13:22:51 +01:00
Johannes Meyer
f3fa743022 Fix login when using a PostgreSQL database as authentication backend
fixes #8524
2015-03-06 11:03:45 +01:00
Johannes Meyer
ff6658324a Merge branch 'feature/exhaustive-form-descriptions-7947'
resolves #7947
2015-03-06 09:51:09 +01:00
Johannes Meyer
9ca0d6a32e Merge branch 'master' into feature/exhaustive-form-descriptions-7947 2015-03-06 09:50:48 +01:00
Johannes Meyer
886cc863f0 Add form element value expectation descriptions where required
I did not adjust the DateTimePicker element as the sent format is
controlled by the useragent due to either the datetime-local input
type or a javascript datetimepicker. (which does not exist yet, though)
Mentioning the RFC 3339 format such a picker expects is very likely
going to lead to confusion on an end user's side otherwise.

refs #7947
2015-03-06 09:49:15 +01:00
Johannes Meyer
6cfa958bb8 Allow setting `requirement' on form elements
It's supposed to be used as description what
kind of value an element will accept.

refs #7947
2015-03-06 08:53:34 +01:00
Eric Lippmann
2df7c60a19 puppet: Provision the roles.ini
fixes #8617
2015-03-05 17:16:21 +01:00
Johannes Meyer
b9811f8590 Form: Do not set the requiredSuffix as option but use its virtual setter
This removes the invalid attribute on each <label> tag once the
FormDescriptions decorator removes the suffix.

refs #7947
2015-03-05 15:13:38 +01:00
Johannes Meyer
b8eedc21bb Form: Explicitly set subform decorators
refs #7947
2015-03-05 15:12:02 +01:00
Johannes Meyer
764f125778 Make the FormDescriptions decorator able to handle sub forms
refs #7947
2015-03-05 15:08:30 +01:00
Johannes Meyer
31560c9249 Wizard: Explain that the webserver user must be in the group "icingaweb2"
resolves #8491
2015-03-05 10:30:06 +01:00
Johannes Meyer
5c371a6d0b Fix form tests 2015-03-04 09:43:37 +01:00
Johannes Meyer
ff263946c8 Form: Fix translation domain detection while running unit tests 2015-03-04 09:38:00 +01:00
Johannes Meyer
6e61980dd2 Fix operator precedence when detecting the default locale
fixes #8370
2015-03-04 08:28:30 +01:00
Johannes Meyer
e2887df03e Form: It's a field, not a control 2015-03-03 15:01:09 +01:00