Johannes Meyer
fa7379adc7
Enable dynamic form elements
...
Expire time of the AcknowledgeForm and hours as well as
minutes of the ScheduleDowntimeForm are now dynamic.
refs #4439
2013-08-06 11:09:42 +02:00
Johannes Meyer
98e7ab02db
Implement dynamic form elements
...
Rename "isPostAndValid" to "isSubmittedAndValid" and refactor it.
Add possibility for specific form elements to auto-submit their form.
refs #4439
2013-08-06 11:09:42 +02:00
Jannis Moßhammer
cc77a55435
Merge branch 'feature/send-commands-4441'
...
resolves #4441
2013-08-06 09:58:42 +02:00
Marius Hein
c9c5e6ef3c
Send commands: Review fixes
...
refs #4441
2013-08-06 09:32:27 +02:00
Jannis Moßhammer
a58c933a29
Code style and comment fixes
...
refs #4441
2013-08-06 09:32:27 +02:00
Jannis Moßhammer
7675ea0514
Call commandhandler from commandcontroller actions
...
The CommandController now implements the calls to the specific
command methods and sends commands to the icinga process
refs #4441
2013-08-06 09:31:13 +02:00
Jannis Moßhammer
1894054929
Implement first commands, fix obsessing state
...
refs #4441
2013-08-06 09:30:25 +02:00
Jannis Moßhammer
029ff17cec
Add documentation for instances.ini
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
c2781f4969
Fix test cases for Confirmation forms
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
4f1e6ec720
Code style and comment fixes
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
81c2f3b9de
Add list of objects that are affected by a command
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
b44de95caa
Call commandhandler from commandcontroller actions
...
The CommandController now implements the calls to the specific
command methods and sends commands to the icinga process
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
2091f63c3b
Implement first commands, fix obsessing state
...
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
d6bbed3a54
Extract the transport functions from the CommandPipe
...
- The CommandPipe class now delegates submission of commands to
the Transport classes (LocalPipe or SecureShell)
- Added SSH options for non-interactive mode
- Refactored tests
refs #4441
2013-08-06 09:27:37 +02:00
Johannes Meyer
9b292e6711
Merge branch 'bugfix/session-path-for-tests-4461'
...
resolves #4461
2013-08-05 14:52:50 +02:00
Jannis Moßhammer
5a82c37ed1
Fix session test save path not being writable for vagrant user
...
The tests now try to write to /tmp and are skipped if this folder
is not writable. Also the test has been refactored a bit (comments,
assertion messages)
regs #4461
2013-08-02 15:35:05 +02:00
Jannis Moßhammer
ce4ea10a0a
Merge branch 'feature/validate-NO_ZERO_IN_DATE-4255'
...
fixes #4255
2013-08-02 15:11:24 +02:00
Thomas Gelf
06fc3e395e
NO_ZERO_IN_DATE is available since MySQL 5.0.2
...
refs #4255
2013-08-02 15:10:09 +02:00
Jannis Moßhammer
e9b002bdcd
Merge branch 'feature/downtime-overview-4188'
...
fixes #4188
2013-08-02 14:53:39 +02:00
Matthias Jentsch
e47954b471
dd downtime overview
...
Add the downtime overview view, add the downtimes controller action, fix issues
with the the DowntimeQuery and add the new fields to the DowntimeView. Fix
issues in the ShowController that occur due to the changes in the DowntimeQuery.
refs #4188
2013-08-02 14:48:16 +02:00
Eric Lippmann
23121c2d76
Merge branch 'feature/refactor-url-4381'
2013-08-02 13:15:03 +02:00
Jannis Moßhammer
5c3eb1d796
Style fixes and addParam test
...
refs #4381
2013-08-02 13:14:56 +02:00
Jannis Moßhammer
50ca1aec1a
Refactor URL class and test
...
The constructor of the class is now private, instantiation happens
with Url::fromRequest and Url::fromPath. Also updated all occurences
of Url and fixed the Qlink helper to not overwrite the baseUrl with null
values
refs #4381
2013-08-02 13:14:55 +02:00
Eric Lippmann
e24d3ca031
Merge branch 'feature/testdoc-4263'
2013-08-02 13:14:43 +02:00
Jannis Moßhammer
01f7661fff
Documentation for testing
...
This contains a general guideline for tests, php, js and
frontend test-examples, a short description of test-fixtures
and a test setup and execution guide.
refs #4263
2013-08-02 13:14:34 +02:00
Eric Lippmann
14a30ccaf5
Merge branch 'feature/user-preference-api-4066'
...
resolves #4066
2013-07-30 14:09:35 +02:00
Marius Hein
5ade338632
Fix wrong getter after renaming
...
refs #4066
2013-07-30 14:06:46 +02:00
Marius Hein
a1a8d4c157
Code compliance change and rename refs to User
...
refs #4066
2013-07-30 14:06:46 +02:00
Marius Hein
8510d57cf8
Prepare user settings api
...
Rework application bootstrap, move user object to its new location, implement web
request class to handle the user object.
refs #4066
2013-07-30 14:06:46 +02:00
Eric Lippmann
457f9b8f50
Db: Set MySQL server SQL modes to behave closer to ANSI SQL
...
refs #4413
2013-07-29 18:37:59 +02:00
Eric Lippmann
104925dff4
Vagrant: Enable XDebug remote debugging
...
refs #4460
2013-07-29 18:37:40 +02:00
Eric Lippmann
89a2ad9cb5
Vagrant: Add php-ZendFramework-Db-Adapter-Pdo-Pgsql
...
refs #4443
2013-07-29 18:36:25 +02:00
Eric Lippmann
bcf53cbbd5
Vagrant: Add icinga_unittest databases
...
refs #4442
2013-07-29 18:35:40 +02:00
Eric Lippmann
f47747255e
Vagrant: Enable InnoDB
...
NOTE that if your VM is already provisioned you have to remove
the MySQL ib_logfiles before reprovisioning, i.e.
$ rm /var/lib/mysql/ib_logfile*
refs #4460
2013-07-29 18:04:13 +02:00
Thomas Gelf
f2c6a66de7
Code cleanup, fixed and extended MySQL SQL_MODE
2013-07-29 13:24:25 +00:00
Matthias Jentsch
d5d0da6b1b
Add missing property comments in DbUserBackendTest
...
refs #3769
2013-07-29 12:47:15 +02:00
Matthias Jentsch
e51737f42a
Fix the installation manual, comments and give the unit-test functions a more
...
verbose name
refs #3769
2013-07-29 11:42:31 +02:00
Matthias Jentsch
94e9ffc7b3
Fix comments
...
refs #3769
2013-07-26 15:57:37 +02:00
Jannis Moßhammer
845654b77f
Fix strict error on ldap auth-fail, ldap is default auth now
...
refs #3769
refs #4463
2013-07-26 15:29:13 +02:00
Jannis Moßhammer
306a51271b
Change 'user' table to 'account', error handling and docs
...
Fix installation instructions for postgresql, the user table is now
'account', as user is a keyword in some rdbms, now catching exceptions
and returning auth failed while logging errors
refs #3769
2013-07-26 15:01:52 +02:00
Matthias Jentsch
ce95511890
Change default database to "icingaweb" and add installation instructions
...
Set the default database and user to "icingaweb" in the authentication.ini. Add
instructions about how to set up the databases to authentication.ini.
refs #3769
2013-07-26 13:10:00 +02:00
Matthias Jentsch
fd4cbf1c5b
Add default login to the authentication database
...
refs #3772
2013-07-26 13:10:00 +02:00
Matthias Jentsch
b013966464
Fix unit tests and add documentation
...
Add functionality to check if a certain database type like psql or mysql is
available and skip the tests accordingly.
Add documentation for backend authentication.
refs #3769
2013-07-26 13:09:59 +02:00
Matthias Jentsch
2807982f72
Remove crypto-module and use libraries instead
...
Remove the crypto-module to reduce amount of dependencies and use hash_hmac
with SHA256 instead.
refs #3769
2013-07-26 13:09:59 +02:00
Matthias Jentsch
3ff0c0f02a
Adds DbUserBackend to handle the authentication against a sql db.
...
Users should be able to authenticate against an internal DB without setting up
additional authentication domains.
refs #3769
2013-07-26 13:09:59 +02:00
Marius Hein
9cb745a0ed
Merge branch 'bugfix/broken-login-mask-4459'
...
fixes #4459
2013-07-26 10:44:36 +02:00
Jannis Moßhammer
e2b98a4138
Fix broken login form
...
The login form was broken, as it used the old form api (disableCSRFToken
instead of setTokenDisabled and isValid instead of isPostAndValid)
refs #4459
2013-07-26 10:34:45 +02:00
Marius Hein
9b27191d6a
Merge branch 'feature/vagrant-configuration-version2-4449'
...
fixes #4449
2013-07-24 13:44:24 +02:00
Jannis Moßhammer
6900507ebc
Merge branch 'feature/command-masks-4355' of ssh://git.icinga.org/icinga2-web
2013-07-24 12:49:43 +02:00
Marius Hein
2b3bef457d
Command masks: Small PSR fix, drop unused core, fix lazy render
...
refs #4355
2013-07-24 12:43:26 +02:00