Commit Graph

10902 Commits

Author SHA1 Message Date
Johannes Meyer f6166b3ab6 ActionController: Allow to control which inline view script to use
This also affects that rerendering the layout does only have any effect
in case of XHR requests and is not overwritten anymore in this case.
Since this property was previously private, this should not break anything.
2017-06-28 11:14:01 +02:00
Johannes Meyer 22223acf1d Controllers: Make all private properties protected
Controllers are neither library stuff nor any vital part that need to be
protected from too adventurous module developers.
2017-06-28 09:51:28 +02:00
Eric Lippmann c554ebb473 Merge pull request #74 from Icinga/feature/travis 2017-06-23 14:45:38 +02:00
Alexander A. Klimov 8b43bd6646 Remove LdapBackendForm::isValidPartial() 2017-06-21 16:59:46 +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
Alexander A. Klimov fa5bc6c1ae Wizard: make LDAP domain discovery working again
refs #2153
2017-06-20 15:46:31 +02:00
Alexander A. Klimov 9237c3e27d Wizard: make AD discovery working again
refs #2153
2017-06-20 14:46:44 +02:00
Johannes Meyer 46647444c4 Repository: Fix broken conversion rules
The additional layers in $aliasTableMap and $aliasColumnMap required
for DbRepository's join probabilities are now only established there.
2017-06-20 08:32:44 +02:00
Alexander A. Klimov 6668556e50 Document domain-aware authentication
refs #2153
2017-06-19 09:37:17 +02:00
Johannes Meyer 8ee6e763a6 ActionController: Ensure to utilize the response to redirect and exit 2017-06-19 09:11:12 +02:00
Eric Lippmann a119ed1589 Add more help text to the login domain configurations
refs #2153
2017-06-13 11:15:53 +02:00
Markus Frosch b86789ecc5 Util/Json: Support PHP 5.3 2017-06-13 11:07:16 +02:00
Markus Frosch 3d3b1cdf4f RestRequestTest: Fully qualify expected exception 2017-06-13 11:07:16 +02:00
Markus Frosch 593fd485f6 Add travis testing 2017-06-13 11:07:16 +02:00
Eric Lippmann 178d5f8283 Add CLI command for migrating users according to a given domain
refs #2153
2017-06-12 13:31:08 +02:00
Eric Lippmann 755b2108a8 Schema: Increase length of username columns
In order to support usernames with domains, the length of the username columns is now 254 which also supports email addresses as usernames.

refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 53eae8d93e Add limit parameter to StringHelper::trimSplit()
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann cfbd5c500e Make LDAP user group backends domain-aware
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 0cbec01743 Make auth via LDAP user backends domain-aware
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 9599f6672f Add domain config to LDAP user group backends if the backend is not linked w/ a LDAP user backend
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 9ac8253290 Make membership loading domain-aware
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 05288e9bea Add interface for user backends which are responsible for a specific domain
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 8fbde51b5f Throw an exception in User::getDomain() if the user does not have a domain
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann b34d1977d8 Fix discover domain btn
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann de62fa6baa Change label for the default domain config
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann 41acffdc24 Login: set the default domain if necessary
refs #2153
2017-06-12 13:31:07 +02:00
Alexander A. Klimov 1a5e64eda9 Any backend is responsible for at most one domain
refs #2153
2017-06-12 13:31:07 +02:00
Alexander A. Klimov 8359771271 LdapCapabilities: discover NetBIOS name of an AD
refs #2153
2017-06-12 13:31:07 +02:00
Alexander A. Klimov 2b9e9bf2b3 User: split the username into localpart and domain (if given) 2017-06-12 13:31:07 +02:00
Alexander A. Klimov 46c5b30de8 Make a default domain configurable
refs #2153
2017-06-12 13:31:07 +02:00
Alexander A. Klimov 9400bf9224 LDAP user backend form: implement populateDomains()
refs #2153
2017-06-12 13:29:54 +02:00
Johannes Meyer df04c0f837 ActionController: Introduce constant DEFAULT_TITLE
Controllers are now allowed to fully customize the page title.
2017-06-09 11:13:37 +02:00
Alexander A. Klimov 0b8e4d4b5c LDAP user backend form: discover and store the LDAP server's domains
refs #2153
2017-06-07 10:19:52 +02:00
Eric Lippmann 6e2c128c54 Merge commit 'd74124bd12f53d13b5a6ea5408e9783cc5190d1e' 2017-06-06 10:56:54 +02:00
Johannes Meyer 91b0e98171 DbRepository: Allow to pass parameter $types to methods insert() and update()
DbConnection does already support this but it got somehow forgotten in this
class.
2017-06-06 09:48:40 +02:00
Johannes Meyer 29f9ff5ce0 DbRepository: Fix that virtual tables are not resolved when issuing statements 2017-06-06 09:33:06 +02:00
Johannes Meyer b8ae738f7f DbRepository: Add support for join probabilities
Finally solves the issue with those nasty column prefixes..
2017-06-06 09:29:05 +02:00
Johannes Meyer 7482a34b45 Repository: Check prefixed aliases earlier when inspecting $aliasTableMap
Avoids false-positives in case an exact match using $columnTableMap is
possible, though $aliasTableMap holds a prefixed entry.
2017-06-06 09:24:56 +02:00
Johannes Meyer fdb31e8d1c DbConnection: Support raw sql expressions in methods insert() and update() 2017-06-06 09:07:52 +02:00
Eric Lippmann 693a893cad Merge branch 'feature/alpine-linux-docs'
closes #2727
2017-06-02 09:51:16 +02:00
Francesco Colista e267aeb655 doc: Add install instructions for Alpine Linux
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-06-02 09:50:52 +02:00
Eric Lippmann bdd38e6d5c Merge pull request #2851 from tobiasvdk/master
Timeline: fix link to acknowledgements
2017-06-02 09:41:29 +02:00
Eric Lippmann 74c90b8f77 Merge pull request #2739 from Icinga/bugfix/icinga-timer-can-lock-up-the-browser-11693
Icinga.Timer: use setTimeout() instead of setInterval()
2017-06-02 09:38:44 +02:00
Eric Lippmann 50971ea8e2 Merge pull request #2725 from Icinga/bugfix/browser-timezone-detection-2716
TimezoneDetect: support also negative timezone offsets
2017-06-02 09:32:59 +02:00
Johannes Meyer b2d86df660 DbRepository: Fix that virtual tables are not resolved for statement columns 2017-05-30 13:57:58 +02:00
Tobias von der Krone a7f5278aee Timeline: fix link to acknowledgements
refs #2850
2017-05-26 12:28:34 +02:00
Eric Lippmann af81006bce Merge pull request #2849 from Icinga/feature/contributing-github
Add CONTRIBUTING.md and GitHub issue template
2017-05-24 16:50:28 +02:00
Michael Friedrich ffd371f257 Add CONTRIBUTING.md and GitHub issue template 2017-05-24 11:17:48 +02:00
Johannes Meyer 8a890a4a82 ActionController: Allow controllers to customize the login route 2017-05-19 08:39:11 +02:00
Eric Lippmann a4a0f9f5e6 Allow to filter notifications by notification_reason
refs #2698
2017-05-04 14:38:00 +02:00