Commit Graph

3281 Commits

Author SHA1 Message Date
Jessica Wang 8dd1991e6d CS-16662: cloudstack UI - IP Address page - VPN tab - pass domainId/account parameter to removeVpnUser API. 2012-10-31 16:30:17 -07:00
Jessica Wang e7fad41994 CS-16573: cloudstack UI - update network offering - encode data passed to API call. 2012-10-31 15:53:04 -07:00
Jessica Wang 489b60e3d5 CS-16573: cloudstack UI - system offering page, disk offering page - encode data passed to API call. 2012-10-31 15:45:47 -07:00
Jessica Wang ab4f707936 CS-16573: cloudstack UI - compute offering page - encode data passed to API call. 2012-10-31 15:27:16 -07:00
Jessica Wang b2656b5ce2 CS-16573: cloudstack UI - global settings page, Hypervisor Capabilities page - encode data passed to API call. 2012-10-31 15:26:44 -07:00
Jessica Wang ae79a1ebbd cloudstack UI - domain page - create domain - encode data passed to API call. 2012-10-31 15:26:05 -07:00
Jessica Wang 703c5b44f2 cloudstack UI - user page - update user, change password, generate key, disable user, enable user, delete user - encode data passed to API call. 2012-10-31 15:25:32 -07:00
Jessica Wang 8692f68603 CS-16573: cloudstack UI - create user - encode data passed to API call. 2012-10-31 15:18:46 -07:00
Jessica Wang bfbf634c0f CS-16573: cloudstack UI - user page - listView - encode data passed to API call. 2012-10-31 15:14:52 -07:00
Hugo Trippaers bd58ceccd8 Summary: Make the authenticator responsible for encoding the password and add a SHA256 salted authenticator
The authenticators now have an encode function that cloudstack will use to encode the user supplied password before storing it in the database. This makes it easier to add other authenticators with other hashing algorithms. The requires a two step approach to creating the admin account at first start as the authenticators are only present in the management-server component locator.

The SHA256 salted authenticator make use of this new system and adds a hashing algorithm based on SHA256 with a salt. This type of hash is far less susceptible to rainbow table attacks.

To make use of these new features the users password will be sent over the wire just as he typed it and it will be transformed into a hash on the server and compared with the stored password. This means that the hash will not go over the wire anymore.

The default authenticator in components.xml is still set to md5 for backwards compatibility. For new installations the sha256 could be enabled.
2012-10-30 12:56:56 +01:00
Jessica Wang 6358acff54 cloudstack UI - project page - advanced search - (1) API doesn't take in zoneId, tagKey, tagValue. Therefore, remove the 3 fields from UI. (2) API takes in displayText. Therefore, add this field to UI. 2012-10-29 09:35:25 -07:00
Jessica Wang 4e8cf95140 CS-16573: cloudstack UI - account page - disable account, enable account, lock account, delete account, update resource count - encode data passed to API call. 2012-10-26 11:44:36 -07:00
Jessica Wang 539760ec68 CS-16612: cloudstack UI - Shared VLAN UI change - Network page - if it's Shared network and login is not root-admin, hide delete and restart option. 2012-10-26 11:00:41 -07:00
Jessica Wang ef0be741c3 CS-16573: cloudstack UI - basic search in account page, update account action - encode data passed to API call. 2012-10-26 10:59:32 -07:00
Jessica Wang 7d15dc1d4d CS-16605: cloudstack 3.0 UI - create network offering - Mode dropdown (side by side/inline) - do not pass capabilitytype=InlineMode to API call when "side by side" is selected. Only pass it when "inline" is selected. 2012-10-25 15:59:54 -07:00
Brian Federle e6c3e59e39 UI custom actions/enable static NAT: fix loading state
Fixes a bug where the loading state is not immediataly set for the
detail view on performing certain custom UI actions, particularly
enable static NAT.

This passes a separate 'start' function to the custom widgets, which
triggers the loading state, and 'complete' when the action
completes (i.e., the server call is done)
2012-10-25 14:40:16 -07:00
Brian Federle 0b2e5f1b17 CS-16567: Support quickview for custom actions
For custom actions (such as enable static NAT), fix instance list row
not updating when accessing via the quickview.
2012-10-25 13:59:53 -07:00
Jessica Wang e531763d87 Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - exclude ICMP from Protocol dropdown."
This reverts commit b7ccae0dde.
2012-10-25 12:43:25 -07:00
Jessica Wang 0c96db5898 Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - call listNetworkOfferings API only when the screen is navigated from Guest Network section, but not from VPC section."
This reverts commit a8e18f0529.
2012-10-25 12:42:10 -07:00
Jessica Wang aee0bf3e7b Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - if Firewall is provided by JuniperSRX, hide Firewall icon when Port forwarding is configured on IP Address."
This reverts commit 714b0593d3.
2012-10-25 12:40:41 -07:00
Jessica Wang 2b36ad8f92 CS-16612: cloudstack UI - create network offering - show all services regardless of guestIpType(Shared/Isolated). 2012-10-25 12:09:38 -07:00
Brian Federle 062190ccd8 Support IP address and services UI for shared networks
Currently, the IP addresses section and PF/LB/FW rule configuration is
disabled for shared networks; this change enables it for any shared
network with the source NAT service enabled. This makes the UI the
same for how it is with isolated networks.
2012-10-25 12:07:45 -07:00
Jessica Wang cc8b97ce97 CS-16573: cloudstack UI - create account - encode data passed to API call. 2012-10-25 11:11:44 -07:00
Jessica Wang b8e87cff00 CS-16573: cloudstack UI - Alerts page - basic search - encode data passed to API call. 2012-10-25 11:10:49 -07:00
Jessica Wang 1400f84a33 CS-16573: cloudstack UI - update ISO - encode data passed to API call. 2012-10-25 11:05:53 -07:00
Jessica Wang ef83621c5b CS-16573: cloudstack UI - update template - encode data passed to API call. 2012-10-25 11:05:04 -07:00
Jessica Wang 48c2e6b844 CS-16573: cloudstack UI - register ISO - encode data passed to API call. 2012-10-24 15:09:07 -07:00
Jessica Wang 8fff59eb76 CS-16573: cloudstack UI - register template - encode data passed to API call. 2012-10-24 15:08:35 -07:00
Jessica Wang 8e2ebb26a8 CS-16573: cloudstack UI - IP Address page, VPN Customer Gateway page - basic search - encode data passed to API call. 2012-10-24 15:07:25 -07:00
Jessica Wang 47c83ef403 CS-16573: cloudstack UI - guest network page - update network - encode data passed to API call. 2012-10-24 14:54:39 -07:00
Jessica Wang d1493880f0 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - apply action filter back. 2012-10-24 14:54:00 -07:00
Jessica Wang 145d0a7f76 CS-16573: cloudstack UI - upload volume, create template from volume, create template from snapshot, create volume from snapshot - encode data passed to API call. 2012-10-24 14:53:42 -07:00
Jessica Wang de1fd5d0a8 CS-16573: cloudstack UI - create template from VM - encode data passed to API call. 2012-10-24 14:52:53 -07:00
Jessica Wang afeced1e43 CS-16573: cloudstack UI - update instance - encode data passed to API call. 2012-10-24 14:52:13 -07:00
Jessica Wang 1c54348081 CS-16573: cloudstack UI - create tag, delete tag - encode tags[0].key and tags[0].value when passing them to API call. 2012-10-24 14:51:38 -07:00
Jessica Wang 9372171af1 CS-16573: cloudstack UI - create volume - encode data passed to API call. 2012-10-24 14:50:46 -07:00
Brian Federle a96b27b5ac CS-16566: Remove egress rule tab if network ACL not present
-If network ACL feature is not part of a network's offering, then hide
 the egress rule tab

-Also includes code cleanup of network tabFilter
2012-10-24 14:28:02 -07:00
Jessica Wang 6ad1ed05e3 Bug 14981: cloudstack UI - update Host - OS Category dropdown - assign empty string instead of null as id to blank option. When Apply button is clicked, check whether the option id is empty string instead of English word 'None' which doesn't work for non-English environment. 2012-10-24 14:18:05 -07:00
Brian Federle 7ed60961f0 Quickview: don't run tabFilter
For compact detail view (quickview), don't execute tabFilter, as only
the first tab is rendered in all cases. This prevents excessive API
calls from being made, slowing performance.
2012-10-24 13:40:15 -07:00
Brian Federle 72259693ac CS-16567: Fix context for quick view on add row
After adding a new instance row, in some cases the list view's context
is not passed fully to the quickview, which broke certain sections.

This ensures that the full context stored in the list widget is passed
to the quickview.
2012-10-24 12:56:40 -07:00
Brian Federle 61a6aada07 CS-16586: Disable quick view for zone->guest network list
Due to technical limitations, disable quick view for the guest
networks list view under the zone traffic type section.
2012-10-24 11:37:13 -07:00
Brian Federle d01bbb9417 Apply same dataProvider map to both ingress and egress rules
-Because the dataProvider for both ingress and egress rules are
 handled the same, use a shared data mapping for both
2012-10-22 17:20:48 -07:00
Brian Federle 7fda33bbd0 CS-16572: Fix missing fields when start port == 0 2012-10-22 16:49:19 -07:00
Brian Federle db165896d2 Fix license headers and remove external links 2012-10-22 15:29:29 -07:00
Brian Federle 8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
Brian Federle d3040de21d UI Quick view: don't render for function-based detail view
Disables quick view if detail view is returned via a closure, as it
breaks the quick view in this case.
2012-10-22 12:17:55 -07:00
Jessica Wang d5607bc56d CS-16555: cloudstack UI - Infrastructure page - zone detail - service provider - Add F5 device - Inline Mode has been moved from Add F5 Device to Create Network Offering (both backend and UI). 2012-10-22 11:52:01 -07:00
Jessica Wang 5c71d96f55 CS-16555: cloudstack UI - create network offering - when LB service is checked and provider is F5, show new dropdown "Inline Mode" dropdown. Hide it otherwise. 2012-10-22 11:49:16 -07:00
Brian Federle f311880218 Quick view UI: Add alt tag for long titles 2012-10-22 11:22:16 -07:00
Brian Federle 65cf092f60 Network offering UI: Pass 'associatePublicIP' option
If elastic LB service is enabled for a shared network offering, add a
checkbox to associate public IP. This passes new option
'associatePublicIp=[true/false]' on creation.
2012-10-19 10:13:11 -07:00
Brian Federle e61aa3aa74 Don't create tag widget in quickview mode 2012-10-18 15:25:09 -07:00
Jessica Wang 714b0593d3 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - if Firewall is provided by JuniperSRX, hide Firewall icon when Port forwarding is configured on IP Address. 2012-10-18 14:41:06 -07:00
Jessica Wang a8e18f0529 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - call listNetworkOfferings API only when the screen is navigated from Guest Network section, but not from VPC section. 2012-10-18 14:36:29 -07:00
Jessica Wang b7ccae0dde cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - exclude ICMP from Protocol dropdown. 2012-10-18 14:35:47 -07:00
Brian Federle 640aba7a77 UI quick view: Fix action state update
Fix case where quick view was removed instead of hidden by a dialog
before performing an action, which casued the list view row to not
update on completion
2012-10-18 12:52:50 -07:00
Brian Federle acae5f23bc Quickview UI: Localize string 'Quickview'
Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/dictionary.jsp
2012-10-18 11:03:24 -07:00
Brian Federle d7704422ac UI browser: add panel focus overlay
On hover of a breadcrumb, show an overlay effect which focuses on that
particular panel, hiding all panels after it.

This allows a user to see the content of previous breadcrumbs that the
user loaded.
2012-10-16 14:11:05 -07:00
Brian Federle caf1206b15 Re-enable inline mode for SRX + F5
Now that inline mode is supported, re-enable mode drop-down for SRX
and F5 creation forms.
2012-10-16 12:13:31 -07:00
Jessica Wang f4d085d609 CS-16486: cloudstack UI - listView dataProvider - not to pass details=min as default. 2012-10-16 11:05:06 -07:00
Jessica Wang ff8fccccb2 CS-16326: cloudstack UI - instance page - listView - (1) the column that maps to name property in API response is labelled as "Name" instead of "Host Name".
(2) add back Internal Name column for root-admin.
2012-10-16 10:01:15 -07:00
Brian Federle f72434261c CLOUDSTACK-352: Fix user dashboard VM count
Pass listAll=true to user dashboard API call, so domain admin can see totals
for all user VMs.
2012-10-15 14:23:42 -07:00
Brian Federle 7e704d1b3d Fade-in notification widget on show 2012-10-15 10:05:24 -07:00
Rohit Yadav 4c69cac42e CLOUDSTACK-341: Fix incorrect js object in system.js
Use correct object in system.js that fixes the issue of management traffic
details not getting loaded as it fails on type error.

Fixes regression introduced in 95b6a5eeda
2012-10-14 20:53:18 +05:30
Jessica Wang 08b074a101 CS-16493: cloudstack UI - IP Address page - hide VLAN for regular-user/domain-admin. 2012-10-12 15:22:15 -07:00
Jessica Wang 318a60fd6a CS-16493: cloudstack UI - guest network page - hide VLAN ID for regular-user/domain-admin. 2012-10-12 14:50:55 -07:00
Jessica Wang 7cac7ff2c7 cloudstack UI - left navigation - group menus for the same role. 2012-10-12 14:06:55 -07:00
Hugo Trippaers c07d6d28ee Merge branch 'nicira-l3support'
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding

Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules

Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Jessica Wang e73cbfe6a9 CS-16344: cloudstack UI - multiEdit widget - remove isOptional property, isDisabled property from field level since they are supposed to be on field.range level. 2012-10-11 14:07:03 -07:00
Brian Federle ea934c1a02 Update advanced search styling
- Add cancel button

- Move search buttons to the right
2012-10-11 13:27:07 -07:00
Brian Federle 44996d4611 Style advanced search
-Convert advanced search to a drop-down that overlaps the standard
 search when visible

-Add new arrow icon to show advanced search popup
2012-10-11 12:13:55 -07:00
Rohit Yadav 6dd5c3fd42 CLOUDSTACK-70: Improve restart network behaviour for basic network
If cleanup=true, network elements and resources are shutdown and
reimplemented. Else, shutdown/reimplementation is skipped. Enabled
cleanup checkbox in CS UI.

For both cases, VRs are only deployed for Pods with no running
or starting VRs and Pods having running or starting user vms.

New DAO helpers introduced:
HostPodDao: listByDataCenterIdVMTypeAndStates
DomainRouterDao: listByPodId and listByPodIdAndStates
VMInstanceDao: listByPodId and corrected definition of listByTypeAndState

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 19:33:26 +05:30
Jessica Wang ad280bd174 CLOUDSTACK-228: cloudstack UI - host page - hide Force Reconnect option when host state is Disconnected. 2012-10-10 12:40:39 -07:00
Brian Federle 65a526fa54 Quick view: fix for dialog actions
In some cases, clicking out of an overlayed dialog will cause an open
quick view to become stuck. This fixes via a new class 'hovered-elem'
which, when attached to any DOM element, will have its 'mouseleave'
triggered once the dialog is closed.
2012-10-10 11:18:03 -07:00
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Mice Xia a5edef06c9 CLOUDSTACK-256 vpn:As an admin user , not able to delete VPN user which is present in a regular user's network. 2012-10-10 13:43:30 +08:00
Jessica Wang 7af3f6ef94 cloudstack 3.0 UI - instance page - listView - not pass details=min to API call since nic and securitygroup info is needed here. 2012-10-05 15:21:47 -07:00
Jessica Wang e7e486204e cloudstack UI - dialog widget - introduce new property isDatepicker. 2012-10-05 11:38:47 -07:00
Jessica Wang 7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang 8ea0a230e6 CS-16452: cloudstack UI - dialog widget - call field.selectFn regardless of value of field.isHidden. 2012-10-04 16:58:24 -07:00
Jessica Wang a5c9c560ff cloudstack UI - listView widget - keep advanced search criteria when scrolling down grid when the last search is from advanced search dialog. 2012-10-04 16:30:17 -07:00
Jessica Wang a2a1e19e70 cloudstack UI - add advanced search on Event page. 2012-10-04 15:36:25 -07:00
Jessica Wang 9e1b5b5361 cloudstack UI - event page - add more fields to detailView. 2012-10-04 15:35:55 -07:00
Jessica Wang 1a7dbdc8d9 cloudstack UI - advanced search on project page - add domain dropdown, account text field. 2012-10-04 14:23:24 -07:00
Jessica Wang c0c0ae1c36 cloudstack UI - advanced search on VPC page - add domain dropdown, account text field. 2012-10-04 14:22:39 -07:00
Jessica Wang d80debcbfe cloudstack UI - advanced search on guest network page - add domain dropdown, account text field. 2012-10-04 14:22:03 -07:00
Jessica Wang 10d1a0cc6b cloudstack UI - advanced search on snapshot page - add domain dropdown, account text field. 2012-10-04 13:58:45 -07:00
Jessica Wang 90f608d216 cloudstack UI - advanced search on volume page - add domain dropdown, account text field. 2012-10-04 13:50:53 -07:00
Jessica Wang 10a5bdab49 cloudstack UI - regular user in project view - VPC - tier - deploy VM - should pass projectid instead of account parameter to deployVirtualMachine API. 2012-10-04 12:53:54 -07:00
Jessica Wang 939e060e2e cloudstack UI - advanced search on instance page - domain field - add blank option, so admin has a choice to see all domains instead of being forced to stick with one domain for each search. 2012-10-04 12:34:30 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -07:00
Jessica Wang e8fd65d867 cloudstack UI - advanced search - implement advanced search on security group page. 2012-10-03 16:28:57 -07:00
Jessica Wang b8a3524d2e cloudstack UI - advanced search - implement advanced search on project page. 2012-10-03 16:07:16 -07:00
Jessica Wang 3605ee5564 cloudstack UI - advanced search - implement advanced search on ISO page. 2012-10-03 15:56:42 -07:00
Jessica Wang 5dc1d468fe cloudstack UI - advanced search - implement advanced search on template page. 2012-10-03 15:40:26 -07:00
Jessica Wang 3e1957933e cloudstack UI - advanced search - implement advanced search on VPC page. 2012-10-03 15:03:05 -07:00
Jessica Wang ea91662485 cloudstack UI - advanced search - implement advanced search on network page. 2012-10-03 14:49:59 -07:00
Jessica Wang 18a09c9664 cloudstack UI - advanced search - implement advanced search on snapshot page. 2012-10-02 17:03:23 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang 56496a235f cloudstack UI - advanced search - implement advanced search on instance page which has filter dropdown in listView. 2012-10-02 16:38:23 -07:00
Jessica Wang c9bd605029 cloudstack UI - advanced search - after searching, clear basic search input field to avoid confusion of search result. 2012-10-02 16:00:05 -07:00