Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload of icons #46

Merged
merged 11 commits into from
Sep 28, 2017
Merged

Upload of icons #46

merged 11 commits into from
Sep 28, 2017

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jul 4, 2017

  • Allow to upload icons
  • Allow white/black images in parallel for UI/mobile clients
  • Move default icons on update/install
  • Add option to delete icons

Fix #16
Fix #5
Partly #36

nextcloud_-_2017-07-04_15 21 58

@nickvergessen
Copy link
Member Author

@MariusBluem want to test this? Would be cool 😅

@nickvergessen nickvergessen requested a review from MariusBluem July 6, 2017 08:55
@MariusBluem
Copy link
Member

Could we hide this „Durchsuchen“-box and simply show only the upload button (a bit larger)?

@nickvergessen
Copy link
Member Author

Fixed, please review

Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If I upload an image not matching the sizes the UI is blocked: {"error":"Provided image is not a square with 16, 24 or 32 pixels width"}
Uncaught TypeError: Cannot read property 'message' of undefined
    at HTMLInputElement.fail (https://10.211.55.7/stable9/apps/external/js/admin.js?v=96b21b17f7a0be8424d016de91703f8d-0:404:52)
    at e.(anonymous function).(anonymous function)._trigger (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:13:10075)
    at e.(anonymous function).(anonymous function)._onFail (https://10.211.55.7/stable9/apps/files/js/jquery.fileupload.js?v=96b21b17f7a0be8424d016de91703f8d-0:876:18)
    at e.(anonymous function).(anonymous function)._onFail (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:13:5077)
    at Object.<anonymous> (https://10.211.55.7/stable9/apps/files/js/jquery.fileupload.js?v=96b21b17f7a0be8424d016de91703f8d-0:910:30)
    at j (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:2:26925)
    at Object.fireWith [as rejectWith] (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:2:27738)
    at x (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:4:11278)
    at XMLHttpRequest.<anonymous> (https://10.211.55.7/stable9/core/vendor/core.js?v=96b21b17f7a0be8424d016de91703f8d-0:4:14765)

screen shot 2017-09-13 at 13 35 05

@nickvergessen
Copy link
Member Author

Fixed 🙈

Signed-off-by: Joas Schilling <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants