Giter VIP home page Giter VIP logo

tongshare's People

Contributors

spaceflyer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

spaceflyer

tongshare's Issues

注册时的若干问题

Originally filed by [email protected] on 2011-02-20T09:33:51

1、现在不要写“学号/工作证号”,因为目前有导入课表的部分,只对学生管用,所以建议现在先只写“学号”
2、“同享日程”密码后面最后有个醒目的提示:请尽量设置一个对您的手机友好的密码,方便您在手机上输入
3、更多登录方式请在现在的版本中先去掉,否则不知道会出什么BUG……

编辑,删除,退出的解释

Originally filed by [email protected] on 2011-02-23T16:13:54

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

自动设置首页、书签

Originally filed by [email protected] on 2011-02-23T03:19:03

在醒目的位置提醒让用户可以方便的将我们的页面设为首页或者书签,尤其是手机。同时不知道手机的型号会不会影响这个代码。

编码问题测试 “incompatible character encodings: ASCII-8BIT and UTF-8”

Originally filed by [email protected] on 2011-02-10T05:57:34

Purpose of code changes on this branch:
确认一个rails的编码bug

When reviewing my code changes, please focus on:
1、用NetBeans启动rails server,检查/users/sign_up是否能正常显示
2、用命令行启动rails server,检查/users/sign_up是否有500错误,log是”incompatible character encodings: ASCII-8BIT and UTF-8“
3、把目前的程序部署到Apache上,检查/users/sign_up是否能正常显示

After the review, I'll merge this branch into:
/trunk

新建日程

Originally filed by [email protected] on 2011-02-16T06:35:10

What steps will reproduce the problem?
网页->新建日程

What is the expected output?

What do you see instead?
1.频率单选:不重复,按日重复,按周重复,不重复
2.不重复:RRULE:FREQ=NONE;COUNT=16

Please use labels and text to provide additional information.

手机版“重新验证”链接

Originally filed by [email protected] on 2011-02-24T02:37:35

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

将一些常量从源代码抽离到配置文件中

Originally filed by [email protected] on 2011-02-20T16:45:18

请将什么端口、URL、文件路径、SECRET等全部从源代码中抽取到统一的配置文件中,并且位PRODUCT和DEVELOPMENT用不同的配置文件。

最后部署到服务器上的时候,SECRET可能还需要手动改一下。

flash现在比较丑

Originally filed by [email protected] on 2011-02-20T16:39:43

现在页面的flash信息(notice等)很丑,请求改进。另外刘洋说现在的CSS很混乱,求忍和改进

Code review request

Originally filed by [email protected] on 2011-02-08T15:15:46

Purpose of code changes on this branch:
看不懂你的注释

When reviewing my code changes, please focus on:
麻烦把关于sharing的注释重写一下(大概能看明白,但是总觉得比较混乱)。必要时考虑用中文写一下吧。

只是随便建了个branch,请无视

user.rb

Note! sharing is the sharing created by user.

user_sharing is the sharing the shares to this user.

All sharing shares to this user should also include

group_sharing that related to this user

还是登录用户名的问题

Originally filed by [email protected] on 2011-02-20T14:59:59

现在注册的时候显示的是学号,但是登录的时候还有工作证号。另外,由于现在不支持手机和EMAIL登录,所以可以考虑先把各种出现“手机,EMAIL”的地方都给去了(比如说登录的时候)

按周重复少了“今天”

Originally filed by [email protected] on 2011-02-15T11:18:36

What steps will reproduce the problem?

  1. http://localhost:3000/events/new新建一个日程
  2. 重复选择“按周”,默认把当天是星期几勾上了(比如今天,会勾上星期二)
  3. 提交

What is the expected output? What do you see instead?
expected: 生成包括今天在内的16个instance
instead: 生成了从下周开始的16个instance

Please use labels and text to provide additional information.

处理完成ISSUE以及加上更多的声明

Originally filed by [email protected] on 2011-02-22T14:17:51

To all: 请把自己搞定的ISSUE的状态给改了……

To 刘洋:1、看来手机上注册的时候还是要显示声明的,你看看放到最下面是不是不乱一些。2、我们现在的页面缺少声明,只有一个Template声明……我觉得至少得把什么计算机系(就是LiveS3 PPT里感谢的那一堆,或者我们团队什么的声明信息给加上,这样正式很多)

Ignore production.rb

Originally filed by [email protected] on 2011-02-23T03:23:43

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

服务器离奇500,请对首页tongshare.com进行Heart Beat Alert监测

Originally filed by [email protected] on 2011-02-24T02:19:47

2月24日早9:30到9:50之间,访问tongshare.com得到500 internal error,得到的页面如附件。查LOG和unicorn的stdout、stderr我没发现什么非常有用的线索。不知道大家有什么想法吗?

我尝试用cap deploy:start搞,失败,看来unicorn没死,后来我通过cap deploy才重新恢复。

然后我突然想起一个问题,每次deploy都会有:Rails Error: Unable to access log file. Please ensure that /var/www/tongshare/releases/20110224015208/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

这是怎么回事?

最后,为了下次有类似情况发生我们能尽快反应,请用Heart Beat Alert监测tongshare.com,发现主页渲染不正常立刻报警!

不要用“大后天”

Originally filed by [email protected] on 2011-02-23T16:12:55

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

给PC网页+feedback

Originally filed by [email protected] on 2011-02-23T03:17:29

就是原来www.lives3.net上那个边上的反馈小按钮。还是链接到我们的BLOG,BLOG的设置可以问一下刘洋

auth/confirm有点不健壮

Originally filed by [email protected] on 2011-02-21T09:40:38

confirm有可能只收到了课表,或者只收到了姓名(因为现在是任意成功就算验证通过)。没有的那一项可能为nil也可能为""。

目前经过测试发现当没有课表的时候,redirect好像会出问题:

OLE::UnknownFormatError in AuthController#confirm

OLE::UnknownFormatError
Rails.root: /home/spaceflyer/programming/tongshare_trunk/tongshare

Application Trace | Framework Trace | Full Trace
lib/thucourse.rb:110:in xls2table' lib/thucourse.rb:72:inparse_xls'
lib/thucourse.rb:66:in parse_xls_from_data' app/helpers/events_helper.rb:17:inxls2events'
app/controllers/auth_controller.rb:59:in `confirm'
Request

Parameters:

{"name"=>"李宇骞",
"data"=>"",
"hash"=>"7038b40564d03d765f92f450f00864a1fa533ca1933ef2292ad609f066319849",
"username"=>"2007011324"}
Show session dump

Show env dump

Response

Headers:

None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.