Commit Graph

36479 Commits

Author SHA1 Message Date
nit fd86e976b6 bug 6249, 6250: listDiskOfferings API - adding createed date tag and removing ismirrored tag.
status 6249, 6250: resolved fixed
2010-09-22 15:08:14 +05:30
nit 4ae9e1c593 bug 4144: : send an Alert when template sync deletes a template from the secondary storage due to no record of the template in the db.
status 4144: resolved fixed
2010-09-22 14:37:40 +05:30
Jessica Wang df82d0bac6 fix bug 6154 - port forwarding should show user-assigned VM name instead of system-assigned VM name. 2010-09-21 20:11:35 -07:00
Jessica Wang 2e98f2c41d for bug 6153 - prevent startIP being passed twice to UpdatePod API. 2010-09-21 19:37:32 -07:00
Jessica Wang d117da5f7d fix bug 6153 - when editing a private IP range, just modifying the ending of the IP range will throw an error. 2010-09-21 19:30:39 -07:00
Jessica Wang e5cd44c6fb new UI - volumes page - implement attach disk action. 2010-09-21 19:11:18 -07:00
alena d22fc9300b Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-21 18:58:14 -07:00
alena 0c659af24a Implemented DB migration from 2.1.x to 2.2.x for Instance Grous feature. Added missing Daos to migration-components.xml (AccountDao, ResourceCoundDao, InstanceGroupDao, InstanceGroupVmMapDao).1 2010-09-21 18:53:18 -07:00
Kris McQueen c26426c7c7 Throw an exception when the dispatcher can't find the implementation for an API command. 2010-09-21 18:26:57 -07:00
Kris McQueen e31f89e6a9 Set up accountId in the AsyncJob since it's needed for proper validation when querying the job status. 2010-09-21 18:26:34 -07:00
Kris McQueen 8161078803 QueryAsyncJobResult was missing an implementation and had 'id' as the parameter when it should have been 'jobid'. 2010-09-21 18:25:35 -07:00
Kris McQueen e6d6ccb72e Retrieve the session parameters (userId, accountId, account) properly since UserContext is not the place to get those values. 2010-09-21 18:25:05 -07:00
Kris McQueen 8101ffb636 Fix logic in accountAndUserValidation to correctly detect child domains and throw an exception only when the domain is not in the hierarchy. 2010-09-21 18:24:18 -07:00
Kris McQueen 50da0d918f The sanitizeXSS function only sanitizes strings and leaves other types unchanged. 2010-09-21 18:23:40 -07:00
Jessica Wang 23bb32dcde fix bug 6130 - when attaching volume, running and stopped VMs not displayed consistently. 2010-09-21 18:11:10 -07:00
Jessica Wang 039cb78173 fix bug 6127 - change text on confirmation box on VM destroy. 2010-09-21 17:55:40 -07:00
Jessica Wang 4e9b1239ce cross-site scripting - sanitize only value whose type is string. 2010-09-21 17:42:26 -07:00
NIKITA 272d419d3a Width of action dropdown has been increased 2010-09-21 17:41:02 -07:00
Kris McQueen c32d6e7524 Template id is not a required parameter when listing templates. The proper serialized name for the async job id is jobid, not id. Sadly, ctxAccoutId != ctxAccountId, ugh, no wonder the UserContext wasn't getting set up correctly. Clean up some miscellaneous unnecessary casts. 2010-09-21 17:00:50 -07:00
Jessica Wang 57c099a647 new UI - volumes page - implement add volume action. 2010-09-21 16:57:41 -07:00
Kris McQueen 5a3f4af638 AddHost and AddSecondaryStorage have different required parameters, so avoid subclassing these commands and just call a common method in the agent manager. Fix the response name for listAccounts. CreateUser returns one user, so don't always get response.user[0] since that's pointless. A secondary storage host does not have a pod id (NfsSecondaryStorageResource) so make sure not to dereference variables that will be null. 2010-09-21 16:28:31 -07:00
Jessica Wang 67cfa3582e new UI - volume page - implement Recurring Snapshot action. 2010-09-21 16:18:40 -07:00
abhishek 5d0d69ce48 bug 6264: changing the defaults for max volume size to gb
status 6264: resolved fixed
2010-09-21 16:02:40 -07:00
abhishek 122b0d1aeb bug 6243: adding a check to return an error in case we have a null domain id for a non null account
status 6243: resolved fixed
2010-09-21 15:50:49 -07:00
Jessica Wang f89e11bb21 new UI - volume page - implement take snapshot action. 2010-09-21 15:37:47 -07:00
abhishek d07cac932a bug 6165: there is a possiblility of the root volume being null when we search for it, which may be causing a npe in this bug. enhancing the logic around this
status 6165: resolved fixed
2010-09-21 15:17:21 -07:00
abhishek 2727dc53eb bug 3120: now we provide a 1:1 nat functionality. we acquire a public ip from the ui, and if the 1:1 nat option is chosen, provide a valid vm instance id with it. the backend logic maps this id to a guest ip, and programs the ip table rules to forward all traffic from the public ip acquired, to this guest. for tests, try ssh'ing to that host, using something like ssh root@192.168.30.43 (for this public ip acquired), and you should be able to log into the guest vm
status 3120: resolved fixed
2010-09-21 15:04:40 -07:00
Jessica Wang 3f9b58bc73 new UI - volume page - hide actions when volume state is "Creating" or "Corrupted" or volume is attaching to a VM. 2010-09-21 14:55:27 -07:00
Jessica Wang 8dcea8c07e new UI - clear right panel after deleting a volume. 2010-09-21 14:49:23 -07:00
abhishek 50c319e19b bug 3120: incremental checkin 2010-09-21 14:47:52 -07:00
abhishek 37870da95f bug 3120: incremental fix 2010-09-21 14:47:51 -07:00
abhishek e6cfacacfe some more ipassoc changes 2010-09-21 14:47:51 -07:00
alena 7b551bfd3f Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-21 13:35:45 -07:00
anthony fb628a1929 add rate limit for system VM, after you change rate limit, you need to restart managementserver to make it effect 2010-09-21 12:25:53 -07:00
Jessica Wang 0435d99247 new UI - volume page - implement delete volume action. 2010-09-21 11:55:12 -07:00
Jessica Wang 7a13f1afe2 new UI - instances page - fix a bug that volume tab showed nothing. 2010-09-21 10:50:11 -07:00
nit 1e7a41e656 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-21 16:22:54 +05:30
nit 87f1a96c29 bug 6214: UpdateIso API - Adding account and domain tags. 2010-09-21 16:17:48 +05:30
kishan 85964511b2 bug 6195,6255,5891: Only ROOT volumes will have templateId. offeringId will be diskOfferingId for DATA volumes and serviceOfferingId for ROOT volume
status 6195,6255,5891: resolved fixed
2010-09-21 15:46:55 +05:30
nit 0669c2c1d4 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-21 13:37:47 +05:30
nit 7ff551bd5c bug 4286: Extract functionality - code cleanup 2010-09-21 13:36:57 +05:30
Kris McQueen ebd06ae6f3 List clusters was using the name of the command rather than the name of the cluster to search for clusters, which was resulting in no clusters returned. Fixed. CreateStoragePool was returning an array of one pool every time, simplified it to just return the pool and changed the UI to expect one pool rather than an array. Fixed the backend code for creating a storage pool to (a) generate a UUID based on host name, path, and a timestamp and (b) to list only active storage pools when checking for duplicates. This allows a storage pool to be create with the same path as a pool that had previously been deleted. 2010-09-20 19:08:52 -07:00
alena 4987f93144 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-09-20 18:42:20 -07:00
Kris McQueen 1a54c52d5e Change the annontations for response objects to use the GSON annotations for the property name written to the response 2010-09-20 17:47:56 -07:00
anthony ccc166f4ac if no private ip or public ip, send correct message to UI 2010-09-20 17:17:20 -07:00
Kris McQueen 12ef5106b6 Fixing serialization of JSON responses to handle both regular objects and list-style responses. Add missing managers to API dispatcher. Fix a typo in listAlerts command implementation method. Add signatures for various add host/storage APIs. 2010-09-20 15:20:32 -07:00
abhishek 5881dfafa6 bug 5119: fixing the npe, the document obj we parse might be null, as a result of which there can be a npe. adding a check against the same
status 5119: resolved fixed
2010-09-20 15:11:00 -07:00
NIKITA 33d97d32c7 Title Icon for Router 2010-09-20 15:06:05 -07:00
abhishek a9c96b4da0 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00
abhishek 437f717633 bug 3120: incremental checkin 2010-09-20 14:54:06 -07:00