Jannis Moßhammer
b4000d34fb
CS: Fixed styles, add codingStandardsIgnore for helper
...
refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer
6d26240d6d
Add Main detail state to url, renderhelper, container tests
...
- The ActionController is now able to render a seperate detail view
- All list scripts select the currently active row from the detail view with
the 'active' class
- Autosubmit is now again attached to the onchange attribute (to prevent issues
when js can't load correctly)
- Logout is now recognized and causes a page refresh (will be made more generic)
- Add history mock for testing url changes
- Update all grids to implement the app/mainDetailGrid component
refs #4611
2013-09-23 13:56:57 +02:00
Jannis Moßhammer
f596f72169
Add URI component
...
Great library for Url manipulation, see http://medialize.github.io/URI.js/
MIT and GPLv3 License
refs #4611
2013-09-23 13:55:49 +02:00
Jannis Moßhammer
e6b3a54e90
Add/modify JavaScript components for main/detail and their tests
...
This commit introduces the following changes (although they are not
implemented in the templates, this follows):
- links in the top and navigation bar are loaded in the background
- generic main/detail container component handling click/load delegation
- mainDetailGrid implementation handling selection and render targets
- Generic history implementation handling URI change detection and reloading
refs #4611
2013-09-23 13:55:49 +02:00
Jannis Moßhammer
62e98ccbd7
Remove different caching headers for development
...
This has the reason that it's better to add a cache-buster via
requirejs, so only the main.js module must be modified in development
mode and we avoid an ugly bug in recent Chrome versions that prevents
<script> nodes from being correctly loaded in some cases (aborted
requests)
refs #4611 (not really, but kind of)
2013-09-23 13:55:49 +02:00
Eric Lippmann
f3a47553f8
Merge branch 'feature/ido-4255'
...
resolves #4255
2013-09-17 15:16:33 +02:00
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