3373 Commits

Author SHA1 Message Date
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 b7ccae0dde6f6949e5314036a7aa71460d676316.
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 a8e18f05298218d858c1833e52d2d3e4dd1ab5df.
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 714b0593d3dfaa81af3c13d19a8105d1036954f7.
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