Git Product home page Git Product logo

gandi.widget's People

Contributors

aegiap avatar sayoun avatar zaurky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

aegiap gandi

gandi.widget's Issues

Add some notifications

For exemple on domain, paas soon to expire, iaas low level of credits, ...

This could also make a color change in the icon (in case you are not in front of the computer when the notif append)

Continuous popup notification when an incident is published

When the Gandi platform is under maintenance or an incident is published on http://status.gandi.net the widget show a popup for a second each couple of second with the name of the post on status. In case of a long running maintenance or incident, the notification is quite annoying.

I would like to change the frequency of the popup notification, maybe with a configuration variable.

Possible solution: if the incident is older than 10 minutes before now, show the popup each 30 seconds with the information for 2 minutes, then decrease the frequency to one popup every hour.

Handle fresh install with no configuration

When installing the widget without having a previous Gandi.cli configured it will fail.

Maybe detect upon launch the configuration sate and provide a modal to provide the API key with a link to the webpage where to find it ?

Setuptools process

Would it be possible to have a setuptools process for installing the python application ? This would help in the packaging for Linux distribution.

/me is working on the Debian packaging.

No information shown in the widget and traceback on credit_usage

When I start /usr/bin/gwidget, the output show this traceback and the GTK widget does not show any information about my products (after a couple of minutes).

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gandi/widget/__init__.py", line 145, in display_elements
    items = element.display(elements)
  File "/usr/lib/python2.7/dist-packages/gandi/widget/iaas.py", line 39, in display
    account['credit_usage'])
KeyError: 'credit_usage'

Using a python shell on Gandi public API with my account, I got:

>>> api.hosting.rating.list(tok)
[]

>>> api.hosting.account.info(tok)['credits']
1784120

>>> api.hosting.account.info(tok)['average_credit_cost']
0.0

version installed:

  • python-gandi-widget 0.3
  • python-gandicli 0.19

Having a conf file

To specify :

  • the object you want to display
  • the lists auto-updates
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.