Commit Graph

964 Commits

Author SHA1 Message Date
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 c6db0067ec Refactored Ido\EventHistoryQuery, now it's fully based on other subqueries.
* Added hostgroup filters
* Added aggregation columns
2013-09-17 10:54:21 +02:00
Thomas Gelf c9ce7c53b0 Paginator may be ready for QueryInterface 2013-09-17 10:46:32 +02:00
Thomas Gelf c75a83d1d2 PDF fixes 2013-09-17 10:46:32 +02:00
Thomas Gelf 26be35d447 Reverting change, this breaks things. No chance to redirect after rendering. 2013-09-17 10:46:31 +02:00
Thomas Gelf 42e73b866b Slight changes in the ListController... more tbd 2013-09-17 10:44:18 +02:00
Thomas Gelf 67b54f42bb Powerful contact/contactgroup filters. Shall soon be replaced by subjoining
their Query classes
2013-09-17 10:42:28 +02:00
Thomas Gelf aac0570382 StatehistoryView, initial commit 2013-09-17 10:42:28 +02:00
Thomas Gelf f6ef3faefb Some new hoststatus columns and filters. There is much more in the query, stay tuned 2013-09-17 10:42:28 +02:00
Thomas Gelf 624f4ab535 Once again, hostgroupS. We'll see... 2013-09-17 10:42:27 +02:00
Thomas Gelf dcdbf79328 Allow hostgroup filters for the EventHistory 2013-09-17 10:42:27 +02:00
Thomas Gelf 4ec1a9b118 More columns for contactgroups 2013-09-17 10:42:27 +02:00
Thomas Gelf e95c4fd080 More columns for contacts 2013-09-17 10:42:27 +02:00
Thomas Gelf 26c82f8760 Added view for all contacts, independently of whether they are directly
attached to objects or through contactgroups
2013-09-17 10:42:27 +02:00
Thomas Gelf 0ffef655df Prepared auth filters. Auth part still missing 2013-09-17 10:42:27 +02:00
Thomas Gelf ecaa12b0f4 Improved default sort bevahior 2013-09-17 10:42:27 +02:00
Thomas Gelf 2ff5455018 First attempt to write a backend-independent Pivot-Table implementation 2013-09-17 10:41:02 +02:00
Thomas Gelf bb99358a21 Renamed MonitoringView to AbstractView 2013-09-17 10:41:02 +02:00
Thomas Gelf 258d7dbafb Did measurements, leads to new index suggestions 2013-09-17 10:38:14 +02:00
Thomas Gelf cc4cf42d0e Some TODO 2013-09-17 10:38:14 +02:00
Thomas Gelf 4b62297b3e Searching for 'unhandled' is more interesting than 'handled', other small fixes 2013-09-17 10:38:14 +02:00
Thomas Gelf 344a99bbb8 service_hard_state is the current hard state 2013-09-17 10:38:14 +02:00
Thomas Gelf b9805e579e A service is considered handled once the host is not UP 2013-09-17 10:38:14 +02:00
Thomas Gelf 781fb394ac More cleanup, timestamp fixes 2013-09-17 10:38:14 +02:00
Thomas Gelf cd37f47d1b Last/next check are timestamps, give NULL when it doesn't make sense 2013-09-17 10:38:14 +02:00
Thomas Gelf 200731aedc Some more readability 2013-09-17 10:38:14 +02:00
Thomas Gelf d5c86c5328 Readability, small fixes 2013-09-17 10:38:13 +02:00
Thomas Gelf 76ecc9184d hgo.name1 needs objects table to be around 2013-09-17 10:38:13 +02:00
Thomas Gelf 93e54fac62 Trying hard to get aggregations done right 2013-09-17 10:38:13 +02:00
Thomas Gelf 7e83099ef7 One more thing TODO 2013-09-17 10:38:13 +02:00
Thomas Gelf 3cd947ab29 A bunch of aggregating columns are interesting once joined with services 2013-09-17 10:36:05 +02:00
Thomas Gelf 86248d7bcb hostgroup. Without the 's'. And case insensitive 2013-09-17 10:36:05 +02:00
Thomas Gelf 6d27b688fe Added hostgroups column alias. Not sure about the 's' 2013-09-17 10:36:05 +02:00
Thomas Gelf eaaa7205c9 Have been using former namespace, fixed 2013-09-17 10:36:05 +02:00
Thomas Gelf cf26e3b106 Ido\AllcontactsQuery joins contacts directly and through contactgroups 2013-09-17 10:36:04 +02:00
Thomas Gelf d9f1c4678b Ido\ContactgroupQuery needs a conservative count approach 2013-09-17 10:36:04 +02:00
Thomas Gelf dc34905315 Moved Data\Array to DataArray 2013-09-17 10:36:04 +02:00
Thomas Gelf 1eb0fcdff8 AbstractQuery implements QueryInterface, added addColumn, fixed sort 2013-09-17 10:36:04 +02:00
Thomas Gelf 86945152b4 QueryInterface, initial commit 2013-09-17 10:36:04 +02:00
Thomas Gelf 1d1214b8b9 Implemented conservative count, implemented count 'cache' 2013-09-17 10:36:04 +02:00
Thomas Gelf 0f48d0e2d6 Added fetchColumn, it was missing 2013-09-16 17:02:30 +02:00
Thomas Gelf 103ed266c5 Typo 2013-09-16 17:02:30 +02:00
Thomas Gelf 3908974698 We need to set Db fetchMode as it has previously been done 2013-09-16 17:02:30 +02:00
Thomas Gelf 521ef8cc47 Added a few columns to Ido\ContactgroupQuery, fixed joins 2013-09-16 17:02:30 +02:00
Thomas Gelf 23235e4513 Added a few columns to Ido/ContactQuery 2013-09-16 17:02:30 +02:00
Thomas Gelf fbdfa7a59e StatehistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf 07badc377e NotificationhistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf 4330122221 DowntimestartQuery and DowntimeendQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf eef5f6ae18 CommenthistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf d15481b643 Preparing base query before creating alias indexes.
* This allows the joinBaseTables functions to adjust columns in time
2013-09-16 17:02:30 +02:00