576 Commits

Author SHA1 Message Date
Marius Hein
0ca0eef311 Test: Using autoloader for tests
refs #4639
2014-04-09 09:23:58 +02:00
Thomas Gelf
f67b83fb75 Remove obsolete frontend tests 2014-03-29 21:46:13 +00:00
Thomas Gelf
8ca9437a9c Remove obsolete JavaScript tests 2014-03-29 15:27:01 +00:00
Johannes Meyer
f802b36ca9 Move session class files 2014-03-25 11:13:10 +01:00
Eric Lippmann
07d04628cf Merge branch 'feature/installation-and-configuration-cleanup-5638'
Conflicts:
	config/config.ini.in
	library/Icinga/Application/ApplicationBootstrap.php
	library/Icinga/Application/Cli.php
	library/Icinga/Application/EmbeddedWeb.php
	library/Icinga/Application/Logger.php
	library/Icinga/Application/Modules/Manager.php
	library/Icinga/Application/Web.php
	library/Icinga/Authentication/Backend/DbUserBackend.php
	library/Icinga/Authentication/Manager.php
	library/Icinga/User/Preferences/IniStore.php
	test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Johannes Meyer
1e7c863e3c Add stream writer
refs #5683
2014-02-26 13:47:16 +01:00
Johannes Meyer
031c91ce4a Fix tests that make use of the log wrapper
refs #5683
2014-02-26 11:21:23 +01:00
Johannes Meyer
485bbcd25d Fix AuthenticationManager test 2014-02-21 14:14:45 +01:00
Eric Lippmann
af342d6b3a Tests: Fix Fatal error: Class 'Icinga\Exception\NotReadableError' not found 2014-02-20 14:02:29 +01:00
Eric Lippmann
8edf421c45 Replace debug log with respecting log priorities
refs #5638
fixes #5522
2014-02-18 14:46:15 +01:00
Markus Frosch
971a87c608 Fixed executable flags on normal files.
Refs #5040
2014-02-18 09:42:13 +01:00
Eric Lippmann
08d7edebfc Decouple (automatic) preferences storage from user preferences (WIP)
DbStore, persisting preferences and tests not yet reworked.
2014-02-14 17:28:11 +01:00
Eric Lippmann
41ffa1d7c2 Fix PHP Fatal error: Class 'Icinga\Authentication\Membership' not found in ManagerTest.php 2014-02-14 12:11:49 +01:00
Marius Hein
b78eb52732 Fix LoggerTest
fixes #5561
2014-02-11 17:12:17 +01:00
Marius Hein
9b45898ed9 Fix: Missing class in GeneralFormTest 2014-02-11 17:12:17 +01:00
Johannes Meyer
6cc4f1b53a Fix authentication backend tests 2014-01-29 15:57:51 +01:00
Johannes Meyer
2bf9b96aab Extend functionality of session namespaces and add tests
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
cf778d4609 Implement session namespaces
refs #5510
2014-01-24 14:44:19 +01:00
Johannes Meyer
ac0b041523 Remove session handling from the authentication manager
refs #5510
2014-01-24 14:44:19 +01:00
Matthias Jentsch
85dbd86e5b Change all UserBackends to a lazy connection-behavior
refs #5506
2014-01-22 13:04:11 +01:00
Marius Hein
5d31633eb5 Fix salt and password used in wrong position
fixes #5227
2013-11-27 11:32:07 +01:00
Matthias Jentsch
2a0add3ec3 Fix messages in ConfigController
Store messages in the current user session to be able to fetch messages from
other controllers, so that the use can be redirected back to the index, instead
of staying in the original action

refs #5100
2013-11-20 19:10:38 +01:00
Matthias Jentsch
941ce6d68e Fix bug that caused ajax-request to override values written to the session
Authentication/Session.php and its Subclasses do not have a open/closed -state
anymore. Read will refresh the session, write will always write the changes,
and opening/closing will be handled internally.

refs #5101
2013-11-20 12:01:40 +01:00
Matthias Jentsch
984ed0b006 Fix LdapBackendForm unit test
refs #4786
2013-11-13 18:33:34 +01:00
Matthias Jentsch
bd38e998d7 Provide a cleaner interface for the Authentication Backends
refs #4786
2013-11-06 14:49:16 +01:00
Matthias Jentsch
59d4baff0b Fix remaining references to DbUserBackend and refresh the documentation.
refs #4786
2013-11-06 13:31:07 +01:00
Matthias Jentsch
ad08691362 Extend resources.ini to contain all resources, including ldap
Remove the old calls to DbAdapterFactory and use ResourceFactory instead. Remove
the DbAdapterFactory and fix all unit tests that have been broken due to the changes.
Change the functionality of the ResourceFactory to also handle LdapConnections

resolves #4587
2013-11-06 10:20:15 +01:00
Eric Lippmann
ca1d50ae53 Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:06 +02:00
Marius Hein
b071160cdc Fix tests for ldap and login mask
refs #4941
2013-10-22 17:50:21 +02:00
Marius Hein
7c6355613f Change default path in tools and documentation
refs #4926
2013-10-22 11:56:36 +02:00
Jannis Moßhammer
b553b4b61e Fix tests reflecting removed 'OR' queries and array operator 2013-10-21 17:15:39 +02:00
Jannis Moßhammer
f3bbf09bae Status.dat query fixes and documentation after rebase
refs #3801
2013-10-20 15:16:44 +02:00
Jannis Moßhammer
f350011028 Add Status.dat backend
refs #3801
2013-10-20 15:16:44 +02:00
Marius Hein
23de93e400 Fix TabTest used with icon class
fixes #4915
2013-10-18 11:32:53 +02:00
Jannis Moßhammer
7a7c10e8df Fix EventHistory Query and tests
refs #4868
2013-10-17 20:53:11 +02:00
Jannis Moßhammer
4a95ba3468 Change url handling to detail on hashtag, add service filter
The url is now
http://%mainUrl%#%anchor%!detail=%detailUrl%
which allows us to better support IE and prevents
the detail url from appearing on the server side.

refs #4868
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
c034a5eff8 Fix tests and a few member access issues
refs #3801
2013-10-17 19:55:00 +02:00
Jannis Moßhammer
44be5e85da Refactoring and Query and IDO code,
the Monitoring/View code was completly dropped in favor of
the DataView implementations, as new Backends otherwise
would require to implement two seperate query logics

refs #3801
2013-10-17 19:54:58 +02:00
Jannis Moßhammer
d33cec78de Semantic search implementation
- Only implemented for hosts as an example
- URL behaviour still has to be normalized

refs #4469
2013-10-17 19:52:52 +02:00
Jannis Moßhammer
24da98be83 Implement base filter library and tests
refs #4469
2013-10-17 19:52:25 +02:00
Eric Lippmann
a42668edb8 Fix tests
refs #4663
2013-10-09 09:20:17 +02:00
Marius Hein
81cdb70b31 CS: Add license header to js test files 2013-10-04 15:32:39 +02:00
Marius Hein
1db06637be Add frontend test for load indicator
refs #4400
2013-10-04 15:32:38 +02:00
Jannis Moßhammer
7690b0ec7f Add basic tests and meta attributes for graphs
refs #4614
2013-09-25 14:24:26 +02:00
Marius Hein
4b97742371 Fix frontend test: regression-4622.js
refs #4611
2013-09-24 12:51:57 +02:00
Jannis Moßhammer
376dc8cd0f Document form and container behaviour and simplify
Now the whole page gets refreshed on container changes, if
we encounter issues with that we can improve it afterwards
or roll back some cahnges already made in previous commits

refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer
6d26240d6d Add Main detail state to url, renderhelper, container tests
-   The ActionController is now able to render a seperate detail view
-   All list scripts select the currently active row from the detail view with
    the 'active' class
-   Autosubmit is now again attached to the onchange attribute (to prevent issues
    when js can't load correctly)
-   Logout is now recognized and causes a page refresh (will be made more generic)
-   Add history mock for testing url changes
-   Update all grids to implement the app/mainDetailGrid component

refs #4611
2013-09-23 13:56:57 +02:00
Jannis Moßhammer
e6b3a54e90 Add/modify JavaScript components for main/detail and their tests
This commit introduces the following changes (although they are not
implemented in the templates, this follows):
- links in the top and navigation bar are loaded in the background
- generic main/detail container component handling click/load delegation
- mainDetailGrid implementation handling selection and render targets
- Generic history implementation handling URI change detection and reloading

refs #4611
2013-09-23 13:55:49 +02:00
Eric Lippmann
24f64e6d30 Fix conflicts from rebase, using inet_aton with pgsql, PHP strict standards violations, CS compliance
refs #4255
2013-09-17 15:12:18 +02:00
Thomas Gelf
bb99358a21 Renamed MonitoringView to AbstractView 2013-09-17 10:41:02 +02:00