rodauth-oauth 1.6.0 → 1.6.1
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/doc/release_notes/1_6_1.md +13 -0
- data/lib/generators/rodauth/oauth/templates/app/views/rodauth/authorize.html.erb +3 -3
- data/lib/generators/rodauth/oauth/templates/app/views/rodauth/new_oauth_application.html.erb +1 -1
- data/lib/generators/rodauth/oauth/templates/app/views/rodauth/oauth_applications.html.erb +1 -1
- data/lib/rodauth/oauth/version.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: b6c3f9dbc4dcbd3639626e34ed21a624b89c952e53a76e09a364665860af2460
|
|
4
|
+
data.tar.gz: c3fa0024cfd14e9f5c91f1f91729e376aeaf7eef5e2dd6e7d6cfef28eb553c25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d85b01de165f5daf55cf278045e88cb90b7bda144b565384e98d56e18c45f759bb9455914e39f6f33034ce4517d9c526b32820b1b4a5468c344b7f0ff295490
|
|
7
|
+
data.tar.gz: 64678467af584d06240570bdd88cc35d191770d8b6bdae42a9b44300dac80233c7c2e380ac91e0ec00e90dce4f1ea9c847a8597835ecaae1bb1285e3b614790d
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
### 1.6.1
|
|
2
|
+
|
|
3
|
+
#### Bugfixes
|
|
4
|
+
|
|
5
|
+
Fixed regressions in rails generated templates:
|
|
6
|
+
|
|
7
|
+
* some `:oauth_dpop` form fields not being rendered;
|
|
8
|
+
* `check_box_tag` rails helper usage was wrongly setting all checkboxes to "checked"
|
|
9
|
+
|
|
10
|
+
#### Chore
|
|
11
|
+
|
|
12
|
+
* Updated latest features (`:oauth_dpop`) options documentation.
|
|
13
|
+
* rails tests will now exercise the rails generated templates again.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<% end %>
|
|
5
5
|
<% application_uri = rodauth.oauth_application[rodauth.oauth_applications_homepage_url_column] %>
|
|
6
6
|
<% application_name = application_uri ? link_to(rodauth.oauth_application[rodauth.oauth_applications_name_column], application_uri) : rodauth.oauth_application[rodauth.oauth_applications_name_column] %>
|
|
7
|
-
<p class="lead"><%= rodauth.authorize_page_lead(name: application_name) %></p>
|
|
7
|
+
<p class="lead"><%= rodauth.authorize_page_lead(name: application_name).html_safe %></p>
|
|
8
8
|
|
|
9
9
|
<div class="list-group">
|
|
10
10
|
<% if rodauth.oauth_application[rodauth.oauth_applications_tos_uri_column] %>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<%= hidden_field_tag "scope[]", scope %>
|
|
33
33
|
<% else %>
|
|
34
34
|
<div class="form-check">
|
|
35
|
-
<%= check_box_tag "scope[]", scope, id: scope, class: "form-check-input" %>
|
|
35
|
+
<%= check_box_tag "scope[]", scope, false, id: scope, class: "form-check-input" %>
|
|
36
36
|
<%= label_tag scope, scope, class: "form-check-label" %>
|
|
37
37
|
</div>
|
|
38
38
|
<% end %>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<%= hidden_field_tag :registration, rodauth.param_or_nil("registration") %>
|
|
80
80
|
<% end %>
|
|
81
81
|
<% end %>
|
|
82
|
-
<% if rodauth.features.include?(:
|
|
82
|
+
<% if rodauth.features.include?(:oauth_dpop) %>
|
|
83
83
|
<% if rodauth.param_or_nil("dpop_jkt") %>
|
|
84
84
|
<%= hidden_field_tag :dpop_jkt, rodauth.param_or_nil("dpop_jkt") %>
|
|
85
85
|
<% end %>
|
data/lib/generators/rodauth/oauth/templates/app/views/rodauth/new_oauth_application.html.erb
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<% end %>
|
|
41
41
|
<% rodauth.oauth_application_scopes.each do |scope| %>
|
|
42
42
|
<div class="form-check">
|
|
43
|
-
<%= check_box_tag "scopes[]", scope, id: scope, class: "form-check-input" %>
|
|
43
|
+
<%= check_box_tag "scopes[]", scope, false, id: scope, class: "form-check-input" %>
|
|
44
44
|
<%= scope %>
|
|
45
45
|
</div>
|
|
46
46
|
<% end %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rodauth-oauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tiago Cardoso
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rodauth
|
|
@@ -75,6 +75,7 @@ extra_rdoc_files:
|
|
|
75
75
|
- doc/release_notes/1_4_0.md
|
|
76
76
|
- doc/release_notes/1_5_0.md
|
|
77
77
|
- doc/release_notes/1_6_0.md
|
|
78
|
+
- doc/release_notes/1_6_1.md
|
|
78
79
|
files:
|
|
79
80
|
- CHANGELOG.md
|
|
80
81
|
- LICENSE.txt
|
|
@@ -121,6 +122,7 @@ files:
|
|
|
121
122
|
- doc/release_notes/1_4_0.md
|
|
122
123
|
- doc/release_notes/1_5_0.md
|
|
123
124
|
- doc/release_notes/1_6_0.md
|
|
125
|
+
- doc/release_notes/1_6_1.md
|
|
124
126
|
- lib/generators/rodauth/oauth/install_generator.rb
|
|
125
127
|
- lib/generators/rodauth/oauth/templates/app/models/oauth_application.rb
|
|
126
128
|
- lib/generators/rodauth/oauth/templates/app/models/oauth_grant.rb
|