scrivito_sdk 1.4.3 → 1.5.0.rc1

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
  SHA1:
3
- metadata.gz: 354334e7b580fefb2a8b97fbb8e89e0d24ab999b
4
- data.tar.gz: b75b9b60e35641349b49cd2ec6528263ebbb5c95
3
+ metadata.gz: 42bbcf2bc4f6fffed0cb6c45334a43754b5f082b
4
+ data.tar.gz: 09d17580c9e5b72804b14358ef8b515f3494f055
5
5
  SHA512:
6
- metadata.gz: 3cc0ac06ef3f777e3af56fad357a8733282c7d7eaa2fa8608fd251146d2dfeb38afdf466223dc94deb1d0b43f702a3e0f34906128a2f9c5e40e8b0de01dbbd0f
7
- data.tar.gz: 15733140970fdadbe829d3f5a4a4d7f04a0036da14a8397f1fcd566db95aada23df4a7b6a509922d8a3fd4833d68d357025fb54927e15d8e7f022195b708af62
6
+ metadata.gz: ff78ff646b9eb4893a0fa26ddca10f342ca6680bf12367075e33aa91b417824c267fd0976d0bae0cfaae2b096b2ced1e499d898a463fdb47468d34fb2ca4dffe
7
+ data.tar.gz: 3fc0ee92a64909ec57ad35acda2597e435250558485f4475c67618f43965d6f61272b9835d6277afd256c20a2899ff0a1e79dcdffd5e482a23ed566c49fa67f2
@@ -4,7 +4,8 @@ module Scrivito
4
4
  obj_class_name = params.fetch(:obj_class_name)
5
5
  obj_class = fetch_obj_class(obj_class_name)
6
6
  if obj_class
7
- defaults = obj_class.build_attributes_with_defaults({}, scrivito_user: scrivito_user)
7
+ defaults = obj_class.build_attributes_with_defaults(
8
+ params.fetch(:attributes, {}), scrivito_user: scrivito_user)
8
9
  @defaults = computed_nested_attributes(defaults, obj_class)
9
10
  else
10
11
  raise ResourceNotFound, %{The obj class "#{obj_class_name}" is not available.}
@@ -44,7 +45,7 @@ module Scrivito
44
45
  end
45
46
 
46
47
  def fetch_obj_class(obj_class_name)
47
- compute_type(Widget, obj_class_name) || compute_type(Page, obj_class_name)
48
+ compute_type(Widget, obj_class_name) || compute_type(Obj, obj_class_name)
48
49
  end
49
50
 
50
51
  def compute_type(base_class, obj_class_name)
@@ -1,11 +1,8 @@
1
1
  module Scrivito
2
2
  class ObjsController < WebserviceController
3
3
  around_action :require_selected_workspace_write_authorization, only: [
4
- :copy,
5
4
  :create,
6
5
  :destroy,
7
- :duplicate,
8
- :mark_resolved,
9
6
  :restore,
10
7
  :restore_widget,
11
8
  :revert,
@@ -14,9 +11,7 @@ module Scrivito
14
11
  ]
15
12
 
16
13
  before_filter :require_identical_selected_and_visible_workspace, only: [
17
- :copy,
18
14
  :create,
19
- :duplicate,
20
15
  :page_class_selection,
21
16
  :update,
22
17
  :widget_class_selection,
@@ -92,16 +87,6 @@ module Scrivito
92
87
  end
93
88
  end
94
89
 
95
- def mark_resolved
96
- in_selected_workspace { current_obj.mark_resolved }
97
- render_empty_json
98
- end
99
-
100
- def copy
101
- @obj = copy_obj(current_obj, params[:parent_path])
102
- render :obj
103
- end
104
-
105
90
  def transfer_modifications
106
91
  in_selected_workspace do
107
92
  begin
@@ -118,11 +103,6 @@ module Scrivito
118
103
  end
119
104
  end
120
105
 
121
- def duplicate
122
- @obj = copy_obj(current_obj, current_obj.parent_path)
123
- render :obj
124
- end
125
-
126
106
  def page_class_selection
127
107
  @page_class_markup = valid_page_classes.map do |page_class_name|
128
108
  build_selection_option(page_class_name)
@@ -203,11 +183,6 @@ module Scrivito
203
183
  @widget
204
184
  end
205
185
 
206
- def copy_obj(obj, parent_path)
207
- id = SecureRandom.hex(8)
208
- obj.copy(_id: id, _path: parent_path && "#{parent_path}/#{id}")
209
- end
210
-
211
186
  def fetch_formatter(name)
212
187
  name ? Configuration.obj_formats[name] : proc { |obj, _| obj.id }
213
188
  end
@@ -3,7 +3,13 @@ module Scrivito
3
3
  def resolve
4
4
  link_parser = LinkParser.new(request.host, request.port)
5
5
  @paths = assert_paths.map do |path|
6
- link_parser.parse(path).obj.try(:id)
6
+ link = link_parser.parse(path)
7
+ next if link.external?
8
+ {
9
+ 'id' => link.obj.id,
10
+ 'query' => link.query,
11
+ 'fragment' => link.fragment,
12
+ }
7
13
  end
8
14
  end
9
15
 
@@ -7,10 +7,9 @@ module Scrivito
7
7
  end
8
8
  end
9
9
 
10
- restrict_access_to :show, require_permission: :read
11
- restrict_access_to :rebase, require_permission: :write
12
- restrict_access_to :check, require_permission: :publish
13
- restrict_access_to :publish, require_permission: :publish
10
+ restrict_access_to :show, require_permission: :read
11
+ restrict_access_to :check, require_permission: :publish
12
+ restrict_access_to :publish_approval, require_permission: :publish
14
13
 
15
14
  def index
16
15
  @workspaces = Workspace.all.select(&method(:can_user_read_workspace?))
@@ -20,20 +19,16 @@ module Scrivito
20
19
  def show
21
20
  end
22
21
 
23
- def rebase
24
- @task = task_unaware_request(:put, current_workspace_backend_path('/rebase'), {})['task']
25
- render :task
26
- end
27
-
28
22
  def check
29
23
  assert_workspace_is_not_outdated unless current_workspace.auto_update?
30
24
  @check_result = publish_checker.call(params[:from].to_i)
31
25
  end
32
26
 
33
- def publish
27
+ def publish_approval
34
28
  if valid_publish_request?
35
- @task = conditional_publish['task']
36
- render :task
29
+ @approval = current_workspace.api_request(:put, '/publish_approval',
30
+ if_content_state_id_equals: current_workspace.content_state_id,
31
+ user_id: scrivito_user.id)
37
32
  else
38
33
  raise_content_state_id_changed
39
34
  end
@@ -43,17 +38,6 @@ module Scrivito
43
38
 
44
39
  private
45
40
 
46
- delegate :task_unaware_request, to: CmsRestApi
47
-
48
- def current_workspace_backend_path(suffix)
49
- "/workspaces/#{current_workspace.id}#{suffix}"
50
- end
51
-
52
- def conditional_publish
53
- task_unaware_request(:put, current_workspace_backend_path('/publish'),
54
- if_content_state_id_equals: current_workspace.content_state_id)
55
- end
56
-
57
41
  def valid_publish_request?
58
42
  publish_checker.passing_certificates?(certificates_param)
59
43
  end
@@ -67,11 +51,6 @@ module Scrivito
67
51
  end
68
52
  helper_method :current_workspace
69
53
 
70
- def workspace_params
71
- assert_valid_workspace_params
72
- params[:workspace]
73
- end
74
-
75
54
  def certificates_param
76
55
  assert_valid_certificates_param
77
56
  params[:certificates]
@@ -95,11 +74,6 @@ module Scrivito
95
74
  end
96
75
  end
97
76
 
98
- def assert_valid_workspace_params
99
- raise "Required parameter 'workspace' is missing." unless params[:workspace].present?
100
- raise "Parameter 'workspace' is not a hash." unless params[:workspace].is_a?(Hash)
101
- end
102
-
103
77
  def raise_content_state_id_changed
104
78
  raise ClientError.new(
105
79
  'Content state id changed',
@@ -443,4 +443,23 @@ module ScrivitoHelper
443
443
  workspace = Scrivito::Workspace.current
444
444
  cache_if(workspace.published? && !scrivito_user, [workspace.cache_key, key], options, &block)
445
445
  end
446
+
447
+ #
448
+ # @api public
449
+ #
450
+ # This helper can be used in the +show.html.*+ template of widgets. It allows you to specify
451
+ # attributes (including CSS classes) for the tag enclosing the widget.
452
+ #
453
+ # @param [Hash] html_options attributes for this tag.
454
+ #
455
+ # @example It should be wrapped around the entire template like this:
456
+ # <%= scrivito_widget_tag class: 'my_class', data-very-funky: true do %>
457
+ # <%= scrivito_image_tag widget, :image %>
458
+ # <% end %>
459
+ #
460
+ def scrivito_widget_tag(html_options, &block)
461
+ capture(&block).tap do
462
+ @scrivito_widget_tag_html_options = html_options
463
+ end
464
+ end
446
465
  end
@@ -0,0 +1 @@
1
+ json.merge! @approval
data/config/ca-bundle.crt CHANGED
@@ -1,7 +1,7 @@
1
1
  ##
2
2
  ## Bundle of CA Root Certificates
3
3
  ##
4
- ## Certificate data from Mozilla as of: Wed Dec 14 11:44:16 2016
4
+ ## Certificate data from Mozilla as of: Mon Jul 11 15:52:09 2016
5
5
  ##
6
6
  ## This is a bundle of X.509 certificates of public Certificate Authorities
7
7
  ## (CA). These were automatically extracted from Mozilla's root certificates
@@ -14,7 +14,7 @@
14
14
  ## Just configure this file as the SSLCACertificateFile.
15
15
  ##
16
16
  ## Conversion done with mk-ca-bundle.pl version 1.25.
17
- ## SHA1: 106b231325e7bfc8109488a5d36a787c5e967691
17
+ ## SHA1: 5df367cda83086392e1acdf22bfef00c48d5eba6
18
18
  ##
19
19
 
20
20
 
@@ -3863,204 +3863,3 @@ ypnTycUm/Q1oBEauttmbjL4ZvrHG8hnjXALKLNhvSgfZyTXaQHXyxKcZb55CEJh15pWLYLztxRLX
3863
3863
  is7VmFxWlgPF7ncGNf/P5O4/E2Hu29othfDNrp2yGAlFw5Khchf8R7agCyzxxN5DaAhqXzvwdmP7
3864
3864
  zAYspsbiDrW5viSP
3865
3865
  -----END CERTIFICATE-----
3866
-
3867
- Hellenic Academic and Research Institutions RootCA 2015
3868
- =======================================================
3869
- -----BEGIN CERTIFICATE-----
3870
- MIIGCzCCA/OgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcT
3871
- BkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0
3872
- aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNVBAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNl
3873
- YXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIwMTUwHhcNMTUwNzA3MTAxMTIxWhcNNDAwNjMwMTAx
3874
- MTIxWjCBpjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0aGVuczFEMEIGA1UEChM7SGVsbGVuaWMg
3875
- QWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9ucyBDZXJ0LiBBdXRob3JpdHkxQDA+BgNV
3876
- BAMTN0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgUm9vdENBIDIw
3877
- MTUwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDC+Kk/G4n8PDwEXT2QNrCROnk8Zlrv
3878
- bTkBSRq0t89/TSNTt5AA4xMqKKYx8ZEA4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GP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
3892
- 82800vpzY4zvFrCopEYq+OsS7HK07/grfoxSwIuEVPkvPuNVqNxmsdnhX9izjFk0WaSrT2y7Hxjb
3893
- davYy5LNlDhhDgcGH0tGEPEVvo2FXDtKK4F5D7Rpn0lQl033DlZdwJVqwjbDG2jJ9SrcR5q+ss7F
3894
- Jej6A7na+RZukYT1HCjI/CbM1xyQVqdfbzoEvM14iQuODy+jqk+iGxI9FghAD/FGTNeqewjBCvVt
3895
- J94Cj8rDtSvK6evIIVM4pcw72Hc3MKJP2W/R8kCtQXoXxdZKNYm3QdV8hn9VTYNKpXMgwDqvkPGa
3896
- JI7ZjnHKe7iG2rKPmT4dEw0SEe7Uq/DpFXYC5ODfqiAeW2GFZECpkJcNrVPSWh2HagCXZWK0vm9q
3897
- p/UsQu0yrbYhnr68
3898
- -----END CERTIFICATE-----
3899
-
3900
- Hellenic Academic and Research Institutions ECC RootCA 2015
3901
- ===========================================================
3902
- -----BEGIN CERTIFICATE-----
3903
- MIICwzCCAkqgAwIBAgIBADAKBggqhkjOPQQDAjCBqjELMAkGA1UEBhMCR1IxDzANBgNVBAcTBkF0
3904
- aGVuczFEMEIGA1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIEluc3RpdHV0aW9u
3905
- cyBDZXJ0LiBBdXRob3JpdHkxRDBCBgNVBAMTO0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJj
3906
- aCBJbnN0aXR1dGlvbnMgRUNDIFJvb3RDQSAyMDE1MB4XDTE1MDcwNzEwMzcxMloXDTQwMDYzMDEw
3907
- MzcxMlowgaoxCzAJBgNVBAYTAkdSMQ8wDQYDVQQHEwZBdGhlbnMxRDBCBgNVBAoTO0hlbGxlbmlj
3908
- IEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9yaXR5MUQwQgYD
3909
- VQQDEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25zIEVDQyBSb290
3910
- Q0EgMjAxNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABJKgQehLgoRc4vgxEZmGZE4JJS+dQS8KrjVP
3911
- dJWyUWRrjWvmP3CV8AVER6ZyOFB2lQJajq4onvktTpnvLEhvTCUp6NFxW98dwXU3tNf6e3pCnGoK
3912
- Vlp8aQuqgAkkbH7BRqNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0O
3913
- BBYEFLQiC4KZJAEOnLvkDv2/+5cgk5kqMAoGCCqGSM49BAMCA2cAMGQCMGfOFmI4oqxiRaeplSTA
3914
- GiecMjvAwNW6qef4BENThe5SId6d9SWDPp5YSy/XZxMOIQIwBeF1Ad5o7SofTUwJCA3sS61kFyjn
3915
- dc5FZXIhF8siQQ6ME5g4mlRtm8rifOoCWCKR
3916
- -----END CERTIFICATE-----
3917
-
3918
- Certplus Root CA G1
3919
- ===================
3920
- -----BEGIN CERTIFICATE-----
3921
- MIIFazCCA1OgAwIBAgISESBVg+QtPlRWhS2DN7cs3EYRMA0GCSqGSIb3DQEBDQUAMD4xCzAJBgNV
3922
- BAYTAkZSMREwDwYDVQQKDAhDZXJ0cGx1czEcMBoGA1UEAwwTQ2VydHBsdXMgUm9vdCBDQSBHMTAe
3923
- Fw0xNDA1MjYwMDAwMDBaFw0zODAxMTUwMDAwMDBaMD4xCzAJBgNVBAYTAkZSMREwDwYDVQQKDAhD
3924
- ZXJ0cGx1czEcMBoGA1UEAwwTQ2VydHBsdXMgUm9vdCBDQSBHMTCCAiIwDQYJKoZIhvcNAQEBBQAD
3925
- ggIPADCCAgoCggIBANpQh7bauKk+nWT6VjOaVj0W5QOVsjQcmm1iBdTYj+eJZJ+622SLZOZ5KmHN
3926
- r49aiZFluVj8tANfkT8tEBXgfs+8/H9DZ6itXjYj2JizTfNDnjl8KvzsiNWI7nC9hRYt6kuJPKNx
3927
- Qv4c/dMcLRC4hlTqQ7j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cUvpoUmRGywO6wT/gUITJDT5+rosuoD6o7BlXGEilX
3941
- CNQ314cnrUlZp5GrRHpejXDbl85IULFzk/bwg2D5zfHhMf1bfHEhYxQUqq/F3pN+aLHsIqKqkHWe
3942
- tUNy6mSjhEv9DKgma3GX7lZjZuhCVPnHHd/Qj1vfyDBviP4NxDMcU6ij/UgQ8uQKTuEVV/xuZDDC
3943
- VRHc6qnNSlSsKWNEz0pAoNZoWRsz+e86i9sgktxChL8Bq4fA1SCC28a5g4VCXA9DO2pJNdWY9BW/
3944
- +mGBDAkgGNLQFwzLSABQ6XaCjGTXOqAHVcweMcDvOrRl++O/QmueD6i9a5jc2NvLi6Td11n0bt3+
3945
- qsOR0C5CB8AMTVPNJLFMWx5R9N/pkvo=
3946
- -----END CERTIFICATE-----
3947
-
3948
- Certplus Root CA G2
3949
- ===================
3950
- -----BEGIN CERTIFICATE-----
3951
- MIICHDCCAaKgAwIBAgISESDZkc6uo+jF5//pAq/Pc7xVMAoGCCqGSM49BAMDMD4xCzAJBgNVBAYT
3952
- AkZSMREwDwYDVQQKDAhDZXJ0cGx1czEcMBoGA1UEAwwTQ2VydHBsdXMgUm9vdCBDQSBHMjAeFw0x
3953
- NDA1MjYwMDAwMDBaFw0zODAxMTUwMDAwMDBaMD4xCzAJBgNVBAYTAkZSMREwDwYDVQQKDAhDZXJ0
3954
- cGx1czEcMBoGA1UEAwwTQ2VydHBsdXMgUm9vdCBDQSBHMjB2MBAGByqGSM49AgEGBSuBBAAiA2IA
3955
- BM0PW1aC3/BFGtat93nwHcmsltaeTpwftEIRyoa/bfuFo8XlGVzX7qY/aWfYeOKmycTbLXku54uN
3956
- Am8xIk0G42ByRZ0OQneezs/lf4WbGOT8zC5y0xaTTsqZY1yhBSpsBqNjMGEwDgYDVR0PAQH/BAQD
3957
- AgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNqDYwJ5jtpMxjwjFNiPwyCrKGBZMB8GA1Ud
3958
- IwQYMBaAFNqDYwJ5jtpMxjwjFNiPwyCrKGBZMAoGCCqGSM49BAMDA2gAMGUCMHD+sAvZ94OX7PNV
3959
- HdTcswYO/jOYnYs5kGuUIe22113WTNchp+e/IQ8rzfcq3IUHnQIxAIYUFuXcsGXCwI4Un78kFmjl
3960
- vPl5adytRSv3tjFzzAalU5ORGpOucGpnutee5WEaXw==
3961
- -----END CERTIFICATE-----
3962
-
3963
- OpenTrust Root CA G1
3964
- ====================
3965
- -----BEGIN CERTIFICATE-----
3966
- MIIFbzCCA1egAwIBAgISESCzkFU5fX82bWTCp59rY45nMA0GCSqGSIb3DQEBCwUAMEAxCzAJBgNV
3967
- BAYTAkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9wZW5UcnVzdCBSb290IENBIEcx
3968
- MB4XDTE0MDUyNjA4NDU1MFoXDTM4MDExNTAwMDAwMFowQDELMAkGA1UEBhMCRlIxEjAQBgNVBAoM
3969
- CU9wZW5UcnVzdDEdMBsGA1UEAwwUT3BlblRydXN0IFJvb3QgQ0EgRzEwggIiMA0GCSqGSIb3DQEB
3970
- AQUAA4ICDwAwggIKAoICAQD4eUbalsUwXopxAy1wpLuwxQjczeY1wICkES3d5oeuXT2R0odsN7fa
3971
- Yp6bwiTXj/HbpqbfRm9RpnHLPhsxZ2L3EVs0J9V5ToybWL0iEA1cJwzdMOWo010hOHQX/uMftk87
3972
- ay3bfWAfjH1MBcLrARYVmBSO0ZB3Ij/swjm4eTrwSSTilZHcYTSSjFR077F9jAHiOH3BX2pfJLKO
3973
- YheteSCtqx234LSWSE9mQxAGFiQD4eCcjsZGT44ameGPuY4zbGneWK2gDqdkVBFpRGZPTBKnjix9
3974
- xNRbxQA0MMHZmf4yzgeEtE7NCv82TWLxp2NX5Ntqp66/K7nJ5rInieV+mhxNaMbBGN4zK1FGSxyO
3975
- 9z0M+Yo0FMT7MzUj8czxKselu7Cizv5Ta01BG2Yospb6p64KTrk5M0ScdMGTHPjgniQlQ/GbI4Kq
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CUpjAEggpsadCwmKtODmzj7HPiY46SvepghJAwSQiumPv+i2tCqjI40cHLI5kqiPAlxA
3990
- OXXUc0ECd97N4EOH1uS6SsNsEn/+KuYj1oxx
3991
- -----END CERTIFICATE-----
3992
-
3993
- OpenTrust Root CA G2
3994
- ====================
3995
- -----BEGIN CERTIFICATE-----
3996
- MIIFbzCCA1egAwIBAgISESChaRu/vbm9UpaPI+hIvyYRMA0GCSqGSIb3DQEBDQUAMEAxCzAJBgNV
3997
- BAYTAkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9wZW5UcnVzdCBSb290IENBIEcy
3998
- MB4XDTE0MDUyNjAwMDAwMFoXDTM4MDExNTAwMDAwMFowQDELMAkGA1UEBhMCRlIxEjAQBgNVBAoM
3999
- CU9wZW5UcnVzdDEdMBsGA1UEAwwUT3BlblRydXN0IFJvb3QgQ0EgRzIwggIiMA0GCSqGSIb3DQEB
4000
- AQUAA4ICDwAwggIKAoICAQDMtlelM5QQgTJT32F+D3Y5z1zCU3UdSXqWON2ic2rxb95eolq5cSG+
4001
- Ntmh/LzubKh8NBpxGuga2F8ORAbtp+Dz0mEL4DKiltE48MLaARf85KxP6O6JHnSrT78eCbY2albz
4002
- 4e6WiWYkBuTNQjpK3eCasMSCRbP+yatcfD7J6xcvDH1urqWPyKwlCm/61UWY0jUJ9gNDlP7ZvyCV
4003
- eYCYitmJNbtRG6Q3ffyZO6v/v6wNj0OxmXsWEH4db0fEFY8ElggGQgT4hNYdvJGmQr5J1WqIP7wt
4004
- UdGejeBSzFfdNTVY27SPJIjki9/ca1TSgSuyzpJLHB9G+h3Ykst2Z7UJmQnlrBcUVXDGPKBWCgOz
4005
- 3GIZ38i1MH/1PCZ1Eb3XG7OHngevZXHloM8apwkQHZOJZlvoPGIytbU6bumFAYueQ4xncyhZW+vj
4006
- 3CzMpSZyYhK05pyDRPZRpOLAeiRXyg6lPzq1O4vldu5w5pLeFlwoW5cZJ5L+epJUzpM5ChaHv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UetF3NI/n+UL3PIEMS1IK
4021
- -----END CERTIFICATE-----
4022
-
4023
- OpenTrust Root CA G3
4024
- ====================
4025
- -----BEGIN CERTIFICATE-----
4026
- MIICITCCAaagAwIBAgISESDm+Ez8JLC+BUCs2oMbNGA/MAoGCCqGSM49BAMDMEAxCzAJBgNVBAYT
4027
- AkZSMRIwEAYDVQQKDAlPcGVuVHJ1c3QxHTAbBgNVBAMMFE9wZW5UcnVzdCBSb290IENBIEczMB4X
4028
- DTE0MDUyNjAwMDAwMFoXDTM4MDExNTAwMDAwMFowQDELMAkGA1UEBhMCRlIxEjAQBgNVBAoMCU9w
4029
- ZW5UcnVzdDEdMBsGA1UEAwwUT3BlblRydXN0IFJvb3QgQ0EgRzMwdjAQBgcqhkjOPQIBBgUrgQQA
4030
- IgNiAARK7liuTcpm3gY6oxH84Bjwbhy6LTAMidnW7ptzg6kjFYwvWYpa3RTqnVkrQ7cG7DK2uu5B
4031
- ta1doYXM6h0UZqNnfkbilPPntlahFVmhTzeXuSIevRHr9LIfXsMUmuXZl5mjYzBhMA4GA1UdDwEB
4032
- /wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRHd8MUi2I5DMlv4VBN0BBY3JWIbTAf
4033
- BgNVHSMEGDAWgBRHd8MUi2I5DMlv4VBN0BBY3JWIbTAKBggqhkjOPQQDAwNpADBmAjEAj6jcnboM
4034
- BBf6Fek9LykBl7+BFjNAk2z8+e2AcG+qj9uEwov1NcoG3GRvaBbhj5G5AjEA2Euly8LQCGzpGPta
4035
- 3U1fJAuwACEl74+nBCZx4nxp5V2a+EEfOzmTk51V6s2N8fvB
4036
- -----END CERTIFICATE-----
4037
-
4038
- ISRG Root X1
4039
- ============
4040
- -----BEGIN CERTIFICATE-----
4041
- MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwTzELMAkGA1UE
4042
- BhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNl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MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY
4056
- 9umbbjANBgkqhkiG9w0BAQsFAAOCAgEAVR9YqbyyqFDQDLHYGmkgJykIrGF1XIpu+ILlaS/V9lZL
4057
- ubhzEFnTIZd+50xx+7LSYK05qAvqFyFWhfFQDlnrzuBZ6brJFe+GnY+EgPbk6ZGQ3BebYhtF8GaV
4058
- 0nxvwuo77x/Py9auJ/GpsMiu/X1+mvoiBOv/2X/qkSsisRcOj/KKNFtY2PwByVS5uCbMiogziUwt
4059
- hDyC3+6WVwW6LLv3xLfHTjuCvjHIInNzktHCgKQ5ORAzI4JMPJ+GslWYHb4phowim57iaztXOoJw
4060
- TdwJx4nLCgdNbOhdjsnvzqvHu7UrTkXWStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nx
4061
- e5AW0wdeRlN8NwdCjNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZA
4062
- JzVcoyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq4RgqsahD
4063
- YVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPAmRGunUHBcnWEvgJBQl9n
4064
- JEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57demyPxgcYxn/eR44/KJ4EBs+lVDR3veyJ
4065
- m+kXQ99b21/+jh5Xos1AnX5iItreGCc=
4066
- -----END CERTIFICATE-----
@@ -23,12 +23,8 @@ Scrivito::SdkEngine.routes.draw do
23
23
  get :conflicting_workspaces
24
24
  get :binary_no_cache
25
25
 
26
- post :copy
27
- post :duplicate
28
-
29
26
  put :revert
30
27
  put :restore
31
- put :mark_resolved
32
28
  put :revert_widget
33
29
  put :restore_widget
34
30
  put :transfer_modifications
@@ -46,8 +42,7 @@ Scrivito::SdkEngine.routes.draw do
46
42
  only: [:index, :show],
47
43
  defaults: {format: :json} do
48
44
  member do
49
- put :rebase
50
- put :publish
45
+ put :publish_approval
51
46
  get :check
52
47
  end
53
48
  end