Skip to content

Commit 057e3aa

Browse files
committed
Merge branch '2.0' into hm-242
2 parents 971dd0a + 69e8d6e commit 057e3aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2454
-82
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55
ruby '>= 2.5'
66

77
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
8-
gem 'rails', '~> 5.2.4.3'
8+
gem 'rails', '~> 5.2.4.4'
99
# Use mysql as the database for Active Record
1010
gem 'mysql2', '>= 0.4.4', '< 0.6.0'
1111
# Use Puma as the app server
@@ -53,7 +53,7 @@ gem 'haml-rails', '~> 2.0'
5353
gem 'simple_form'
5454
gem 'ajax-datatables-rails', '~> 1.0'
5555
gem 'roadie-rails'
56-
gem 'chartkick', '~> 3.3'
56+
gem 'chartkick', '~> 3.4'
5757
gem 'groupdate'
5858
gem 'font-awesome-rails', '~> 4.0' # needed for icon helpers
5959
gem 'mustache', '~> 1.0'

Gemfile.lock

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (5.2.4.3)
5-
actionpack (= 5.2.4.3)
4+
actioncable (5.2.4.4)
5+
actionpack (= 5.2.4.4)
66
nio4r (~> 2.0)
77
websocket-driver (>= 0.6.1)
8-
actionmailer (5.2.4.3)
9-
actionpack (= 5.2.4.3)
10-
actionview (= 5.2.4.3)
11-
activejob (= 5.2.4.3)
8+
actionmailer (5.2.4.4)
9+
actionpack (= 5.2.4.4)
10+
actionview (= 5.2.4.4)
11+
activejob (= 5.2.4.4)
1212
mail (~> 2.5, >= 2.5.4)
1313
rails-dom-testing (~> 2.0)
14-
actionpack (5.2.4.3)
15-
actionview (= 5.2.4.3)
16-
activesupport (= 5.2.4.3)
14+
actionpack (5.2.4.4)
15+
actionview (= 5.2.4.4)
16+
activesupport (= 5.2.4.4)
1717
rack (~> 2.0, >= 2.0.8)
1818
rack-test (>= 0.6.3)
1919
rails-dom-testing (~> 2.0)
2020
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21-
actionview (5.2.4.3)
22-
activesupport (= 5.2.4.3)
21+
actionview (5.2.4.4)
22+
activesupport (= 5.2.4.4)
2323
builder (~> 3.1)
2424
erubi (~> 1.4)
2525
rails-dom-testing (~> 2.0)
2626
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27-
activejob (5.2.4.3)
28-
activesupport (= 5.2.4.3)
27+
activejob (5.2.4.4)
28+
activesupport (= 5.2.4.4)
2929
globalid (>= 0.3.6)
30-
activemodel (5.2.4.3)
31-
activesupport (= 5.2.4.3)
32-
activerecord (5.2.4.3)
33-
activemodel (= 5.2.4.3)
34-
activesupport (= 5.2.4.3)
30+
activemodel (5.2.4.4)
31+
activesupport (= 5.2.4.4)
32+
activerecord (5.2.4.4)
33+
activemodel (= 5.2.4.4)
34+
activesupport (= 5.2.4.4)
3535
arel (>= 9.0)
36-
activestorage (5.2.4.3)
37-
actionpack (= 5.2.4.3)
38-
activerecord (= 5.2.4.3)
36+
activestorage (5.2.4.4)
37+
actionpack (= 5.2.4.4)
38+
activerecord (= 5.2.4.4)
3939
marcel (~> 0.3.1)
40-
activesupport (5.2.4.3)
40+
activesupport (5.2.4.4)
4141
concurrent-ruby (~> 1.0, >= 1.0.2)
4242
i18n (>= 0.7, < 2)
4343
minitest (~> 5.1)
@@ -100,15 +100,15 @@ GEM
100100
rack-test (>= 0.6.3)
101101
regexp_parser (~> 1.5)
102102
xpath (~> 3.2)
103-
chartkick (3.3.1)
103+
chartkick (3.4.0)
104104
childprocess (3.0.0)
105105
chromedriver-helper (2.1.1)
106106
archive-zip (~> 0.10)
107107
nokogiri (~> 1.8)
108108
codeclimate-test-reporter (0.6.0)
109109
simplecov (>= 0.7.1, < 1.0.0)
110110
coderay (1.1.3)
111-
concurrent-ruby (1.1.6)
111+
concurrent-ruby (1.1.7)
112112
connection_pool (2.2.3)
113113
crack (0.4.3)
114114
safe_yaml (~> 1.0.0)
@@ -195,7 +195,7 @@ GEM
195195
httparty (0.18.1)
196196
mime-types (~> 3.0)
197197
multi_xml (>= 0.5.2)
198-
i18n (1.8.3)
198+
i18n (1.8.5)
199199
concurrent-ruby (~> 1.0)
200200
io-like (0.3.1)
201201
jmespath (1.4.0)
@@ -211,7 +211,7 @@ GEM
211211
rb-fsevent (~> 0.9, >= 0.9.4)
212212
rb-inotify (~> 0.9, >= 0.9.7)
213213
ruby_dep (~> 1.2)
214-
loofah (2.6.0)
214+
loofah (2.7.0)
215215
crass (~> 1.0.2)
216216
nokogiri (>= 1.5.9)
217217
lumberjack (1.2.6)
@@ -226,7 +226,7 @@ GEM
226226
mimemagic (0.3.5)
227227
mini_mime (1.0.2)
228228
mini_portile2 (2.4.0)
229-
minitest (5.14.1)
229+
minitest (5.14.2)
230230
minitest-reporters (1.4.2)
231231
ansi
232232
builder
@@ -239,8 +239,8 @@ GEM
239239
mustache (1.1.1)
240240
mysql2 (0.5.3)
241241
nenv (0.3.0)
242-
nio4r (2.5.2)
243-
nokogiri (1.10.9)
242+
nio4r (2.5.3)
243+
nokogiri (1.10.10)
244244
mini_portile2 (~> 2.4.0)
245245
notiffany (0.1.3)
246246
nenv (~> 0.1)
@@ -279,18 +279,18 @@ GEM
279279
rack
280280
rack-test (1.1.0)
281281
rack (>= 1.0, < 3)
282-
rails (5.2.4.3)
283-
actioncable (= 5.2.4.3)
284-
actionmailer (= 5.2.4.3)
285-
actionpack (= 5.2.4.3)
286-
actionview (= 5.2.4.3)
287-
activejob (= 5.2.4.3)
288-
activemodel (= 5.2.4.3)
289-
activerecord (= 5.2.4.3)
290-
activestorage (= 5.2.4.3)
291-
activesupport (= 5.2.4.3)
282+
rails (5.2.4.4)
283+
actioncable (= 5.2.4.4)
284+
actionmailer (= 5.2.4.4)
285+
actionpack (= 5.2.4.4)
286+
actionview (= 5.2.4.4)
287+
activejob (= 5.2.4.4)
288+
activemodel (= 5.2.4.4)
289+
activerecord (= 5.2.4.4)
290+
activestorage (= 5.2.4.4)
291+
activesupport (= 5.2.4.4)
292292
bundler (>= 1.3.0)
293-
railties (= 5.2.4.3)
293+
railties (= 5.2.4.4)
294294
sprockets-rails (>= 2.0.0)
295295
rails-controller-testing (1.0.5)
296296
actionpack (>= 5.0.1.rc1)
@@ -308,9 +308,9 @@ GEM
308308
rails_stdout_logging
309309
rails_serve_static_assets (0.0.5)
310310
rails_stdout_logging (0.0.5)
311-
railties (5.2.4.3)
312-
actionpack (= 5.2.4.3)
313-
activesupport (= 5.2.4.3)
311+
railties (5.2.4.4)
312+
actionpack (= 5.2.4.4)
313+
activesupport (= 5.2.4.4)
314314
method_source
315315
rake (>= 0.8.7)
316316
thor (>= 0.19.0, < 2.0)
@@ -427,7 +427,7 @@ GEM
427427
addressable (>= 2.3.6)
428428
crack (>= 0.3.2)
429429
hashdiff (>= 0.4.0, < 2.0.0)
430-
websocket-driver (0.7.2)
430+
websocket-driver (0.7.3)
431431
websocket-extensions (>= 0.1.0)
432432
websocket-extensions (0.1.5)
433433
xpath (3.2.0)
@@ -448,7 +448,7 @@ DEPENDENCIES
448448
bootstrap (~> 4.3.1)
449449
byebug
450450
capybara (>= 2.15)
451-
chartkick (~> 3.3)
451+
chartkick (~> 3.4)
452452
chromedriver-helper
453453
codeclimate-test-reporter (~> 0.6.0)
454454
devise (~> 4.7)
@@ -473,7 +473,7 @@ DEPENDENCIES
473473
omniauth-mlh (~> 0.4.1)
474474
omniauth-rails_csrf_protection
475475
puma (~> 4.3)
476-
rails (~> 5.2.4.3)
476+
rails (~> 5.2.4.4)
477477
rails-controller-testing
478478
rails-settings-cached (~> 0.7.2)
479479
rails_12factor

app/assets/stylesheets/forms/_forms.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ hr
5656
padding-right: 5px
5757

5858
// custom styles
59-
.form-container.login, .form-container.signup
59+
.form-container.login, .form-container.signup, .form-container.password
6060
max-width: 360px
6161
.btn
6262
margin-bottom: 30px
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
.form-container
2-
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
3-
= f.error_notification
4-
.form-inputs
5-
= f.input :email, required: true, autofocus: true
6-
.center
7-
.form-actions
8-
= f.button :submit, "Send Reset Instructions"
9-
= render "devise/shared/links"
1+
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
2+
= f.error_notification
3+
.form-inputs
4+
= f.input :email, required: true, autofocus: true
5+
.form-actions.right
6+
= f.button :submit, "Send Reset Instructions"
7+
%p.session-link
8+
Remembered it?
9+
= link_to "Sign in!".html_safe, new_user_session_path
10+
%p.session-link
11+
No account?
12+
= link_to "Register!".html_safe, new_user_registration_path
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- title 'Change Password'
2-
.form-container
3-
.section-title
2+
.form-container.password
3+
.section-title.center
44
Change Your
55
%span.emphasized Password
66
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
@@ -10,6 +10,8 @@
1010
.form-inputs
1111
= f.input :password, label: "New Password", required: true, autofocus: true
1212
= f.input :password_confirmation, label: "Confirm", required: true
13-
.form-actions
13+
.form-actions.right
1414
= f.button :submit, "Change My Password"
15-
= render "devise/shared/links"
15+
%p.session-link
16+
Remembered it?
17+
= link_to "Sign in!".html_safe, new_user_session_path

app/views/devise/passwords/new.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- title 'Password Reset'
2-
.form-container
3-
%h1.section-title
2+
.form-container.password
3+
%h1.section-title.center
44
Reset Your
55
%span.emphasized Password
66

0 commit comments

Comments
 (0)