spree_backend 4.6.1 → 4.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec893557adb0b4d906e3f5135e8d813586568e6849be2dafebd71f927023b133
4
- data.tar.gz: fbedae8d3f6c7582727850b52cb282b5b06a7c1fff295957ba6d3294a966eebf
3
+ metadata.gz: f6a727db968502ab5d08a7733adecdf3d46a1657218745d63a0896b72d6c0480
4
+ data.tar.gz: 660d8c18a9e4f401cd72321f7b68503dc0f3784e50eda8e123f0e5ee9cf18d76
5
5
  SHA512:
6
- metadata.gz: 0bad0854d98bdb6127f07ec478382c025d04568ef931285f6599d49c7bd75d4b6afb513538b9efe01a010b3adb5b08fd8ba046db1c99a53a6d9d986f6eea04b3
7
- data.tar.gz: 37548d9f962033dfacb4f17e6b52631dc86ea2048e221536d07770f217b4856a22a2cdb66ccd7df24cbc0e7ac436909e95de57e184da93ec607b688c19a97b0a
6
+ metadata.gz: a7d89b1b4411316a3727d36b349f07789ce4eb07e36be7dfa7d046a8becb2acd7dad8439fc7206ca47fd4e834db7a947ef2b8a4c2ade7dbecd17e38e72e8a9b8
7
+ data.tar.gz: 3cf8f6c96eaef38994f05a137ddcf5cefadb9403b3582dee37fa360c3c868649622b9cc9e56586e31bec9ca97855aff03e9fbe18da23774848de9df91ad77077
@@ -4,7 +4,7 @@ document.addEventListener("spree:load", function() {
4
4
  tinymce.init({
5
5
  selector: '.spree-rte',
6
6
  plugins: [
7
- 'image table paste code link table'
7
+ 'image table paste code link table lists'
8
8
  ],
9
9
  menubar: false,
10
10
  toolbar: 'undo redo | styleselect | bold italic link forecolor backcolor | alignleft aligncenter alignright alignjustify | table | bullist numlist outdent indent | code '
@@ -14,7 +14,7 @@ document.addEventListener("spree:load", function() {
14
14
  selector: '.spree-rte-simple',
15
15
  menubar: false,
16
16
  plugins: [
17
- 'image table paste link table'
17
+ 'image table paste link table lists'
18
18
  ],
19
19
  toolbar: 'undo redo | styleselect | bold italic link forecolor backcolor | alignleft aligncenter alignright alignjustify | table | bullist numlist outdent indent'
20
20
  });
@@ -15,6 +15,7 @@
15
15
  <% if defined?(Spree::Vendor) && can?(:manage, Spree::Vendor) && !current_spree_vendor %>
16
16
  <th><%= Spree.t(:vendor) %></th>
17
17
  <% end %>
18
+ <th><%= Spree.t('admin.webhooks_subscribers.secret_key') %></th>
18
19
  <th><%= Spree.t('admin.active') %></th>
19
20
  <th><%= Spree.t('admin.webhooks_subscribers.subscriptions') %></th>
20
21
  <th><%= Spree.t('admin.webhooks_subscribers.time_of_last_event') %></th>
@@ -31,6 +32,16 @@
31
32
  <%= link_to webhooks_subscriber.vendor.name, spree.admin_vendor_path(webhooks_subscriber.vendor) if webhooks_subscriber.vendor.present? %>
32
33
  </td>
33
34
  <% end %>
35
+ <td>
36
+ <div class="input-group" data-controller="password-toggle">
37
+ <%= password_field_tag :password, webhooks_subscriber.secret_key, class: 'form-control unhide text-muted border-0 shadow-none bg-transparent', data: { password_toggle_target: 'unhide' }, readonly: true %>
38
+ <div class="input-group-append">
39
+ <%= button_tag class: 'btn btn-link rounded', data: { action: 'click->password-toggle#password' } do %>
40
+ <%= svg_icon name: "view.svg", width: '18', height: '18' %>
41
+ <% end %>
42
+ </div>
43
+ </div>
44
+ </td>
34
45
  <td><%= active_badge(webhooks_subscriber.active) %></td>
35
46
  <td><%= webhooks_subscriber.subscriptions&.sort&.join(', ') %></td>
36
47
  <td><%= webhooks_subscriber.events.order(:created_at).last&.created_at %></td>
@@ -1,6 +1,6 @@
1
1
  module Spree
2
2
  module Backend
3
- VERSION = '4.6.1'.freeze
3
+ VERSION = '4.6.2'.freeze
4
4
 
5
5
  def self.version
6
6
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.1
4
+ version: 4.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-04 00:00:00.000000000 Z
12
+ date: 2024-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree
@@ -2427,9 +2427,9 @@ licenses:
2427
2427
  - BSD-3-Clause
2428
2428
  metadata:
2429
2429
  bug_tracker_uri: https://github.com/spree/spree_backend/issues
2430
- changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.6.1
2430
+ changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.6.2
2431
2431
  documentation_uri: https://dev-docs.spreecommerce.org/
2432
- source_code_uri: https://github.com/spree/spree_backend/tree/v4.6.1
2432
+ source_code_uri: https://github.com/spree/spree_backend/tree/v4.6.2
2433
2433
  post_install_message:
2434
2434
  rdoc_options: []
2435
2435
  require_paths: