1842 Commits

Author SHA1 Message Date
Jessica Wang
ccd3b82214 bug 10067: ISO page - make isExtractable, isPublic, isFeatured field editable. 2011-12-12 16:56:21 -08:00
Brian Federle
05960fde3b Prevent infinite 'spinning wheel' for PF VM list 2011-12-12 16:25:23 -08:00
Jessica Wang
23c8d4b929 remove debugger keyword 2011-12-12 15:52:12 -08:00
Jessica Wang
3c4d2e32ba bug 10067: template page - make isExtractable editable. 2011-12-12 15:49:22 -08:00
Brian Federle
f6883d0e2a Restore error message popup 2011-12-12 15:34:23 -08:00
Brian Federle
68e002294f Use 'on' (true) or null (false) for edit values of checkbox 2011-12-12 15:34:09 -08:00
Brian Federle
540c7becf1 bug 12250
-Display error if assigning VMs to LB fails

-Only call success on add load balancer when VM assignment succeeds

-Add error handling to all network sections
2011-12-12 15:31:01 -08:00
Brian Federle
09b0f4a401 Allow admin-type accounts to delete normal users' projects 2011-12-12 15:29:19 -08:00
Jessica Wang
65fad240ce bug 12128: volume page - add new action "migrate volume to another primary storage". 2011-12-12 14:57:57 -08:00
Brian Federle
b65a411386 bug 12277
-Update example files for system chart, to make provider details a
 detailView widget

-Cleanup/refactor zone chart widget to support new changes
2011-12-12 13:04:02 -08:00
Brian Federle
81b011771d bug 12474
Implement isBoolean field support, on detail view edit action. This is
specified like this:

fields: {
  ...

  isPasswordEnabled: {
    ...

    isBoolean: true,
    editable: true,

    ...

  }
}
2011-12-12 11:25:24 -08:00
Jessica Wang
19d5436c86 bug 12128: instance page - add new action "migrate instance to another primary storage". 2011-12-12 10:50:04 -08:00
Brian Federle
314a6361a1 bug 12475
Implement preAction handler for list view/detail view actions. If the
function returns false, then do not proceed further on the action. It
is specified like this:

actions: {
  ...
  preAction: function(args) {
    cloudStack.dialog.notice({ message: "You can't do that!" });

    return false;
  },

  action: function(args) { ... },
  ...
}

It currently passes in the standard args.context that you would get
with a standard action; note that this currently does not support
async server calls, so try to use current state data as much as
possible.
2011-12-12 10:45:08 -08:00
Brian Federle
bfad199a2e bug 12457
Select first network item as default, if unchecking current default
network.

statis 12457: resolved fixed
2011-12-12 10:21:43 -08:00
Brian Federle
56b5c5cf2a bug 12197
Fix enable account action refresh on detail view

status 12197: resolved fixed
2011-12-09 15:34:45 -08:00
Brian Federle
76f79d80ca Projects UI updates
-Add list view for users to accept/decline invitations, found under
 Projects->Invitations drop-down

-Allow project admin to remove pending invitations

-If invites are required, show pop-up after adding user, indicating
 that user will be added after accpting invitation

-Hide all invitation-related UI elements if
 projects.invite.required == false
2011-12-09 15:22:09 -08:00
Jessica Wang
616b478e3a cloudStack 3.0 new UI - network offering page - add Guest Type and Availability in listView. 2011-12-09 13:46:10 -08:00
Brian Federle
21c2979341 bug 12151
Concatenate breadcrumb width & text label if the total size of
breadcrumbs exceeds the width of the container, to avoid wrapping
2011-12-09 12:14:55 -08:00
Jessica Wang
16bb1c2675 cloudStack 3.0 new UI - system VM page - migrate system vm - fix a JS error "args.data.id is undefined" 2011-12-09 12:06:24 -08:00
Jessica Wang
58a1bc71fc bug 10236: cloudStack 3.0 new UI - instance page - make migrate action available regardless of hypervisor type. 2011-12-09 12:01:17 -08:00
Jessica Wang
21b47541a9 cloudstack 3.0 new UI - template page, ISO page - filter in listView - move featured option to be on top. 2011-12-09 11:40:13 -08:00
Jessica Wang
935a0f6193 bug 12151: cloudStack 3.0 new UI - deployVM - after creating a new VM from a password-enabled template, show password in a dialogbox. 2011-12-09 11:19:58 -08:00
Brian Federle
91bb0cfeea bug 12081
-Always login field labels, until text is present in input field

-Focus username field on load

status 12081: resolved fixed
2011-12-09 11:07:53 -08:00
Jessica Wang
b8b2f786dd cloudStack 3.0 new UI - template page - detail view - add isBoolean property to editable boolean field. 2011-12-09 10:52:03 -08:00
Brian Federle
334507639d Update system->security groups provider details
-Make security groups a detail view (like virtual router details), as
 there is only one security group provider per zone.

-Add a view all security groups button, to provide an alternate way to
 view security groups, outside the network section
2011-12-09 10:28:16 -08:00
Brian Federle
314c1f90c4 Clean up handling for UI refresh events
-Always unbind event if object isn't visible

-Use widget-specific refresh event for multi-edit actions, to prevent
 other widgets from being refreshed unecessarily.
2011-12-09 09:12:48 -08:00
Brian Federle
77ee3cedd5 Clean up UI error handling
Restore error messages for widgets -- as the default error handler
will be overridden if an error fn is specified, thus rendering no
message
2011-12-09 08:04:23 -08:00
Jessica Wang
6ac6b95e3c bug 11814:cloudStack 3.0 new UI - register template - show 3 new dropdowns (root disk controller, NIC adapter type, keyboard type) if selected hypervisor is VMware 2011-12-08 16:29:41 -08:00
Brian Federle
bc3a4d44d7 Remove unneeded dialog notifications from configuration section 2011-12-08 15:43:05 -08:00
Brian Federle
302541b5fb Network offering fixes/cleanup
-bug 12387: Add delete network offering action
-bug 12450: Properly refresh all network offering actions
-Make all list view actions visible in detail view

status 12387: resolved fixed
status 12450: resolved fixed
2011-12-08 15:42:45 -08:00
Brian Federle
04a2263e5e Set AJAX defaults to always use JSON and async 2011-12-08 15:38:34 -08:00
Brian Federle
1a524de689 bug 12396: Put apply button on bottom of detail view
-In order to have the 'Apply' button always visible when editing data,
 only put the main fields (i.e., everything except action bar and
 apply button) into a scrollable container.

-Move apply button to bottom of detail view pane
2011-12-08 14:33:30 -08:00
Brian Federle
c9e7f3a1c0 bug 12334: Don't show destroy action to non-owners of project
status 12334: resolved fixed
2011-12-08 13:36:41 -08:00
Jessica Wang
5df5cdcbf3 cloudStack 3.0 new UI - VM wizard - optimize code that forms deployVM API call. 2011-12-08 11:11:32 -08:00
Brian Federle
ba4f814d90 Fix enable static NAT dialog
Require VM selection, or pop-up error message -- prevents server call
from being made without a required VM.
2011-12-07 19:59:31 -08:00
Jessica Wang
16ff38d0fd bug 12381: fix a bug that opening another window to view console causes a JavaScript error "invalid argument" 2011-12-07 19:01:20 -08:00
Brian Federle
c2bfc51b2b bug 12396
Fix list view columns not aligning with header, in some cases where
there are 2 columns and the data provider returns quickly.
2011-12-07 18:58:21 -08:00
Jessica Wang
04c7bb7518 bug 12231: system - guest network - detail tab - split VLAN into 2 fields: start VLAN, end VLAN. 2011-12-07 17:57:53 -08:00
Jessica Wang
ef7ee9389f VM wizard - take care of a use case that no existing network is checked (only new network is checked) when deploying VM. 2011-12-07 17:21:53 -08:00
Jessica Wang
74163af295 VM wizard - if create network fails, show error message and not proceed deploying VM. 2011-12-07 16:30:31 -08:00
Jessica Wang
2f40e8ab51 bug 12409: VM Wizard - take care of use case that args.data["my-networks"] might be a string instead of an array of string. 2011-12-07 16:19:45 -08:00
Brian Federle
484f579b40 Zero out dashboard; have 'view all' go to events 2011-12-07 16:18:25 -08:00
Brian Federle
b55fb5fa48 bug 12270
-Don't show user/invite management tabs for non-project-admin
2011-12-07 16:04:17 -08:00
Brian Federle
5ad44760e1 bug 12400
Show notice if no VMs are selected in port forwarding/load balancing

 -- prevent server call from being performed and 'infinite list' from
    being generated
2011-12-07 15:53:47 -08:00
Brian Federle
b45cfdc21e bug 12352
-Don't refresh detail view after destroy action
2011-12-07 15:46:58 -08:00
Brian Federle
1d087cb3cc Add indicator for 'Released' state 2011-12-07 15:46:08 -08:00
Brian Federle
103ede0793 bug 12410
Bug was caused by a 'cloudStack.fullRefresh' event being triggered on
a non-existent edit widget, for a non-existent project. I changed the
widget to only refresh if the current instance is visible (i.e., most
likely the user still has active data for it)
2011-12-07 15:36:37 -08:00
Brian Federle
2ae4e50a9a Fixes list view/detail view
-Fix list view ID references, which was causing args.context undefined
 errors
2011-12-07 15:11:04 -08:00
Jessica Wang
26d3cfc974 cloudStack 3.0 new UI - host page - add resource state. 2011-12-07 14:37:42 -08:00
Brian Federle
b1beb2cd89 Use associatedNetworkId, not networkId for IP list view 2011-12-07 14:11:22 -08:00