Show More
Commit Description:
upgrade to rails 4.2
Commit Description:
upgrade to rails 4.2
File last commit:
Show/Diff file:
Action:
config/routes.rb | 73 lines | 2.0 KiB | text/x-ruby | RubyLexer |
Jittat Fakcharoenphol
boots into rails 3
r318 CafeGrader::Application.routes.draw do
live editor using cloud9 ace for problem
r564 get "sources/direct_edit"
bootstrap navbar
r553 root :to => 'main#login'
Jittat Fakcharoenphol
boots into rails 3
r318 resources :contests
resources :sites
Jittat Fakcharoenphol
added contest model
r266
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 resources :announcements do
member do
- add front page toggle to announcement...
r567 get 'toggle','toggle_front'
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 end
end
resources :problems do
member do
get 'toggle'
- add problem manage toggle test interface...
r569 get 'toggle_test'
- clean up link to problem stat and user stat
r606 get 'stat'
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 end
collection do
get 'turn_all_off'
get 'turn_all_on'
get 'import'
get 'manage'
end
end
problem toggle on/off
r558
add best_in_place...
r474 resources :grader_configuration, controller: 'configurations'
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 resources :users do
member do
get 'toggle_activate', 'toggle_enable'
- clean up link to problem stat and user stat
r606 get 'stat'
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 end
end
- refactor into submission controller
r596 resources :submissions do
collection do
get 'prob/:problem_id', to: 'submissions#index', as: 'problem'
- refactor direct_edit into submissions/edit...
r597 get 'direct_edit_problem/:problem_id', to: 'submissions#direct_edit_problem', as: 'direct_edit_problem'
get 'get_latest_submission_status/:uid/:pid', to: 'submissions#get_latest_submission_status', as: 'get_latest_submission_status'
- refactor into submission controller
r596 end
end
start upgrading to rails 4.0.x
r616 get 'tasks/view/:file.:ext' => 'tasks#view'
get 'tasks/download/:id/:file.:ext' => 'tasks#download'
get 'heartbeat/:id/edit' => 'heartbeat#edit'
Jittat Fakcharoenphol
boots into rails 3
r318
bootstrap navbar
r553 #main
get "main/list"
* add forgotten toggle file...
r559 get 'main/submission(/:id)', to: 'main#submission', as: 'main_submission'
add heart_beat
r533
hall of fame bootrapized
r560 #report
- DRY score table...
r601 get 'report/current_score', to: 'report#current_score', as: 'report_current_score'
hall of fame bootrapized
r560 get 'report/problem_hof(/:id)', to: 'report#problem_hof', as: 'report_problem_hof'
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
r562 get "report/login"
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
r593 get 'report/max_score', to: 'report#max_score', as: 'report_max_score'
- update show max score
r594 post 'report/show_max_score', to: 'report#show_max_score', as: 'report_show_max_score'
hall of fame bootrapized
r560
- add problem manage toggle test interface...
r569 #grader
get 'graders/list', to: 'graders#list', as: 'grader_list'
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
r593
- add problem manage toggle test interface...
r569
start upgrading to rails 4.0.x
r616 get 'heartbeat/:id/edit' => 'heartbeat#edit'
merge with algo and add brython files that were missing
r584
Jittat Fakcharoenphol
boots into rails 3
r318 # See how all your routes lay out with "rake routes"
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
start upgrading to rails 4.0.x
r616 match ':controller(/:action(/:id))(.:format)', via: [:get, :post]
pramook
initial commit...
r0 end