1251 Commits

Author SHA1 Message Date
Eric Lippmann
8baa2dec54 Command: Rename getParameters to getArguments
refs #4580
2013-09-16 14:46:18 +02:00
Eric Lippmann
a47db3497e Rename BaseCommand to Command
refs #4580
2013-09-16 14:44:59 +02:00
Eric Lippmann
bf012fbd7e Remove CommandType interface
Moved BaseCommand from the monitoring module to the application's library.

refs #4580
2013-09-16 14:39:14 +02:00
Johannes Meyer
4964d84e78 Doc fixes
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
8e60e2dcd9 Fix group and children handling of ScheduleDowntimeCommand
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
7045148f93 Adjust submitpassivecheckresult command handling
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
fef8370d5f Adjust reschedulecheck command handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
e9dc895b37 Adjust delay notification handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
36424b508b Adjust custom notification handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
52079b2e73 Adjust schedule downtime handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
ba7f455643 Adjust schedule downtime handling (WIP)
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
8022bf57af Some doc fixes and other improvements
refs #4580
2013-09-16 13:14:28 +02:00
Eric Lippmann
c09dad98f9 Views: Remove $trimArea since it's not used 2013-09-06 16:39:47 +02:00
Eric Lippmann
c47778f10e Capitalize monitoring properties, e.g. Current Attempt 2013-09-05 14:49:37 +02:00
Eric Lippmann
cabe2ccbee Widget/Tabs: Show caret 2013-09-05 14:15:29 +02:00
Eric Lippmann
a5908c9553 CS: Replace multiple empty lines with one
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
b5e93afd86 CS: Add newline at end of file
find application/ library/ test/ modules/ -name *.php | xargs sed -i '$a\'
2013-09-04 18:28:35 +02:00
Eric Lippmann
35fd9fd391 CS: Remove whitespaces at end of line
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Eric Lippmann
95e9117325 Fix SortBox not keeping Sort By input after submission 2013-09-04 18:21:10 +02:00
Jannis Moßhammer
355618d0e0 Merge branch 'bugfix/commands-as-object-4580'
refs #4580
fixes #4594
fixes #4496
2013-09-04 18:14:53 +02:00
Jannis Moßhammer
7f4e1936f7 Fix trigger downtime default value issing, docstring fixes
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
b74e264f01 Refactor comment command handling
- Refactored Comment class
- Dropped IComment interface
- Added AddCommentCommand class
- Updated CommentForm

refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
e0620aa04e Fix DateTimePicker not respecting user preferences
refs #4675
2013-09-04 18:08:00 +02:00
Johannes Meyer
9a476f16f4 Re-refactor dispatch process of commands and acknowledgement handling
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
1593406f31 Refactor Acknowledgement command handling
#refs 4580
2013-09-04 18:07:59 +02:00
Johannes Meyer
79eb6588c5 Restructure dispatch process of commands
refs #4580
2013-09-04 18:07:59 +02:00
Johannes Meyer
95d7a8a553 Fix triggered_by field in ScheduleDowntimeForm is not a select box
refs #4496
2013-09-04 18:07:59 +02:00
Eric Lippmann
a44d17f0a6 Merge branch 'bugfix/sorting-as-widget-4601'
fixes #4601
2013-09-04 17:15:41 +02:00
Eric Lippmann
05d08fb0b8 Fix Bootstrap typed wrong
refs #4601
2013-09-04 17:12:44 +02:00
Eric Lippmann
2b10782d6b Fix use \Monitoring without Icinga\Module prefix
refs #4601
2013-09-04 16:08:20 +02:00
Jannis Moßhammer
b1df9fa67d Readd import in BaseTestCase that got lost during rebase
refs #4601
2013-09-04 15:22:01 +02:00
Jannis Moßhammer
e915119845 Fix grid styling and add links for hosts and service
refs #4601
2013-09-04 15:22:01 +02:00
Jannis Moßhammer
d27e34cef8 Codestyle and Test fixes for SortBox
refs #4601
2013-09-04 15:22:00 +02:00
Jannis Moßhammer
57e66c247a Add sort widget, change js path from module to app, small style fixes
refs #4601
2013-09-04 15:22:00 +02:00
Eric Lippmann
f22a965bc4 Merge branch 'bugfix/preferences-not-writable-exception-4529'
fixes #4529
2013-09-04 14:59:57 +02:00
Eric Lippmann
6afeaac6b2 Make 'ini' in descriptions uppercase, add comment to index.php about date_default_timezone_set
refs #4529
2013-09-04 14:56:55 +02:00
Jannis Moßhammer
c9673bfea3 Catch database errors, set fallback tz
The fallback timezone is set in case an error occurs
before setupTimezone() is entered. In this case the user
is presented with an warning about missing timezone settings
if the php.ini doesn't contain timezone information

refs #4529
2013-09-04 14:27:37 +02:00
Jannis Moßhammer
95bc8a2f4f Add NullStore as preference fallback
refs #4529
2013-09-04 14:27:37 +02:00
Jannis Moßhammer
03cc43a3f6 Merge branch 'bugfix/missing-doc-4547-4548'
fixes #4546
fixes #4548
2013-09-04 13:55:08 +02:00
Eric Lippmann
68585b98b5 Doc: Add DateTimePicker documentation
refs #4547
2013-09-04 13:54:45 +02:00
Eric Lippmann
9c73802ce6 Doc: Add Testing Singletons paragraph
refs #4548
2013-09-04 13:54:45 +02:00
Jannis Moßhammer
4658405990 Merge branch 'bugfix/module-namespace-4586'
fixes #4586
2013-09-04 11:25:58 +02:00
Eric Lippmann
1b858cbdb4 Monitoring: Fix remaining usages of namespace Monitoring without Icinga\Module prefix
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
3e4d1aa2fb Monitoring/Tests: Replace BaseFormTest with BaseTestCase
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
6f383abdd1 Tests: Let the BaseTestCase require db and form libraries once it's being required
Further add function t() and mt() to the global namespace when requiring BaseTestCase

refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
e3044b8b62 Tests/Monitoring: Remove ScheduleDowntimeFormTest since it's being refactored in another branch
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
a89631fd92 Tests/Monitoring: Remove useless test ConfirmationFormTest
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
74b9731df5 Remove auto class requirement from BaseTestCase::createForm()
The tests for the respective forms must require the form class.

refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
092c5780ea CS: Fix violations for overdue files
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
8a062ff3e5 Fix tests after renaming the namespace
refs #4586
2013-09-04 11:21:12 +02:00