cloudstack/server/src/main/java/com/cloud/api
Pearl Dsilva 3f827ef22b
UI: Support to upload resource icons (#5157)
* Resource Icon support - backend

* Add API support for resourceicon

* update reponse params + ui support

* Add exclusive list api for icons and UI changes

* refactor upload view

* UI changes to support resource icon wherever necessary

* convert api to POST + refactor icon view

* Add response name to list API + cosmetic changes in UI

* Added support for the following:
resource icon support for vpcs, networks, domains, and projects
add icons to list view if reosurces support icons to be added
support for showing project icons in the project switching drop-down menu

* List resourceicon cmds to be allowed for user role too
Users to inherit account icon if present (in listUsers response)
Move common code to plugin.js
Add icon to project list view - while switching between projects - Dashboard page
Show icons against zones - Capacity Dashboard view
Show user / account icon at the login button if present

* cosmetic changes

* optimize ui code

* fix reload issue for domain view

* add access check for delete operation

* ui-related changes to show iso icons

* iso image in uservm response

* add icons to custom form's list resources

* some more custom forms aligned to show icon for resources

* conmitic changes + add listing of icons to listdomainchildren cmd

* Add backend/server-side validation for base64 string passed for image

* change preview border

* preselect zone if there's only one

* add default icon

* show icon for network list in deploy vm view

* add custom icons if any to the import-export VM view

* preselect zone persistence on clearing cache

* prevent root vol from inheriting template/iso icon

* show tempalte icon in the info card details

* fix icon not being show on hard-refresh / initial traversal

* fx success message
2021-09-15 00:50:42 -03:00
..
auth CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
dispatch api: Ensure required parameters are not empty (#5136) 2021-07-15 12:48:24 +05:30
doc Removing an old, unused NetApp plug-in 2018-06-08 12:55:39 -06:00
query UI: Support to upload resource icons (#5157) 2021-09-15 00:50:42 -03:00
response CLOUDSTACK-10253: JSON response for SuccessResponse as boolean instead of string (#2428) 2018-04-27 21:07:51 -03:00
ApiAsyncJobDispatcher.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ApiDBUtils.java UI: Support to upload resource icons (#5157) 2021-09-15 00:50:42 -03:00
ApiDispatcher.java Vmware offline migration (#2848) 2019-01-25 10:05:13 -02:00
ApiGsonHelper.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ApiResponseGsonHelper.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ApiResponseHelper.java UI: Support to upload resource icons (#5157) 2021-09-15 00:50:42 -03:00
ApiSerializerHelper.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ApiServer.java server: Remove the rule(s) validation with api names while importing role, to be in sync with the create role permission behavior (#4840) 2021-03-29 16:23:43 +05:30
ApiServlet.java novnc: Add source IP check (#4736) 2021-03-06 15:08:34 +05:30
EncodedStringTypeAdapter.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
ResponseObjectTypeAdapter.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
SerializationContext.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30
StringMapTypeAdapter.java CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30