Commit Graph

11241 Commits

Author SHA1 Message Date
bfederle 2c2e0accdd Sanitize list view input rendering 2012-03-14 12:19:38 -07:00
bfederle c5e726be90 Fix case where str is not present 2012-03-14 11:51:41 -07:00
Edison Su a1e85cdd6d bug 14201: delete duplicate guest os type. status 14201: resolved fixed 2012-03-14 11:49:15 -07:00
bfederle f7524c22d4 Add helper function to sanitize user input strings
For any strings that require sanitization (i.e., strip
HTML/JavaScript), wrap the string around cloudStack.sanitize, or _s
for short. This currently will remove embedded HTML tags, which are
the main security issues present.

Example:

var str = '<script>Hello</script>My String';

_s(str) = '&lt;script&gt;Hello&lt;/script&gt;My String'
2012-03-14 10:54:41 -07:00
Edison Su 35911856db bug 14168: add re-try to mgt server, in case mgt server is down. status 14168: resolved fixed 2012-03-14 10:50:48 -07:00
Alena Prokharchyk 1b4954d63a bug 14295: allow regular user to create network with the custom cidr
status 14295: resolved fixed

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2012-03-14 10:50:15 -07:00
Likitha Shetty 59262d67a3 Bug 13842 Check for snapshots in BackedUp state during the deletion of secondary storage
behalf of: pranav
reviewed by: kishan
2012-03-14 17:59:38 +05:30
Abhi d71ab32900 bug 14218: fixing category for redhat 2012-03-14 17:22:49 +05:30
Abhi 0c180a2cf6 bug 14217: added the missing guest oses 2012-03-14 15:15:53 +05:30
U-aprateek-PC\aprateek 52c3d5c792 bug 14219: 6.0 is now not in beta 2012-03-14 15:06:12 +05:30
Jessica Wang ad74b396dc cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - Hide "clean up" checkbox if it's Basic zone. Show "clean up" checkbox if it's Advanced zone. 2012-03-13 16:56:08 -07:00
Jessica Wang b46a2340be cloudstack 3.0 UI - network page - IP Address detail page - remove duplicate info - network name and network type are already in parent page (network page). 2012-03-13 16:30:25 -07:00
Jessica Wang 13a9a98ef4 cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - uncheck and gray out "clean up" checkbox if it's Basic zone. Check and enable the checkbox if it's Advanced zone. 2012-03-13 16:17:40 -07:00
Sheng Yang edcf95a6f0 Change KVM's delimiter from "," to "%"
In order not to confuse with commandline parameters
2012-03-13 15:59:09 -07:00
Jessica Wang 1c4f580a85 cloudstack 3.0 UI - guest network - show Edit action for Isolated network. Show Restart action for all networks. 2012-03-13 15:15:54 -07:00
Jessica Wang 3f86fe78f2 cloudstack 3.0 UI -infrastructure page - remove obsolete code. 2012-03-13 14:31:45 -07:00
Jessica Wang 1ada4dc5c2 cloudstack 3.0 UI - Quick Installer - add host step - change text. 2012-03-13 10:50:51 -07:00
abhi a560ec3001 removing the minor version number for comparisions for Xenserver 6.0 2012-03-13 11:23:27 +05:30
Vijayendra Bhamidipati b1bb0afad4 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Modifying the API functions' exception handling to call
	addProxyObject() wherever applicable, and removing some
	wrong calls to addProxyObject() that were put in in an
	earlier commit for this bug.

	With this commit, we cover many API functions to use the
	new exception handling code, but some pieces may still be
	left out. These will be covered as work in progress, when
	making changes to the CS API code.
2012-03-12 18:05:45 -07:00
Sheng Yang 2b3b3e21ad Add missing annotation 2012-03-12 17:10:13 -07:00
Sheng Yang ec5a225a78 Refactor VirtualRouterNetworkManagerImpl
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:48 -07:00
Alena Prokharchyk ad1192e264 bug 14239: limit number of Isolated account specific networks per account
status 14239: resolved fixed

Conflicts:

	api/src/com/cloud/api/commands/CreateNetworkCmd.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
Jessica Wang af06038b9d infrastructure page - zone detail - guest traffic type - networks tab - pass listAll=true to 2nd listNetworks API. 2012-03-12 14:48:48 -07:00
Jessica Wang 11b4e2c37e cloudstack 3.0 UI - IP Address page - retrieving data for detailView - no need to pass listAll parameter to listPublicIpAddresses API. Passing id parameter is enough. 2012-03-12 14:13:14 -07:00
Sheng Yang 21fe5e1087 bug 14074: Specify networkId for list public ip
status 14074: resolved fixed
2012-03-12 12:00:31 -07:00
Jessica Wang 6558f66239 bug 14238: create network offering dialog - remove traffic type dropdown since it includes only one choice. Hardcode it in API call. 2012-03-12 11:37:36 -07:00
Alena Prokharchyk 251af27a7a bug 14247: implemented search by storage id in listSystemVms
status 14247: resolved fixed
2012-03-12 10:24:48 -07:00
abhi 2b437f6a12 adding remove cmd for ldap 2012-03-12 16:56:43 +05:30
abhi ecad50c801 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-12 16:50:00 +05:30
abhi 64eb2dfcb1 bug 14224: allowing Xenserver 6.0.2, with the assumption that the same patches and guest os type will work as with 6.0 2012-03-12 16:39:22 +05:30
abhi 87a32a4866 bug 14224: adding 6.0.2 2012-03-12 16:39:22 +05:30
kishan 14e2dd67bc Bug 14195: Changed category of Usage and Secure configs 2012-03-12 16:10:05 +05:30
Sheng Yang 476c671374 Refactor VirtualNetworkApplianceManagerImpl
Add separate create command for dhcp, userdata and password.
2012-03-09 19:02:47 -08:00
Sheng Yang d62d3b5a01 Refactor rules appling in the VirtualNetworkApplianceManagerImpl 2012-03-09 18:00:06 -08:00
Jessica Wang 008fcb8a27 cloudstack 3.0 UI - listView - when clicking fast between different rows, JS error "args.context.xxx is undefined" appears. e.g. "args.context.instances is undefined" appears when clicking fast between different rows in listView in instance page. Because when clicking fast, users might click another row before API response for this current row is back => which causes the JS error. The fix is to overlay the whole listView by loading image (spinning wheel image) until click-handling for this row is done (e.g. API response is back). 2012-03-09 16:48:14 -08:00
bfederle ae1858d1cd bug 14191
-Only show domains under logged in user's domain

-Allow domain admins to add accounts from 'Accounts' section
2012-03-09 14:12:49 -08:00
bfederle d08f1296e8 List view UI: action filter tests 2012-03-09 14:03:51 -08:00
Jessica Wang 64a61f5ccb bug 13112: cloudstack 3.0 UI - host page - add Statistics tab. 2012-03-09 13:49:23 -08:00
Jessica Wang 078cd90ad9 bug 14190: not refresh embedded data in corresponding list view row because data here is partial (e.g. if it's from Nics tab in instance page instead of details tab in instance page, data is just an array of Nic object, not an array of Instance object). 2012-03-09 13:02:52 -08:00
Alena Prokharchyk 681f80cc4d bug 14221: fixed description for default network offering
status 14221: resolved fixed
2012-03-09 11:38:06 -08:00
bfederle 9f6230490e Add list view async action test 2012-03-09 11:27:39 -08:00
bfederle 35765419d1 Disable notification interval if in 'debug' mode (for unit tests) 2012-03-09 11:27:39 -08:00
Jessica Wang 595b7e5c04 cloudstack 3.0 UI - delete zone, delete pod, delete clouster in detailView - after action is finished, remove detailView and remove corresponding row from listView. 2012-03-09 11:26:06 -08:00
Alena Prokharchyk 2fb4a97837 bug 14195: fixed category for Project related global config values 2012-03-09 11:19:08 -08:00
bfederle 10c8b05c1a WIP: List view async tests 2012-03-09 11:11:24 -08:00
Alena Prokharchyk 6910740582 Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
Reverting the commit in order to fix the build
This reverts commit 0ab0fcfa5c3b8825b8a92e3c2d2dee8e8ca6152b.
2012-03-09 09:53:56 -08:00
abhi b7b751fdf6 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-09 16:56:01 +05:30
Vijayendra Bhamidipati df51744979 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Removed some wrong invocations to addProxyObject() when
	throwing exceptions in NetworkManagerImpl.java.

	Replaced db ids with uuids in various points in the code
	of NetworkManagerImpl.java, where exceptions are thrown.
2012-03-09 01:13:36 -08:00
Vijayendra Bhamidipati a70f8a9b3d Bug 13127: API error text refer to database ids instead of uuids
Description:

	Replacing placement of db ids in exception messages to uuids
	in the file ManagementServerImpl.java.

	Since there are a large number of files that throw exceptions
	with db ids in them and they need to be changed, we will make
	the changes in multiple commits.
2012-03-08 23:25:50 -08:00
Nitin Mehta ce8787ec80 Bug 14199: Add allocated workd to the config values.
Reviewed-By: Kishan
2012-03-09 12:19:36 +05:30