2906 Commits

Author SHA1 Message Date
Pranav Saxena
95b6a5eeda CS-15807 :Network label for OVM support on UI : Reviewed-By - Brian Federle 2012-08-03 03:18:26 +05:30
Pranav Saxena
eb116b6ecb CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) 2012-08-02 14:22:53 +05:30
Jessica Wang
10cf9c2f20 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-08-01 17:18:28 -07:00
Brian Federle
8120785bab listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:57:00 -07:00
Brian Federle
ef9dd4210e cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 14:36:15 -07:00
Pranav Saxena
250501c56d CS-14907:Download volume option to be present only if it is in READY state since it has moved to the primary storage 2012-08-01 10:58:22 +05:30
olgasmola
05c9e0bb36 CS-15770: Hide Dedicated option when Basic EIP/ELB is chosen as Network Offering. 2012-07-31 13:35:41 +03:00
Brian Federle
3622039feb CS-15620
Fix edit instance 'displayname' parameter not being sent over, even if
content was updated.
2012-07-30 15:17:06 -07:00
Brian Federle
1fbf5952cd Add license header to tagger widget 2012-07-30 14:32:32 -07:00
Brian Federle
6b47907f39 CS-15726: Use custom validation for tagger widget
Show a generic dialog box for tagger validation, instead of using
jQuery validate

--it conflicted with the detail view's edit fields and prevented
submission unless the key and value fields were filled out.
2012-07-30 14:32:32 -07:00
Pranav Saxena
36fc2bd9b5 CS-15044:API changes and UI changes to provide option to view the name of the guestnetwork a virtual machine belongs 2012-07-31 02:57:46 +05:30
olgasmola
9c895b14ab CS-15317: Fix operations with accounts on the Project tab after making another account project owner. 2012-07-27 23:37:46 -04:00
olgasmola
82bb1e5592 CS-15349: Fix incorrect result when Make owner in New project/Add account. 2012-07-27 23:37:46 -04:00
olgasmola
0be4230f91 CS-15325: Fix selected name of user from the drop down list overlay. 2012-07-27 23:37:45 -04:00
olgasmola
9d67ecdbb7 CS-15518: Fix password field garbling on login screen. 2012-07-27 23:37:45 -04:00
Wido den Hollander
4dd2854d61 rbd: Small JavaScript fix 2012-07-27 23:37:45 -04:00
Wido den Hollander
406fd95d87 Add RBD support for primary storage
This patch adds RBD (RADOS Block Device) support for primary storage in combination with KVM.

To get this patch working you need:
- libvirt-java 0.4.8
- libvirt with RBD storage pool support (>0.9.13)
- Qemu with RBD support (>0.14)

The primary storage does not support all the functions of CloudStack yet, for example snapshotting is disabled
due to the fact that backupping up a RBD snapshot is not possible in the way CloudStack wants to do it.

Creating templates from RBD volumes goes well, creating a VM from a template however is still a hit-and-miss.

NFS primary storage is also still required, you are not able to run your System VM's from RBD, they will need
to run on NFS.

Other then these points you can run instances with RBD backed disks.
2012-07-26 22:22:26 +02:00
olgasmola
f090fdeea7 CS-15292: Split long OS Type list when create Template,ISO. 2012-07-25 12:05:05 +03:00
olgasmola
1075344f03 CS-15353: Larger click boxes in UI. 2012-07-25 11:54:45 +03:00
olgasmola
2b1758b233 CS-15391: Add required fields validation when Edit on the Details tab for Infrastructure/Zones, Infrastructure/Pods. 2012-07-25 11:48:25 +03:00
olgasmola
63f6308f03 CS-15393: Scroll bar fix when any point is selected. 2012-07-25 11:41:02 +03:00
olgasmola
85a13dfe1a CS-15478: UI cosmetic fix for empty buttons/viewAll section. 2012-07-25 11:33:35 +03:00
olgasmola
dc19c86fde CS-15533: Add instance/Review tab fix empty value. 2012-07-25 10:42:43 +03:00
Brian Federle
d7d9b341c8 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:47 -07:00
Brian Federle
003c62583c Add tags to FW rule multi-edit 2012-07-24 15:22:37 -07:00
Pranav Saxena
ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle
2ec005c628 Fix tag widget being appended to all dialogs 2012-07-24 15:05:30 -07:00
Brian Federle
a924eb196f Fix tag notification messages 2012-07-24 12:24:25 -07:00
Brian Federle
06101ea27e Add tags to edit PF dialog 2012-07-24 12:24:25 -07:00
Brian Federle
17ac3a7e3e Add tag edit to LB rule 2012-07-24 12:24:24 -07:00
Brian Federle
53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle
874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle
7a2be05c24 Pass projectId to listTags, when viewing a project resource 2012-07-24 12:23:57 -07:00
bfederle
8e1b8d1f56 Implement tags for project detail view 2012-07-24 12:23:45 -07:00
Brian Federle
e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27a1485338557a775e5c21179a19b32b
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63f6ea0f835495933730358380745a56.
2012-07-24 11:56:11 -07:00
Pranav Saxena
5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
bfederle
64605e7703 UI: Add tag API call generator
Adds a helper to return an object to pass to the 'tagger' widget,
including all required data and action functions.

Syntax is as follows, just include anywhere were the tags widget is
supported:

tags: cloudStack.api.tags({
  resourceType: 'Project',
  contextId: 'projects'
})
2012-07-23 15:18:36 -07:00
bfederle
1c2780f233 Tag UI: Make sure data is passed to remove action 2012-07-23 15:18:36 -07:00
bfederle
39e1936c87 Fix tags widget overlap with long detail views 2012-07-23 15:18:36 -07:00
bfederle
5e94b0d12e Implement tag UI widget
Create UI for handling new tag API. This currently supports the detail view and multi-edit

To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:

tabs: {
...
details: {
...

tags: {
  actions: {
    add: function(args) {
      setTimeout(function() {
        args.response.success({
          notification: {
            desc: 'Add tags for instance',
            poll: testData.notifications.testPoll
          }
        });
      }, 500);
    },

    remove: function(args) {
      args.response.success({
        notification: {
          desc: 'Remove tags for instance',
          poll: testData.notifications.testPoll
        }
      });
    }
  },
  dataProvider: function(args) {
    args.response.success({
      data: [
        {
          id: '1',
          key: 'user',
          value: 'brian'
        },
        {
          id: '2',
          key: 'region',
          value: 'usa'
        }
      ]
    });
  }
}

...

Conflicts:
	ui/css/cloudstack3.css
	ui/scripts/ui/widgets/tagger.js
2012-07-23 15:18:36 -07:00
Pranav Saxena
018a243ca1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 00:52:22 +05:30
Brian Federle
152b17b7f3 Remove dummy VPC UI from networks section 2012-07-20 14:05:44 -07:00
bfederle
2b2e491f27 CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:41:53 -07:00
Pranav Saxena
374be31b63 CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI 2012-07-13 12:32:38 +05:30
Brian Federle
50373b99d6 Detail view: Fix layout of text actions 2012-07-12 15:29:15 -07:00
Brian Federle
2a971d7c1b Detail view UI: Support for text action buttons
Currently, only icons are rendered on detail view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
    ...
  }
}
2012-07-12 15:29:15 -07:00
Brian Federle
9b039d9a8d List view UI: Support for text action buttons
Currently, only icons are rendered on list view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
   ...
  }
}
2012-07-12 13:46:19 -07:00
Hugo Trippaers
79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Brian Federle
262bbbe800 Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle
9f093817f3 Implement static NAT tier select UI
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.

It is defined as follows:

enableStaticNAT: {
  ...
    action: {
      noAdd: true,
      custom: cloudStack.uiCustom.enableStaticNAT({
        // VPC
        tierSelect: function(args) {
          args.response.success({
            data: [
              { id: '1', description: 'VPC 1' },
              { id: '2', description: 'VPC 2' }
            ]
          });
        },
    ...
2012-07-10 15:41:23 -07:00