Commit Graph

4626 Commits

Author SHA1 Message Date
Remi Bergsma befa28251d CLOUDSTACK-6543 Sort domain lists in UI
As recently discussed on the dev list:
This sorts the domain lists based on their path.
Especially handy when having a lot of domains,
like in a public cloud.
2015-04-15 16:29:15 -05:00
Rohit Yadav e8f7215b26 ui: if session cookie exists, use it to set global session holder and invalidate it
The 19e3c0168e commit breaks SAML login and any
login where redirection is used.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmd.java
2015-03-17 13:20:46 +01:00
Jessica Wang 0b68bf2ead CS-18149: UI - no longer store sessionKey in cookie. After
... this change, opening the 2nd browser window (of the same
domain) will show login screen (i.e. user has to enter
credentials again) and will cause the 1st browser window
session timeout.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/cloudStack.js
2015-03-17 12:58:21 +01:00
Brian Federle 2497a7a64d Fix encoding for user account label in header
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bfcdbeca29)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-16 15:49:15 +05:30
Rohit Yadav c620a0640a api: avoid sending sensitive data in api response
- UI: use post when updating user
- S3: don't send s3 key in the response
- VPN: don't send preshared key in remoteaccessvpn api response
- Snapshot response should set zone id not volume's device id

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 02cadc3fb3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2015-03-11 16:35:55 +05:30
Rohit Yadav 14a00679bd CLOUDSTACK-8285: check and update IP capacity states based on allocation state
- Backend should update if state was diabled and now has changed
- UI's fetch latest does not actually fetch latest

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 985a61652e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	server/src/com/cloud/storage/StorageManagerImpl.java
2015-02-25 16:48:54 +05:30
Rohit Yadav 34cefb17aa CLOUDSTACK-6541: Fix monthly recurring snapshot UI limit, limit to 1-28 days
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 070813a106)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-19 15:43:05 +05:30
Rohit Yadav 7341de39b9 CLOUDSTACK-5824: poll for delete snapshot and volume events
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a85aea74de)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-19 15:34:33 +05:30
Rohit Yadav 1971b432c3 Revert "CLOUDSTACK-7766: Field Validations Missing for Ingress and Egress Rules"
This breaks validations such as ingress/egress rules on Security Group on the
UI so reverting this.

This reverts commit ca8ecc0470.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 21:59:14 +05:30
Jessica Wang 5e5d830635 CLOUDSTACK-5576: UI > IP Address > EnableVPN, DisableVPN: change label.
(cherry picked from commit e796d418b4)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/network.js

Conflicts:
	ui/scripts/network.js
2014-12-11 20:51:56 +05:30
Jessica Wang 7da55df56b 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)
(cherry picked from commit 0af0c041e9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 20:51:33 +05:30
Mihaela Stoica 614ce7de96 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>
(cherry picked from commit f212aa57c3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/cloudStack.js

Conflicts:
	ui/scripts/cloudStack.js
2014-12-11 20:39:12 +05:30
Mihaela Stoica b0e5a303d9 CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
(cherry picked from commit af37743045)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 20:38:52 +05:30
Gabor Apati-Nagy 23b3198233 CLOUDSTACK-7463: UI: Domain Admin UI shows 'Add LDAP Users' button (should not be shown)
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit c200ada863)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	ui/scripts/accounts.js

Conflicts:
	ui/scripts/accounts.js
2014-12-11 20:38:19 +05:30
Gabor Apati-Nagy 227e76132d CLOUDSTACK-7766: Field Validations Missing for Ingress and Egress Rules
(cherry picked from commit 94b16b3bd5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 20:36:17 +05:30
Daniel Vega e4bf957f94 CLOUDSTACK-7849: Sorting projects alphabetically in drop down menu
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit e03a7e6fea)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 20:36:17 +05:30
Daan Hoogland 3799558372 whitespace fixes 2014-11-11 16:51:15 +01:00
Jessica Wang 479b550d79 CLOUDSTACK-7826: UI - dialog widget - dependent dropdown field (dependsOn property specified) - fix a bug that default opton in dependent dropdown field didn't trigger change event handler until another option in dependent dropdown field was selected.
(cherry picked from commit 21f39577e4)
2014-11-11 16:43:10 +01:00
Brian Federle d5b2014626 CLOUDSTACK-7526: Fix missing localization on 'add' button
(cherry picked from commit b04cc75065)
2014-11-01 19:10:07 +01:00
Brian Federle 48a042b9c1 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-10-30 13:15:30 -07:00
Pierre-Luc Dion 8d45947016 CLOUDSTACK-401: add missing file format in docs.js
(cherry picked from commit 18a4e09d981e65fd497f1d7d2e98ebcca7e16aff)
2014-09-22 09:17:09 +02:00
Jessica Wang aa81823ce8 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-11 13:35:28 -07:00
Ilia Shakitko f7d9ea291b Add "Edit Tags" functionality to SecurityGroup rules in UI
Signed-off-by: Ilia Shakitko <i.shakitko@tech.leaseweb.com>
(cherry picked from commit 281c866206)
2014-09-11 15:48:59 +02:00
Rohit Yadav b7b9cd0d2d CLOUDSTACK-6624: set specifyIpRanges to true if specifyVlan is set to true
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-08 10:54:02 +02:00
Jessica Wang d0ff6cd461 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 11:39:38 -07:00
Gabor Apati-Nagy b0c6de63fd CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers
(cherry picked from commit 6d5d48f460)
2014-07-28 16:02:47 +02:00
Jessica Wang e988c917c6 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).
(cherry picked from commit b8a2961583)
2014-07-28 16:02:40 +02:00
Jessica Wang b85efa6765 UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties().
(cherry picked from commit 497042508a)
2014-07-28 16:02:35 +02:00
Jessica Wang 390f0fb68d CLOUDSTACK-6852: UI - modules - remove variable drModuleIncluded.
(cherry picked from commit 508a966aa1)
2014-07-28 16:02:34 +02:00
Jessica Wang 20c3f1c0ed 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.
(cherry picked from commit 81857d0577)
2014-07-28 16:02:31 +02:00
Jessica Wang a3e85292ba CLOUDSTACK-6889: UI - create network offering - remove non-needed parameters from API call whose size might exceed limit in some cases.
(cherry picked from commit 64825549d2)
2014-07-28 16:02:29 +02:00
Jessica Wang dfb4d90937 CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView.
(cherry picked from commit 1641b28054)
2014-07-28 16:02:28 +02:00
Jessica Wang 6519a46d28 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView.
(cherry picked from commit e9ebe6e22e)
2014-07-28 16:02:27 +02:00
Jessica Wang 8a58bd3fed CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1.
(cherry picked from commit d991e37865)
2014-07-28 16:02:27 +02:00
Jessica Wang 4b2756ab9c CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded.
(cherry picked from commit c29ed73d4d)
2014-07-28 16:02:27 +02:00
Jessica Wang c9d4395bba CLOUDSTACK-6852: UI - attach volume action - VM dropdown - populate options based on whether module is included and whether service is enabled.
(cherry picked from commit 9b9154132d)
2014-07-28 16:02:26 +02:00
Jessica Wang f7697637cb CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded().
(cherry picked from commit 431ea8e9c2)
2014-07-28 16:02:25 +02:00
Jessica Wang 90c50f0fa0 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character.
(cherry picked from commit 76c71c7bc1)
2014-07-28 16:02:24 +02:00
Jessica Wang 97e1294eed CLOUDSTACK-6789: UI > User page > fix a bug that a domain-admin was unable to delete other domain-admin in the same domain.
(cherry picked from commit 3d1bbeb262)
2014-07-28 16:02:22 +02:00
Gabor Apati-Nagy d260973747 CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs
(cherry picked from commit 3f1dc2534f)
2014-07-28 16:02:18 +02:00
Jessica Wang b91727ba89 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.
(cherry picked from commit 22f503aa2b)
2014-07-28 16:02:15 +02:00
Jessica Wang cc597d07fd CLOUDSTACK-6626: UI - fix a bug that g_userid was not declared.
(cherry picked from commit 9782970ef8)
2014-07-28 16:02:09 +02:00
Jessica Wang 28873f5172 CLOUDSTACK-6589: UI > update ssl certificate > correct typo in success message - correct it from "Update SSL Certiciate succeeded" to "Update SSL Certificate succeeded"
(cherry picked from commit 43f9baf4e0)
2014-07-28 16:02:05 +02:00
Sanjay Tripathi 35a270fb6c CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner Service Offerings.
(cherry picked from commit 149cb33e3c)
2014-07-28 16:02:04 +02:00
Brian Federle 2d7f201a63 Create form: Store passed JSON object in select options, for plugin use
(cherry picked from commit beb26237bc)
2014-07-28 14:01:06 +02:00
Jessica Wang 20c581e632 BUG-ID: CS-19795: 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.
Reviewed-by: Brian

(cherry picked from commit 953167808c)
2014-07-28 13:59:52 +02:00
Mike Tutkowski 1dbcf8f458 Submitted on behalf of Vetri for Review Request 23008
(cherry picked from commit 9c2e6f5ed4)
2014-06-26 19:16:43 +02:00
Anshul Gangwar 2c5f352e94 CLOUDSTACK-6867: Added option to upload the volume in VHDX format
(cherry picked from commit 2e49ef73bf)
2014-06-13 12:40:29 +02:00
Jessica Wang b24f5355f3 CLOUDSTACK-6602: UI - VPC - createNetworkACL - fix a bug that caused wrong value being passed to action parameter in API call.
(cherry picked from commit 95b7330d56)
2014-06-12 12:21:34 +02:00
Sanjay Tripathi 13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00