[deltacloud-devel] [PATCH aggregator] sass stylesheets circular dependency fix

2010-09-29 Thread Mohammed Morsi
While compiling the stylesheets internally in rails seems to work, it does not when we run compass in the appliance to generate them ahead of time for production. This is because each stylesheet is loaded and compiled individually. Since text.sass depends on variables defined in _base.sa

[deltacloud-devel] [PATCH] Make sure you can edit the certs on the user page.

2010-09-29 Thread Chris Lalancette
We were reading or setting the correct attributes for the public and private certs on the edit user page. Read the correct cert value, and set up the attributes hash to contain the data that cloud_account.update_attributes expects. Signed-off-by: Chris Lalancette --- src/app/controllers/cloud_ac

Re: [deltacloud-devel] [PATCH aggregator] Updated integration with Factory.

2010-09-29 Thread Chris Lalancette
On 09/27/10 - 11:18:34PM, Jason Guiditta wrote: > This also contains sample settings for warehouse and > mock target, so you can do build for mock driver. We were > not yet creating a ReplicatedImage, which is needed to complete > any build. > --- > src/app/controllers/templates_controller.rb

Re: [deltacloud-devel] [PATCH appliance] 'puppetize' the deltacloud appliance

2010-09-29 Thread Michael Orazi
- "Mohammed Morsi" wrote: > Created general-purpose deltacloud puppet module and >moved alot of the build & conf code there. > >Still more work to go, want to cleanup the actual appliance >recipe more, moving business logic into the reusable module >which can be pulled into

[deltacloud-devel] [PATCH 2/2] align things in the actionsidebar

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss | 10 -- src/app/views/templates/index.haml |9 - 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/app/stylesheets/aggregator.scss b/src/app/stylesheets/aggregator.scss index 2f84f0a..6fa2c26 100644 --- a/src/app/st

[deltacloud-devel] [PATCH 1/2] minimal layout styling for pools (5100)

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss| 31 +-- src/app/views/pools/index.haml |8 src/app/views/pools/new.haml | 20 +--- src/app/views/provider/_providers.haml |1 - 4 files changed, 30 insertions(+), 30 dele

[deltacloud-devel] basic pools & zones layout

2010-09-29 Thread Jakub Steiner
This defines the basic layout for the pools & zones section. Fixed the spacing for the actionsidebar a bit. This did require to chop the label for deployment definitions as I'm not aware of a way to force wrap whitespace for submit buttons. applies on c15d4bf4d1c520fcb4cfca811b66b53684004b13 [

[deltacloud-devel] [PATCH aggregator] Repository is displayed for selected packages on new template page

2010-09-29 Thread jprovazn
From: Jan Provaznik --- src/app/util/repository_manager.rb |8 .../util/repository_manager/comps_repository.rb|1 + src/app/util/repository_manager/pulp_repository.rb |1 + src/app/views/templates/_managed_content.haml |4 +++- 4 files changed, 1

Re: [deltacloud-devel] [PATCH aggregator] Add i18n to Create/Edit Account page

2010-09-29 Thread Michal Fojtik
On 29/09/10 16:52 +0200, jzigm...@redhat.com wrote: >From: Jozef Zigmund > >This patch adds translations of Create/Edit Account form's fields. >--- > src/app/views/users/_form.haml | 20 ++-- > src/app/views/users/new.haml |4 ++-- > src/config/locales/en.yml | 13

Re: [deltacloud-devel] [PATCH aggregator] Use the max_running quota for cloud accounts

2010-09-29 Thread Martyn Taylor
Ack ;) - Original Message - From: tsedo...@redhat.com To: deltacloud-devel@lists.fedorahosted.org Sent: Wednesday, September 29, 2010 3:17:19 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: [deltacloud-devel] [PATCH aggregator] Use the max_running quota for cloud accounts From: To

Re: [deltacloud-devel] [PATCH aggregator] Modify dc:create_user task; require first_name and last_name field input

2010-09-29 Thread Mohammed Morsi
On 09/29/2010 10:41 AM, Steve Linabery wrote: > Follow on to mmorsi's useful create_user task patch. > --- > src/lib/tasks/dc_tasks.rake |7 --- > 1 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/lib/tasks/dc_tasks.rake b/src/lib/tasks/dc_tasks.rake > index c8bdf22

[deltacloud-devel] [PATCH aggregator] Add i18n to Create/Edit Account page

2010-09-29 Thread jzigmund
From: Jozef Zigmund This patch adds translations of Create/Edit Account form's fields. --- src/app/views/users/_form.haml | 20 ++-- src/app/views/users/new.haml |4 ++-- src/config/locales/en.yml | 13 + 3 files changed, 25 insertions(+), 12 deletions(

[deltacloud-devel] [PATCH] minimal layout styling for pools (5100)

2010-09-29 Thread Jakub Steiner
Applies cleanly on next: 9f0271852abc87578c9da105db286a4fba672db3 --- src/app/stylesheets/aggregator.scss| 31 +-- src/app/views/pools/index.haml |8 src/app/views/pools/new.haml | 20 +--- src/app/views/provider/_

[deltacloud-devel] [PATCH aggregator] Modify dc:create_user task; require first_name and last_name field input

2010-09-29 Thread Steve Linabery
Follow on to mmorsi's useful create_user task patch. --- src/lib/tasks/dc_tasks.rake |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/tasks/dc_tasks.rake b/src/lib/tasks/dc_tasks.rake index c8bdf22..dc244e4 100644 --- a/src/lib/tasks/dc_tasks.rake +++ b/src/li

[deltacloud-devel] [PATCH aggregator] Use the max_running quota for cloud accounts

2010-09-29 Thread tsedovic
From: Tomas Sedovic Previously the cloud accounts used the max_total_instances quota, which we're dropping now. --- src/app/controllers/cloud_accounts_controller.rb |4 ++-- src/app/views/provider/accounts.haml |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff -

Re: [deltacloud-devel] [PATCH aggregator] Updated Quota Model Forms + Validation

2010-09-29 Thread Tomas Sedovic
ACK On 09/27/2010 02:47 PM, mtay...@redhat.com wrote: > From: martyntaylor > > --- > src/app/controllers/quota_controller.rb |4 ++-- > src/app/models/quota.rb |9 +++-- > src/app/views/quota/edit.haml |5 + > 3 files changed, 10 insertions(+), 8

Re: [deltacloud-devel] rewritten patch to revert the actionsidebar items to be input[submit] again

2010-09-29 Thread Jan Provaznik
ACK and pushed On 09/29/2010 04:03 PM, Jakub Steiner wrote: > Rewritten the previous patch to actually include everything within the form > so the id is passed to actons like build. > > applies on next c601563bc258a478a16089eb71596975fa596dc4 > > [PATCH 1/2] revert for buttons for the template pa

[deltacloud-devel] [PATCH 2/2] Don't override all submit buttons in the actionsidebar context as some can be the buttons at the bottom of the list. Indent the main layout page so everything is part of

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss |2 +- src/app/views/templates/index.haml | 38 +- src/app/views/templates/new.haml|2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/app/stylesheets/aggregator.scss b/src/app/styleshee

[deltacloud-devel] rewritten patch to revert the actionsidebar items to be input[submit] again

2010-09-29 Thread Jakub Steiner
Rewritten the previous patch to actually include everything within the form so the id is passed to actons like build. applies on next c601563bc258a478a16089eb71596975fa596dc4 [PATCH 1/2] revert for buttons for the template page as it needs id as a context and folks want to keep the site working

[deltacloud-devel] [PATCH 1/2] revert for buttons for the template page as it needs id as a context and folks want to keep the site working for non-JS browsers (ugh). Added icons to the butttons.

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss| 30 +- src/app/views/provider/_providers.haml |4 +- src/app/views/templates/index.haml | 67 3 files changed, 72 insertions(+), 29 deletions(-) diff --git a/src/app/stylesheets/aggregator.scss

[deltacloud-devel] [PATCH aggregator] Added pool status table into instances index page

2010-09-29 Thread jprovazn
From: Jan Provaznik --- src/app/views/instance/index.haml | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/src/app/views/instance/index.haml b/src/app/views/instance/index.haml index 73782db..3412fcd 100644 --- a/src/app/views/instance/index.haml +

[deltacloud-devel] [PATCH] revert for buttons for the template page as it needs id as a context and folks want to keep the site working for non-JS browsers (ugh). Added icons to the butttons.

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss| 30 +- src/app/views/provider/_providers.haml |4 +- src/app/views/templates/index.haml | 67 3 files changed, 72 insertions(+), 29 deletions(-) diff --git a/src/app/stylesheets/aggregator.scss

[deltacloud-devel] revert to buttons for the template view

2010-09-29 Thread Jakub Steiner
the cucumber test will likely fail again. applies on next: 4e7e4c5b67849b9f570cbb4d03a63081843f2ada [PATCH] revert for buttons for the template page as it needs id as a context and folks want to keep the site working for non-JS browsers (ugh). Added icons to the butttons. __

[deltacloud-devel] [PATCH aggregator] Advertise the section ID each page is under

2010-09-29 Thread tsedovic
From: Tomas Sedovic We have four main sections: operation, administration, build and runtime. Each has a different colour for the second-level navigation stripe. Unfortunately, the current navigation system doesn't give us a way to find out which section each view belongs to. This makes the con

Re: [deltacloud-devel] [PATCH] self service settings' essential layout.

2010-09-29 Thread Tomas Sedovic
ACK and pushed On 09/29/2010 02:50 PM, Jakub Steiner wrote: > --- > src/app/stylesheets/aggregator.scss | 16 ++--- > src/app/views/settings/self_service.haml | 34 > - > src/config/locales/en.yml|2 +- > 3 files changed, 32 in

Re: [deltacloud-devel] [PATCH aggregator] Updated links on Manage User page to handle prefix /deltacloud

2010-09-29 Thread Tomas Sedovic
Great stuff, ACK. Thanks! On 09/29/2010 02:35 PM, mtay...@redhat.com wrote: > From: martyntaylor > > --- > src/app/views/users/index.haml |9 +++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml > inde

Re: [deltacloud-devel] [PATCH] fix up the users view layout again

2010-09-29 Thread Tomas Sedovic
ACK and pushed On 09/29/2010 02:18 PM, Jakub Steiner wrote: > --- > src/app/views/users/index.haml | 27 ++- > 1 files changed, 14 insertions(+), 13 deletions(-) > > diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml > index 53ff654..c63d75b 1

[deltacloud-devel] [PATCH] self service settings' essential layout.

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss | 16 ++--- src/app/views/settings/self_service.haml | 34 - src/config/locales/en.yml|2 +- 3 files changed, 32 insertions(+), 20 deletions(-) diff --git a/src/app/stylesheets/aggregator.scss

[deltacloud-devel] quick layout fixup for self service

2010-09-29 Thread Jakub Steiner
applies on 0984d4ef231fec42d20e61b21e67f8187cf2ef32 ___ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Re: [deltacloud-devel] [PATCH] esssential layout for the template overview page (4100)

2010-09-29 Thread Tomas Sedovic
ACK and pushed I had to fix two failing cucumber test (they broke after changing buttons to links). On 09/29/2010 02:01 PM, Jakub Steiner wrote: > This extends the previous 4140 layout to the overview page (4100). I've > replaced the action sidebar markup to use links rather than submit buttons

Re: [deltacloud-devel] [PATCH] essential layout for the add template page (4140)

2010-09-29 Thread Tomas Sedovic
ACK and pushed On 09/29/2010 01:20 PM, Jakub Steiner wrote: > --- > src/app/stylesheets/aggregator.scss | 55 ++-- > src/app/views/layouts/aggregator.haml |1 + > src/app/views/templates/_basics.haml| 50 > src/app/views/t

[deltacloud-devel] [PATCH aggregator] Updated links on Manage User page to handle prefix /deltacloud

2010-09-29 Thread mtaylor
From: martyntaylor --- src/app/views/users/index.haml |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml index 53ff654..ebd43ac 100644 --- a/src/app/views/users/index.haml +++ b/src/app/views/users/inde

[deltacloud-devel] action sidebar markup for the user view

2010-09-29 Thread Jakub Steiner
applies on 957adc5861c3429628e6a9d361c428b1aaa69448 ___ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/deltacloud-devel

[deltacloud-devel] [PATCH] fix up the users view layout again

2010-09-29 Thread Jakub Steiner
--- src/app/views/users/index.haml | 27 ++- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml index 53ff654..c63d75b 100644 --- a/src/app/views/users/index.haml +++ b/src/app/views/users/index

Re: [deltacloud-devel] [PATCH aggregator 2/2] Fixed selections for template actions

2010-09-29 Thread Jozef Zigmund
On 09/29/2010 12:50 PM, jprov...@redhat.com wrote: > From: Jan Provaznik > > --- > src/app/controllers/templates_controller.rb | 17 + > src/app/views/templates/_templates.haml |2 +- > 2 files changed, 14 insertions(+), 5 deletions(-) > > diff --git a/src/app/contro

Re: [deltacloud-devel] [PATCH aggregator 1/2] Disabled 'Images' link in nav

2010-09-29 Thread Jozef Zigmund
On 09/29/2010 12:50 PM, jprov...@redhat.com wrote: > From: Jan Provaznik > > --- > src/config/navigation.rb |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/config/navigation.rb b/src/config/navigation.rb > index 7af3020..37db030 100644 > --- a/src/config/navi

[deltacloud-devel] [PATCH] esssential layout for the template overview page (4100)

2010-09-29 Thread Jakub Steiner
This extends the previous 4140 layout to the overview page (4100). I've replaced the action sidebar markup to use links rather than submit buttons, hopefully all the controllers and actions are correct. More fine grained styling is still needed here. --- src/app/stylesheets/aggregator.scss |

Re: [deltacloud-devel] [PATCH aggregator] Updated links on Manage User page to handle prefix /deltacloud

2010-09-29 Thread Tomas Sedovic
It applies cleanly and works, but I think there's a better way of doing it. Rails' methods work with prefix automatically -- we could leverage that instead of hacking the URL with JS. If you add hidden fields that contain edit and delete URLs for every user, you can than use the value of these

[deltacloud-devel] [PATCH] essential layout for the add template page (4140)

2010-09-29 Thread Jakub Steiner
--- src/app/stylesheets/aggregator.scss | 55 ++-- src/app/views/layouts/aggregator.haml |1 + src/app/views/templates/_basics.haml| 50 src/app/views/templates/_content_selection.haml | 45 +++-- src/app/views/templa

[deltacloud-devel] essential 'new template' layout

2010-09-29 Thread Jakub Steiner
This patch defines the basic layout for the 'new template' page (4140). The managed content selection sidebar isn't scrolled, and likely to change. applies on next 957adc5861c3429628e6a9d361c428b1aaa69448 ___ deltacloud-devel mailing list deltacloud-de

[deltacloud-devel] [PATCH aggregator] Dropped third level navigation links for 'Instance Management'

2010-09-29 Thread jprovazn
From: Jan Provaznik - for showing details we need to pass instances id. - for new instance we need to know pool id --- src/config/navigation.rb |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/config/navigation.rb b/src/config/navigation.rb index 37db030..4886a7e

[deltacloud-devel] [PATCH aggregator 1/2] Disabled 'Images' link in nav

2010-09-29 Thread jprovazn
From: Jan Provaznik --- src/config/navigation.rb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config/navigation.rb b/src/config/navigation.rb index 7af3020..37db030 100644 --- a/src/config/navigation.rb +++ b/src/config/navigation.rb @@ -31,7 +31,7 @@ SimpleNavig

[deltacloud-devel] [PATCH aggregator 2/2] Fixed selections for template actions

2010-09-29 Thread jprovazn
From: Jan Provaznik --- src/app/controllers/templates_controller.rb | 17 + src/app/views/templates/_templates.haml |2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/app/controllers/templates_controller.rb b/src/app/controllers/templates_contro

[deltacloud-devel] [PATCH aggregator] Updated links on Manage User page to handle prefix /deltacloud

2010-09-29 Thread mtaylor
From: martyntaylor --- src/app/views/users/index.haml |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/views/users/index.haml b/src/app/views/users/index.haml index 53ff654..0dd793f 100644 --- a/src/app/views/users/index.haml +++ b/src/app/views/users/index.ha

[deltacloud-devel] Added dc:setup task

2010-09-29 Thread mfojtik
Hi, This task automatizing these tasks: 1. rake db:drop db:create db:migrate 2. [ register user 'admin' with password 'password' ] 3. rake dc:site_admin[admin] -- Michal ___ deltacloud-devel mailing list deltacloud-devel@lists.fedorahosted.org https:

[deltacloud-devel] [PATCH aggregator] Added dc:setup task

2010-09-29 Thread mfojtik
From: Michal Fojtik --- src/lib/tasks/dc_tasks.rake | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/lib/tasks/dc_tasks.rake b/src/lib/tasks/dc_tasks.rake index c8bdf22..04deb38 100644 --- a/src/lib/tasks/dc_tasks.rake +++ b/src/lib/tasks/dc_tasks.rake

Re: [deltacloud-devel] [PATCH aggregator] Fixed Hudson issue with time on Xen guests

2010-09-29 Thread Jozef Zigmund
On 09/29/2010 10:16 AM, mfoj...@redhat.com wrote: > From: Michal Fojtik > > --- > src/spec/models/instance_observer_spec.rb | 17 +++-- > src/spec/models/instance_spec.rb |9 ++--- > 2 files changed, 17 insertions(+), 9 deletions(-) > > diff --git a/src/spec/mod

[deltacloud-devel] [PATCH aggregator] Fixed Hudson issue with time on Xen guests

2010-09-29 Thread mfojtik
From: Michal Fojtik --- src/spec/models/instance_observer_spec.rb | 17 +++-- src/spec/models/instance_spec.rb |9 ++--- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/spec/models/instance_observer_spec.rb b/src/spec/models/instance_observer_s