Commit Graph

4159 Commits

Author SHA1 Message Date
Marius Hein 2172937138 Fix PSR compliance
Add some inspection items to fix.

refs #4246
2013-06-07 13:35:03 +02:00
Marius Hein e05ca449ae Fix PSR compliance
Alter files to follow PSR standards.

refs #4246
2013-06-07 13:29:11 +02:00
Jannis Moßhammer 9ff7638c17 Merge branch 'feature/uitest-4213' of ssh://git.icinga.org/icinga2-web into feature/uitest-4213
Conflicts:
	test/frontend/runtests
	test/frontend/runtests.sh

refs #4213
2013-06-07 10:38:02 +02:00
Jannis Moßhammer 3e4ae41e8a Rename runtests.sh to runtest
As we have different executables for executing the runtests scripts,
runtests.sh is now renamed to runtests in order to stay consistent
over all testrunners

refs #4213
refs #4244
2013-06-07 10:34:39 +02:00
Eric Lippmann e9bd0648ab Vagrant/LDAP: Fix members of group `Users`
refs #4218
2013-06-06 17:06:48 +02:00
Marius Hein 172c699c47 Fix PSR compliance
Commit first part of correction.

refs #4246
2013-06-06 16:52:54 +02:00
Jannis Moßhammer b253c4c069 Renamed runtest to runtests.sh
refs #4213
2013-06-06 16:13:32 +02:00
Jannis Moßhammer 26644b091b Renamed runtest to runtests.sh 2013-06-06 16:13:16 +02:00
Jannis Moßhammer 359b51be43 Add testrunner for frontend tests
This runner should conform to our runner specification

refs #4213
refs #4244
2013-06-06 16:07:32 +02:00
Jannis Moßhammer a1298e6edd Add dummy test case for casperjs
The dummy test only checks whether our build server has the correct
title when called. Also the i2w-config.js toolkit is provided
to help testing correct paths

refs #4213
2013-06-06 16:05:55 +02:00
Eric Lippmann 59b9a7a448 Vagrant: Add openldap stack w/ example data
refs #4218
2013-06-06 12:27:28 +02:00
Eric Lippmann 11f4a5b0b5 Merge branch 'feature/php-regression-4102'
Conflicts:
	.gitignore
2013-06-05 11:19:12 +02:00
Marius Hein beb6fde90a Merge branch 'feature/Vagrant-4202'
Conflicts:
	.gitignore
2013-06-05 10:53:35 +02:00
Marius Hein 29f032502c Integrate regression tests
Add js regression structure and configured mocha
2013-06-04 17:20:18 +02:00
Marius Hein 8d08167d11 Integrate regression tests
Removed javascript directory, because we use js for that.

refs #4102
2013-06-04 16:00:35 +02:00
Marius Hein a221568a84 Integrate regression tests
Add regression testing for php: structure and bogus test.

refs #4102
2013-06-04 15:55:44 +02:00
Eric Lippmann c09508212a Vagrant: Add MK Livestatus
refs #4217
2013-06-04 14:27:13 +02:00
Eric Lippmann 039ab7ec55 Vagrant: Install icinga plugins
refs #4229
2013-06-04 12:42:18 +02:00
Marius Hein 5df14b41e1 Merge branch 'feature/build-server-integration-4067'
Conflicts:
	.gitignore
2013-06-04 11:40:20 +02:00
Marius Hein 321aa9b4e3 Integrate PHPCS
Include only own code, test for binary

refs #4070
2013-06-04 11:26:12 +02:00
Marius Hein ed24a90c1a Integrate PHPUNIT
Modify tester, chdir to tests directory and test binary

refs #4068
2013-06-04 11:20:22 +02:00
Eric Lippmann ebfe5ab7f0 Vagrant/PostgreSQL: Install php library
refs #4215
2013-06-04 10:22:17 +02:00
Marius Hein 9b907e3cd3 Move tested existing resources to new productive repository
Rename docs, tests and test/ui to doc, test and test/frontend to
suite skeleton definition.

refs #4212
2013-06-04 10:20:51 +02:00
Marius Hein 65a8975117 Move tested existing resources to new productive repository
Drop swap filed

refs #4212
2013-06-04 10:18:02 +02:00
Marius Hein 4bb3e73d41 Move tested existing resources to new productive repository
Add initial gitignore file

refs #4212
2013-06-04 10:10:45 +02:00
Eric Lippmann 8c3bc30677 Vagrant/Icinga w/ PostgreSQL: Add proper apache configuration
Icinga with IDOUtils running on a PostgreSQL database is now available
via /icinga-pgsql

refs #4215
2013-06-03 18:01:49 +02:00
Eric Lippmann fc370f7801 Vagrant/Icinga w/ MySQL: Add proper apache configuration
Icinga with IDOUtils running on a MySQL database is now available
via /icinga-mysql

refs #4216
2013-06-03 17:54:44 +02:00
Eric Lippmann 9eafe3b54a Vagrant/PHP: Require package apache
refs #4232
2013-06-03 17:38:16 +02:00
Eric Lippmann 62c90f91e0 Vagrant/PostgreSQL: Remove owner and group settings from pg_hba.conf
This keeps postgres as owner and group.

refs #4215
2013-06-03 17:35:19 +02:00
Eric Lippmann fc8584b6f8 Vagrant: Fix failing mount "./pub", "./pub" missing on host
refs #4231
2013-06-03 17:30:46 +02:00
Jannis Moßhammer d7bbf256b3 Add additional resources
refs #4212
2013-06-03 17:05:59 +02:00
Jannis Moßhammer aab69a41e8 Add tested ldap and web libraries
refs #4212
2013-06-03 17:02:08 +02:00
Jannis Moßhammer 2a9d7aa187 Add tested commandpipe connector
refs #4212
2013-06-03 16:56:08 +02:00
Jannis Moßhammer f6b5f5d405 Add tested Backend ressource
Only statusdat is currently tested

refs #4212
2013-06-03 16:36:10 +02:00
Jannis Moßhammer 8abfd0a2d0 Add tested application-wide resources
- Logging
- Qlinks

refs #4212
2013-06-03 16:24:11 +02:00
Jannis Moßhammer ba38c89755 Add tested Statusdat Protocol
In order to run the tests, phpunit must be called in the
tests/php folder

refs #4212
2013-06-03 16:14:46 +02:00
Johannes Meyer 4b225eccee Fix: Style-checkers report their output to wrong location 2013-06-03 16:07:52 +02:00
Jannis Moßhammer 66b8f70e3e Add vendor libraries
we use the following vendor libraries:
- Markdown.php for on-the-fly creation of documentation
- htmlpurifier for sane HTML output
- lessphp for on-the-fly creation of css out of less files
- tcpdf for pdf generation in the backend

refs #4212
2013-06-03 15:37:30 +02:00
Jannis Moßhammer 4b2b28b65b Add test directory from incubator
This contains only php tests, although the folders
for javascript and ui are created now

refs #4212
2013-06-03 15:34:57 +02:00
Marius Hein 71f2c408df Integrate PHPCS
Fix absolute directory issue.

refs #4070
refs #4098
refs #4099
2013-06-03 15:29:54 +02:00
Eric Lippmann ed3127a223 Vagrant: Fix failing mount "./pub" running `vagrant up` for the first time
User apache and group apache is only available after provisioning.
Mounting shared folders happens before. Thus :owner and :group
settings removed.

refs #4231
2013-06-03 15:18:26 +02:00
Marius Hein 0592bff4ef Build server
Add absolute directory for helper scripts

refs #4067
refs #4213
refs #4099
refs #4098
refs #4214
2013-06-03 15:13:42 +02:00
Johannes Meyer 420f407df4 Fix: Doc-runner uses wrong file extension.
Updated Doc-runner so that it converts files with
the md-extension instead of the txt-extension.

refs #4214
2013-06-03 11:40:42 +02:00
Eric Lippmann 51c7d697db Vagrant: Update documentation
refs #4231
2013-06-03 11:39:34 +02:00
Eric Lippmann 4783cb0706 Vagrant: Forward port 80 to 8080
refs #4232
2013-06-03 11:39:15 +02:00
Johannes Meyer 3a90825f9e Add runner to generate html documentation.
Implemented runner which translates each .txt
file located in doc/ to html by using markdown.

refs #4214
2013-06-03 11:29:57 +02:00
Johannes Meyer ee63f3fbd8 Make Git ignore build/* and create it as needed.
refs #4068
refs #4070
refs #4098
refs #4099
2013-06-03 10:36:27 +02:00
Johannes Meyer 5b58c07e28 Establish directory structure for builds and tests. 2013-05-31 14:15:14 +02:00
Johannes Meyer 5118432b82 Add support for jshint reports.
Integrated style-checker for javascript source code.

refs #4098
2013-05-31 13:52:12 +02:00
Johannes Meyer 3544af245f Add support for javascript unittests.
Integrated test-runner for Mocha which covers
test-execution and code-coverage measurement.

refs #4099, refs #4087
2013-05-31 13:51:07 +02:00