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

TODO #15

Open
9 tasks done
wujysh opened this issue Feb 28, 2015 · 9 comments
Open
9 tasks done

TODO #15

wujysh opened this issue Feb 28, 2015 · 9 comments
Assignees
Milestone

Comments

@wujysh
Copy link
Collaborator

wujysh commented Feb 28, 2015

  • Solution list:
    • show problem title, add memory column
    • change time format
    • color the result, highlight Accepted
  • Ranking:
    • rename column
    • color the status First to solve problem Solved problem Attempted problem Pending judgement
  • [BUG] Submit, go to other page, then go back, submit, the source is blank in post form
  • Only validate time when create contest
  • Forbidden submit after contest
  • New Post & Edit Help
@wujysh wujysh added this to the 0.1 milestone Feb 28, 2015
@erickguan
Copy link
Contributor

[BUG] Submit, go to other page, then go back, submit, the source is blank in post form

Can't repro here

@wujysh
Copy link
Collaborator Author

wujysh commented Mar 21, 2015

  • Contest sidebar: Problem list is ambiguous
  • [BUG] Doesn't update problem ac% on problem list page
  • [BUG] In solution report, source code is parsed as HTML label
  • [BUG] Submit, go to other page, then go back, submit, the source is blank in post form (Can still be reproduced here!)

@wujysh
Copy link
Collaborator Author

wujysh commented Mar 22, 2015

  • problem list: ac% =NaN% when no submit
  • need to provide more information (class, studentID) when register
  • show user's class on ranking, or the admin can choose whether to show username or real name?
  • [STILL] solution report: no line breaks (all in one line...)
  • notification: click solution result should mark it read and redirect to solution list page
  • http://localhost:3000/new/solutions/new style: no box
  • provide ranking & submit records links on contest list page
  • compose problems with images uploaded
  • send notification to user when his/her post was replied

@erickguan
Copy link
Contributor

click solution result should mark it read and redirect to solution list page

Impossible to find one.

@wujysh
Copy link
Collaborator Author

wujysh commented Mar 23, 2015

  • AC% is still wrong!
  • notification is broken!

@erickguan
Copy link
Contributor

provide ranking & submit records links on contest list page

The whole box is clickable. Would be strange to add the link

@wujysh
Copy link
Collaborator Author

wujysh commented Mar 25, 2015

  • Can not search user http://acm.dhu.edu.cn/new/admin/groups/123
  • Should use english name as param http://acm.dhu.edu.cn/new/admin/groups

@wujysh wujysh reopened this Mar 25, 2015
@wujysh
Copy link
Collaborator Author

wujysh commented Mar 26, 2015

  • Problem(new/edit) Remote proxy vendor, lack of tip
  • Group: search when add users
  • Ranking: someone has attempted should be ahead of someone without solution
  • Group manager: visible/invisible is not work

@wujysh
Copy link
Collaborator Author

wujysh commented Mar 27, 2015

  • Post is broken!
I, [2015-03-27T06:57:38.573701 #98]  INFO -- : Started GET "/new/posts" for 222.204.211.2 at 2015-03-27 06:57:38 +0000
I, [2015-03-27T06:57:38.575177 #98]  INFO -- : Processing by PostsController#index as HTML
I, [2015-03-27T06:57:38.601171 #98]  INFO -- :   Rendered posts/index.html.haml within layouts/application (23.3ms)
I, [2015-03-27T06:57:38.601460 #98]  INFO -- : Completed 500 Internal Server Error in 26ms (ActiveRecord: 3.4ms)
F, [2015-03-27T06:57:38.603033 #98] FATAL -- :
ActionView::Template::Error (undefined method `user' for nil:NilClass):
     9:     .list-group.post-list
    10:       - @posts.each do |p|
    11:         .list-group-item.post-item
    12:           .avatar= attachment_image_tag p.comments.first.user, :avatar, alt: p.comments.first.user.username, fallback: 'avatar.jpg'
    13:           .content
    14:             .list-group-item-heading= link_to p.title, post_path(p)
    15:             .list-group-item-text
  app/views/posts/index.html.haml:12:in `block in _app_views_posts_index_html_haml___3950780715861677408_70247732732040'
  app/views/posts/index.html.haml:10:in `_app_views_posts_index_html_haml___3950780715861677408_70247732732040'
  config/initializers/silence_logger.rb:22:in `call'
  lib/middleware/unicorn_oobgc.rb:80:in `process_client'

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

No branches or pull requests

2 participants