Sentry provides an overview page for sites, this should be replaced with a default view. Also needed are different sentry related fields (status, plugin etc) exposed as filters and fields.
Sentry provides an overview page for sites, this should be replaced with a default view. Also needed are different sentry related fields (status, plugin etc) exposed as filters and fields.
Comments
Comment #1
boobaaI have started working on this in the views branch.
Comment #2
boobaaCore info is displayed in the provided default view; plugins are the next step. As we discussed with snufkin on IRC, every module shipping plugins should provide its own views integration by itself. This is to avoid the bloody mess that would arise if we were trying to implement even the plugins' views integration eg. in hook_plugin_info().
Comment #3
boobaaCore plugins' (which are shipped by sentry_server.module) data has views handlers; the default view (shipped by the module) reasonably mirrors the "My sites" list (with some minor additions). Views integration for other modules' plugins has to be added. Only the fields are tested so far; the filters, sorts and arguments (and relationships?) need to be tested (and/or implemented).
Comment #4
snufkin commentedAdded fields for plugins and fixed the core plugins a bit (they werent using the hook_sentry_report).
Comment #5
mikebell_ commentedI've checked the branch out and replaced our existing install with it. It all looks good so far.
The only issue I found is that the default view assumes your using all the sub modules which in our case we don't which leads to broken views handlers.
Comment #6
snufkin commentedI am not sure what the best course of action would be here, I dont really want to spend time on building the default view dynamically, maybe adding some explanation into the description or the module readme would help?