scrivito_sdk 0.50.0 → 0.50.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/ca-bundle.crt +219 -24
- data/lib/assets/javascripts/scrivito_ui.js +61 -0
- data/lib/scrivito/cms_backend.rb +2 -2
- data/lib/scrivito/cms_routing.rb +18 -3
- data/lib/scrivito/connection_manager.rb +2 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b20998fcef392164b39d3606b45ac491f23d640f
|
4
|
+
data.tar.gz: a4241d2fd68109dc172ed46d99c9c529fe0764d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5a84cd6c3e237f9e123a7a38b3564683b15a26a4fdbff158ff50bfb3ba1b45e08036b6e4eada4adc6276a81c75b20599dde16440f1ed23092b4bb43275795b2
|
7
|
+
data.tar.gz: cc1a64d09522b687c0421f1b92b184276dfb2b5fc126ab60fb2930cc3db4d8a986cc028edb3ca21764daadd27eef22470cf5841c1f27f1df97e8b0280493ade0
|
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:
|
4
|
+
## Certificate data from Mozilla as of: Mon Apr 27 13:04:30 2015
|
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:
|
17
|
+
## SHA1: ed3c0bbfb7912bcc00cd2033b0cb85c98d10559c
|
18
18
|
##
|
19
19
|
|
20
20
|
|
@@ -2790,28 +2790,6 @@ yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi
|
|
2790
2790
|
LXpUq3DDfSJlgnCW
|
2791
2791
|
-----END CERTIFICATE-----
|
2792
2792
|
|
2793
|
-
E-Guven Kok Elektronik Sertifika Hizmet Saglayicisi
|
2794
|
-
===================================================
|
2795
|
-
-----BEGIN CERTIFICATE-----
|
2796
|
-
MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQG
|
2797
|
-
EwJUUjEoMCYGA1UEChMfRWxla3Ryb25payBCaWxnaSBHdXZlbmxpZ2kgQS5TLjE8MDoGA1UEAxMz
|
2798
|
-
ZS1HdXZlbiBLb2sgRWxla3Ryb25payBTZXJ0aWZpa2EgSGl6bWV0IFNhZ2xheWljaXNpMB4XDTA3
|
2799
|
-
MDEwNDExMzI0OFoXDTE3MDEwNDExMzI0OFowdTELMAkGA1UEBhMCVFIxKDAmBgNVBAoTH0VsZWt0
|
2800
|
-
cm9uaWsgQmlsZ2kgR3V2ZW5saWdpIEEuUy4xPDA6BgNVBAMTM2UtR3V2ZW4gS29rIEVsZWt0cm9u
|
2801
|
-
aWsgU2VydGlmaWthIEhpem1ldCBTYWdsYXlpY2lzaTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
|
2802
|
-
AQoCggEBAMMSIJ6wXgBljU5Gu4Bc6SwGl9XzcslwuedLZYDBS75+PNdUMZTe1RK6UxYC6lhj71vY
|
2803
|
-
8+0qGqpxSKPcEC1fX+tcS5yWCEIlKBHMilpiAVDV6wlTL/jDj/6z/P2douNffb7tC+Bg62nsM+3Y
|
2804
|
-
jfsSSYMAyYuXjDtzKjKzEve5TfL0TW3H5tYmNwjy2f1rXKPlSFxYvEK+A1qBuhw1DADT9SN+cTAI
|
2805
|
-
JjjcJRFHLfO6IxClv7wC90Nex/6wN1CZew+TzuZDLMN+DfIcQ2Zgy2ExR4ejT669VmxMvLz4Bcpk
|
2806
|
-
9Ok0oSy1c+HCPujIyTQlCFzz7abHlJ+tiEMl1+E5YP6sOVkCAwEAAaNCMEAwDgYDVR0PAQH/BAQD
|
2807
|
-
AgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ/uRLOU1fqRTy7ZVZoEVtstxNulMA0GCSqG
|
2808
|
-
SIb3DQEBBQUAA4IBAQB/X7lTW2M9dTLn+sR0GstG30ZpHFLPqk/CaOv/gKlR6D1id4k9CnU58W5d
|
2809
|
-
F4dvaAXBlGzZXd/aslnLpRCKysw5zZ/rTt5S/wzw9JKp8mxTq5vSR6AfdPebmvEvFZ96ZDAYBzwq
|
2810
|
-
D2fK/A+JYZ1lpTzlvBNbCNvj/+27BrtqBrF6T2XGgv0enIu1De5Iu7i9qgi0+6N8y5/NkHZchpZ4
|
2811
|
-
Vwpm+Vganf2XKWDeEaaQHBkc7gGWIjQ0LpH5t8Qn0Xvmv/uARFoW5evg1Ao4vOSR49XrXMGs3xtq
|
2812
|
-
fJ7lddK2l4fbzIcrQzqECK+rPNv3PGYxhrCdU3nt+CPeQuMtgvEP5fqX
|
2813
|
-
-----END CERTIFICATE-----
|
2814
|
-
|
2815
2793
|
GlobalSign Root CA - R3
|
2816
2794
|
=======================
|
2817
2795
|
-----BEGIN CERTIFICATE-----
|
@@ -4482,3 +4460,220 @@ jP8DOr3Wnfrn3Ja5GmQ+xP3ZCrZlnrqlqFj8OyLwolfuildHnHfHJeGsNAVN84J+QSO6tFfz58YB
|
|
4482
4460
|
ZddNiZkcaU1eePbrcnE9ssSVAZ9dDLcvJaZceUHvnsRnPKGdf3E60JWX7HhCdJhuvj5oTFc8qJNB
|
4483
4461
|
hwvkua+R+1BMDLrAJCfRFdtlSCEKL9fcfqDMZX55
|
4484
4462
|
-----END CERTIFICATE-----
|
4463
|
+
|
4464
|
+
Staat der Nederlanden Root CA - G3
|
4465
|
+
==================================
|
4466
|
+
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k=
|
4492
|
+
-----END CERTIFICATE-----
|
4493
|
+
|
4494
|
+
Staat der Nederlanden EV Root CA
|
4495
|
+
================================
|
4496
|
+
-----BEGIN CERTIFICATE-----
|
4497
|
+
MIIFcDCCA1igAwIBAgIEAJiWjTANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJOTDEeMBwGA1UE
|
4498
|
+
CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSkwJwYDVQQDDCBTdGFhdCBkZXIgTmVkZXJsYW5kZW4g
|
4499
|
+
RVYgUm9vdCBDQTAeFw0xMDEyMDgxMTE5MjlaFw0yMjEyMDgxMTEwMjhaMFgxCzAJBgNVBAYTAk5M
|
4500
|
+
MR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xKTAnBgNVBAMMIFN0YWF0IGRlciBOZWRl
|
4501
|
+
cmxhbmRlbiBFViBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA48d+ifkk
|
4502
|
+
SzrSM4M1LGns3Amk41GoJSt5uAg94JG6hIXGhaTK5skuU6TJJB79VWZxXSzFYGgEt9nCUiY4iKTW
|
4503
|
+
O0Cmws0/zZiTs1QUWJZV1VD+hq2kY39ch/aO5ieSZxeSAgMs3NZmdO3dZ//BYY1jTw+bbRcwJu+r
|
4504
|
+
0h8QoPnFfxZpgQNH7R5ojXKhTbImxrpsX23Wr9GxE46prfNeaXUmGD5BKyF/7otdBwadQ8QpCiv8
|
4505
|
+
Kj6GyzyDOvnJDdrFmeK8eEEzduG/L13lpJhQDBXd4Pqcfzho0LKmeqfRMb1+ilgnQ7O6M5HTp5gV
|
4506
|
+
XJrm0w912fxBmJc+qiXbj5IusHsMX/FjqTf5m3VpTCgmJdrV8hJwRVXj33NeN/UhbJCONVrJ0yPr
|
4507
|
+
08C+eKxCKFhmpUZtcALXEPlLVPxdhkqHz3/KRawRWrUgUY0viEeXOcDPusBCAUCZSCELa6fS/ZbV
|
4508
|
+
0b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SOgftL2fiFX1ye8FVdMpEbB4IMeDExNH08GGeL5qPQ6gqGy
|
4521
|
+
eUN51q1veieQA6TqJIc/2b3Z6fJfUEkc7uzXLg==
|
4522
|
+
-----END CERTIFICATE-----
|
4523
|
+
|
4524
|
+
IdenTrust Commercial Root CA 1
|
4525
|
+
==============================
|
4526
|
+
-----BEGIN CERTIFICATE-----
|
4527
|
+
MIIFYDCCA0igAwIBAgIQCgFCgAAAAUUjyES1AAAAAjANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQG
|
4528
|
+
EwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBS
|
4529
|
+
b290IENBIDEwHhcNMTQwMTE2MTgxMjIzWhcNMzQwMTE2MTgxMjIzWjBKMQswCQYDVQQGEwJVUzES
|
4530
|
+
MBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBSb290IENB
|
4531
|
+
IDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCnUBneP5k91DNG8W9RYYKyqU+PZ4ld
|
4532
|
+
hNlT3Qwo2dfw/66VQ3KZ+bVdfIrBQuExUHTRgQ18zZshq0PirK1ehm7zCYofWjK9ouuU+ehcCuz/
|
4533
|
+
mNKvcbO0U59Oh++SvL3sTzIwiEsXXlfEU8L2ApeN2WIrvyQfYo3fw7gpS0l4PJNgiCL8mdo2yMKi
|
4534
|
+
1CxUAGc1bnO/AljwpN3lsKImesrgNqUZFvX9t++uP0D1bVoE/c40yiTcdCMbXTMTEl3EASX2MN0C
|
4535
|
+
XZ/g1Ue9tOsbobtJSdifWwLziuQkkORiT0/Br4sOdBeo0XKIanoBScy0RnnGF7HamB4HWfp1IYVl
|
4536
|
+
3ZBWzvurpWCdxJ35UrCLvYf5jysjCiN2O/cz4ckA82n5S6LgTrx+kzmEB/dEcH7+B1rlsazRGMzy
|
4537
|
+
NeVJS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FrXgvzUeF0K+l+J6fZmUlO+KWA2yUPHGNiiskz
|
4550
|
+
Z2s8EIPGrd6ozRaOjfAHN3Gf8qv8QfXBi+wAN10J5U6A7/qxXDgGpRtK4dw4LTzcqx+QGtVKnO7R
|
4551
|
+
cGzM7vRX+Bi6hG6H
|
4552
|
+
-----END CERTIFICATE-----
|
4553
|
+
|
4554
|
+
IdenTrust Public Sector Root CA 1
|
4555
|
+
=================================
|
4556
|
+
-----BEGIN CERTIFICATE-----
|
4557
|
+
MIIFZjCCA06gAwIBAgIQCgFCgAAAAUUjz0Z8AAAAAjANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQG
|
4558
|
+
EwJVUzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3Rv
|
4559
|
+
ciBSb290IENBIDEwHhcNMTQwMTE2MTc1MzMyWhcNMzQwMTE2MTc1MzMyWjBNMQswCQYDVQQGEwJV
|
4560
|
+
UzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3RvciBS
|
4561
|
+
b290IENBIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2IpT8pEiv6EdrCvsnduTy
|
4562
|
+
P4o7ekosMSqMjbCpwzFrqHd2hCa2rIFCDQjrVVi7evi8ZX3yoG2LqEfpYnYeEe4IFNGyRBb06tD6
|
4563
|
+
Hi9e28tzQa68ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ5CQ1B5+ctMlSbdsHyo+1W/CD80/HLaXI
|
4564
|
+
rcuVIKQxKFdYWuSNG5qrng0M8gozOSI5Cpcu81N3uURF/YTLNiCBWS2ab21ISGHKTN9T0a9SvESf
|
4565
|
+
qy9rg3LvdYDaBjMbXcjaY8ZNzaxmMc3R3j6HEDbhuaR672BQssvKplbgN6+rNBM5Jeg5ZuSYeqoS
|
4566
|
+
mJxZZoY+rfGwyj4GD3vwEUs3oERte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DI
|
4579
|
+
ajjDbp7hNxbqBWJMWxJH7ae0s1hWx0nzfxJoCTFx8G34Tkf71oXuxVhAGaQdp/lLQzfcaFpPz+vC
|
4580
|
+
ZHTetBXZ9FRUGi8c15dxVJCO2SCdUyt/q4/i6jC8UDfv8Ue1fXwsBOxonbRJRBD0ckscZOf85muQ
|
4581
|
+
3Wl9af0AVqW3rLatt8o+Ae+c
|
4582
|
+
-----END CERTIFICATE-----
|
4583
|
+
|
4584
|
+
S-TRUST Universal Root CA
|
4585
|
+
=========================
|
4586
|
+
-----BEGIN CERTIFICATE-----
|
4587
|
+
MIID2DCCAsCgAwIBAgIQYFbFSyNAW2TU7SXa2dYeHjANBgkqhkiG9w0BAQsFADCBhTELMAkGA1UE
|
4588
|
+
BhMCREUxKTAnBgNVBAoTIERldXRzY2hlciBTcGFya2Fzc2VuIFZlcmxhZyBHbWJIMScwJQYDVQQL
|
4589
|
+
Ex5TLVRSVVNUIENlcnRpZmljYXRpb24gU2VydmljZXMxIjAgBgNVBAMTGVMtVFJVU1QgVW5pdmVy
|
4590
|
+
c2FsIFJvb3QgQ0EwHhcNMTMxMDIyMDAwMDAwWhcNMzgxMDIxMjM1OTU5WjCBhTELMAkGA1UEBhMC
|
4591
|
+
REUxKTAnBgNVBAoTIERldXRzY2hlciBTcGFya2Fzc2VuIFZlcmxhZyBHbWJIMScwJQYDVQQLEx5T
|
4592
|
+
LVRSVVNUIENlcnRpZmljYXRpb24gU2VydmljZXMxIjAgBgNVBAMTGVMtVFJVU1QgVW5pdmVyc2Fs
|
4593
|
+
IFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCo4wvfETeFgpq1bGZ8YT/A
|
4594
|
+
RxodRuOwVWTluII5KAd+F//0m4rwkYHqOD8heGxI7GsvotOKcrKn19nqf7TASWswJYmM67fVQGGY
|
4595
|
+
4tw8IJLNZUpynxqOjPolFb/zIYMoDYuvWRGCQ1ybTSVRf1gYY2A7s7WKi1hjN0hIkETCQN1d90Np
|
4596
|
+
KZhcEmVeq5CSS2bf1XUSU1QYpt6K1rtXAzlZmRgFDPn9FcaQZEYXgtfCSkE9/QC+V3IYlHcbU1qJ
|
4597
|
+
AfYzcg6TOtzoHv0FBda8c+CI3KtP7LUYhk95hA5IKmYq3TLIeGXIC51YAQVx7YH1aBduyw20S9ih
|
4598
|
+
7K446xxYL6FlAzQvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0G
|
4599
|
+
A1UdDgQWBBSafdfr639UmEUptCCrbQuWIxmkwjANBgkqhkiG9w0BAQsFAAOCAQEATpYS2353XpIn
|
4600
|
+
niEXGIJ22D+8pQkEZoiJrdtVszNqxmXEj03zMjbceQSWqXcy0Zf1GGuMuu3OEdBEx5LxtESO7YhS
|
4601
|
+
SJ7V/Vn4ox5R+wFS5V/let2qJE8ii912RvaloA812MoPmLkwXSBvwoEevb3A/hXTOCoJk5gnG5N7
|
4602
|
+
0Cs0XmilFU/RUsOgyqCDRR319bdZc11ZAY+qwkcvFHHVKeMQtUeTJcwjKdq3ctiR1OwbSIoi5MEq
|
4603
|
+
9zpok59FGW5Dt8z+uJGaYRo2aWNkkijzb2GShROfyQcsi1fc65551cLeCNVUsldOKjKNoeI60RAg
|
4604
|
+
Ijl9NEVvcTvDHfz/sk+o4vYwHg==
|
4605
|
+
-----END CERTIFICATE-----
|
4606
|
+
|
4607
|
+
Entrust Root Certification Authority - G2
|
4608
|
+
=========================================
|
4609
|
+
-----BEGIN CERTIFICATE-----
|
4610
|
+
MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMCVVMxFjAUBgNV
|
4611
|
+
BAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVy
|
4612
|
+
bXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4g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+
iXMRrEPR9RP/jTkrwPK9T3CMqS/qF8QLVJ7UG5aYMzyorWKiAHarWWluBh1+xLlEjZivEtRh2woZ
|
4626
|
+
Rkfz6/djwUAFQKXSt/S1mja/qYh2iARVBCuch38aNzx+LaUa2NSJXsq9rD1s2G2v1fN2D807iDgi
|
4627
|
+
nWyTmsQ9v4IbZT+mD12q/OWyFcq1rca8PdCE6OoGcrBNOTJ4vz4RnAuknZoh8/CbCzB428Hch0P+
|
4628
|
+
vGOaysXCHMnHjf87ElgI5rY97HosTvuDls4MPGmHVHOkc8KT/1EQrBVUAdj8BbGJoX90g5pJ19xO
|
4629
|
+
e4pIb4tF9g==
|
4630
|
+
-----END CERTIFICATE-----
|
4631
|
+
|
4632
|
+
Entrust Root Certification Authority - EC1
|
4633
|
+
==========================================
|
4634
|
+
-----BEGIN CERTIFICATE-----
|
4635
|
+
MIIC+TCCAoCgAwIBAgINAKaLeSkAAAAAUNCR+TAKBggqhkjOPQQDAzCBvzELMAkGA1UEBhMCVVMx
|
4636
|
+
FjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVn
|
4637
|
+
YWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDEyIEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXpl
|
4638
|
+
ZCB1c2Ugb25seTEzMDEGA1UEAxMqRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5
|
4639
|
+
IC0gRUMxMB4XDTEyMTIxODE1MjUzNloXDTM3MTIxODE1NTUzNlowgb8xCzAJBgNVBAYTAlVTMRYw
|
4640
|
+
FAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0L2xlZ2Fs
|
4641
|
+
LXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxMiBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhvcml6ZWQg
|
4642
|
+
dXNlIG9ubHkxMzAxBgNVBAMTKkVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAt
|
4643
|
+
IEVDMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABIQTydC6bUF74mzQ61VfZgIaJPRbiWlH47jCffHy
|
4644
|
+
AsWfoPZb1YsGGYZPUxBtByQnoaD41UcZYUx9ypMn6nQM72+WCf5j7HBdNq1nd67JnXxVRDqiY1Ef
|
4645
|
+
9eNi1KlHBz7MIKNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE
|
4646
|
+
FLdj5xrdjekIplWDpOBqUEFlEUJJMAoGCCqGSM49BAMDA2cAMGQCMGF52OVCR98crlOZF7ZvHH3h
|
4647
|
+
vxGU0QOIdeSNiaSKd0bebWHvAvX7td/M/k7//qnmpwIwW5nXhTcGtXsI/esni0qU+eH6p44mCOh8
|
4648
|
+
kmhtc9hvJqwhAriZtyZBWyVgrtBIGu4G
|
4649
|
+
-----END CERTIFICATE-----
|
4650
|
+
|
4651
|
+
CFCA EV ROOT
|
4652
|
+
============
|
4653
|
+
-----BEGIN CERTIFICATE-----
|
4654
|
+
MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJDTjEwMC4GA1UE
|
4655
|
+
CgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQDDAxDRkNB
|
4656
|
+
IEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkxMjMxMDMwNzAxWjBWMQswCQYDVQQGEwJDTjEw
|
4657
|
+
MC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQD
|
4658
|
+
DAxDRkNBIEVWIFJPT1QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDX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atZ8POQQaIxffu2Bq41gt/UP+TqhdLjOztUmCypAbqTuv0axn96/Ua
|
4672
|
+
4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBSESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sG
|
4673
|
+
E5uPhnEFtC+NiWYzKXZUmhH4J/qyP5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfX
|
4674
|
+
BDrDMlI1Dlb4pd19xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjn
|
4675
|
+
aH9dCi77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN5mydLIhy
|
4676
|
+
PDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe/v5WOaHIz16eGWRGENoX
|
4677
|
+
kbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+ZAAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3C
|
4678
|
+
ekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su
|
4679
|
+
-----END CERTIFICATE-----
|
@@ -25363,6 +25363,7 @@ var scrivito = {};
|
|
25363
25363
|
scrivito.widget_marker.init();
|
25364
25364
|
|
25365
25365
|
scrivito.menus.init();
|
25366
|
+
scrivito.external_links.init();
|
25366
25367
|
|
25367
25368
|
scrivito.widget_reloading.init();
|
25368
25369
|
scrivito.widget_sorting.init();
|
@@ -29158,6 +29159,65 @@ var scrivito = {};
|
|
29158
29159
|
}
|
29159
29160
|
});
|
29160
29161
|
}());
|
29162
|
+
(function() {
|
29163
|
+
$.extend(scrivito, {
|
29164
|
+
external_links: {
|
29165
|
+
init: function() {
|
29166
|
+
scrivito.gui.on('document', function(cms_document) {
|
29167
|
+
var new_document = cms_document.dom_element();
|
29168
|
+
var base = new_document.find('head > base');
|
29169
|
+
if (!base.length) {
|
29170
|
+
base = $('<base>');
|
29171
|
+
new_document.find('head').prepend(base);
|
29172
|
+
}
|
29173
|
+
base.attr('target', '_top');
|
29174
|
+
});
|
29175
|
+
|
29176
|
+
scrivito.on('content', function(content) {
|
29177
|
+
content = $(content);
|
29178
|
+
|
29179
|
+
_.each(content.find('a').not(
|
29180
|
+
'[data-scrivito-display-mode="editing"] [data-scrivito-field-type="html"] a'),
|
29181
|
+
function(link) {
|
29182
|
+
var element = $(link);
|
29183
|
+
var target = convert_target(link, element.attr('target'));
|
29184
|
+
element.attr('target', target);
|
29185
|
+
});
|
29186
|
+
|
29187
|
+
_.each(content.find('form').not(
|
29188
|
+
'[data-scrivito-display-mode="editing"] [data-scrivito-field-type="html"] form'),
|
29189
|
+
function(form) {
|
29190
|
+
var element = $(form);
|
29191
|
+
var link = document.createElement('a');
|
29192
|
+
link.href = form.action;
|
29193
|
+
var target = convert_target(link, element.attr('target'));
|
29194
|
+
|
29195
|
+
element.attr('target', target);
|
29196
|
+
});
|
29197
|
+
});
|
29198
|
+
}
|
29199
|
+
}
|
29200
|
+
});
|
29201
|
+
|
29202
|
+
var convert_target = function(link, target) {
|
29203
|
+
if (link.protocol === window.location.protocol && link.host === window.location.host) {
|
29204
|
+
if (!target) {
|
29205
|
+
return '_self';
|
29206
|
+
}
|
29207
|
+
} else {
|
29208
|
+
if (
|
29209
|
+
target === '' ||
|
29210
|
+
target === '_self' ||
|
29211
|
+
target === '_parent' ||
|
29212
|
+
(/^scrivito/).test(target)
|
29213
|
+
) {
|
29214
|
+
return '_top';
|
29215
|
+
}
|
29216
|
+
}
|
29217
|
+
|
29218
|
+
return target;
|
29219
|
+
};
|
29220
|
+
}());
|
29161
29221
|
(function() {
|
29162
29222
|
$.extend(scrivito, {
|
29163
29223
|
add_content_command: function(cms_element) {
|
@@ -30954,6 +31014,7 @@ var scrivito = {};
|
|
30954
31014
|
|
30955
31015
|
|
30956
31016
|
|
31017
|
+
|
30957
31018
|
|
30958
31019
|
|
30959
31020
|
//
|
data/lib/scrivito/cms_backend.rb
CHANGED
@@ -222,7 +222,7 @@ module Scrivito
|
|
222
222
|
uri = URI.parse(url)
|
223
223
|
retried = false
|
224
224
|
begin
|
225
|
-
response = ConnectionManager.request(uri, Net::HTTP::Head.new(uri
|
225
|
+
response = ConnectionManager.request(uri, Net::HTTP::Head.new(uri))
|
226
226
|
@query_counter += 1
|
227
227
|
rescue NetworkError
|
228
228
|
raise if retried
|
@@ -230,7 +230,7 @@ module Scrivito
|
|
230
230
|
retry
|
231
231
|
end
|
232
232
|
|
233
|
-
raise ScrivitoError, "S3 responded with #{
|
233
|
+
raise ScrivitoError, "S3 responded with #{response.code}" unless response.code == '200'
|
234
234
|
|
235
235
|
{
|
236
236
|
content_length: response['content-length'],
|
data/lib/scrivito/cms_routing.rb
CHANGED
@@ -18,9 +18,20 @@ class CmsRouting < Struct.new(:request, :main_app)
|
|
18
18
|
|
19
19
|
def convert_links(html)
|
20
20
|
if html
|
21
|
-
html.gsub(%r{
|
21
|
+
html.gsub(%r{\bobjid:([a-f0-9]{16})\b([^"']*)}) do
|
22
22
|
if obj = Obj.find_by_id($1)
|
23
|
-
|
23
|
+
options = {}
|
24
|
+
|
25
|
+
if $2.present?
|
26
|
+
begin
|
27
|
+
uri = URI.parse($2)
|
28
|
+
options.merge!(extract_query(uri))
|
29
|
+
options['anchor'] = uri.fragment
|
30
|
+
rescue
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
path_or_url(obj, "path", options)
|
24
35
|
else
|
25
36
|
"#__target_object_not_reachable"
|
26
37
|
end
|
@@ -111,12 +122,16 @@ class CmsRouting < Struct.new(:request, :main_app)
|
|
111
122
|
def merge_options(url, options)
|
112
123
|
parsed_url = URI.parse(url)
|
113
124
|
|
114
|
-
query =
|
125
|
+
query = extract_query(parsed_url)
|
115
126
|
merged_query = query.merge(options.stringify_keys)
|
116
127
|
parsed_url.query = merged_query.to_query
|
117
128
|
|
118
129
|
parsed_url.to_s
|
119
130
|
end
|
131
|
+
|
132
|
+
def extract_query(uri)
|
133
|
+
Rack::Utils.parse_query(uri.query)
|
134
|
+
end
|
120
135
|
end
|
121
136
|
|
122
137
|
end
|
@@ -1,18 +1,5 @@
|
|
1
1
|
module Scrivito
|
2
2
|
class ConnectionManager
|
3
|
-
SOCKET_ERRORS = [
|
4
|
-
EOFError,
|
5
|
-
Errno::ECONNABORTED,
|
6
|
-
Errno::ECONNREFUSED,
|
7
|
-
Errno::ECONNRESET,
|
8
|
-
Errno::EINVAL,
|
9
|
-
Errno::EPIPE,
|
10
|
-
Errno::ETIMEDOUT,
|
11
|
-
IOError,
|
12
|
-
SocketError,
|
13
|
-
Timeout::Error,
|
14
|
-
].freeze
|
15
|
-
|
16
3
|
DEFAULT_TIMEOUT = 10.freeze
|
17
4
|
|
18
5
|
attr_reader :uri
|
@@ -68,7 +55,7 @@ module Scrivito
|
|
68
55
|
|
69
56
|
begin
|
70
57
|
connection.request(request)
|
71
|
-
rescue
|
58
|
+
rescue => e
|
72
59
|
ensure_finished
|
73
60
|
raise NetworkError.from_socket_error(e)
|
74
61
|
end
|
@@ -105,7 +92,7 @@ module Scrivito
|
|
105
92
|
attempt = 0
|
106
93
|
begin
|
107
94
|
yield
|
108
|
-
rescue
|
95
|
+
rescue => e
|
109
96
|
raise NetworkError.from_socket_error(e) if attempt == 2
|
110
97
|
attempt += 1
|
111
98
|
retry
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.50.
|
4
|
+
version: 0.50.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infopark AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|