trusty-cms 3.9.1 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/mailers/devise_mailer.rb +8 -0
- data/app/views/devise/sessions/new.html.haml +1 -1
- data/app/views/devise_mailer/reset_password_instructions.html.haml +5 -0
- data/config/initializers/devise.rb +1 -1
- data/config/routes.rb +3 -0
- data/lib/trusty_cms.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 246d866f0a6aa60ac12d02ab96b5b63579cfd1d9e063a216a46599363ef9c509
|
|
4
|
+
data.tar.gz: baf4525e2d34937dc0166b1c4d718f44b103a3fbff8ae31aeb2a4604f9bf0c02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f50cdce31139be21bf316c906f922a86e2fb6a51e8b4beb1ee3efc56db7b25ed8cef192fc056d1b72676f0af44125e2f23dd74f4e2c80d0610be9ed67ffc0934
|
|
7
|
+
data.tar.gz: 8c255a2a22bfcb9ecadba9c81390d7df1cf5a36d078873bd030d15449341ca7b0824764dc65620eec2a6581f7b43e4a344790a53a5a63c8f5895becad99649ee
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trusty-cms (3.9.
|
|
4
|
+
trusty-cms (3.9.2)
|
|
5
5
|
RedCloth (= 4.3.2)
|
|
6
6
|
acts_as_list (~> 0.9.5)
|
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
|
@@ -142,7 +142,7 @@ GEM
|
|
|
142
142
|
haml (>= 4.0, < 6)
|
|
143
143
|
nokogiri (>= 1.6.0)
|
|
144
144
|
ruby_parser (~> 3.5)
|
|
145
|
-
httparty (0.
|
|
145
|
+
httparty (0.18.0)
|
|
146
146
|
mime-types (~> 3.0)
|
|
147
147
|
multi_xml (>= 0.5.2)
|
|
148
148
|
i18n (1.8.2)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
= image_tag('/assets/admin/default_safe_login.svg', alt: 'web browser with padlock on top')
|
|
5
5
|
.login
|
|
6
6
|
%h1 Log in
|
|
7
|
-
= form_for(resource, as: resource_name, url:
|
|
7
|
+
= form_for(resource, as: resource_name, url: authenticate_path) do |f|
|
|
8
8
|
.field
|
|
9
9
|
= f.label :email
|
|
10
10
|
%br/
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
%p
|
|
2
|
+
Hello #{@resource.email}!
|
|
3
|
+
%p Someone has requested a link to change your TrustyCMS password. You can do this through the link below.
|
|
4
|
+
%p= link_to 'Change my password', edit_user_password_url(@resource, reset_password_token: @token)
|
|
5
|
+
%p Your password won't change until you access the link above and create a new one.
|
|
@@ -29,7 +29,7 @@ Devise.setup do |config|
|
|
|
29
29
|
config.mailer_sender = ENV['ORG_FROM_EMAIL'] ||= 'admin@trustycms.org'
|
|
30
30
|
|
|
31
31
|
# Configure the class responsible to send e-mails.
|
|
32
|
-
|
|
32
|
+
config.mailer = 'DeviseMailer'
|
|
33
33
|
|
|
34
34
|
# Configure the parent class responsible to send e-mails.
|
|
35
35
|
# config.parent_mailer = 'ActionMailer::Base'
|
data/config/routes.rb
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
TrustyCms::Application.routes.draw do
|
|
2
2
|
root to: 'site#show_page'
|
|
3
3
|
devise_for :users, module: :devise, :skip => :registration
|
|
4
|
+
as :user do
|
|
5
|
+
post 'authenticate', to: 'devise/sessions#create', as: :authenticate
|
|
6
|
+
end
|
|
4
7
|
get '/rad_social/mail' => 'social_mailer#social_mail_form', as: :rad_social_mail_form
|
|
5
8
|
post '/rad_social/mail' => 'social_mailer#create_social_mail', as: :rad_create_social_mail
|
|
6
9
|
TrustyCms::Application.config.enabled_extensions.each { |ext|
|
data/lib/trusty_cms.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.9.
|
|
4
|
+
version: 3.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02
|
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: acts_as_list
|
|
@@ -662,6 +662,7 @@ files:
|
|
|
662
662
|
- app/helpers/site_helper.rb
|
|
663
663
|
- app/helpers/sites_helper.rb
|
|
664
664
|
- app/mailers/application_mailer.rb
|
|
665
|
+
- app/mailers/devise_mailer.rb
|
|
665
666
|
- app/mailers/rad_social_mailer.rb
|
|
666
667
|
- app/models/asset.rb
|
|
667
668
|
- app/models/asset_type.rb
|
|
@@ -763,6 +764,7 @@ files:
|
|
|
763
764
|
- app/views/devise/passwords/new.html.haml
|
|
764
765
|
- app/views/devise/sessions/new.html.haml
|
|
765
766
|
- app/views/devise/shared/_links.html.haml
|
|
767
|
+
- app/views/devise_mailer/reset_password_instructions.html.haml
|
|
766
768
|
- app/views/layouts/application.html.haml
|
|
767
769
|
- app/views/layouts/mail.html.haml
|
|
768
770
|
- app/views/layouts/mailer.text.haml
|