scrivito_sdk 0.70.1 → 0.70.2
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 +81 -128
- data/lib/assets/javascripts/scrivito_ui.js +31 -25
- data/lib/scrivito/attribute_deserializer.rb +1 -1
- data/lib/scrivito/attribute_serializer.rb +1 -1
- data/lib/scrivito/basic_obj.rb +6 -2
- data/lib/scrivito/binary.rb +1 -1
- data/lib/scrivito/binary_param_verifier.rb +4 -2
- data/lib/scrivito/client_attribute_serializer.rb +1 -1
- data/lib/scrivito/date_attribute.rb +7 -3
- data/lib/scrivito/obj_params_parser.rb +1 -5
- data/lib/scrivito/obj_search_builder.rb +12 -2
- data/lib/scrivito/obj_search_enumerator.rb +1 -1
- 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: 5de0afc60411add6269bc489d22afd5688e32bde
|
4
|
+
data.tar.gz: 000332471e6c539c7676ea94772e56f05e1ec6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1cf605fa35b457c57822065292d577ad85aeafc1943d7611ae5d6d9c1e504b94b1df0baf554bdb397139d5bc96497c5547dc2e3e46bef8e207dfc45825570f5
|
7
|
+
data.tar.gz: ee692d8e479eb55db2dd9fe83df15b0f1c57259f70f451bc795efa5db6fdadf3f55575493c1e9653fce53e09f7e24db3b1f3c4d3d1301c09513769dbd73eac18
|
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 Nov 2 23:30:50 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: 6d7d2f0a4fae587e7431be191a081ac1257d300a
|
18
18
|
##
|
19
19
|
|
20
20
|
|
@@ -1527,29 +1527,6 @@ vFcj4jjSm2jzVhKIT0J8uDHEtdvkyCE06UgRNe76x5JXxZ805Mf29w4LTJxoeHtxMcfrHuBnQfO3
|
|
1527
1527
|
oKfN5XozNmr6mis=
|
1528
1528
|
-----END CERTIFICATE-----
|
1529
1529
|
|
1530
|
-
TURKTRUST Certificate Services Provider Root 1
|
1531
|
-
==============================================
|
1532
|
-
-----BEGIN CERTIFICATE-----
|
1533
|
-
MIID+zCCAuOgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBtzE/MD0GA1UEAww2VMOcUktUUlVTVCBF
|
1534
|
-
bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGDAJUUjEP
|
1535
|
-
MA0GA1UEBwwGQU5LQVJBMVYwVAYDVQQKDE0oYykgMjAwNSBUw5xSS1RSVVNUIEJpbGdpIMSwbGV0
|
1536
|
-
acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLjAeFw0wNTA1MTMx
|
1537
|
-
MDI3MTdaFw0xNTAzMjIxMDI3MTdaMIG3MT8wPQYDVQQDDDZUw5xSS1RSVVNUIEVsZWt0cm9uaWsg
|
1538
|
-
U2VydGlmaWthIEhpem1ldCBTYcSfbGF5xLFjxLFzxLExCzAJBgNVBAYMAlRSMQ8wDQYDVQQHDAZB
|
1539
|
-
TktBUkExVjBUBgNVBAoMTShjKSAyMDA1IFTDnFJLVFJVU1QgQmlsZ2kgxLBsZXRpxZ9pbSB2ZSBC
|
1540
|
-
aWxpxZ9pbSBHw7x2ZW5sacSfaSBIaXptZXRsZXJpIEEuxZ4uMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
1541
|
-
AQ8AMIIBCgKCAQEAylIF1mMD2Bxf3dJ7XfIMYGFbazt0K3gNfUW9InTojAPBxhEqPZW8qZSwu5GX
|
1542
|
-
yGl8hMW0kWxsE2qkVa2kheiVfrMArwDCBRj1cJ02i67L5BuBf5OI+2pVu32Fks66WJ/bMsW9Xe8i
|
1543
|
-
Si9BB35JYbOG7E6mQW6EvAPs9TscyB/C7qju6hJKjRTP8wrgUDn5CDX4EVmt5yLqS8oUBt5CurKZ
|
1544
|
-
8y1UiBAG6uEaPj1nH/vO+3yC6BFdSsG5FOpU2WabfIl9BJpiyelSPJ6c79L1JuTm5Rh8i27fbMx4
|
1545
|
-
W09ysstcP4wFjdFMjK2Sx+F4f2VsSQZQLJ4ywtdKxnWKWU51b0dewQIDAQABoxAwDjAMBgNVHRME
|
1546
|
-
BTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAV9VX/N5aAWSGk/KEVTCD21F/aAyT8z5Aa9CEKmu46
|
1547
|
-
sWrv7/hg0Uw2ZkUd82YCdAR7kjCo3gp2D++Vbr3JN+YaDayJSFvMgzbC9UZcWYJWtNX+I7TYVBxE
|
1548
|
-
q8Sn5RTOPEFhfEPmzcSBCYsk+1Ql1haolgxnB2+zUEfjHCQo3SqYpGH+2+oSN7wBGjSFvW5P55Fy
|
1549
|
-
B0SFHljKVETd96y5y4khctuPwGkplyqjrhgjlxxBKot8KsF8kOipKMDTkcatKIdAaLX/7KfS0zgY
|
1550
|
-
nNN9aV3wxqUeJBujR/xpB2jn5Jq07Q+hh4cCzofSSE7hvP/L8XKSRGQDJereW26fyfJOrN3H
|
1551
|
-
-----END CERTIFICATE-----
|
1552
|
-
|
1553
1530
|
TURKTRUST Certificate Services Provider Root 2
|
1554
1531
|
==============================================
|
1555
1532
|
-----BEGIN CERTIFICATE-----
|
@@ -2065,33 +2042,6 @@ RqGEPQgnTIEgd4kI6mdAXmwIUV80WoyWaM3X94nCHNMyAK9Sy9NgWyo6R35rMDOhYil/SrnhLecU
|
|
2065
2042
|
Iw4OGEfhefwVVdCx/CVxY3UzHCMrr1zZ7Ud3YA47Dx7SwNxkBYn8eNZcLCZDqQ==
|
2066
2043
|
-----END CERTIFICATE-----
|
2067
2044
|
|
2068
|
-
TC TrustCenter Class 2 CA II
|
2069
|
-
============================
|
2070
|
-
-----BEGIN CERTIFICATE-----
|
2071
|
-
MIIEqjCCA5KgAwIBAgIOLmoAAQACH9dSISwRXDswDQYJKoZIhvcNAQEFBQAwdjELMAkGA1UEBhMC
|
2072
|
-
REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2VudGVy
|
2073
|
-
IENsYXNzIDIgQ0ExJTAjBgNVBAMTHFRDIFRydXN0Q2VudGVyIENsYXNzIDIgQ0EgSUkwHhcNMDYw
|
2074
|
-
MTEyMTQzODQzWhcNMjUxMjMxMjI1OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1
|
2075
|
-
c3RDZW50ZXIgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQTElMCMGA1UE
|
2076
|
-
AxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
|
2077
|
-
AQoCggEBAKuAh5uO8MN8h9foJIIRszzdQ2Lu+MNF2ujhoF/RKrLqk2jftMjWQ+nEdVl//OEd+DFw
|
2078
|
-
IxuInie5e/060smp6RQvkL4DUsFJzfb95AhmC1eKokKguNV/aVyQMrKXDcpK3EY+AlWJU+MaWss2
|
2079
|
-
xgdW94zPEfRMuzBwBJWl9jmM/XOBCH2JXjIeIqkiRUuwZi4wzJ9l/fzLganx4Duvo4bRierERXlQ
|
2080
|
-
Xa7pIXSSTYtZgo+U4+lK8edJsBTj9WLL1XK9H7nSn6DNqPoByNkN39r8R52zyFTfSUrxIan+GE7u
|
2081
|
-
SNQZu+995OKdy1u2bv/jzVrndIIFuoAlOMvkaZ6vQaoahPUCAwEAAaOCATQwggEwMA8GA1UdEwEB
|
2082
|
-
/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTjq1RMgKHbVkO3kUrL84J6E1wIqzCB
|
2083
|
-
7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRydXN0Y2VudGVyLmRlL2NybC92Mi90
|
2084
|
-
Y19jbGFzc18yX2NhX0lJLmNybIaBn2xkYXA6Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBU
|
2085
|
-
cnVzdENlbnRlciUyMENsYXNzJTIwMiUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21i
|
2086
|
-
SCxPVT1yb290Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u
|
2087
|
-
TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEAjNfffu4bgBCzg/XbEeprS6iSGNn3Bzn1LL4G
|
2088
|
-
dXpoUxUc6krtXvwjshOg0wn/9vYua0Fxec3ibf2uWWuFHbhOIprtZjluS5TmVfwLG4t3wVMTZonZ
|
2089
|
-
KNaL80VKY7f9ewthXbhtvsPcW3nS7Yblok2+XnR8au0WOB9/WIFaGusyiC2y8zl3gK9etmF1Kdsj
|
2090
|
-
TYjKUCjLhdLTEKJZbtOTVAB6okaVhgWcqRmY5TFyDADiZ9lA4CQze28suVyrZZ0srHbqNZn1l7kP
|
2091
|
-
JOzHdiEoZa5X6AeIdUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfk
|
2092
|
-
vQ==
|
2093
|
-
-----END CERTIFICATE-----
|
2094
|
-
|
2095
2045
|
TC TrustCenter Class 3 CA II
|
2096
2046
|
============================
|
2097
2047
|
-----BEGIN CERTIFICATE-----
|
@@ -2119,29 +2069,6 @@ IJqDnxrcOfHFcqMRA/07QlIp2+gB95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal
|
|
2119
2069
|
5A==
|
2120
2070
|
-----END CERTIFICATE-----
|
2121
2071
|
|
2122
|
-
TC TrustCenter Universal CA I
|
2123
|
-
=============================
|
2124
|
-
-----BEGIN CERTIFICATE-----
|
2125
|
-
MIID3TCCAsWgAwIBAgIOHaIAAQAC7LdggHiNtgYwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMC
|
2126
|
-
REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNVBAsTG1RDIFRydXN0Q2VudGVy
|
2127
|
-
IFVuaXZlcnNhbCBDQTEmMCQGA1UEAxMdVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBIEkwHhcN
|
2128
|
-
MDYwMzIyMTU1NDI4WhcNMjUxMjMxMjI1OTU5WjB5MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMg
|
2129
|
-
VHJ1c3RDZW50ZXIgR21iSDEkMCIGA1UECxMbVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBMSYw
|
2130
|
-
JAYDVQQDEx1UQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0EgSTCCASIwDQYJKoZIhvcNAQEBBQAD
|
2131
|
-
ggEPADCCAQoCggEBAKR3I5ZEr5D0MacQ9CaHnPM42Q9e3s9B6DGtxnSRJJZ4Hgmgm5qVSkr1YnwC
|
2132
|
-
qMqs+1oEdjneX/H5s7/zA1hV0qq34wQi0fiU2iIIAI3TfCZdzHd55yx4Oagmcw6iXSVphU9VDprv
|
2133
|
-
xrlE4Vc93x9UIuVvZaozhDrzznq+VZeujRIPFDPiUHDDSYcTvFHe15gSWu86gzOSBnWLknwSaHtw
|
2134
|
-
ag+1m7Z3W0hZneTvWq3zwZ7U10VOylY0Ibw+F1tvdwxIAUMpsN0/lm7mlaoMwCC2/T42J5zjXM9O
|
2135
|
-
gdwZu5GQfezmlwQek8wiSdeXhrYTCjxDI3d+8NzmzSQfO4ObNDqDNOMCAwEAAaNjMGEwHwYDVR0j
|
2136
|
-
BBgwFoAUkqR1LKSevoFE63n8isWVpesQdXMwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC
|
2137
|
-
AYYwHQYDVR0OBBYEFJKkdSyknr6BROt5/IrFlaXrEHVzMA0GCSqGSIb3DQEBBQUAA4IBAQAo0uCG
|
2138
|
-
1eb4e/CX3CJrO5UUVg8RMKWaTzqwOuAGy2X17caXJ/4l8lfmXpWMPmRgFVp/Lw0BxbFg/UU1z/Cy
|
2139
|
-
vwbZ71q+s2IhtNerNXxTPqYn8aEt2hojnczd7Dwtnic0XQ/CNnm8yUpiLe1r2X1BQ3y2qsrtYbE3
|
2140
|
-
ghUJGooWMNjsydZHcnhLEEYUjl8Or+zHL6sQ17bxbuyGssLoDZJz3KL0Dzq/YSMQiZxIQG5wALPT
|
2141
|
-
ujdEWBF6AmqI8Dc08BnprNRlc/ZpjGSUOnmFKbAWKwyCPwacx/0QK54PLLae4xW/2TYcuiUaUj0a
|
2142
|
-
7CIMHOCkoj3w6DnPgcB77V0fb8XQC9eY
|
2143
|
-
-----END CERTIFICATE-----
|
2144
|
-
|
2145
2072
|
Deutsche Telekom Root CA 2
|
2146
2073
|
==========================
|
2147
2074
|
-----BEGIN CERTIFICATE-----
|
@@ -2309,26 +2236,6 @@ fZleHwzoq0QkKXJAPTZSr4xYkHPB7GEseaHsh7U/2k3ZIQAw3pDaDtMaSKk+hQsUi4y8QZ5q9w5w
|
|
2309
2236
|
wDX3OaJdZtB7WZ+oRxKaJyOkLY4ng5IgodcVf/EuGO70SH8vf/GhGLWhC5SgYiAynB321O+/TIho
|
2310
2237
|
-----END CERTIFICATE-----
|
2311
2238
|
|
2312
|
-
Buypass Class 3 CA 1
|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Zy5p+qksP2bA
|
2327
|
-
EllNC1QCkoS72xLvg3BweMhT+t/Gxv/ciC8HwEmdMldg0/L2mSlf56oBzKwzqBwKu5HEA6BvtjT5
|
2328
|
-
htOzdlSY9EqBs1OdTUDs5XcTRa9bqh/YL0yCe/4qxFi7T/ye/QNlGioOw6UgFpRreaaiErS7GqQj
|
2329
|
-
el/wroQk5PMr+4okoyeYZdowdXb8GZHo2+ubPzK/QJcHJrrM85SFSnonk8+QQtS4Wxam58tAA915
|
2330
|
-
-----END CERTIFICATE-----
|
2331
|
-
|
2332
2239
|
EBG Elektronik Sertifika Hizmet Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1
|
2333
2240
|
==========================================================================
|
2334
2241
|
-----BEGIN CERTIFICATE-----
|
@@ -3830,39 +3737,6 @@ UxLMVYdh84GuEEZhvUQhuMI9dM9+JDX6HAcOmz0iyu8xL4ysEr3vQCj8KWefshNPZiTEUxnpHikV
|
|
3830
3737
|
7+ZtsH8tZ/3zbBt1RqPlShfppNcL
|
3831
3738
|
-----END CERTIFICATE-----
|
3832
3739
|
|
3833
|
-
SG TRUST SERVICES RACINE
|
3834
|
-
========================
|
3835
|
-
-----BEGIN CERTIFICATE-----
|
3836
|
-
MIIGGTCCBAGgAwIBAgIIPtVRGeZNzn4wDQYJKoZIhvcNAQELBQAwajEhMB8GA1UEAxMYU0cgVFJV
|
3837
|
-
U1QgU0VSVklDRVMgUkFDSU5FMRwwGgYDVQQLExMwMDAyIDQzNTI1Mjg5NTAwMDIyMRowGAYDVQQK
|
3838
|
-
ExFTRyBUUlVTVCBTRVJWSUNFUzELMAkGA1UEBhMCRlIwHhcNMTAwOTA2MTI1MzQyWhcNMzAwOTA1
|
3839
|
-
MTI1MzQyWjBqMSEwHwYDVQQDExhTRyBUUlVTVCBTRVJWSUNFUyBSQUNJTkUxHDAaBgNVBAsTEzAw
|
3840
|
-
MDIgNDM1MjUyODk1MDAwMjIxGjAYBgNVBAoTEVNHIFRSVV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A6Ly9j
|
3853
|
-
cmwuc2d0cnVzdHNlcnZpY2VzLmNvbS9yYWNpbmUtR3JvdXBlU0cvTGF0ZXN0Q1JMMA4GA1UdDwEB
|
3854
|
-
/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEATEZn4ERQ9cW2urJRCiUTHbfHiC4fuStkoMuTiFJZ
|
3855
|
-
qmD1zClSF/8E5ze0MRFGfisebKeLPEeaXvSqXZA7RT2fSsmKe47A7j55i5KjyJRKuCgRa6YlX129
|
3856
|
-
x8j7g09VMeZc8BN8471/Kiw3N5RJr4QfFCeiWBCPCjk3GhIgQY8Z9qkfGe2yNLKtfTNEi18KB0Py
|
3857
|
-
dkVFLa3kjQ4A/QQIqudr+xe9sAhWDjUqcvCz5006Tw3c82ASszhkjNv54SaNL+9O6CRHPjY0imkP
|
3858
|
-
KGuLh8a9hSb50+tpIVZgkdb34GLCqHGuLt5mI7VSRqakSDcsfwEWVxH3Jw0O5Q/WkEXhHj8h3NL8
|
3859
|
-
FhgTPk1qsiZqQF4leP049KxYejcbmEAEx47J1MRnYbGYrvDNDty5r2WDewoEij9hqvddQYbmxkzC
|
3860
|
-
TzpcVuooO6dEz8hKZPVyYC3jQ7hK4HU8MuSqFtcRucFF2ZtmY2blIrc07rrVdC8lZPOBVMt33lfU
|
3861
|
-
k+OsBzE6PlwDg1dTx/D+aNglUE0SyObhlY1nqzyTPxcCujjXnvcwpT09RAEzGpqfjtCf8e4wiHPv
|
3862
|
-
riQZupdzFcHscQyEZLV77LxpPqRtCRY2yko5isune8YdfucziMm+MG2chZUh6Uc7Bn6B4upG5nBY
|
3863
|
-
gOao8p0LadEziVkw82TTC/bOKwn7fRB2LhA=
|
3864
|
-
-----END CERTIFICATE-----
|
3865
|
-
|
3866
3740
|
ACCVRAIZ1
|
3867
3741
|
=========
|
3868
3742
|
-----BEGIN CERTIFICATE-----
|
@@ -4677,3 +4551,82 @@ PDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe/v5WOaHIz16eGWRGENoX
|
|
4677
4551
|
kbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+ZAAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3C
|
4678
4552
|
ekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su
|
4679
4553
|
-----END CERTIFICATE-----
|
4554
|
+
|
4555
|
+
TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı H5
|
4556
|
+
=========================================================
|
4557
|
+
-----BEGIN CERTIFICATE-----
|
4558
|
+
MIIEJzCCAw+gAwIBAgIHAI4X/iQggTANBgkqhkiG9w0BAQsFADCBsTELMAkGA1UEBhMCVFIxDzAN
|
4559
|
+
BgNVBAcMBkFua2FyYTFNMEsGA1UECgxEVMOcUktUUlVTVCBCaWxnaSDEsGxldGnFn2ltIHZlIEJp
|
4560
|
+
bGnFn2ltIEfDvHZlbmxpxJ9pIEhpem1ldGxlcmkgQS7Fni4xQjBABgNVBAMMOVTDnFJLVFJVU1Qg
|
4561
|
+
RWxla3Ryb25payBTZXJ0aWZpa2EgSGl6bWV0IFNhxJ9sYXnEsWPEsXPEsSBINTAeFw0xMzA0MzAw
|
4562
|
+
ODA3MDFaFw0yMzA0MjgwODA3MDFaMIGxMQswCQYDVQQGEwJUUjEPMA0GA1UEBwwGQW5rYXJhMU0w
|
4563
|
+
SwYDVQQKDERUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnE
|
4564
|
+
n2kgSGl6bWV0bGVyaSBBLsWeLjFCMEAGA1UEAww5VMOcUktUUlVTVCBFbGVrdHJvbmlrIFNlcnRp
|
4565
|
+
ZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxIEg1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
4566
|
+
CgKCAQEApCUZ4WWe60ghUEoI5RHwWrom/4NZzkQqL/7hzmAD/I0Dpe3/a6i6zDQGn1k19uwsu537
|
4567
|
+
jVJp45wnEFPzpALFp/kRGml1bsMdi9GYjZOHp3GXDSHHmflS0yxjXVW86B8BSLlg/kJK9siArs1m
|
4568
|
+
ep5Fimh34khon6La8eHBEJ/rPCmBp+EyCNSgBbGM+42WAA4+Jd9ThiI7/PS98wl+d+yG6w8z5UNP
|
4569
|
+
9FR1bSmZLmZaQ9/LXMrI5Tjxfjs1nQ/0xVqhzPMggCTTV+wVunUlm+hkS7M0hO8EuPbJbKoCPrZV
|
4570
|
+
4jI3X/xml1/N1p7HIL9Nxqw/dV8c7TKcfGkAaZHjIxhT6QIDAQABo0IwQDAdBgNVHQ4EFgQUVpkH
|
4571
|
+
HtOsDGlktAxQR95DLL4gwPswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZI
|
4572
|
+
hvcNAQELBQADggEBAJ5FdnsXSDLyOIspve6WSk6BGLFRRyDN0GSxDsnZAdkJzsiZ3GglE9Rc8qPo
|
4573
|
+
BP5yCccLqh0lVX6Wmle3usURehnmp349hQ71+S4pL+f5bFgWV1Al9j4uPqrtd3GqqpmWRgqujuwq
|
4574
|
+
URawXs3qZwQcWDD1YIq9pr1N5Za0/EKJAWv2cMhQOQwt1WbZyNKzMrcbGW3LM/nfpeYVhDfwwvJl
|
4575
|
+
lpKQd/Ct9JDpEXjXk4nAPQu6KfTomZ1yju2dL+6SfaHx/126M2CFYv4HAqGEVka+lgqaE9chTLd8
|
4576
|
+
B59OTj+RdPsnnRHM3eaxynFNExc5JsUpISuTKWqW+qtB4Uu2NQvAmxU=
|
4577
|
+
-----END CERTIFICATE-----
|
4578
|
+
|
4579
|
+
TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı H6
|
4580
|
+
=========================================================
|
4581
|
+
-----BEGIN CERTIFICATE-----
|
4582
|
+
MIIEJjCCAw6gAwIBAgIGfaHyZeyK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B0GA1UdDgQWBBTdVRcT
|
4595
|
+
9qzoSCHK77Wv0QAy7Z6MtTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG
|
4596
|
+
9w0BAQsFAAOCAQEAb1gNl0OqFlQ+v6nfkkU/hQu7VtMMUszIv3ZnXuaqs6fvuay0EBQNdH49ba3R
|
4597
|
+
fdCaqaXKGDsCQC4qnFAUi/5XfldcEQlLNkVS9z2sFP1E34uXI9TDwe7UU5X+LEr+DXCqu4svLcsy
|
4598
|
+
o4LyVN/Y8t3XSHLuSqMplsNEzm61kod2pLv0kmzOLBQJZo6NrRa1xxsJYTvjIKIDgI6tflEATseW
|
4599
|
+
hvtDmHd9KMeP2Cpu54Rvl0EpABZeTeIT6lnAY2c6RPuY/ATTMHKm9ocJV612ph1jmv3XZch4gyt1
|
4600
|
+
O6VbuA1df74jrlZVlFjvH4GMKrLN5ptjnhi85WsGtAuYSyher4hYyw==
|
4601
|
+
-----END CERTIFICATE-----
|
4602
|
+
|
4603
|
+
Certinomis - Root CA
|
4604
|
+
====================
|
4605
|
+
-----BEGIN CERTIFICATE-----
|
4606
|
+
MIIFkjCCA3qgAwIBAgIBATANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJGUjETMBEGA1UEChMK
|
4607
|
+
Q2VydGlub21pczEXMBUGA1UECxMOMDAwMiA0MzM5OTg5MDMxHTAbBgNVBAMTFENlcnRpbm9taXMg
|
4608
|
+
LSBSb290IENBMB4XDTEzMTAyMTA5MTcxOFoXDTMzMTAyMTA5MTcxOFowWjELMAkGA1UEBhMCRlIx
|
4609
|
+
EzARBgNVBAoTCkNlcnRpbm9taXMxFzAVBgNVBAsTDjAwMDIgNDMzOTk4OTAzMR0wGwYDVQQDExRD
|
4610
|
+
ZXJ0aW5vbWlzIC0gUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANTMCQos
|
4611
|
+
P5L2fxSeC5yaah1AMGT9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jNRieOpWauwK0kDDPAUw
|
4624
|
+
Pk2Ut59KA9N9J0u2/kTO+hkzGm2kQtHdzMjI1xZSg081lLMSVX3l4kLr5JyTCcBMWwerx20RoFAX
|
4625
|
+
lCOotQqSD7J6wWAsOMwaplv/8gzjqh8c3LigkyfeY+N/IZ865Z764BNqdeuWXGKRlI5nU7aJ+BIJ
|
4626
|
+
y29SWwNyhlCVCNSNh4YVH5Uk2KRvms6knZtt0rJ2BobGVgjF6wnaNsIbW0G+YSrjcOa4pvi2WsS9
|
4627
|
+
Iff/ql+hbHY5ZtbqTFXhADObE5hjyW/QASAJN1LnDE8+zbz1X5YnpyACleAu6AdBBR8Vbtaw5Bng
|
4628
|
+
DwKTACdyxYvRVB9dSsNAl35VpnzBMwQUAR1JIGkLGZOdblgi90AMRgwjY/M50n92Uaf0yKHxDHYi
|
4629
|
+
I0ZSKS3io0EHVmmY0gUJvGnHWmHNj4FgFU2A3ZDifcRQ8ow7bkrHxuaAKzyBvBGAFhAn1/DNP3nM
|
4630
|
+
cyrDflOR1m749fPH0FFNjkulW+YZFzvWgQncItzujrnEj1PhZ7szuIgVRs/taTX/dQ1G885x4cVr
|
4631
|
+
hkIGuUE=
|
4632
|
+
-----END CERTIFICATE-----
|
@@ -30973,21 +30973,6 @@ var scrivito = {};
|
|
30973
30973
|
_.isString(object.name);
|
30974
30974
|
};
|
30975
30975
|
|
30976
|
-
var format_date_number = function(number) {
|
30977
|
-
var string = number.toString();
|
30978
|
-
return string.length === 1 ? '0' + string : string;
|
30979
|
-
};
|
30980
|
-
|
30981
|
-
var serialize_date = function(date) {
|
30982
|
-
return date.getUTCFullYear().toString() +
|
30983
|
-
'-' + format_date_number(date.getUTCMonth() + 1) + // Month numbers are starting at 0.
|
30984
|
-
'-' + format_date_number(date.getUTCDate()) +
|
30985
|
-
'T' + format_date_number(date.getUTCHours()) +
|
30986
|
-
':' + format_date_number(date.getUTCMinutes()) +
|
30987
|
-
':' + format_date_number(date.getUTCSeconds()) +
|
30988
|
-
'Z';
|
30989
|
-
};
|
30990
|
-
|
30991
30976
|
var convert_attrs = function(obj_id, attrs) {
|
30992
30977
|
var collected_promises = _.map(attrs, function(value, field_name) {
|
30993
30978
|
if (is_file(value)) {
|
@@ -31036,7 +31021,7 @@ var scrivito = {};
|
|
31036
31021
|
obj: {
|
31037
31022
|
serialize_value: function(value) {
|
31038
31023
|
if (_.isDate(value)) {
|
31039
|
-
return
|
31024
|
+
return moment.utc(value).toISOString();
|
31040
31025
|
} else {
|
31041
31026
|
return value;
|
31042
31027
|
}
|
@@ -31260,20 +31245,13 @@ var scrivito = {};
|
|
31260
31245
|
_.extend(scrivito, {
|
31261
31246
|
chainable_search: {
|
31262
31247
|
create_instance: function(build_query) {
|
31263
|
-
var query = build_query || {
|
31248
|
+
var query = build_query || {predicates: []};
|
31264
31249
|
|
31265
31250
|
var add_predicate = function(field, operator, value, boost, negate) {
|
31266
|
-
var serialized_value;
|
31267
|
-
if (_.isArray(value)) {
|
31268
|
-
serialized_value = _.map(value, scrivito.obj.serialize_value);
|
31269
|
-
} else {
|
31270
|
-
serialized_value = scrivito.obj.serialize_value(value);
|
31271
|
-
}
|
31272
|
-
|
31273
31251
|
var new_query = {
|
31274
31252
|
field: field,
|
31275
31253
|
operator: operator,
|
31276
|
-
value:
|
31254
|
+
value: serialize_values(value)
|
31277
31255
|
};
|
31278
31256
|
|
31279
31257
|
if (negate) {
|
@@ -31398,6 +31376,34 @@ var scrivito = {};
|
|
31398
31376
|
|
31399
31377
|
});
|
31400
31378
|
|
31379
|
+
var serialize_values = function(values) {
|
31380
|
+
if (!_.isArray(values)) {
|
31381
|
+
values = [values];
|
31382
|
+
}
|
31383
|
+
|
31384
|
+
return _.map(values, function(value) {
|
31385
|
+
return [type_of_value(value), convert_value(value)];
|
31386
|
+
});
|
31387
|
+
};
|
31388
|
+
|
31389
|
+
var convert_value = function(value) {
|
31390
|
+
var serialized_value = scrivito.obj.serialize_value(value);
|
31391
|
+
|
31392
|
+
if (serialized_value === null) {
|
31393
|
+
return serialized_value;
|
31394
|
+
} else {
|
31395
|
+
return String(serialized_value);
|
31396
|
+
}
|
31397
|
+
};
|
31398
|
+
|
31399
|
+
var type_of_value = function(value) {
|
31400
|
+
if (_.isDate(value)) {
|
31401
|
+
return 'date';
|
31402
|
+
} else {
|
31403
|
+
return 'string';
|
31404
|
+
}
|
31405
|
+
};
|
31406
|
+
|
31401
31407
|
}());
|
31402
31408
|
|
31403
31409
|
(function() {
|
@@ -28,7 +28,7 @@ class AttributeDeserializer < Struct.new(:model, :workspace)
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def deserialize_date_value(attribute_value)
|
31
|
-
DateAttribute.
|
31
|
+
DateAttribute.deserialize_from_backend(attribute_value) if attribute_value
|
32
32
|
end
|
33
33
|
|
34
34
|
def deserialize_enum_value(attribute_value, attribute_definition)
|
@@ -81,7 +81,7 @@ class AttributeSerializer < Struct.new(:obj_class_name, :obj_id)
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def serialize_date_value(attribute_value, attribute_definition)
|
84
|
-
attribute_value = DateAttribute.
|
84
|
+
attribute_value = DateAttribute.serialize_for_backend(attribute_value)
|
85
85
|
unless attribute_value
|
86
86
|
raise_validation_error(attribute_definition.name, 'an instance of Date or Time',
|
87
87
|
attribute_value)
|
data/lib/scrivito/basic_obj.rb
CHANGED
@@ -1032,7 +1032,7 @@ module Scrivito
|
|
1032
1032
|
end
|
1033
1033
|
|
1034
1034
|
def as_date(value)
|
1035
|
-
DateAttribute.
|
1035
|
+
DateAttribute.deserialize_from_backend(value) unless value.nil?
|
1036
1036
|
end
|
1037
1037
|
|
1038
1038
|
def find_blob
|
@@ -1115,7 +1115,11 @@ module Scrivito
|
|
1115
1115
|
|
1116
1116
|
def value_of_system_attribute(attribute_name)
|
1117
1117
|
attribute_value = data_from_cms.value_of(attribute_name)
|
1118
|
-
attribute_name == '_last_changed'
|
1118
|
+
if attribute_name == '_last_changed'
|
1119
|
+
DateAttribute.deserialize_from_backend(attribute_value)
|
1120
|
+
else
|
1121
|
+
attribute_value
|
1122
|
+
end
|
1119
1123
|
end
|
1120
1124
|
|
1121
1125
|
class << self
|
data/lib/scrivito/binary.rb
CHANGED
@@ -232,7 +232,7 @@ class Binary
|
|
232
232
|
deserialized_meta_data = {}
|
233
233
|
raw_meta_data.each_pair do |key, (type, value)|
|
234
234
|
deserialized_meta_data[key] = case type
|
235
|
-
when 'date' then DateAttribute.
|
235
|
+
when 'date' then DateAttribute.deserialize_from_backend(value)
|
236
236
|
when 'number' then value.to_i
|
237
237
|
else value
|
238
238
|
end
|
@@ -6,7 +6,7 @@ module BinaryParamVerifier
|
|
6
6
|
class << self
|
7
7
|
def verify(params)
|
8
8
|
params = message_verifier.verify(params)
|
9
|
-
expires = DateAttribute.
|
9
|
+
expires = DateAttribute.deserialize_from_backend(params['expires'])
|
10
10
|
raise InvalidSignature if expires && expires < Time.zone.now
|
11
11
|
Binary.new(params['binary_id'], expires.nil?, params['transformation_definition'])
|
12
12
|
rescue ActiveSupport::MessageVerifier::InvalidSignature
|
@@ -15,7 +15,9 @@ module BinaryParamVerifier
|
|
15
15
|
|
16
16
|
def generate(binary)
|
17
17
|
params = {binary_id: binary.id, transformation_definition: binary.transformation_definition}
|
18
|
-
|
18
|
+
if binary.private?
|
19
|
+
params[:expires] = DateAttribute.serialize_for_backend(Time.zone.now + 1.hour)
|
20
|
+
end
|
19
21
|
message_verifier.generate(params)
|
20
22
|
end
|
21
23
|
|
@@ -2,7 +2,7 @@ module Scrivito
|
|
2
2
|
|
3
3
|
# Adds support for string columns which contain ISO dates
|
4
4
|
module DateAttribute
|
5
|
-
def self.
|
5
|
+
def self.deserialize_from_backend(iso_date_time)
|
6
6
|
return nil unless iso_date_time
|
7
7
|
|
8
8
|
if iso_date_time.to_s =~ /^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/
|
@@ -12,7 +12,7 @@ module Scrivito
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
def self.
|
15
|
+
def self.deserialize_from_client(iso8601_date_time)
|
16
16
|
return unless iso8601_date_time
|
17
17
|
|
18
18
|
DateTime.iso8601(iso8601_date_time).in_time_zone
|
@@ -20,13 +20,17 @@ module Scrivito
|
|
20
20
|
raise "The value is not a valid ISO 8601 date time: #{iso8601_date_time.inspect}"
|
21
21
|
end
|
22
22
|
|
23
|
-
def self.
|
23
|
+
def self.serialize_for_backend(attribute_value)
|
24
24
|
attribute_value = case attribute_value
|
25
25
|
when Date then attribute_value.to_time
|
26
26
|
when Time then attribute_value.to_time.utc
|
27
27
|
end
|
28
28
|
attribute_value.strftime('%Y%m%d%H%M%S') if attribute_value
|
29
29
|
end
|
30
|
+
|
31
|
+
def self.serialize_for_client(attribute_value)
|
32
|
+
attribute_value.utc.iso8601
|
33
|
+
end
|
30
34
|
end
|
31
35
|
|
32
36
|
end
|
@@ -19,7 +19,7 @@ module Scrivito
|
|
19
19
|
when 'link' then ContentConversion.convert_link(value, host, port)
|
20
20
|
when 'linklist' then ContentConversion.convert_linklist_urls(value, host, port)
|
21
21
|
when 'widgetlist' then parse_widgetlist_params(value)
|
22
|
-
when 'date' then
|
22
|
+
when 'date' then DateAttribute.deserialize_from_client(value)
|
23
23
|
else value
|
24
24
|
end
|
25
25
|
end
|
@@ -49,9 +49,5 @@ module Scrivito
|
|
49
49
|
def parse_binary_params(params)
|
50
50
|
UploadedBinary.new(params) if params
|
51
51
|
end
|
52
|
-
|
53
|
-
def parse_date_params(params)
|
54
|
-
DateAttribute.parse_iso8601(params)
|
55
|
-
end
|
56
52
|
end
|
57
53
|
end
|
@@ -26,10 +26,11 @@ class ObjSearchBuilder < Struct.new(:query)
|
|
26
26
|
|
27
27
|
def set_predicates
|
28
28
|
query[:predicates].each do |p|
|
29
|
+
values = deserialize_values(p[:value])
|
29
30
|
if p[:negate]
|
30
|
-
enumerator.and_not(p[:field], p[:operator],
|
31
|
+
enumerator.and_not(p[:field], p[:operator], values)
|
31
32
|
else
|
32
|
-
enumerator.and(p[:field], p[:operator],
|
33
|
+
enumerator.and(p[:field], p[:operator], values, p[:boost])
|
33
34
|
end
|
34
35
|
end
|
35
36
|
end
|
@@ -51,6 +52,15 @@ class ObjSearchBuilder < Struct.new(:query)
|
|
51
52
|
enumerator.include_deleted if query[:include_deleted]
|
52
53
|
end
|
53
54
|
|
55
|
+
def deserialize_values(values)
|
56
|
+
values.map do |(type, value)|
|
57
|
+
if type == 'date'
|
58
|
+
DateAttribute.deserialize_from_client(value)
|
59
|
+
else
|
60
|
+
value
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
54
64
|
end
|
55
65
|
|
56
66
|
end
|
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.70.
|
4
|
+
version: 0.70.2
|
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-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|