Statistics
| Branch: | Tag: | Revision:

root / settings.py.dist @ c36934a7

History | View | Annotate | Download (4.4 kB)

# Date Author Comment
619b1c87 02/18/2011 01:41 pm Markos Gogoulos

dynamic sqlite3 database path

dd8d34ae 02/18/2011 01:18 pm Vangelis Koukis

Use absolute path to db in settings.py.dist.

Fixed settings.py.dist to reference the absolute file path
when using an sqlite3 db, see:

http://docs.djangoproject.com/en/dev/ref/settings/#name

abf90954 02/11/2011 07:59 pm Markos Gogoulos

added TIMEOUT variable on settings.py.dist. You'll have to cp to your settings.py

initial value is 10 seconds. after this time passes, if the ui hasn't received any data, the user is informed (with js alert window at the moment) that there
are network issues (a better message might ask the user to refresh)

275741a9 02/07/2011 06:58 pm Markos Gogoulos

added AUTH_PROFILE_MODULE variable on the configuration settings

fee71ba1 02/03/2011 02:28 pm Markos Gogoulos

added ganeti_cluster_info with credentials to the ganeti cluster. Uncomment that line and you're now talking with the ganeti!

6c9a62b5 02/02/2011 07:20 pm Vassilios Karakoidas
  • Move method id_from_instance_name to VirtualMachine as static method
  • Fix settings.py to include ganeti correctly
2cc9d3a5 02/01/2011 08:58 pm Markos Gogoulos

get rid of the MOCK objects and use a database with initial data loaded

  • added database.sqlite with objects and also oceandata.json that can be used in future to create the database. For now it is not necessary. Just git pull,
    cp settings.py.dist settings.py and you are done. You are using sqlite now! The usual procedure would be to run a manage.py syncdb, to create a database, and then load the data with ./bin/python manage.py loaddata oceandata.json, however this is not needed now...
5c25f305 02/01/2011 11:27 am Vassilios Karakoidas

Fix ganeti module import

06a0e098 02/01/2011 10:56 am Vassilios Karakoidas
  • Import ganeti into django application
  • Add tests.py for automated testing through django
9dbe70f8 01/29/2011 01:43 pm Markos Gogoulos

a few changes regarding the VirtualMachines id and ganeti id.

  • on api/handlers.py : VirtualMachineName function removed (no need to be on the handlers)
  • settings.py.dist: added GANETI_PREFIX_ID
  • db/models.py: added id_from_instance_name function and property ganeti_id on VM models . These are needed to get the Django id...
ccbd9f9b 01/28/2011 11:07 pm Markos Gogoulos

Initial attempt to implement the ui-->RS API-->rapi architecture

main changes are:

  • handlers.py: added function VirtualMachineName that returns the VirtualMachine, given it's id. added some ORM for the server list
    (commented at the moment, uncomment and add the db on settings.py to try it). added delete() on ServerHandler that calls rapi to destroy a machine...
6f6bd1a2 01/26/2011 07:42 pm Markos Gogoulos

removed reference to aquarium/models to db/models

78dec216 01/24/2011 12:41 pm Vassilios Karakoidas

Add aquarium app to django base project; Modify configuration files appropriately

52a63ce2 01/15/2011 07:51 am Dimitris Moraitis

update settings

edda4d30 01/14/2011 10:02 pm Markos Gogoulos

removed django localeurl, added ui/i18n that handles the change of languages with GET. also added the translation of a few strings and updated a few lines on the documentation

421369dc 01/08/2011 06:04 pm user

added django-localeurl for clear urls on i18n

abee21ab 01/07/2011 08:21 pm Dimitris Moraitis

Merge branch 'master' of https://code.grnet.gr/git/synnefo

db3dccf4 01/07/2011 08:21 pm Dimitris Moraitis

change default session engine

465f3966 01/07/2011 07:59 pm Markos Gogoulos

db backend needed

d7f0ad6e 01/07/2011 07:53 pm Markos Gogoulos

internalization

0f402f77 12/17/2010 10:01 pm Dimitris Moraitis

add synnefo.ui app to settings.py.dist

253f0c82 11/26/2010 10:05 pm Faidon Liambotis

Add an initial implementation of API's /servers read()

3758cc42 11/26/2010 09:56 pm Faidon Liambotis

Add Auth-API application, plus the StripURLMiddleware

81357279 11/26/2010 08:13 pm Faidon Liambotis

Fix some trailing-slash breakage, OS-API is explicit about that

00b4f1be 11/26/2010 04:39 pm Faidon Liambotis

Initial commit