Commit Graph

1881 Commits

Author SHA1 Message Date
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
Brian Federle 9b0373198c Remove test line from filter 2011-12-07 14:07:34 -08:00
Brian Federle 30ed5fc381 Fix list view
-Add label if only one section select option is present

-Fix for broken context variable for accounts, security groups list
 view -- broke detail and list views
2011-12-07 14:02:39 -08:00
Jessica Wang 9b4ac5f083 cloudStack 3.0 new UI - VM wizard - step 5 - some bugs have been fixed in widget code. Here is related UI change. 2011-12-07 13:33:43 -08:00
Brian Federle b3f861bf8f Network section updates
-Only show networks where source NAT is enabled

-If security groups are enabled, show security group section in place
 of network section

-Make acquire IP form a confirm box, since no selection is required
 anymore -- base network ID on selected network in list view
2011-12-07 13:26:08 -08:00
Brian Federle 4abc367525 Fix list view section switcher
-List view switcher now selects the first item from the select list,
 not the first in the section object; this prevents a filtered-out
 section from being displayed by default
2011-12-07 13:26:08 -08:00
Brian Federle be1c0d9923 List view widget: update create action
-Support adding a new row if there is no createForm, but
 addRow == true
2011-12-07 13:26:08 -08:00
Brian Federle 352377e8d7 Update network section list view
-Only show networks with type == isolated

-Remove VLAN field from display

-Filter IP addresses by network ID, not associated network ID
2011-12-07 12:22:45 -08:00
Brian Federle 6e61334bdd Hide section select if only one entry exists 2011-12-07 12:22:45 -08:00
Brian Federle 345607b600 Use correct value/ID for network offering select 2011-12-07 11:36:55 -08:00
Brian Federle 5420554237 Add name field to add network on instance wizard 2011-12-07 11:36:55 -08:00
Jessica Wang a5772425ff cloudStack 3.0 new UI - VM wizard - step 5 - create new network - network offering dropdown - populate only isolated networks with sourceNat. 2011-12-07 10:58:03 -08:00
Jessica Wang a94cd0b579 cloudStack 3.0 new UI - deployVM - select networks step - list all networks in the same container with checkbox and radio button. Provide another container to create new network with network offering dropdodwn. 2011-12-06 19:27:34 -08:00
Brian Federle e3aa4fb4bb bug 12351
-Add 'create new network' field on select network dropdown, with
 network offering select

-Merge direct/shared networks into one list
2011-12-06 16:19:13 -08:00
Jessica Wang b7b31591e3 cloudStack 3.0 new UI - create network offering - remove Max Connections and VLAN ID. 2011-12-06 14:30:18 -08:00
Jessica Wang 4a45fb2a1f cloudStack 3.0 new UI - register ISO - shouldn't have "None" option when ISO is bootable. 2011-12-06 14:13:38 -08:00
Brian Federle 994a74210f bug 12351
-Implement default network radio button for all networks
-Make all network items check boxes
-Automatically check a selected default network

NOTE: Updated server calls need still need to be implemented
2011-12-06 13:55:04 -08:00
Brian Federle 89235c6cb9 Network->IP Addresses -- update 'Acquire new IP' action
-Replace zone select with network select
-Use network ID to acquire IP, instead of zone ID
2011-12-06 12:53:00 -08:00
Brian Federle d826bc1b47 bug 12367: Show status field on invites tab 2011-12-06 12:27:46 -08:00
Jessica Wang 3590f2cc3f bug 12366: cloudStack 3.0 new UI - create network offering - populate system service offerings in service offerings dropdown. 2011-12-06 12:20:14 -08:00
Brian Federle 547972eed5 bug 12288: Add more fields to network list view/detail view
-Added Network type field
-Added VLAN ID field (from broadcasturi)
2011-12-06 12:19:26 -08:00
Jessica Wang 69e3f037a5 cloudStack 3.0 new UI - ISO page - ID of xsTools ISO is no longer 200 2011-12-06 11:52:06 -08:00
Jessica Wang c57fc4390e cloudStack 3.0 new UI - template page - fix a bug that delete action shouldn't be displayed for system built-in templates. 2011-12-06 11:41:30 -08:00
Brian Federle 776f5d0158 Update status indicator 2011-12-06 11:33:37 -08:00
Brian Federle a4b8fc6e24 Cleanup accounts section actions/list view 2011-12-06 11:31:51 -08:00
Brian Federle c55be261d3 Clean up instance wizard 'jumpiness' caused by delay in ajax response 2011-12-06 11:31:27 -08:00
Brian Federle d43cb5cc8c bug 12368
Ability to select new project, by clicking on 'Project View' again,
after an existing project is active.
2011-12-06 11:06:00 -08:00
Jessica Wang 8030991889 cloudStack 3.0 new UI - virtual router - network tab - remove faking accounts/instances/volumes, add PortForwarding service. 2011-12-06 10:52:52 -08:00
Brian Federle 418b5070bf Remove actions from storage list view, to prevent wrapping
-Remove create template action from list view
-Remove download volume from list view
2011-12-06 10:38:07 -08:00
Brian Federle b08f581791 Fixes to IP address section
-Add network name field to IP address details

-bug 12255: Disable firewall area if firewall is disabled in config
2011-12-06 10:29:41 -08:00
Brian Federle 5ad92aeac2 Fix released IP address action filter 2011-12-06 09:04:12 -08:00
Brian Federle 04908e13cb Fix cacheing in IE8 2011-12-06 09:03:58 -08:00
Brian Federle 30d2f60267 bug 12311
-Fix allowed actions not properly refreshing after attach/detach disk

-Fix allowed actions for snapshot section as well

-Misc. cleanup of storage section
2011-12-06 08:55:05 -08:00
Brian Federle 8086e9abc7 bug 12362: List view error handling 2011-12-05 19:29:13 -08:00
Brian Federle 08bbd79ff9 Fix login error message 2011-12-05 19:28:53 -08:00
Brian Federle 433cd51d89 bug 12260: Hide previous button in step 1 of zone wizard 2011-12-05 19:12:16 -08:00
Brian Federle 9b6d1ba0b2 Properly refresh zone chart after provider action is performed 2011-12-05 19:08:58 -08:00
Brian Federle 6434469496 bug 12341
-Show summary page after install wizard creation
-Better icons for progress items
2011-12-05 18:50:52 -08:00
Brian Federle 8de59166a4 bug 12315
-Show summary of actions being performed on installation
2011-12-05 16:38:00 -08:00
Jessica Wang 214e81e781 bug 12356: fix typo in add host dialog. 2011-12-05 16:28:32 -08:00
Jessica Wang 696da56e38 bug 12353: fix typo 2011-12-05 16:24:53 -08:00
Jessica Wang 6caefbc6e4 cloudStack 3.0 new UI - system - routers/systemVMs have been moved to zone on UI. Here is related API call change. 2011-12-05 16:08:25 -08:00
Brian Federle 88d438dc2f bug 12313
-Add back button to install wizard steps
-Misc. refactoring
2011-12-05 16:05:17 -08:00
Jessica Wang 8c0be2e34a bug 12243: cloudStack 3.0 new UI - system - use a different way to get ID for view console of systemVM. 2011-12-05 15:50:57 -08:00
Jessica Wang ef15652237 bug 12243: cloudStack 3.0 new UI - system - service provider - fix a bug that addNetworkServiceProvider was being called again after the provider has been created. 2011-12-05 15:32:38 -08:00
Brian Federle e2743c66cd Remove subtitle on install create phase 2011-12-05 14:23:02 -08:00
Brian Federle b03a8b5939 bug 12344: Updates to system section
-Move System VMs section to relevant are on zone chart
-Make Virtual Router provider a detail view
-Move Virtual Appliances listing to 'virtual routers' detail tab
2011-12-05 14:22:44 -08:00
Brian Federle 93b3aa3efb Setup cloudStack.fullRefresh for zone chart 2011-12-05 09:40:09 -08:00
Abhinandan Prateek 426b464aab bug 8313: still encrypt the passwords when setting up account 2011-12-05 13:08:53 +05:30
Abhinandan Prateek 1dee569f0e bug 8313: LDAP connector tested with ApacheDS 2011-12-05 11:51:21 +05:30
Jessica Wang 1641229c07 bug 12239: cloudStack 3.0 new UI - Navigating to accounts from domain will only show accounts belonging to that domain 2011-12-03 13:15:15 -08:00
Jessica Wang 419a2b1f7d bug 12233: cloudStack 3.0 new UI - public network - delete IP range - fix a bug that id didn't get passed to API call. 2011-12-02 16:52:38 -08:00
Jessica Wang 84adb6b5bc bug 12314: cloudStack 3.0 new UI - add cluster action - pass cluster type as ExternalManaged if hypervisor is VMware. 2011-12-02 16:42:21 -08:00
Jessica Wang 6660f367d0 bug 12223: cloudStack 3.0 new UI - Add Physical Network button has been implemented yet. Hide it from UI for now. 2011-12-02 16:25:50 -08:00
Brian Federle e7c4bc48fd bug 12266
- Show 'delete' instead of 'create' in dialog
- Select domain's parent upon deletion, for UI consistency
2011-12-02 15:39:28 -08:00
Jessica Wang fdb21b5521 bug 12152: take snapshot action - fix a bug that showed message "snapshot undefined is ready" 2011-12-02 15:33:07 -08:00
Jessica Wang 7b68824efb cloudStack 3.0 new UI - instance wizard - fix a bug that isolated network didn't show in step 5. 2011-12-02 15:33:06 -08:00
Brian Federle c067758a34 bug 12309: Implement generic error handling 2011-12-02 14:59:06 -08:00
Jessica Wang 0b54135edc cloudStack 3.0 new UI - zone chart - public network - add IP range - change notification message. 2011-12-02 14:50:56 -08:00
Jessica Wang ec0e29f56b cloudStack 3.0 new UI - vm wizard - fix a bug that isolated sourceNAT network wrongly showed twice in default network section in step 5. 2011-12-02 14:31:38 -08:00
Brian Federle 5fb518662f bug 12263: Remove 'all zones' select when in project view 2011-12-02 13:26:15 -08:00
Brian Federle 3d3e0afd81 Use 'associated network id' instead of physical 2011-12-02 13:10:13 -08:00