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

uploader1.4功能记录 #52

Closed
minghe opened this issue Dec 15, 2012 · 13 comments
Closed

uploader1.4功能记录 #52

minghe opened this issue Dec 15, 2012 · 13 comments

Comments

@minghe
Copy link
Contributor

minghe commented Dec 15, 2012

  • 默认使用ajax+iframe的上传方式
  • 禁用多选
  • 验证模块剥离
  • 可以不指定queue目标(该目标与主题绑定)
  • 单图片上传主题优化
  • 去掉data-config配置支持
  • 去掉theme-config配置支持
  • 去掉不使用主题情况支持
  • urlsInput剥离,urlsInput可以指定target
  • 基于kissy1.3,内部结构和接口继承于rich-base
  • 只有Uploader类,通过主题控制是否是图片上传还是文件上传
  • 重构简化主题设计
  • restore方法移动到urlsInput
  • 增加图片尺寸控制验证
  • IE下图片预览优化
  • 主题插件机制优化
  • auth考虑butterfly的auth的适配
  • 进度条插件重构
@minghe
Copy link
Contributor Author

minghe commented Dec 15, 2012

queue的clear方法,没有把li节点去掉

@minghe
Copy link
Contributor Author

minghe commented Dec 27, 2012

去掉urlsInputName

@minghe
Copy link
Contributor Author

minghe commented Dec 28, 2012

重构UrlsInput,去掉create方法,提高urlsInput的自由性

@minghe
Copy link
Contributor Author

minghe commented Dec 28, 2012

基于kissy1.3

@minghe
Copy link
Contributor Author

minghe commented Dec 29, 2012

组件继承于RichBase etaoux/brix#45

@minghe
Copy link
Contributor Author

minghe commented Jan 26, 2013

Theme变更

  • 增加从html拉取模版的功能,从<script type="text/uploader-theme"></script>
  • 增加extend配置从外部快速覆盖主题监听器的功能
  • 去掉插件加载,增加use配置,引入uploader插件
  • 去掉状态层概念和log消息
  • restore渲染默认数据的动作移动到主题

@minghe
Copy link
Contributor Author

minghe commented Jan 26, 2013

插件变更

  • auth移成插件
  • auth增加widthHeight测试规则
  • 修正图片预览在IE下的bug
  • html配置转成插件
  • progressBar变成proBars
  • proBars插件自带进度条处理
  • 主题的插件调用重构
  • IE的图片预览重新开启
  • urlsInput变成插件

@minghe
Copy link
Contributor Author

minghe commented Feb 5, 2013

服务器返回数据结构简化,不再有data字段:
{"status":1,"type":"ajax","name":"[1343736002.749366]0.png","url":"./files/[1343736002.749366]0.png"}

@minghe
Copy link
Contributor Author

minghe commented Feb 5, 2013

【未实现】默认将default和ImageUploader打包进去

@minghe
Copy link
Contributor Author

minghe commented Feb 5, 2013

【未实现】需要优化下按钮替换时的效果

@minghe
Copy link
Contributor Author

minghe commented Feb 18, 2013

添加themeRender

@minghe
Copy link
Contributor Author

minghe commented Feb 20, 2013

全部完成

@minghe minghe closed this as completed Feb 20, 2013
@hawkflyzy
Copy link

刚刚项目在使用uploader组件,现在想知道在使用refundUploader的时候,如何做到数据还原,即我在数据库里搞出来几张图片还原到组件中显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants