From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Note:
The UI patch is just used for testing.
Problem remains:
1. POST return 404 because the UI patch does not include accept json
2. task id does not returned in vol data and progress has not been added
3. Haven't tested large file, so not sure whether we need to split large file into
peices
and call POST multi-times.
Royce Lv (3):
Storage volume upload: Dispatch volume create to right handler
Storage volume upload: Parse params for upload formdata
Storage volume upload: add model function of upload
ssdxiao (1):
Support to upload ISO
contrib/kimchi.spec.fedora.in | 3 +
contrib/kimchi.spec.suse.in | 3 +
po/en_US.po | 2 +
po/pt_BR.po | 3 +
po/zh_CN.po | 3 +
src/kimchi/API.json | 1 -
src/kimchi/control/storagepools.py | 4 +-
src/kimchi/control/utils.py | 2 +
src/kimchi/i18n.py | 1 +
src/kimchi/model/storagevolumes.py | 34 ++
src/nginx.conf.in | 1 +
ui/css/theme-default/upload.css | 43 ++
ui/js/resumable.js | 816 ++++++++++++++++++++++++++++++++++
ui/js/src/kimchi.template_add_main.js | 27 ++
ui/pages/kimchi-ui.html.tmpl | 1 +
ui/pages/template-add.html.tmpl | 13 +
16 files changed, 954 insertions(+), 3 deletions(-)
create mode 100644 ui/css/theme-default/upload.css
create mode 100644 ui/js/resumable.js
--
1.8.3.2