Closed (fixed)
Project:
Hosting
Version:
5.x-0.1-alpha3
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
10 Oct 2008 at 04:53 UTC
Updated:
14 Nov 2008 at 21:00 UTC
Jump to comment: Most recent file
Since i removed views, I haven't replaced the links to the platforms / servers configured, as they were pretty much useless where they were. I was just putting them there to have something there.
We need a new block that shows the status of the queue, when it was last run, how many items are remaining and maybe links to some of the important nodes in the system.
The basic block outline is currently commented out in hosting.module.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 319390_tasks_list_block.patch | 9.15 KB | yrocq |
| #7 | tasks_list_block.patch | 6.69 KB | yrocq |
| #5 | tasks_list_block.patch | 5.98 KB | yrocq |
| #4 | Picture 19.png | 20.83 KB | adrian |
Comments
Comment #1
anarcat commentedReactivated in http://drupal.org/cvs?commit=149587
Comment #2
anarcat commentedSo I have committed a third block in that lists the stats of the queues:
http://drupal.org/cvs?commit=149601
I have also made a block that shows the latest items from every queue:
http://drupal.org/cvs?commit=149589
So I have almost everything:
check!
oops, forgot about that... that's enabled/disabled?
check!
check!
not sure what this means, but there's the platform/db/webserver block...
Also, the blocks are not hooked into the hostmaster profile, not sure if that should be done or how.
Comment #3
anarcat commentedI have added an enabled item and I have disabled display of the other stats for disabled queues.
Comment #4
adrian commentedThe task block needs it's own custom listing, that shows the queue, not the tasks.
Also. it should show the $task->title (install somesite.dev), not the $task->task_type (which is mostly applicable for embedded task lists)
It should not be paged in the block, instead there should be a link for 'more tasks in queue' that points to hosting/queue, which is a paginated list of the whole queue.
Secondly, My task summary block has become all weirdly garbled. (check the attached image).
I think at least the platforms / summary block should be enabled by default, and maybe the revised queue list.
Comment #5
yrocq commentedHi,
This patch should fix display for tasks list block. I added theme functions to customize display for complete list and block list.
Comment #6
yrocq commentedOops !
Comment #7
yrocq commentedPatch was broken by last update. Here is a working one for head.
Comment #8
anarcat commentedlet's also finish this for the release. quick list of things still needing fixing:
* queues/hosting/tasks does not exist
* status: enabled still all over the place in the block
* breaks normal lists by removing the headers
Comment #9
yrocq commented* queues/hosting/tasks does not exist
Fixed. User must have 'access task logs' rights to display the block and access the page
* status: enabled still all over the place in the block
Fixed
* breaks normal lists by removing the headers
Fixed
Comment #10
anarcat commentedI committed the patch.
The reason why hosting/queues/tasks doesn't work is that it's a new menu item and the menu cache needs to be regenerated.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.