mindpin / problems

问题驱动研发!!
5 stars 1 forks source link

需要一个内部图文分享的 blog 系统 #25

Closed ben7th closed 10 years ago

ben7th commented 10 years ago

此需求衍生自 https://github.com/mindpin/problems/issues/19

需要部署一个blog系统,满足以下需要:

  1. 支持使用MINDPIN账号登录
  2. 支持富文本编辑录入
  3. 支持上传图片到 img.4ye.me 服务。并支持输入框内粘贴上传。
ben7th commented 10 years ago

已经加入执行队列: http://s.4ye.me/ttuFmH

ben7th commented 10 years ago

在publify的源代码基础上,进行以下修改:

  1. 用户验证改为使用 MINDPIN HTTP 用户验证进行远程验证。验证通过时把用户信息读到本地数据库;
  2. 富文本编辑器使用 http://ckeditor.com/ CK编辑器
  3. 图片上传服务的前后端整合届时可以和我细化讨论。
kaid commented 10 years ago

对于ckeditor插件simpleuploads的修改:

  1. form输入框名
  2. ajax上传formData参数名
  3. ajax返回解析

对publify用户系统的修改:

  1. 删除了app/controllers/accounts_controller.rb里的注册以及密码找回的相关代码:
  2. User模型上重新实现了用户验证方法,删除了密码相关的代码:
  3. 修改了博客初始管理员用户的注册流程:
  4. 修改了用户头像的获取方法: