Commit Graph

4875 Commits

Author SHA1 Message Date
Jessica Wang a9761a3eb3 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows. Only after clicking Refresh button(i.e. loaded again) will the login screen show.
(cherry picked from commit 53d5e8af18)
2014-10-13 00:26:35 -04:00
Mihaela Stoica 28f8c41a19 CLOUDSTACK-7645: [UI] Fixing incorrect labels, including instances of "???label.*???"
- removed duplicate entries in dictionary
- added dictionary entries that have been missed during the dictionary split
- added missing entries in messages.properties
- fixed other localization issues

(cherry picked from commit 0646588fc6)
2014-10-13 00:23:20 -04:00
Mihaela Stoica 38e4be8e7b CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer
- replaced all occurrences of "listloadbalancerssresponse" with "listloadbalancersresponse" in ui\scripts\vpc.js, following the change in the listLoadBalancers API response string.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit ea5c8eed0c)
2014-10-13 00:16:05 -04:00
Brian Federle fa5c42c409 Undo "Revert "CLOUDSTACK-7647"
This reverts commit 38bd1b934e.

(cherry picked from commit 9c56b3d4db)
2014-10-13 00:12:16 -04:00
Jessica Wang e1d554c352 Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default"
This reverts commit ef4b5d41b7.

(cherry picked from commit 38bd1b934e)
2014-10-13 00:11:34 -04:00
Brian Federle f2b6aa4fe6 CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default
(cherry picked from commit ef4b5d41b7)
2014-10-13 00:07:33 -04:00
Jessica Wang 354cb21109 CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template accross multiple zones" > fix it by including all properties to jsonObj.
(cherry picked from commit 59b0103a53)
2014-10-13 00:05:05 -04:00
Jessica Wang d39c29092b CLOUDSTACK-7634: UI > Project Dropdown on top menu > not all projects are populated when there are more than 500 projects in database.
(cherry picked from commit cb60b0a1c0)
2014-10-12 23:59:50 -04:00
Jessica Wang 555b20f7ec CLOUDSTACK-7625: UI > IP Address page > EnableVPN > If createRemoteAccessVpn returns success, but the newly created remoteaccessvpn object's state is not Running, treat it as a failure.
(cherry picked from commit b592e0af34)
2014-10-12 23:53:26 -04:00
Gabor Apati-Nagy 4fd0799d30 CLOUDSTACK-7562: Details page for disk offerings only show details for write performance
-Fixed all related typos

Signed-off-by: Brian Federle <brian.federle@citrix.com>
(cherry picked from commit dbb70fadc0)
2014-10-12 23:36:25 -04:00
Gabor Apati-Nagy f456cda8cc CLOUDSTACK-7561: UI: After creating a new account, the "Add Account" dialog remains open
-Removed unused code that was causing javascript exception

Signed-off-by: Brian Federle <brian.federle@citrix.com>
(cherry picked from commit 30611be15a)
2014-10-12 23:35:30 -04:00
Jessica Wang 0af0c041e9 CLOUDSTACK-5719: UI > Network > Add Guest Network > when Physical Network dropdown is changed, refresh Network Offering dropdown (because each physical network has its own tags which maps to different network offerings) 2014-10-09 13:15:03 -07:00
Jessica Wang 59e1e9bbd5 CLOUDSTACK-5359: UI > Infrastructure > Clusters > Add Cluster > Public Traffic vSwitch Type field, Guest Traffic vSwitch Type field > do not pass the value of the form field to API call when the the form field is not displaying. 2014-10-08 16:01:57 -07:00
Jessica Wang d3af2de730 CLOUDSTACK-7661: UI > VM Wizard > Keyboard Language > send new parameter keyboard to deployVirtualMachine API call. 2014-10-08 15:02:16 -07:00
Sanjay Tripathi 123ec8b3d3 CLOUDSTACK:7323: [vGPU] Creation of VM snapshot with "memory" is failing.
VM snapshot with memory is not supported for VGPU VMs, so putting checks
for same.
2014-10-08 19:21:12 +05:30
Jessica Wang 925f30a41b CLOUDSTACK-3195: UI > IP Address > detailView > Configuration tab > Port Forwarding > for regular-user, if underlying VM has been destroyed (i.e. listVirtualMachines API returns nothing), compose vm object from limited vm data in port forwarding rule object. So, a vm object (required in widget code) can be passed to widget code. 2014-10-07 16:06:15 -07:00
Jessica Wang 794ee6929d CLOUDSTACK-4987: UI > Instances > detailView > NICs tab > Add network to VM > Network dropdown => (1) For root-admin, populate networks of all accounts. (2) For regular-user/domain-admin, populate only networks belonging to this VM owner. 2014-10-07 14:21:22 -07:00
Jessica Wang 3b704ac6f3 CLOUDSTACK-7681: UI > zone wizard > Advanced zone > hypervisor => do not support BareMetal 2014-10-07 11:00:01 -07:00
Jessica Wang 97768b2657 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows > fix it by declaring the variables beforehand. 2014-10-02 17:07:57 -07:00
Jessica Wang 53d5e8af18 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows. Only after clicking Refresh button(i.e. loaded again) will the login screen show. 2014-10-02 14:43:22 -07:00
Mihaela Stoica 0646588fc6 CLOUDSTACK-7645: [UI] Fixing incorrect labels, including instances of "???label.*???"
- removed duplicate entries in dictionary
- added dictionary entries that have been missed during the dictionary split
- added missing entries in messages.properties
- fixed other localization issues
2014-10-02 10:51:52 -07:00
Mihaela Stoica ea5c8eed0c CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer
- replaced all occurrences of "listloadbalancerssresponse" with "listloadbalancersresponse" in ui\scripts\vpc.js, following the change in the listLoadBalancers API response string.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-10-01 21:29:20 +02:00
Brian Federle 9c56b3d4db Undo "Revert "CLOUDSTACK-7647"
This reverts commit 38bd1b934e.
2014-09-30 15:05:49 -07:00
Jessica Wang 38bd1b934e Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default"
This reverts commit ef4b5d41b7.
2014-09-30 12:54:16 -07:00
Brian Federle ef4b5d41b7 CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default 2014-09-29 12:58:40 -07:00
Jessica Wang 59b0103a53 CLOUDSTACK-7637: UI > fix a bug produced by 4.5 feature "template accross multiple zones" > fix it by including all properties to jsonObj. 2014-09-26 12:02:48 -07:00
Jessica Wang cb60b0a1c0 CLOUDSTACK-7634: UI > Project Dropdown on top menu > not all projects are populated when there are more than 500 projects in database. 2014-09-25 11:29:15 -07:00
Jessica Wang b592e0af34 CLOUDSTACK-7625: UI > IP Address page > EnableVPN > If createRemoteAccessVpn returns success, but the newly created remoteaccessvpn object's state is not Running, treat it as a failure. 2014-09-24 14:25:42 -07:00
Jessica Wang 58cb5baae4 CLOUDSTACK-7601: UI > Global Settings > Baremetal Rack Configuration > populate listView by listBaremetalRct API. 2014-09-22 16:51:58 -07:00
Jessica Wang acb68509f0 CS-21121: UI for Baremetal RCT - (1) Global Settings > add new option "Baremetal Rack Configuration" in Select view dropdown. (2) implement "Add Baremetal Rack Configuration" action. 2014-09-22 16:18:28 -07:00
Pierre-Luc Dion fe2e9a1c5d CLOUDSTACK-401: add missing file format in docs.js 2014-09-21 15:21:17 -04:00
Gabor Apati-Nagy dbb70fadc0 CLOUDSTACK-7562: Details page for disk offerings only show details for write performance
-Fixed all related typos

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-09-19 09:48:39 -07:00
Gabor Apati-Nagy 30611be15a CLOUDSTACK-7561: UI: After creating a new account, the "Add Account" dialog remains open
-Removed unused code that was causing javascript exception

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-09-19 09:45:49 -07:00
vetrivelc 6a11d099cf Fix Externalization of hard-coded label strings
-Split 'dictionary.jsp' into two files -> 'dictionary.jsp' and
'dictionary2.jsp' -- this is due to JSP file constraints as the
localization object is getting quite long

-Per change above, 'dictionary' object is now split into an additonal
'dictionary2' object, which is merged with the main dict object on page
load

-All new dictionary mappings should be added to 'dictionary2' now.

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-09-17 13:59:13 -07:00
Brian Federle c661289941 Fix session expire handling
If session has expired, hide entire UI (except for dialog) to prevent
clicking/seeing expired UI elements.
2014-09-17 13:31:39 -07:00
Jessica Wang d0da107b7f CLOUDSTACK-7497: UI > VM Wizard > select template > reset local variable before retrieving selected template object. 2014-09-16 13:21:01 -07:00
Brian Federle e6b8aedc54 CLOUDSTACK-6412: Fix localization for 'isdedicated' field 2014-09-15 13:13:32 -07:00
Brian Federle b04cc75065 CLOUDSTACK-7526: Fix missing localization on 'add' button 2014-09-15 13:02:27 -07:00
Gabor Apati-Nagy 9f38fd6c9f CLOUDSTACK-6725: [OVS][UI] vm deployment wizard does not show all available zones in a region while deploying vm in a Regionlevel vpc 2014-09-11 12:00:42 -07:00
Gabor Apati-Nagy 3077510838 CLOUDSTACK-6722: [OVS][UI] Network created with StretchedL2Subnet is not available for vm deployement in other zones 2014-09-11 11:56:46 -07:00
Jessica Wang a698c3e276 LOUDSTACK-6840: OVS refers to SDN provider. However, we are not supporting SDN in this release. Therefore, remove OVS from UI for this release. 2014-09-11 10:57:03 -07:00
Ilia Shakitko 281c866206 Add "Edit Tags" functionality to SecurityGroup rules in UI
Signed-off-by: Ilia Shakitko <i.shakitko@tech.leaseweb.com>
2014-09-11 15:47:21 +02:00
Jessica Wang a39bf18bc7 CLOUDSTACK-7462: UI > Network > VPC > Router > Network ACL Lists > click an entry from list > Details tab > ACL List Rules tab > click Edit icon on any existing rule > fix the JavaScript error "args.jsonObj is undefined". 2014-09-10 15:35:53 -07:00
Mihaela Stoica 75cd79a238 CLOUDSTACK-7520: [UI] keep advanced search parameters visible after search has been run.
- Preserve the advanced search parameters, so that when the advanced search box is shown again,
it is populated with the values selected/entered previously, unless they have navigated away from the search results page,
or applied any additional filters/search parameters.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-09-10 15:37:35 +05:30
Jessica Wang 07c9c02789 CLOUDSTACK-7261: related UI change after lsitSystemVMs/listRouters API were fixed to return hypervisor property while state is running. 2014-09-09 15:18:58 -07:00
Jessica Wang d80f6a8d4a CLOUDSTACK-6694: update related comment after Refactor 'assign vm' action into function 2014-09-08 12:07:04 -07:00
Brian Federle e1354878c0 CLOUDSTACK-6694: Refactor 'assign vm' action into function
Makes 'assign vm' action a function, to fix issue where quickview did
not have updated code.
2014-09-08 10:44:40 -07:00
Rohit Yadav c68325deb1 CLOUDSTACK-6624: set specifyIpRanges to true if specifyVlan is set to true
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b7b9cd0d2d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/configuration.js
2014-09-08 10:57:09 +02:00
Jessica Wang c2c511efcd CLOUDSTACK-6694: UI > VPC section > Internal LB tier > Intenral LB > select an internal LB from listing > Details tab > Assigned VMs tab > Assign VMs > change to use vmidipmap parameter instead of virtualmachineids parameter when calling assignToLoadBalancer API. 2014-09-05 13:36:20 -07:00
Jessica Wang 78ce5ea2d3 CLOUDSTACK-7490: UI > Templates menu (listing) > select a template from listing > Details tab > Zones tab (listing) > select a zone from listing > Details tab > fix a bug that wrong "template+zone" combination was shown. 2014-09-04 14:24:15 -07:00
Jessica Wang 659eafffe1 CLOUDSTACK-7483: UI > instance page, template page > hide "Original XS Version is 6.1+" field when OS Type is not Windows since property jsonObj.details.hypervisortoolsversion only applies to Windows - case sensitive when comparing OS Type. 2014-09-03 16:48:58 -07:00
Jessica Wang 801a98617c CLOUDSTACK-7483: UI > instance page, template page > hide "Original XS Version is 6.1+" field when OS Type is not Windows since property jsonObj.details.hypervisortoolsversion only applies to Windows. 2014-09-03 15:13:14 -07:00
Jessica Wang 5e55b6b478 CLOUDSTACK-7480: UI > instance page > change "XenServer Tools Version 6.1+ field" to "Original XS Version is 6.1+" because what the field really presents is the original XenServer version when a VM is initially created. 2014-09-03 11:37:34 -07:00
Brian Federle f9450cc118 CLOUDSTACK-6694: WIP: Add front-end for internal LB subselect 2014-09-02 13:56:18 -07:00
Gabor Apati-Nagy c200ada863 CLOUDSTACK-7463: UI: Domain Admin UI shows 'Add LDAP Users' button (should not be shown)
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-09-02 16:09:38 +05:30
Kishan Kavala 94ab397904 CLOUDSTACK-7429: Allow LXC hypervisor for advance zone with SG hypervisor dropdown 2014-09-01 10:24:11 +05:30
Jessica Wang bea73e511e CLOUDSTACK-7454: UI > zone wizard > Hyper-V > primary storage/secondary storage > move SMB Domain field to be on top of SMB Username field. 2014-08-28 16:19:53 -07:00
Rohit Yadav e6ec51e12a ui: refactor and use a unified unboxing helping method in cloudStack.js
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-28 19:45:22 +02:00
Rohit Yadav a364054db6 Minor fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-28 19:45:21 +02:00
Rohit Yadav 9b1a6dac4a ui: Unbox extra quotes from sessionKey cookie value
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-28 19:45:21 +02:00
Jessica Wang 3d5c217c8d CLOUDSTACK-7451: UI > create network offering > when VpcVirtualRouter is selected as service provider, show System Offering for Router dropdown. 2014-08-27 15:33:13 -07:00
Jessica Wang 21ff99b0ae CLOUDSTACK-7450: UI - dashboard - pass &pageSize=1&page=1 to listXXX API calls that are for getting total number of items. 2014-08-27 14:20:51 -07:00
Brian Federle 26904d1a2b CLOUDSTACK-5952: Add 'VM IP Address' field to IP detail view 2014-08-26 14:38:55 -07:00
Brian Federle e7e6b7233b CLOUDSTACK-4046: Fix global settings CSS
-Truncate key/name field to prevent long strings from stretching the
 table width beyond the container bounds.

-Update min-width for truncated fields for better compatibility
2014-08-26 14:17:54 -07:00
Jessica Wang 5b221c2126 CLOUDSTACK-7435: UI > instance page > assign instance to another account > fix an error "TypeError: json.virtualmachine is undefined [Break On This Error] var item = json.virtualmachine.virtualmachine;" that showed after the action is clicked. 2014-08-26 14:04:43 -07:00
Brian Federle eee93aef3d CLOUDSTACK-7339: Fix missing delete host action
Restore hidden remove host action, caused by misplaced preFilter
function
2014-08-26 14:02:39 -07:00
Brian Federle e8e496187c Instance wizard: Add 'deployVirtualMachine' event hook
For UI plugin development, add new event
'cloudStack.deployVirtualMachine'

-- This passes the wizard form data and all parameters that will be
   passed to deployVirtualMachine; allows plugin to extend data to pass
   additonal data automatically (i.e, custom form fields)
2014-08-26 13:37:11 -07:00
Brian Federle 79c335f60c Add cluster: Fix blank row being added; remove useless notification poll 2014-08-26 13:05:07 -07:00
Daniel Vega 233445ed68 CLOUDSTACK-6998: GloboDNS, Integration with external DNS Provider
This is a feature to handle DNS entries by means of an external DNS Provider,
such as Bind. These entries include DNS domains and reverse domains, VM records
and reverse records.

For a complete description, please refer to the design document available at
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Bind+and+PowerDNS+integration+by+Globo+DNSAPI

For the discussion about this feature on the dev mailing list, please refer to
http://markmail.org/thread/fvwf36hpxotiibka

Summary:
- new Network Service Provider called GloboDNS
- new Network Element to manage network domains and VM records (entries) on an external API
- new Network Resource to communicate with GloboDNS (open source)
- new API command to add DNS server
- new global option to determine if this provider should override VM entries on external DNS server
- changes in UI to include GloboDNS in Providers list

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-21 11:54:44 +02:00
seif 4e5dc59218 Support a new control for storage tags on the Add Compute Offering and Add Disk Offering windows 2014-08-19 18:03:48 -06:00
seif c319c0b3e0 Make using a hint (or no results) text more flexible 2014-08-18 15:07:03 -06:00
seif f2781a5ce3 Update the hint appropriately 2014-08-18 12:48:14 -06:00
seif aadb5f4ad5 GUI modifications related to host tags 2014-08-17 23:44:35 -06:00
seif fd6d083ad6 GUI changes to leverage a new control for storage tags 2014-08-17 17:18:51 -06:00
Mihaela Stoica f212aa57c3 CLOUDSTACK-7293: UI: Fixed localization issues on the login page
- Reverted the validator.messages to the original values (jquery.validator.js).
- Added a function to localize validator.messages which is called before login.

Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-15 10:51:28 -07:00
Mihaela Stoica 3bcd22bdaf Added the ability to show warning (exclamation mark) icon on confirmation dialogs.
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-08-14 14:04:22 -07:00
Mike Tutkowski a698daafff Handle case where no storage tags exist yet 2014-08-13 10:54:10 -06:00
Brian Federle cf8a00cbfd Quickview: Fix action error handling not removing loading state 2014-08-12 15:20:56 -07:00
seif 9d776f4f2c GUI changes to leverage a new control for storage tags 2014-08-12 14:41:22 -06:00
Brian Federle d9fcb87730 CLOUDSTACK-6590: Fix view all link for multi-item detail view
-- Specifically, this fixes issue where secondary IP 'view all' link was
   not displaying, due to a change in the rows' CSS naming conventions
   in the widget.
2014-08-12 13:20:54 -07:00
Mihaela Stoica af37743045 CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-12 11:36:45 -07:00
Jessica Wang d1f6d75426 UI > Infrastructure > Add Primary Storage > use custom function if it's available. 2014-08-08 14:09:17 -07:00
Mihaela Stoica 57f611df16 CLOUDSTACK-6695: Added support to the UI for uploading a chain of certificates
In the "SSL Certificate" dialog we added:
- new field for the root certificate;
- a button to add intermediate certificates if necessary; when this is pressed, a new field, called "Intermediate certificate 1" is added; pressed again, "Intermediate certificate 2" field is added, and so on.

We upload the certificates in order: first the root certificate (with id=1), then the intermediate certificates (with id=2,3,..) and finally the server certificate.
When uploading a certificate, we wait for the upload to be completed successfully and only then we proceed to uploading the next one. If one fails, we report failure and don't continue with the remaining.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-08 10:57:12 -07:00
Jessica Wang 74847dce47 UI > dialog widget > text field > set default value > pass context to function(){}. 2014-08-07 18:55:52 -07:00
Brian Federle 4d952d0a09 createForm, dyanmic input type: Pass in context 2014-07-31 15:32:18 -07:00
Rajani Karuturi 32e8fda965 Fixed CLOUDSTACK-6980: UI for RegisterTemplate API does not expose requireshvm parameter 2014-07-28 11:20:04 -07:00
Rajani Karuturi f1039b782e Fixed CLOUDSTACK-5212: [UI]Need Support for the LXC for the Report sockets 2014-07-28 10:48:03 -07:00
Mike Tutkowski 4746f93038 Update to volume-resize logic 2014-07-25 12:55:59 -06:00
Kishan Kavala 6d1d445542 CLOUDSTACK-7141: UI: support RBD pool type for LXC 2014-07-24 12:40:52 +05:30
Ritu Sabharwal 628d8e66f7 CLOUDSTACK-6823 : First code drop for Brocade Network plugin to orchestrate Brocade VDX switches for L2 connectivity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-23 11:11:18 +02:00
Suresh Ramamurthy 03de9cc335 CLOUDSTACK-6845 : NuageVsp Network plugin
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-21 10:49:49 +02:00
Brian Federle 2a01fd4c51 Quick view: remove extra padding area
Remove extra 'buffer zone' around quick view tooltip. This was
causing misleading behavior in some cases, due to the cursor being
hovered over a different row while another row's quick view was
still open
2014-07-17 11:42:32 -07:00
Jessica Wang 854f6ce3ee UI > network > Edit Network action > not pass networkdomain parameter to updateNetwork API when input field is empty. 2014-07-15 16:19:23 -07:00
Brian Federle b58371e520 List view: Fix action pre-filter for multiselect actions
Evaluates pre-filter for individual actions (i.e., when action.preFilter is specified)
every time a multi-select row is checked orunchecked. This allows multi-select
actions to be shown/hidden on a per-row basis.
2014-07-15 13:30:56 -07:00
Brian Federle 36e5cc2b6a Fix for non-grouped detail view
Fix issue where non-grouped detail page (i.e., instances stats page)
doesn't load due to the fields being passed as an object, not an array.
2014-07-14 15:49:07 -07:00
Jessica Wang 87effa40ea UI > IP Address > hide EnableVPN option on acquired IP. 2014-07-11 13:46:29 -07:00
Brian Federle ab8036b766 List view: View subselect on infinite scrolling
Fixes issue where outdated context is passed to subselect's data provider
when infinite scroll event loads more data items. Now, context is derived
from DOM data directly instead of in the args.
2014-07-10 16:43:31 -07:00
Brian Federle ad051e8504 List view: Fix infinite scrolling
Fixes condition where, on 'refresh' of list view, infinite scrolling no longer
works due to leftover state prior to refresh. Now page # and end-of-list
indicator are stores in DOM object, for easier cleanup
2014-07-02 16:02:52 -07:00
Brian Federle 667347d17e List view: Fix issue with multiple selection actions
Fixes issue where duplicate and/or incorrect list view entries were
being passed due to list view object not being referenced relatively for
multi-select actions, causing more than one list being passed at times.
2014-07-01 11:44:38 -07:00
Mike Tutkowski e6f8833b95 Allow commas in the input of bytes and IOPS when editing a storage pool 2014-06-30 10:39:21 -06:00
seif 9a27f201b0 Enable primary storage to be added that is based on non-default storage plug-ins 2014-06-26 23:49:23 -06:00
Gabor Apati-Nagy 5c36fe84b6 CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers 2014-06-26 11:40:35 -07:00
Mike Tutkowski 06d3043954 Submitted on behalf of Vetri for Review Request 23008 2014-06-26 10:54:27 -06:00
Mike Tutkowski c344693e48 Inform the applicable storage plug-in's life cycle that capacity (bytes and/or IOPS) can be updated 2014-06-24 14:39:57 -06:00
Daan Hoogland c79ab570b0 Revert "CLOUDSTACK-6967: Initial OVM3 drop"
This reverts commit 8a485b9b59.
2014-06-24 10:24:01 +02:00
Funs 8a485b9b59 CLOUDSTACK-6967: Initial OVM3 drop
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit ed47763e25)

Conflicts:
	api/src/com/cloud/network/NetworkService.java
	api/src/org/apache/cloudstack/api/ApiConstants.java
	api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
	engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotObject.java
	plugins/pom.xml
	server/src/com/cloud/network/NetworkServiceImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
	ui/scripts/docs.js
2014-06-23 12:39:10 +02:00
Brian Federle bc4be5272b Detail view: support per-action filtering
Adds support for adding preFilter on a per-action basis, to assist in
plugin development. If action.preFilter function is passed, and returns
true/false, the action is shown/hidden. If no preFilter is specified,
then the action will be passed through the detail view's standard filter.

Example:

testAction: {
    label: 'Test Action',
    ...
    preFilter: function(args) {
        return false; // Action will be hidden
    },
    ...
}
2014-06-18 14:02:16 -07:00
Jessica Wang dbbc6d42fd CLOUDSTACK-6936: UI - (1)dialog widget > dropdown field > provide a blank option if there is no data for option(s) in a dropdown field. (2) Add Primary Storage dialog - cluster dropdown field - still calls args.response.success() when there is no data for option(s). 2014-06-18 12:23:10 -07:00
Brian Federle 6fcd4fbe7b List view: Pass ID to action pre-filters 2014-06-18 11:52:06 -07:00
Brian Federle 04b1e31682 List view, multiSelect: Fix issue where $listView isn't always referenced 2014-06-16 14:11:56 -07:00
Brian Federle 8cf5192a6f List view, multiselect: Only reference elements relative to $listView 2014-06-16 14:07:29 -07:00
Jessica Wang 3a3a3902b7 UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties(). 2014-06-13 16:44:15 -07:00
Jessica Wang 3acebf230c CLOUDSTACK-6852: UI - modules - remove variable drModuleIncluded. 2014-06-13 15:21:16 -07:00
Anshul Gangwar 7ea3930ae9 CLOUDSTACK-6867: Added option to upload the volume in VHDX format 2014-06-13 13:26:16 +05:30
Brian Federle cd17061916 Detail view: Cleanup old tab content on change
Add event handler on tab change to remove all old tab content. This prevents
potential conflicts with referencing widget data caused by old content laying
around.
2014-06-12 13:33:21 -07:00
Jessica Wang 37aabd1998 CLOUDSTACK-6602: UI - VPC - createNetworkACL - fix a bug that caused wrong value being passed to action parameter in API call. 2014-06-11 16:10:56 -07:00
Jessica Wang fa3bda143f CLOUDSTACK-6889: UI - create network offering - to reduce API call size, not pass any parameter whose value entered on UI happens to be the same as its default value at server-side. 2014-06-11 11:18:38 -07:00
Jessica Wang 9334f26084 CLOUDSTACK-6889: UI - create network offering - remove non-needed parameters from API call whose size might exceed limit in some cases. 2014-06-10 14:29:19 -07:00
Jessica Wang 044c5e0eee CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView. 2014-06-09 11:43:20 -07:00
Tim Mackey a8212d9ef4 Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
Jessica Wang 36ec16e4f5 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView. 2014-06-06 15:18:46 -07:00
Jessica Wang ea196a4ffc CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1. 2014-06-06 13:30:13 -07:00
Jessica Wang a8a853e322 CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded. 2014-06-06 13:29:53 -07:00
Jessica Wang 4b4fb1ac90 CLOUDSTACK-6852: UI - attach volume action - VM dropdown - populate options based on whether module is included and whether service is enabled. 2014-06-05 13:49:19 -07:00
Jessica Wang f2a8082a43 CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded(). 2014-06-05 13:48:51 -07:00
Brian Federle 2ac0013505 List view: multi-select actions: Show loading icon during action 2014-06-05 12:29:20 -07:00
Brian Federle c312aa95c2 List view->Detail view: Add new parameter 'noPanelView'
Adds 'noPanelView' option for detail view connected to list view. When
specified, don't support opening the detail view in a new browser pane (i.e.,
only render quickview).
2014-06-03 11:25:57 -07:00
Brian Federle 0b5163f8cf Tree view: Add event hook on sub-item removal 2014-05-29 14:02:47 -07:00
Jessica Wang 9f4d464640 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character. 2014-05-29 12:58:47 -07:00
Brian Federle e656fd67a0 Tree view: Add event hook on sub-item creation 2014-05-29 12:53:36 -07:00
Brian Federle 8a6926606e Treeview widget: Fix condition where browser is not present 2014-05-28 14:55:37 -07:00
Brian Federle 53ba037f86 Detail view: Fix case where view all link referenced wrong details object 2014-05-28 11:41:51 -07:00
Jessica Wang 021a604493 CLOUDSTACK-6789: UI > User page > fix a bug that a domain-admin was unable to delete other domain-admin in the same domain. 2014-05-27 15:45:53 -07:00
Jessica Wang af8e83b410 CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature.
This reverts commit d36c731f79.
2014-05-27 11:41:11 -07:00
Gabor Apati-Nagy 9fa9e3aaff CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs 2014-05-23 10:58:17 -07:00
Brian Federle c769b32e70 List view: Support rendering data cells as a list
If array is passed in field data, render the table cell as a list.

Example:

dataProvider: function(args) {
    args.response.success({ data: [ fieldA: ['i1', 'i2', ...] ] })
}
2014-05-22 15:10:33 -07:00
Jessica Wang d36c731f79 CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature. 2014-05-21 17:22:15 -07:00
Jessica Wang 96f092a0a9 CLOUDSTACK-6729: UI - create compute offering/create disk offering - determine whether to pass certain data to API comamnd upon isCustomized checkbox/isPublic checkbox's value. 2014-05-20 15:51:35 -07:00
Brian Federle 2c54e5e2c5 Detail view: Slice (clone) fields array to prevent duplicate fields 2014-05-16 08:27:03 -07:00
Brian Federle 3ab526433c Detail view: Add event hook on field creation 2014-05-16 08:20:48 -07:00
Sanjay Tripathi 35cd61c463 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:05:28 +05:30
Jessica Wang d7291e5200 CLOUDSTACK-6379: UI > fix a bug that domain admin failed to be created when current login doesn't have visibility to root domain object. 2014-05-12 15:37:42 -07:00
Gabor Apati-Nagy 58d913c25d CLOUDSTACK-6606: Fixed: create network offering dailog box has greyed out (not selectable) providers for the connectivity service. 2014-05-12 13:56:05 -07:00
Jessica Wang 7ae8dc8fbd Revert "CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs"
This reverts commit 348fb7bcb6.
2014-05-12 12:26:37 -07:00
Gabor Apati-Nagy 348fb7bcb6 CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs 2014-05-12 11:40:24 -07:00
Jessica Wang f2d9d71844 CLOUDSTACK-6626: UI - fix a bug that g_userid was not declared. 2014-05-09 13:19:35 -07:00
Jessica Wang 23c7a893e3 CLOUDSTACK-6589: UI > update ssl certificate > correct typo in success message - correct it from "Update SSL Certiciate succeeded" to "Update SSL Certificate succeeded" 2014-05-06 18:18:31 -07:00
Jessica Wang c2c99dc1f6 CLOUDSTACK-6483: UI > Load Balancing > "VM+IP" listing > After removing a "VM+IP" under a LB rule, AddVMs dialog should reflect the change (i.e. show the removed IP in IP dropdown in AddVMs dialog) 2014-05-05 13:47:01 -07:00
Dariusz Nejbauer 41684505d6 CLOUDSTACK-3932: UI: Fix Truncation issue in secondary storage URL
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-05-05 12:15:37 -07:00
Sanjay Tripathi 6c44c0661d CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings. 2014-05-05 14:26:44 +05:30
Brian Federle 4f45c972c3 CLOUDSTACK-6438: Filter out existing IPs in dropdown 2014-05-01 15:40:47 -07:00
Brian Federle 9885cf4fb0 CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs 2014-05-01 15:40:47 -07:00
Brian Federle 1ad532f57e CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen 2014-05-01 15:40:47 -07:00
Rajani Karuturi f4779b4d0c Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack account
Conflicts:
	api/src/com/cloud/user/AccountService.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-29 14:49:06 +05:30
Nitin Mehta 1d45b75298 CLOUDSTACK-6499:
Made changes so that uploading custom certificate works for ssvm.
    1. Reboot ssvm only when private key is passed meaning the server cert is passed. This is because while uploading the server cert is the last to be uploaded. And we want to propagate the entire chain once uploading is done.
    2. Change the SecStorageSetupCommand sent to ssvm so that it also carries the root cert apart from having the chain and the server cert and key.
    3. Change ssvm agent code to be able to configure root cert to the java key store.
    4. Change ssvm configure ssl script to insert the chain certs correctly.
    5. Fix order of chain certificates for apache webserver in SSVM
    6. Remove double encoding and decoding for uploadCustomCertificate API from UI and server code respectively, so that API call without UI works fine
    7. Java 1.7 - disable using SNI since copyTemplate doesnt work for SSL.
2014-04-24 17:27:02 -07:00
Gabor Apati-Nagy 156b08af5f CLOUDSTACK-6255
UI for supporting region level VPC, distributed routing enabled VPC and
stretched L2 neworks
2014-04-24 15:05:59 -07:00
Brian Federle 5335ae7753 List view, dialog VM select: Widen name field to better fit IP subselect box 2014-04-24 11:30:20 -07:00
Jessica Wang aabe6f2baf CLOUDSTACK-6487: UI > Add LDAP Account - fix a bug that a LDAP account that does not have email and all LDAP accounts below it are missing from the listing. 2014-04-23 17:07:00 -07:00
Jessica Wang ee461f0c68 CLOUDSTACK-6477: UI - Load Balancing - add VMs => fix error 'Unable to decode parameter vmidipmap[0].vmip[]; if specifying an object array, please use parameter[index].field=XXX, ~ ' 2014-04-23 15:00:13 -07:00
Sanjay Tripathi 5eaf3be44a CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu. 2014-04-18 13:49:26 +05:30
Brian Federle 4c4cfe5e13 Create form: Store passed JSON object in select options, for plugin use 2014-04-17 15:52:56 -07:00
Mihaela Stoica f3cf85bb62 CLOUDSTACK-6233: Add new tab "GPU" in Host detailView for gpu enabled hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:41 +05:30
Mihaela Stoica 3fbac14aa9 CLOUDSTACK-6393: Add gpu details in Compute Offering detail view
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:41 +05:30
Mihaela Stoica 7c02a996f7 CLOUDSTACK-6394: Add gpu details in "Add Compute Offering”
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Signed-off-by: Sanjay Tripathi <sanjay.tripathi@citrix.com>
2014-04-16 16:09:40 +05:30
Brian Federle e35bec515f CLOUDSTACK-6342: UI changes for secondary IP on LB rules
This is front-end only; API call changes still need to be done.
2014-04-15 14:42:11 -07:00
Chris Suich a3bfda1350 Fixed issue with labels being displayed in dialog
CLOUDSTACK-6368
2014-04-12 11:17:30 -04:00
Chris Suich 8bca77580a Fixed 'label.path' being displayed in zone wizard
CLOUDSTACK-6372
2014-04-12 11:17:30 -04:00
Chris Suich ea29adb7b9 CLOUDSTACK-5785: VM display name cell not updated upon detaching volume from VM 2014-04-10 22:27:41 -04:00
Jessica Wang afcf6d041d CLOUDSTACK-6380: UI > hosts page > add new action "Disable Host", "Enable Host". 2014-04-10 13:58:10 -07:00
Marcus Sorensen 11f5bdd78d CLOUDSTACK-6191 Add support for specifying volume provisioning
type (thin, sparse, fat) in disk/compute offerings.

Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
Jessica Wang ad60eed4a9 CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - fix a bug that vmidipmap was not sent to API. 2014-04-08 15:37:31 -07:00
Jessica Wang b80a71ccb9 CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - remove action - pass vmidipmap instead of virtualmachineids to removeFromLoadBalancerRule API where IP Address is specified for this VM under this LB rule. 2014-04-08 14:05:22 -07:00
Jessica Wang 14f27997dc CLOUDSTACK-6342: UI - Load Balancing - LB rule listing - pass lbvmips=true to listLoadBalancerRuleInstances API and display "VM + IP Address" under each LB rule. 2014-04-08 11:13:09 -07:00
Sanjay Tripathi 2ae9da8d47 CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough. 2014-04-08 22:10:09 +05:30
Jessica Wang 781b7eec3f CLOUDSTACK-6342: UI changes for feature use secondary IP address of NIC in Load balancing. 2014-04-04 15:32:43 -07:00
Brian Federle 28aa9001c5 Instance wizard UI: Pass data for multi-disk service offerings 2014-04-03 14:52:33 -07:00
Jessica Wang c6190a1c62 CLOUDSTACK-6335: UI - Acquire IP dialog - show/hide "cross zones" checkbox upon portableipserviceenabled property of the current region instead of Local region. 2014-04-03 14:36:16 -07:00
Brian Federle e812b7551d Remove commented-out-code 2014-04-03 14:00:24 -07:00
Brian Federle a82a1299ec WIP: Instance wizard UI: Support multi-disk offerings
Adds front-end support to instance wizard UI for service offerings
supporting multiple disks.

The UI changes will show if a list 'multipleDisks: []' is passed with
the disk offering data options.
2014-04-02 16:28:15 -07:00
Gabor Apati-Nagy 883d7f17f7 Value of Global parameter "custom.diskoffering.size.min" is not reflected in UI during new instance creation.
Added fields to /api and /server classes for CustomDiskOfferingMinSize
to be available in CapabilitiesResponse. Fixed UI code in Instance
Wizard to have this config value as the minimum selectable option when
we are in custom disk size mode.
2014-04-01 10:57:36 -07:00
Anshul Gangwar 24820d20d3 CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-01 14:00:24 +05:30
Brian Federle 9b16a6dfdc CLOUDSTACK-6227: Don't show API/secret key fields in quickview 2014-03-28 10:25:06 -07:00
Gabor Apati-Nagy e65d6bd3a8 CLOUDSTACK-6227 (Add copy-paste support for detail view fields):
DetailView widget now supports bool isCopyPaste property that can be set
for fields. If this is set to true, the text of this field is displayed
using ellipsis formatting* and a copy-paste icon is available right next
to it. On clicking this icon, the full text is displayed

*: tooltip is also enabled showing the original non-ellipsed value
2014-03-28 10:15:19 -07:00
Jessica Wang 8c8853e0e2 CLOUDSTACK-6296: UI > If an account's timezone is not set, show datetime field based on browser's timezoneoffset. 2014-03-27 14:12:19 -07:00
Brian Federle d60af6862c UI: Update tooltips for primary storage, upload volume fields 2014-03-27 11:00:12 -07:00
Anshul Gangwar e3e452625e CLOUDSTACK-6267: unblocking smb as zone wide primary storage for hyperv
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-27 16:24:40 +05:30
Brian Federle 93a2340516 Instances UI: Truncate name, displayname fields to prevent overflow 2014-03-25 15:49:07 -07:00
Mike Tutkowski 578e500bc2 CLOUDSTACK-6170 (when the "No Thanks" radio button is selected, remove controls related to custom size and custom IOPS) 2014-03-22 19:41:34 -06:00
Jessica Wang 7b817a2ad9 CLOUDSTACK-6272: UI > Instance > actions > replace internal action name "restore" with "recover", "reset" with "reinstall". 2014-03-21 14:49:33 -07:00
Brian Federle 15729f342c CLOUDSTACK-6272: Fix recover/restore VM actions
-Label recoverVirtualMachine as 'Recover VM'
-Label restoreVirtualMachine as 'Reinstall VM'
-Change confirmation text for restoreVirtualMachine to be more explicit
-Change restoreVirtualMachine icon to 'recycle' symbol, to avoid
 confusion with the reboot VM icon
2014-03-21 13:28:52 -07:00
Mihaela Stoica 7008f2713b UI: Applied localization function to labels on Zone Chart page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-03-20 10:57:06 -07:00
Brian Federle f34f001371 Fix incorrect context being passed to hosts->instances section
Fixes issue where, if an action is being performed from the quick view in the
'Instances' section, the old context will be passed when viewing instances in
the 'hosts' section, causing all instances to be displayed. This was caused
by the quickview tooltip still being in the DOM, even after closing it by
clicking an action.
2014-03-18 14:31:28 -07:00
Mike Tutkowski d55c4dd804 CLOUDSTACK-6170 2014-03-14 23:47:20 -06:00
Sanjay Tripathi bc4c8052fd findbugs: impossible cast in CreateServiceOfferingCmd file. 2014-03-13 15:04:18 +05:30
Jessica Wang e7ad33c456 CLOUDSTACK-6229: UI > Delete Host action > if hypervisor is XenServer, display 'The host has been deleted. Please eject the host from XenServer Pool'. 2014-03-11 15:15:17 -07:00
Jessica Wang 415e4bffd6 CLOUDSTACK-6226: UI > multi widget > dropdown field > translate option value. 2014-03-11 11:19:00 -07:00
Sanjay Tripathi c7d31fe288 CLOUDSTACK-4760 : Enabling GPU support for XenServer.
CLOUDSTACK-4762 : Enabling VGPU support for XenServer.

This feature is to enable the GPU-passthrough and vGPU functionality,
with the help of this feature, admins/users will be able to leverage
the GPU graphics unit power by deploying a virtul machine with GPU or
vGPU support or by changing the service offering of an existing VM
at any later point of time. There GPU/vGPU enabled VMs are able to run
graphical applications.
For now, this feature is only supported with XenServer hypervisor but
can be extended to add the support of other hypervisors.
2014-03-11 15:44:51 +05:30
Mike Tutkowski c427e8db1c CLOUDSTACK-6170 2014-03-07 15:38:50 -07:00
Mike Tutkowski 9b66866dc2 CLOUDSTACK-6170 2014-03-06 13:01:11 -07:00
vetrivelc 182c31899b Externalized the hardcodedstrings from UI JAVASCRIPT files. 2014-03-05 14:11:51 -08:00