Endian Bugtracker
Endian Issue Tracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001020 [Endian Firewall] GUI feature have not tried 2008-06-26 10:44 2008-10-08 15:30
Reporter peter View Status public  
Assigned To lukas
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 2.2-rc3 Product Version 2.2-rc1
  Target Version 2.2-rc3 Product Build
Summary 0001020: generic spinner for gui
Description since our restart scripts run in background we need a spinner which informs the user that the script is still running.

as of now the GUI says "service yet another service restarted successfully" immediately after the save button has been pushed. This is not true, since the script is actually running in background and the user should wait until it is done. Then a notification message should be shown.


Solution:
- create a generic spinner "widget" for the GUI which runs if a service specific status file exists (/var/lock/services/openvpn)
- create a python class ServiceStatus which can be used by every restartscript which can:
  o create the status file at the very beginning of the restartscript
  o remove the status file at the end of the restartscript
  o the status file contains a JSON string
  o writes status messages into the file (.notify()). notify() can be triggered while the script is running, so the GUI displays what is going on.
  X .notify() could be combined with logger.info()/error() (.debug()?? when enabled) in a later task
  o the status file could contain a history of the last notifications
- spinner "widget" should display a notification regarding the content of the status file, if it exists.
- status history could be optionally displayed by the spinner widget
- If the status file does not exist anymore, the last message should be displayed on the GUI and removed with the next http request.
- error messages should be displayed with a respective spinner icon.

pay attention about permissions
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2008-06-26 10:44 peter New Issue
2008-06-26 10:44 peter Status new => assigned
2008-06-26 10:44 peter Assigned To => lukas
2008-06-26 10:45 peter Description Updated
2008-06-26 10:48 peter Description Updated
2008-06-26 10:52 peter Description Updated
2008-06-26 10:56 peter Description Updated
2008-06-26 11:04 peter Description Updated
2008-06-30 12:21 peter Relationship added related to 0000934
2008-07-10 20:52 peter Priority normal => urgent
2008-07-24 18:05 ra Target Version 2.2-rc2 => 2.2-rc3
2008-08-19 19:02 lukas Status assigned => resolved
2008-08-19 19:02 lukas Fixed in Version => 2.2-rc3
2008-08-19 19:02 lukas Resolution open => fixed
2008-10-08 15:30 peter Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Mantis [^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker