Commit Graph

1929 Commits

Author SHA1 Message Date
Jessica Wang 27ff5e7b51 bug 12534: cloudStack 3.0 new UI - zone chart - management - details - remove GuestCIDR field since it's no longer under a zone. 2011-12-14 16:37:57 -08:00
Jessica Wang 20e9f40a53 cloudStack 3.0 new UI - zone chart - remove obsolete zone detail page. 2011-12-14 16:31:07 -08:00
Brian Federle 61d8678031 WIP: Implement user dashboard
** Still missing projects, IP address stats
2011-12-14 16:26:40 -08:00
Brian Federle 3d00c1e33f Always pass role ID after login/auto-login 2011-12-14 16:26:40 -08:00
Jessica Wang c53fee2911 cloudStack 3.0 new UI - system - management - implement update zone. 2011-12-14 16:03:28 -08:00
Brian Federle 49aa03a807 Dashboard updates
-Implement general and host alert listings

-Move dashboard UI code to ui-custom/dashbaord.js
2011-12-14 15:44:09 -08:00
Brian Federle 94ed94c3fb Implement dashboard capacity section 2011-12-14 14:56:08 -08:00
Jessica Wang 2df6f7a0f1 bug 12534: Add Guest network - scope dropdown - change option description. 2011-12-14 14:50:09 -08:00
Jessica Wang 8f15c07ebf bug 12534: Add Guest network - remove isTagged dropdown. 2011-12-14 14:35:36 -08:00
Jessica Wang ad6c2bcc89 cloudstack 3.0 new UI - system page - remove old networks section (replaced with network-as-a-service section) 2011-12-14 14:25:41 -08:00
Jessica Wang 8a0350ec95 bug 12534: Add Guest network - remove isDefault checkbox. 2011-12-14 14:05:44 -08:00
Jessica Wang c20f467aee bug 10409: edit zone - make domain suffix field editable. 2011-12-14 13:03:20 -08:00
Jessica Wang 919ca59d5c bug 10409: create zone - add domain suffix field 2011-12-14 11:57:14 -08:00
Brian Federle e230341a05 bug 12542
Add action pre-filter to add network action -- if guest network is
present and zone is basic, pop up a notice message and prevent dialog
from appearing

status 12542: resolved fixed
2011-12-14 11:31:36 -08:00
Brian Federle 26c5377340 bug 12533
Disable 'Public' network area if in a basic zone

status 12533: fixed resolved
2011-12-14 11:15:35 -08:00
Jessica Wang 53a4266d6b bug 10409: edit account - make domain suffix field editable. 2011-12-14 11:04:09 -08:00
Jessica Wang 2720bd5725 bug 10409: create account - add domain suffix field 2011-12-14 10:24:31 -08:00
Brian Federle 40c7b5b24d Fix refresh button event 2011-12-14 08:21:39 -08:00
Brian Federle 9f4e2d45c5 Fix dashboard error when 0 zones present (i.e., fresh install) 2011-12-14 08:15:31 -08:00
Brian Federle 405fa75b6d Implement system dashboard 2011-12-14 07:56:43 -08:00
Jessica Wang 582d565a4f bug 10409: edit domain - make domain suffix field editable. 2011-12-13 16:59:01 -08:00
Jessica Wang 96e3f7fbf5 bug 10409: create domain - add domain suffix field. 2011-12-13 16:54:04 -08:00
Jessica Wang 82b5ac90c6 bug 11200: configuration - instance page - migrate instance to another host - host dropdown - apply new property suitableformigration in host description. 2011-12-13 15:15:38 -08:00
Jessica Wang c24bcd09ce bug 11200: configuration - Hypervisor Capabilities page - implement Edit action. 2011-12-13 14:35:10 -08:00
Jessica Wang 2c049e3250 bug 11200: configuration - add new page Hypervisor Capabilities. 2011-12-13 14:26:19 -08:00
Jessica Wang 438769badd cloudStack 3.0 new UI - configuration - change option name in select view. 2011-12-13 13:45:22 -08:00
Brian Federle 6359419f99 Update provider list view titles 2011-12-13 13:23:27 -08:00
Brian Federle d550b6bb66 bug 12490
-Fix item refresh when adding new provider devices

-Fix missing add actions for all provider devices

status 12490: resolved fixed
2011-12-13 12:47:40 -08:00
Jessica Wang 4ca85a9f6c bug 12473: create guest network - list only network offerings whose state is enabled in dropdown. 2011-12-13 12:02:38 -08:00
Brian Federle 274df8b718 Lower page size to 20 per request
-- better fit for the size of most list views in UI
2011-12-13 11:29:25 -08:00
Brian Federle 1ea5c6466c bug 12419
Fix context not being passed to infinite scrolling load, causing error

status 12419: resolved fixed
2011-12-13 11:21:03 -08:00
Brian Federle 25992be5e4 bug 12277
Provider better flow for configuring providers:

-Convert all 'Configure' views from a list view to a detail view

-Add a view all to provider detail views to show list of individual
 providers

-Cleanup provider action handling for better UI feedback (correctly
 refreshes appearance after action, etc.)

This affects the NetScaler, F5, and SRX provider views on the system
chart

status 12277: resolved fixed
2011-12-13 10:33:13 -08:00
Jessica Wang 4fc953ed34 bug 12229: guest network - network tabs - Restart required field - highlight it in red if value is Yes (to get user's attention). 2011-12-13 09:55:54 -08:00
Brian Federle b30ae76b67 bug 12492
-Fix error handling for list view actions

-Add error handlers for all Configuration section actions/data calls

status 12492: resolved fixed
2011-12-12 17:26:49 -08:00
Brian Federle 254e8394ee Rename 'Create' to 'OK' to apply more generally to actions 2011-12-12 17:08:55 -08:00
Brian Federle 6a72aab25c bug 12405: Hitting 'Enter' causes create from to submit
status 12405: resolved fixed
2011-12-12 17:08:18 -08:00
Jessica Wang 83b820df85 bug 12229: guest network - network tabs - add Restart required field. 2011-12-12 17:07:50 -08:00
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
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