6942 Commits

Author SHA1 Message Date
Johannes Meyer
5e0ae6410b DbRepository: Consider a filter column without query context as a statement column
Feels wrong..somehow, but it works.

refs #8826
2015-05-29 08:02:12 +02:00
Eric Lippmann
068bfc0c71 Merge branch 'bugfix/monitoring-beautify-command-transport-errors-8006'
fixes #8006
2015-05-28 16:34:12 +02:00
Eric Lippmann
9f155ea99d monitoring: Don't show SSH command when transporting a command to a remote command file failed
refs #8006
2015-05-28 16:33:35 +02:00
Johannes Meyer
2c9af2fb81 GroupController: Let the form validate a group's name
refs #8826
2015-05-28 16:28:59 +02:00
Johannes Meyer
ad6b4016f0 UserController: Let the form validate the user's name
refs #8826
2015-05-28 16:28:43 +02:00
Johannes Meyer
385042ea92 RepositoryForm: Verify that the entry to work with is valid
refs #8826
2015-05-28 16:27:48 +02:00
Eric Lippmann
70d98f3ae0 Don't render disabled input elements white 2015-05-28 16:27:43 +02:00
Eric Lippmann
a4a1a296d1 monitoring: Reduce error output when transporting a command to a local command file failed
refs #8006
2015-05-28 16:13:35 +02:00
Eric Lippmann
1a51368a76 Fix MacroTest
Pushing failing tests to the master is a mystery to me.

refs #6392
2015-05-28 16:08:21 +02:00
Matthias Jentsch
8309ab336d Merge branch 'feature/resolve-runtime-macros-6392'
resolves #6392
2015-05-28 15:42:16 +02:00
Matthias Jentsch
c7261bd481 Add missing columns for macro expansion
refs #6392
2015-05-28 15:37:01 +02:00
Matthias Jentsch
a298197e6c Fix layout of action lincs in view
refs #6392
2015-05-28 15:31:50 +02:00
Johannes Meyer
32b99be8ab DbUserGroupBackend: Adjust to fit the new database schema
refs #8826
2015-05-28 15:22:15 +02:00
Matthias Jentsch
eb5c48ade9 Access correct resolver function in IconImage
refs #6392
2015-05-28 15:21:56 +02:00
Matthias Jentsch
3b601decc5 Remove unused ResolceMacro Helper
refs #6392
2015-05-28 15:15:07 +02:00
Matthias Jentsch
2572842aa4 Add unit test cases for the new macro syntax
refs #6392
2015-05-28 15:07:46 +02:00
Matthias Jentsch
60e5608b40 Rename ResolveMacroTest
refs #6392
2015-05-28 15:02:58 +02:00
Johannes Meyer
1c6ded9324 pgsql schema: Introduce id' and group_id'
Required to ensure referential integrity when renaming groups.

refs #8826
2015-05-28 15:01:21 +02:00
Matthias Jentsch
a66949162b Resolve macros when accessing getters on MonitoredObjects
refs #6392
2015-05-28 15:01:10 +02:00
Johannes Meyer
1950ddcbd6 mysql schema: Introduce id' and group_id'
Required to ensure referential integrity when renaming groups.

refs #8826
2015-05-28 15:00:46 +02:00
Matthias Jentsch
37f58e55d8 Move macro resolcing functionality into separate class
Make macro resolving functionality available to all code, instead of depending on a view

resf #6392
2015-05-28 14:44:16 +02:00
Johannes Meyer
fd931e4232 RepositoryQuery: getQuery() might be called during prepareQueryColumns() 2015-05-28 14:26:48 +02:00
Alexander A. Klimov
d7bdc59801 Don't change the status text's color for ok/up on hover
fixes #8934
2015-05-28 14:25:36 +02:00
Johannes Meyer
08f8fe6f49 DbRepository: Add support for joining tables based on query/filter columns
refs #8826
2015-05-28 13:53:49 +02:00
Johannes Meyer
119b2fdddb DbQuery: Allow to join additional tables
This should just be the beginning of such additions, there is still a group(),
distinct(), etc missing..
2015-05-28 13:52:00 +02:00
Johannes Meyer
58d78f59f3 DbQuery: Initialize self::$select as early as possible
I'd like to use Zend's implementation instead of re-inventing the wheel just
because someone decided to only work with a copy of it in the frameworks
query but do exactly the opposite in the monitoring module's IDO query...
2015-05-28 13:49:36 +02:00
Johannes Meyer
5326ce6bca DbRepository: Add support for table specific aliases
This was previously only possible for the base table and in case one wanted
to use table aliases in the query column definition for non-base tables as
well, it did not work well due to not being explicitly supported. Now, to use
such table aliases one must initialize DbRepository::tableAliases.

refs #8826
2015-05-28 13:44:51 +02:00
Johannes Meyer
647dd9d425 RepositoryQuery: Pass through the query when requiring a table or column
This allows now to adjust the query in custom repository implementations.

refs #8826
2015-05-28 13:25:26 +02:00
Eric Lippmann
5fdaa2cd7e monitoring: Fix command links when showing multiple selected hosts
fixes #9327
2015-05-28 13:17:00 +02:00
Eric Lippmann
1bfbce98ac Disable all form controls on submit to prevent resubmission
fixes #7151
2015-05-28 13:17:00 +02:00
Eric Lippmann
31400ea16a monitoring: Fix that searching for specific columns is no longer possible if default search columns are set 2015-05-28 13:17:00 +02:00
Eric Lippmann
124173f3c8 Don't provide helpful error messages for unauthenticated users
fixes #6952
2015-05-28 13:17:00 +02:00
Eric Lippmann
8b07a0e29a Add missing return argument in the ResourceConfigForm 2015-05-28 13:17:00 +02:00
Eric Lippmann
c2d7f0577e Use Controller::translate() instead of just t()
refs #7330
2015-05-28 13:17:00 +02:00
Eric Lippmann
a304645b14 Add missing return argument when removing a resource fails 2015-05-28 13:17:00 +02:00
Eric Lippmann
bd5d6e9661 Add missing return argument when removing an auth backend fails 2015-05-28 13:17:00 +02:00
Eric Lippmann
903b02a134 Translate no permission for configuration error message
refs #6339
2015-05-28 13:16:59 +02:00
Alexander Fuhr
701fd817fd Vagrantfile: Update centos-6.5-64 to centos-6.6-64
Because the puppetlabs/centos-6.5-64-puppet vagrantbox is not anymore available
2015-05-28 12:35:30 +02:00
Eric Lippmann
e0fe6440d2 monitoring: Show host's services in the next container
refs #7998
2015-05-28 12:26:22 +02:00
Eric Lippmann
8dbb215e27 monitoring: Remove services action from the ShowController
refs #7998
2015-05-28 12:25:31 +02:00
Eric Lippmann
b3e0851b62 monitoring: Remove the services tab when showing an object's history
refs #7998
2015-05-28 12:24:00 +02:00
Eric Lippmann
646cffd62d monitoring: Remove the services tab when showing host or service details
refs #7998
2015-05-28 12:22:57 +02:00
Matthias Jentsch
6c44f6a11a Deduplicate url-attribute parsing code
Use function to fetch all host links in MonitoredObject instead.
2015-05-28 10:47:44 +02:00
Eric Lippmann
344e17a605 monitoring: Fix command links when showing multiple selected hosts
fixes #9327
2015-05-28 10:33:13 +02:00
Eric Lippmann
2833f9edcc Disable all form controls on submit to prevent resubmission
fixes #7151
2015-05-28 09:44:01 +02:00
Eric Lippmann
e06225fcf1 monitoring: Fix that searching for specific columns is no longer possible if default search columns are set 2015-05-28 09:43:12 +02:00
Alexander A. Klimov
cba36ec017 Ignore the preferences' loadability during authentication
fixes #8956
2015-05-27 15:13:53 +02:00
Alexander A. Klimov
cbf37bf90e Inherit from Icinga\Web\Controller
fixes #9317
2015-05-27 13:19:50 +02:00
Johannes Meyer
23b7ab0764 DbRepository: Remove COLLATE from a query column in case of a pgsql connection
refs #8826
2015-05-27 11:47:18 +02:00
Alexander A. Klimov
38cecdb724 Setup Wizard: show how to add a system group "icingaweb2" and how to add the webserver's user to it
refs #8705
2015-05-27 11:39:13 +02:00