Description:
start testing
add compiler msg pop up
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r622:54dff44ae178 - - 60 files changed: 59 inserted, 1596 deleted
@@ -0,0 +1,13 | |||||
|
|
1 | + require 'test_helper' | ||
|
|
2 | + | ||
|
|
3 | + class LoginTest < ActionDispatch::IntegrationTest | ||
|
|
4 | + # test "the truth" do | ||
|
|
5 | + # assert true | ||
|
|
6 | + # end | ||
|
|
7 | + | ||
|
|
8 | + test "login with valid information" do | ||
|
|
9 | + get root_path | ||
|
|
10 | + assert_response :success | ||
|
|
11 | + | ||
|
|
12 | + end | ||
|
|
13 | + end |
@@ -10,21 +10,20 | |||||
|
10 |
|
10 | ||
|
11 | gem 'mysql2' |
|
11 | gem 'mysql2' |
|
12 | gem 'sqlite3' |
|
12 | gem 'sqlite3' |
|
13 |
|
13 | ||
|
14 | # Gems used only for assets and not required |
|
14 | # Gems used only for assets and not required |
|
15 | # in production environments by default. |
|
15 | # in production environments by default. |
|
16 | - group :assets do |
|
16 | + gem 'sass-rails' |
|
17 |
- |
|
17 | + gem 'coffee-rails' |
|
18 | - gem 'coffee-rails' |
|
||
|
19 |
|
18 | ||
|
20 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes |
|
19 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes |
|
21 | # gem 'therubyracer', :platforms => :ruby |
|
20 | # gem 'therubyracer', :platforms => :ruby |
|
22 |
|
21 | ||
|
23 |
- |
|
22 | + gem 'uglifier' |
|
24 | - end |
|
23 | + |
|
25 |
|
24 | ||
|
26 | # gem 'prototype-rails' |
|
25 | # gem 'prototype-rails' |
|
27 |
|
26 | ||
|
28 | # To use ActiveModel has_secure_password |
|
27 | # To use ActiveModel has_secure_password |
|
29 | # gem 'bcrypt-ruby', '~> 3.0.0' |
|
28 | # gem 'bcrypt-ruby', '~> 3.0.0' |
|
30 |
|
29 | ||
@@ -74,9 +73,6 | |||||
|
74 | gem 'test-unit' |
|
73 | gem 'test-unit' |
|
75 | gem 'will_paginate', '~> 3.0.7' |
|
74 | gem 'will_paginate', '~> 3.0.7' |
|
76 | gem 'dynamic_form' |
|
75 | gem 'dynamic_form' |
|
77 | gem 'in_place_editing' |
|
76 | gem 'in_place_editing' |
|
78 | gem 'verification', :git => 'https://github.com/sikachu/verification.git' |
|
77 | gem 'verification', :git => 'https://github.com/sikachu/verification.git' |
|
79 |
|
78 | ||
|
80 | - group :test, :development do |
|
||
|
81 | - gem 'rspec-rails' |
|
||
|
82 | - end |
|
@@ -1,13 +1,13 | |||||
|
1 | GIT |
|
1 | GIT |
|
2 | remote: https://github.com/sikachu/verification.git |
|
2 | remote: https://github.com/sikachu/verification.git |
|
3 | - revision: e6fe084ce16b7b5a4b1cdfca5374d125fd034a0f |
|
3 | + revision: ff31697b940d7b0e2ec65f08764215c96104e76d |
|
4 | specs: |
|
4 | specs: |
|
5 | verification (1.0.3) |
|
5 | verification (1.0.3) |
|
6 |
- actionpack (>= 3.0.0, < 5. |
|
6 | + actionpack (>= 3.0.0, < 5.1) |
|
7 |
- activesupport (>= 3.0.0, < 5. |
|
7 | + activesupport (>= 3.0.0, < 5.1) |
|
8 |
|
8 | ||
|
9 | GEM |
|
9 | GEM |
|
10 | remote: https://rubygems.org/ |
|
10 | remote: https://rubygems.org/ |
|
11 | specs: |
|
11 | specs: |
|
12 | ace-rails-ap (4.1.1) |
|
12 | ace-rails-ap (4.1.1) |
|
13 | actionmailer (4.2.7.1) |
|
13 | actionmailer (4.2.7.1) |
@@ -48,14 +48,14 | |||||
|
48 | activesupport (4.2.7.1) |
|
48 | activesupport (4.2.7.1) |
|
49 | i18n (~> 0.7) |
|
49 | i18n (~> 0.7) |
|
50 | json (~> 1.7, >= 1.7.7) |
|
50 | json (~> 1.7, >= 1.7.7) |
|
51 | minitest (~> 5.1) |
|
51 | minitest (~> 5.1) |
|
52 | thread_safe (~> 0.3, >= 0.3.4) |
|
52 | thread_safe (~> 0.3, >= 0.3.4) |
|
53 | tzinfo (~> 1.1) |
|
53 | tzinfo (~> 1.1) |
|
54 |
- arel (6.0. |
|
54 | + arel (6.0.4) |
|
55 |
- autoprefixer-rails (6. |
|
55 | + autoprefixer-rails (6.6.0) |
|
56 | execjs |
|
56 | execjs |
|
57 | best_in_place (3.0.3) |
|
57 | best_in_place (3.0.3) |
|
58 | actionpack (>= 3.2) |
|
58 | actionpack (>= 3.2) |
|
59 | railties (>= 3.2) |
|
59 | railties (>= 3.2) |
|
60 | bootstrap-sass (3.2.0.2) |
|
60 | bootstrap-sass (3.2.0.2) |
|
61 | sass (~> 3.2) |
|
61 | sass (~> 3.2) |
@@ -65,15 +65,14 | |||||
|
65 | coffee-rails (4.2.1) |
|
65 | coffee-rails (4.2.1) |
|
66 | coffee-script (>= 2.2.0) |
|
66 | coffee-script (>= 2.2.0) |
|
67 | railties (>= 4.0.0, < 5.2.x) |
|
67 | railties (>= 4.0.0, < 5.2.x) |
|
68 | coffee-script (2.4.1) |
|
68 | coffee-script (2.4.1) |
|
69 | coffee-script-source |
|
69 | coffee-script-source |
|
70 | execjs |
|
70 | execjs |
|
71 |
- coffee-script-source (1.1 |
|
71 | + coffee-script-source (1.12.2) |
|
72 |
- concurrent-ruby (1.0. |
|
72 | + concurrent-ruby (1.0.4) |
|
73 | - diff-lcs (1.2.5) |
|
||
|
74 | dynamic_form (1.1.4) |
|
73 | dynamic_form (1.1.4) |
|
75 | erubis (2.7.0) |
|
74 | erubis (2.7.0) |
|
76 | execjs (2.7.0) |
|
75 | execjs (2.7.0) |
|
77 | globalid (0.3.7) |
|
76 | globalid (0.3.7) |
|
78 | activesupport (>= 4.1.0) |
|
77 | activesupport (>= 4.1.0) |
|
79 | haml (4.0.7) |
|
78 | haml (4.0.7) |
@@ -93,19 +92,18 | |||||
|
93 | in_place_editing (1.2.0) |
|
92 | in_place_editing (1.2.0) |
|
94 | jquery-countdown-rails (2.0.2) |
|
93 | jquery-countdown-rails (2.0.2) |
|
95 | jquery-rails (4.2.1) |
|
94 | jquery-rails (4.2.1) |
|
96 | rails-dom-testing (>= 1, < 3) |
|
95 | rails-dom-testing (>= 1, < 3) |
|
97 | railties (>= 4.2.0) |
|
96 | railties (>= 4.2.0) |
|
98 | thor (>= 0.14, < 2.0) |
|
97 | thor (>= 0.14, < 2.0) |
|
99 |
- jquery-tablesorter (1.23. |
|
98 | + jquery-tablesorter (1.23.3) |
|
100 | railties (>= 3.2, < 6) |
|
99 | railties (>= 3.2, < 6) |
|
101 | jquery-timepicker-addon-rails (1.4.1) |
|
100 | jquery-timepicker-addon-rails (1.4.1) |
|
102 | railties (>= 3.1) |
|
101 | railties (>= 3.1) |
|
103 |
- jquery-ui-rails ( |
|
102 | + jquery-ui-rails (6.0.1) |
|
104 | - jquery-rails |
|
103 | + railties (>= 3.2.16) |
|
105 | - railties (>= 3.1.0) |
|
||
|
106 | json (1.8.3) |
|
104 | json (1.8.3) |
|
107 | loofah (2.0.3) |
|
105 | loofah (2.0.3) |
|
108 | nokogiri (>= 1.5.9) |
|
106 | nokogiri (>= 1.5.9) |
|
109 | mail (2.6.4) |
|
107 | mail (2.6.4) |
|
110 | mime-types (>= 1.16, < 4) |
|
108 | mime-types (>= 1.16, < 4) |
|
111 | mime-types (3.1) |
|
109 | mime-types (3.1) |
@@ -133,15 +131,15 | |||||
|
133 | activesupport (= 4.2.7.1) |
|
131 | activesupport (= 4.2.7.1) |
|
134 | bundler (>= 1.3.0, < 2.0) |
|
132 | bundler (>= 1.3.0, < 2.0) |
|
135 | railties (= 4.2.7.1) |
|
133 | railties (= 4.2.7.1) |
|
136 | sprockets-rails |
|
134 | sprockets-rails |
|
137 | rails-deprecated_sanitizer (1.0.3) |
|
135 | rails-deprecated_sanitizer (1.0.3) |
|
138 | activesupport (>= 4.2.0.alpha) |
|
136 | activesupport (>= 4.2.0.alpha) |
|
139 |
- rails-dom-testing (1.0. |
|
137 | + rails-dom-testing (1.0.8) |
|
140 | activesupport (>= 4.2.0.beta, < 5.0) |
|
138 | activesupport (>= 4.2.0.beta, < 5.0) |
|
141 |
- nokogiri (~> 1.6 |
|
139 | + nokogiri (~> 1.6) |
|
142 | rails-deprecated_sanitizer (>= 1.0.1) |
|
140 | rails-deprecated_sanitizer (>= 1.0.1) |
|
143 | rails-html-sanitizer (1.0.3) |
|
141 | rails-html-sanitizer (1.0.3) |
|
144 | loofah (~> 2.0) |
|
142 | loofah (~> 2.0) |
|
145 | rails_bootstrap_sortable (2.0.1) |
|
143 | rails_bootstrap_sortable (2.0.1) |
|
146 | momentjs-rails (>= 2.8.3) |
|
144 | momentjs-rails (>= 2.8.3) |
|
147 | railties (4.2.7.1) |
|
145 | railties (4.2.7.1) |
@@ -149,42 +147,25 | |||||
|
149 | activesupport (= 4.2.7.1) |
|
147 | activesupport (= 4.2.7.1) |
|
150 | rake (>= 0.8.7) |
|
148 | rake (>= 0.8.7) |
|
151 | thor (>= 0.18.1, < 2.0) |
|
149 | thor (>= 0.18.1, < 2.0) |
|
152 | rake (12.0.0) |
|
150 | rake (12.0.0) |
|
153 | rdiscount (2.2.0.1) |
|
151 | rdiscount (2.2.0.1) |
|
154 | rouge (2.0.7) |
|
152 | rouge (2.0.7) |
|
155 | - rspec-core (3.5.4) |
|
||
|
156 | - rspec-support (~> 3.5.0) |
|
||
|
157 | - rspec-expectations (3.5.0) |
|
||
|
158 | - diff-lcs (>= 1.2.0, < 2.0) |
|
||
|
159 | - rspec-support (~> 3.5.0) |
|
||
|
160 | - rspec-mocks (3.5.0) |
|
||
|
161 | - diff-lcs (>= 1.2.0, < 2.0) |
|
||
|
162 | - rspec-support (~> 3.5.0) |
|
||
|
163 | - rspec-rails (3.5.2) |
|
||
|
164 | - actionpack (>= 3.0) |
|
||
|
165 | - activesupport (>= 3.0) |
|
||
|
166 | - railties (>= 3.0) |
|
||
|
167 | - rspec-core (~> 3.5.0) |
|
||
|
168 | - rspec-expectations (~> 3.5.0) |
|
||
|
169 | - rspec-mocks (~> 3.5.0) |
|
||
|
170 | - rspec-support (~> 3.5.0) |
|
||
|
171 | - rspec-support (3.5.0) |
|
||
|
172 | ruby_parser (3.8.3) |
|
153 | ruby_parser (3.8.3) |
|
173 | sexp_processor (~> 4.1) |
|
154 | sexp_processor (~> 4.1) |
|
174 |
- sass (3.4.2 |
|
155 | + sass (3.4.23) |
|
175 | sass-rails (5.0.6) |
|
156 | sass-rails (5.0.6) |
|
176 | railties (>= 4.0.0, < 6) |
|
157 | railties (>= 4.0.0, < 6) |
|
177 | sass (~> 3.1) |
|
158 | sass (~> 3.1) |
|
178 | sprockets (>= 2.8, < 4.0) |
|
159 | sprockets (>= 2.8, < 4.0) |
|
179 | sprockets-rails (>= 2.0, < 4.0) |
|
160 | sprockets-rails (>= 2.0, < 4.0) |
|
180 | tilt (>= 1.1, < 3) |
|
161 | tilt (>= 1.1, < 3) |
|
181 | select2-rails (4.0.3) |
|
162 | select2-rails (4.0.3) |
|
182 | thor (~> 0.14) |
|
163 | thor (~> 0.14) |
|
183 | sexp_processor (4.7.0) |
|
164 | sexp_processor (4.7.0) |
|
184 |
- sprockets (3.7. |
|
165 | + sprockets (3.7.1) |
|
185 | concurrent-ruby (~> 1.0) |
|
166 | concurrent-ruby (~> 1.0) |
|
186 | rack (> 1, < 3) |
|
167 | rack (> 1, < 3) |
|
187 | sprockets-rails (3.2.0) |
|
168 | sprockets-rails (3.2.0) |
|
188 | actionpack (>= 4.0) |
|
169 | actionpack (>= 4.0) |
|
189 | activesupport (>= 4.0) |
|
170 | activesupport (>= 4.0) |
|
190 | sprockets (>= 3.0.0) |
|
171 | sprockets (>= 3.0.0) |
@@ -225,13 +206,12 | |||||
|
225 | momentjs-rails |
|
206 | momentjs-rails |
|
226 | mysql2 |
|
207 | mysql2 |
|
227 | rails (~> 4.2.0) |
|
208 | rails (~> 4.2.0) |
|
228 | rails_bootstrap_sortable |
|
209 | rails_bootstrap_sortable |
|
229 | rdiscount |
|
210 | rdiscount |
|
230 | rouge |
|
211 | rouge |
|
231 | - rspec-rails |
|
||
|
232 | sass-rails |
|
212 | sass-rails |
|
233 | select2-rails |
|
213 | select2-rails |
|
234 | sqlite3 |
|
214 | sqlite3 |
|
235 | test-unit |
|
215 | test-unit |
|
236 | uglifier |
|
216 | uglifier |
|
237 | verification! |
|
217 | verification! |
@@ -9,13 +9,13 | |||||
|
9 | // |
|
9 | // |
|
10 | // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
|
10 | // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
|
11 | // GO AFTER THE REQUIRES BELOW. |
|
11 | // GO AFTER THE REQUIRES BELOW. |
|
12 | // |
|
12 | // |
|
13 | //= require jquery |
|
13 | //= require jquery |
|
14 | //= require jquery_ujs |
|
14 | //= require jquery_ujs |
|
15 |
- //= require jquery |
|
15 | + //= require jquery-ui |
|
16 | //= require bootstrap-sprockets |
|
16 | //= require bootstrap-sprockets |
|
17 | //= require moment |
|
17 | //= require moment |
|
18 | //= require bootstrap-sortable |
|
18 | //= require bootstrap-sortable |
|
19 | //= require select2 |
|
19 | //= require select2 |
|
20 | //= require ace-rails-ap |
|
20 | //= require ace-rails-ap |
|
21 | //= require ace/mode-c_cpp |
|
21 | //= require ace/mode-c_cpp |
@@ -25,15 +25,12 | |||||
|
25 | //= require ace/mode-javascript |
|
25 | //= require ace/mode-javascript |
|
26 | //= require ace/mode-java |
|
26 | //= require ace/mode-java |
|
27 | //= require ace/theme-merbivore |
|
27 | //= require ace/theme-merbivore |
|
28 | //= require custom |
|
28 | //= require custom |
|
29 | //= require jquery.countdown |
|
29 | //= require jquery.countdown |
|
30 | //-------------- addition from local_jquery ----------- |
|
30 | //-------------- addition from local_jquery ----------- |
|
31 | - //= require jquery.ui.datepicker |
|
||
|
32 | - //= require jquery.ui.slider |
|
||
|
33 | - //= require jquery-ui-timepicker-addon |
|
||
|
34 | //= require jquery-tablesorter |
|
31 | //= require jquery-tablesorter |
|
35 | //= require best_in_place |
|
32 | //= require best_in_place |
|
36 | //= require best_in_place.jquery-ui |
|
33 | //= require best_in_place.jquery-ui |
|
37 | //= require brython |
|
34 | //= require brython |
|
38 |
|
35 | ||
|
39 | // since this is after blank line, it is not downloaded |
|
36 | // since this is after blank line, it is not downloaded |
@@ -1,14 +1,4 | |||||
|
1 | - //= require jquery |
|
||
|
2 | - //= require jquery_ujs |
|
||
|
3 | - //= require jquery.ui.all |
|
||
|
4 | - //= require jquery.ui.datepicker |
|
||
|
5 | - //= require jquery.ui.slider |
|
||
|
6 | - //= require jquery-ui-timepicker-addon |
|
||
|
7 | - //= require jquery-tablesorter |
|
||
|
8 | - //= require best_in_place |
|
||
|
9 | - //= require best_in_place.jquery-ui |
|
||
|
10 | - |
|
||
|
11 |
|
|
1 | $(document).ready(function() { |
|
12 | /* Activating Best In Place */ |
|
2 | /* Activating Best In Place */ |
|
13 | jQuery(".best_in_place").best_in_place(); |
|
3 | jQuery(".best_in_place").best_in_place(); |
|
14 | }); |
|
4 | }); |
@@ -11,17 +11,17 | |||||
|
11 | * |
|
11 | * |
|
12 | * // bootstrap says that we should not do this, but @import each file instead |
|
12 | * // bootstrap says that we should not do this, but @import each file instead |
|
13 | * # *= require_tree . |
|
13 | * # *= require_tree . |
|
14 | * # *= require_self |
|
14 | * # *= require_self |
|
15 | */ |
|
15 | */ |
|
16 |
|
16 | ||
|
17 |
- @import "jquery |
|
17 | + @import "jquery-ui"; |
|
18 | - @import "jquery.ui.core"; |
|
18 | + //@import "jquery.ui.core"; |
|
19 | - @import "jquery.ui.theme"; |
|
19 | + //@import "jquery.ui.theme"; |
|
20 | - @import "jquery.ui.datepicker"; |
|
20 | + //@import "jquery.ui.datepicker"; |
|
21 | - @import "jquery.ui.slider"; |
|
21 | + //@import "jquery.ui.slider"; |
|
22 | @import "jquery-ui-timepicker-addon"; |
|
22 | @import "jquery-ui-timepicker-addon"; |
|
23 | @import "jquery-tablesorter/theme.metro-dark"; |
|
23 | @import "jquery-tablesorter/theme.metro-dark"; |
|
24 | @import "jquery.countdown"; |
|
24 | @import "jquery.countdown"; |
|
25 | @import "tablesorter-theme.cafe"; |
|
25 | @import "tablesorter-theme.cafe"; |
|
26 |
|
26 | ||
|
27 | //bootstrap |
|
27 | //bootstrap |
@@ -33,7 +33,11 | |||||
|
33 | #config.active_record.mass_assignment_sanitizer = :strict // DEPRICATED |
|
33 | #config.active_record.mass_assignment_sanitizer = :strict // DEPRICATED |
|
34 |
|
34 | ||
|
35 | # Print deprecation notices to the stderr |
|
35 | # Print deprecation notices to the stderr |
|
36 | config.active_support.deprecation = :stderr |
|
36 | config.active_support.deprecation = :stderr |
|
37 |
|
37 | ||
|
38 | config.eager_load = false |
|
38 | config.eager_load = false |
|
|
39 | + | ||
|
|
40 | + #test order | ||
|
|
41 | + config.active_support.test_order = :sorted | ||
|
|
42 | + | ||
|
39 | end |
|
43 | end |
@@ -50,12 +50,13 | |||||
|
50 | :key => 'contest.multisites', |
|
50 | :key => 'contest.multisites', |
|
51 | :value_type => 'boolean', |
|
51 | :value_type => 'boolean', |
|
52 | :default_value => 'false', |
|
52 | :default_value => 'false', |
|
53 | :description => 'If the server is in contest mode and this option is true, on the log in of the admin a menu for site selections is shown.' |
|
53 | :description => 'If the server is in contest mode and this option is true, on the log in of the admin a menu for site selections is shown.' |
|
54 | }, |
|
54 | }, |
|
55 |
|
55 | ||
|
|
56 | + #---------------------------- right -------------------------------- | ||
|
56 | { |
|
57 | { |
|
57 | :key => 'right.user_hall_of_fame', |
|
58 | :key => 'right.user_hall_of_fame', |
|
58 | :value_type => 'boolean', |
|
59 | :value_type => 'boolean', |
|
59 | :default_value => 'false', |
|
60 | :default_value => 'false', |
|
60 | :description => 'If true, any user can access hall of fame page.' |
|
61 | :description => 'If true, any user can access hall of fame page.' |
|
61 | }, |
|
62 | }, |
@@ -71,12 +72,26 | |||||
|
71 | :key => 'right.user_view_submission', |
|
72 | :key => 'right.user_view_submission', |
|
72 | :value_type => 'boolean', |
|
73 | :value_type => 'boolean', |
|
73 | :default_value => 'false', |
|
74 | :default_value => 'false', |
|
74 | :description => 'If true, any user can view submissions of every one.' |
|
75 | :description => 'If true, any user can view submissions of every one.' |
|
75 | }, |
|
76 | }, |
|
76 |
|
77 | ||
|
|
78 | + { | ||
|
|
79 | + :key => 'right.bypass_agreement', | ||
|
|
80 | + :value_type => 'boolean', | ||
|
|
81 | + :default_value => 'true', | ||
|
|
82 | + :description => 'When false, a user must accept usage agreement before login' | ||
|
|
83 | + }, | ||
|
|
84 | + | ||
|
|
85 | + { | ||
|
|
86 | + :key => 'right.heartbeat_response', | ||
|
|
87 | + :value_type => 'string', | ||
|
|
88 | + :default_value => 'OK', | ||
|
|
89 | + :description => 'Heart beat response text' | ||
|
|
90 | + }, | ||
|
|
91 | + | ||
|
77 | # If Configuration['system.online_registration'] is true, the |
|
92 | # If Configuration['system.online_registration'] is true, the |
|
78 | # system allows online registration, and will use these |
|
93 | # system allows online registration, and will use these |
|
79 | # information for sending confirmation emails. |
|
94 | # information for sending confirmation emails. |
|
80 | { |
|
95 | { |
|
81 | :key => 'system.online_registration.smtp', |
|
96 | :key => 'system.online_registration.smtp', |
|
82 | :value_type => 'string', |
|
97 | :value_type => 'string', |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
deleted file |
You need to be logged in to leave comments.
Login now