author | ymh <ymh.work@gmail.com> |
Tue, 27 Sep 2016 23:43:29 +0200 | |
changeset 304 | 20071981ba2a |
parent 275 | a4d8618c2f1b |
child 308 | e032d686d88e |
permissions | -rw-r--r-- |
2
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
<?php |
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
|
4
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
3 |
$sesameBaseUrl = rtrim(env('CORPUSPAROLE_SESAME_BASE_URL'),'/').'/'; |
28 | 4 |
$baseUrl = parse_url(env('APP_URL','http://localhost'), PHP_URL_PATH); |
5 |
$baseUrl = ($baseUrl && strlen($baseUrl)>0)?$baseUrl:"/"; |
|
4
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
6 |
|
2
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
return [ |
4
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
8 |
'sesame_base_url' => $sesameBaseUrl, |
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
9 |
'sesame_repository' => env('CORPUSPAROLE_SESAME_REPOSITORY'), |
19
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
10 |
'sesame_repository_raw' => env('CORPUSPAROLE_SESAME_REPOSITORY_RAW'), |
4
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
11 |
'max_load_retry' => env('CORPUSPAROLE_MAX_LOAD_RETRY', 5), |
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
12 |
'sesame_query_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY'), |
f55970e41793
first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
13 |
'sesame_update_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY').'/statements', |
19
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
14 |
'sesame_query_url_raw' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY_RAW'), |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
15 |
'sesame_update_url_raw' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY_RAW').'/statements', |
275
a4d8618c2f1b
add transcript_url property on document list results
ymh <ymh.work@gmail.com>
parents:
163
diff
changeset
|
16 |
'corpus_ontology_url' => env('CORPUSPAROLE_ONTOLOGY_URL', 'http://corpusdelaparole.culture.fr/ontology/'), |
2
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
|
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
'cocoon_rdf_base_uri' => env('CORPUSPAROLE_COCOON_RDF_BASE_URI'), |
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
'cocoon_oaipmh_url' => env('CORPUSPAROLE_COCOON_OAIPMH_URL'), |
18
f2a40bbc27f6
add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents:
4
diff
changeset
|
20 |
'cocoon_doc_id_base_uri' => 'http://purl.org/poi/crdo.vjf.cnrs.fr/', |
113
faff38055a07
change shownAt url to point to humanum
ymh <ymh.work@gmail.com>
parents:
112
diff
changeset
|
21 |
'cocoon_doc_pub_base_uri' => 'http://corpusdelaparole.huma-num.fr/corpus-app#/detail/', |
2
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
'cocoon_doc_id_base' => 'oai:crdo.vjf.cnrs.fr:', |
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
23 |
|
154 | 24 |
'corpus_id_scheme' => env('HANDLE_PREFIX').'/', |
25 |
'corpus_id_prefix' => env('HANDLE_PREFIX').'/crdo-', |
|
122 | 26 |
|
154 | 27 |
'corpus_doc_id_base_uri' => 'https://hdl.handle.net/'.env('HANDLE_PREFIX').'/', |
110 | 28 |
'corpus_doc_default_cc_rights' => 'http://creativecommons.org/licenses/by/4.0/', |
18
f2a40bbc27f6
add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents:
4
diff
changeset
|
29 |
|
f2a40bbc27f6
add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents:
4
diff
changeset
|
30 |
'edm_provider' => 'Corpus de la Parole', |
f2a40bbc27f6
add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents:
4
diff
changeset
|
31 |
|
f2a40bbc27f6
add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents:
4
diff
changeset
|
32 |
'easyrdf_http_client_timeout' => env('EASYRDF_HTTP_CLIENT_TIMEOUT', 1000), |
19
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
33 |
|
160
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
34 |
'corpus_discourse_type' => [ |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
35 |
"http://ark.bnf.fr/ark:/12148/cb12083158d" => "argumentation", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
36 |
"http://ark.bnf.fr/ark:/12148/cb119783362" => "bavardage", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
37 |
"http://ark.bnf.fr/ark:/12148/cb13319048g" => "chansons", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
38 |
"http://ark.bnf.fr/ark:/12148/cb11931724n" => "congrès et conférences", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
39 |
"http://ark.bnf.fr/ark:/12148/cb11936159v" => "contes", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
40 |
"http://ark.bnf.fr/ark:/12148/cb119317924" => "conversation", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
41 |
"http://ark.bnf.fr/ark:/12148/cb12481481z" => "dialogue", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
42 |
"http://ark.bnf.fr/ark:/12148/cb11948542x" => "discours", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
43 |
"http://ark.bnf.fr/ark:/12148/cb119341539" => "discussion", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
44 |
"http://ark.bnf.fr/ark:/12148/cb120502737" => "enquêtes linguistiques", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
45 |
"http://ark.bnf.fr/ark:/12148/cb11932135w" => "entretiens", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
46 |
"http://ark.bnf.fr/ark:/12148/cb11953414d" => "fables", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
47 |
"http://ark.bnf.fr/ark:/12148/cb11955657q" => "lecture à haute voix", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
48 |
"http://ark.bnf.fr/ark:/12148/cb11957378b" => "musique instrumentale", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
49 |
"http://ark.bnf.fr/ark:/12148/cb11937212q" => "narration", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
50 |
"http://ark.bnf.fr/ark:/12148/cb11946100d" => "paradigme (épistémologie)", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
51 |
"http://ark.bnf.fr/ark:/12148/cb119829234" => "questionnaires", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
52 |
"http://ark.bnf.fr/ark:/12148/cb119834877" => "récitation", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
53 |
"http://ark.bnf.fr/ark:/12148/cb11976851v" => "récits personnels", |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
54 |
"http://ark.bnf.fr/ark:/12148/cb11949715t" => "réunions" |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
55 |
], |
c77f06ff3e54
add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents:
158
diff
changeset
|
56 |
|
19
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
57 |
'olac_discourse_type' => [ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
58 |
'uri' => 'http://www.language-archives.org/OLAC/1.1/discourse-type', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
59 |
'values' => [ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
60 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
61 |
'code' => 'dialogue', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
62 |
'name' => 'Dialogue', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
63 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
64 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
65 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
66 |
'code' => 'drama', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
67 |
'name' => 'Drama', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
68 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
69 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
70 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
71 |
'code' => 'formulaic', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
72 |
'name' => 'Formulaic Discourse', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
73 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
74 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
75 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
76 |
'code' => 'ludic', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
77 |
'name' => 'Ludic Discourse', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
78 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
79 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
80 |
'code' => 'oratory', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
81 |
'name' => 'Oratory', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
82 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
83 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
84 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
85 |
'code' => 'narrative', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
86 |
'name' => 'Narrative Discourse', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
87 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
88 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
89 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
90 |
'code' => 'procedural', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
91 |
'name' => 'Procedural Discourse', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
92 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
93 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
94 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
95 |
'code' => 'report', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
96 |
'name' => 'Report', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
97 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
98 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
99 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
100 |
'code' => 'singing', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
101 |
'name' => 'Singing', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
102 |
], |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
103 |
|
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
104 |
[ |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
105 |
'code' => 'unintelligible_speech', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
106 |
'name' => 'Unintelligible Speech', |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
107 |
] |
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
108 |
] |
23 | 109 |
], |
19
eadaf0b8f02e
Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents:
18
diff
changeset
|
110 |
|
23 | 111 |
'viaf_base_url' => 'http://viaf.org/viaf/', |
28 | 112 |
'viaf_cache_expiration' => 60*24*30, |
133 | 113 |
'viaf_max_ids' => 500, |
28 | 114 |
|
115 |
'lexvo_base_url' => 'http://lexvo.org/id/iso639-3/', |
|
116 |
'lexvo_cache_expiration' => 60*24*30, |
|
158
366509ae2f37
Add controller for themes count + upgrade ember for app-client
ymh <ymh.work@gmail.com>
parents:
154
diff
changeset
|
117 |
'lexvo_max_ids' => 50, |
28 | 118 |
'lexvo_sesame_query_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_LEXVO_REPOSITORY'), |
119 |
||
133 | 120 |
'bnf_base_url' => 'http://data.bnf.fr/', |
121 |
'bnf_ark_base_url' => 'http://ark.bnf.fr/', |
|
122 |
'bnf_cache_expiration' => 60*24*30, |
|
158
366509ae2f37
Add controller for themes count + upgrade ember for app-client
ymh <ymh.work@gmail.com>
parents:
154
diff
changeset
|
123 |
'bnf_max_ids' => 5, |
133 | 124 |
'bnf_query_url' => 'http://data.bnf.fr/sparql', |
139
8d688175513a
add proxy for bnf completion and sparql request + upgrade kernel + route
ymh <ymh.work@gmail.com>
parents:
133
diff
changeset
|
125 |
'bnf_completion_url' => 'http://data.bnf.fr/search-letter/', |
133 | 126 |
|
304
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
275
diff
changeset
|
127 |
'geonames_base_url' => 'http://sws.geonames.org/', |
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
275
diff
changeset
|
128 |
'geonames_cache_expiration' => 60*24*30, |
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
275
diff
changeset
|
129 |
'geonames_max_ids' => 500, |
20071981ba2a
add location and geonames resolvers and api
ymh <ymh.work@gmail.com>
parents:
275
diff
changeset
|
130 |
|
28 | 131 |
'bo_client_environment' => [ |
132 |
"modulePrefix" => "bo-client", |
|
133 |
"podModulePrefix" => "bo-client/pods", |
|
134 |
"environment" => "production", |
|
135 |
"baseURL" => $baseUrl, |
|
136 |
"locationType" => "hash", |
|
137 |
"i18n" => ["defaultLocale" => "fr"], |
|
138 |
"EmberENV" => ["FEATURES"=>(object)[]], # to force json serialisation as object |
|
139 |
"APP" => [ |
|
140 |
"bo-doc-viaf-autocomplete" => [ |
|
141 |
"viafQueryUrl" => "http://viaf.org/viaf/AutoSuggest?query=", |
|
142 |
"viafBaseUrl" => "http://viaf.org/viaf/" |
|
143 |
], |
|
140 | 144 |
'bo-doc-bnf-autocomplete' => [ |
145 |
"bnfQueryUrl" => "${baseUrl}proxy/bnf/?term=", |
|
146 |
"bnfBaseUrl" => "http://data.bnf.fr/", |
|
147 |
"bnfSparqlUrl" => "${baseUrl}proxy/bnf-sparql" |
|
148 |
], |
|
28 | 149 |
"LOG_RESOLVER" => true, |
150 |
"LOG_ACTIVE_GENERATION" => true, |
|
151 |
"LOG_TRANSITIONS" => true, |
|
152 |
"LOG_TRANSITIONS_INTERNAL" => true, |
|
153 |
"LOG_VIEW_LOOKUPS" => true, |
|
154 |
"name" => "bo-client", |
|
155 |
"version" => "0.0.0 " |
|
156 |
], |
|
157 |
"contentSecurityPolicy" => [ |
|
158 |
"default-src" => "'none'", |
|
159 |
"script-src" => "'self'", |
|
160 |
"font-src" => "'self'", |
|
161 |
"connect-src" => "'self' *", |
|
162 |
"img-src" => "'self'", |
|
163 |
"style-src" => "'self' *", |
|
164 |
"media-src" => "'self'" |
|
165 |
], |
|
166 |
"contentSecurityPolicyHeader" => "Content-Security-Policy-Report-Only", |
|
167 |
"exportApplicationGlobal" => true |
|
153
338bcc78d431
add HandleClient implementation + configuration + tests
ymh <ymh.work@gmail.com>
parents:
143
diff
changeset
|
168 |
], |
338bcc78d431
add HandleClient implementation + configuration + tests
ymh <ymh.work@gmail.com>
parents:
143
diff
changeset
|
169 |
|
154 | 170 |
'handle_host' => env('HANDLE_HOST'), |
171 |
'handle_port' => env('HANDLE_PORT', 8000), |
|
172 |
'handle_admin_id' => env('HANDLE_ADMIN_ID'), |
|
173 |
'handle_prefix' => env('HANDLE_PREFIX'), |
|
174 |
'handle_cert_or_pkey' => env('HANDLE_CERT_OR_PKEY'), |
|
162
a6cf5a06f02d
add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents:
160
diff
changeset
|
175 |
'handle_password' => env('HANDLE_PASSWORD'), |
a6cf5a06f02d
add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents:
160
diff
changeset
|
176 |
|
a6cf5a06f02d
add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents:
160
diff
changeset
|
177 |
'transcript_default_creator' => 'Corpus de la Parole', |
163 | 178 |
'transcrit_decoder_mapping' => [ |
179 |
"http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_archive" => 'CorpusParole\Libraries\Transcript\LacitoTranscriptConverter', |
|
180 |
"http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_transcriber" => 'CorpusParole\Libraries\Transcript\TranscriberTranscriptConverter' |
|
181 |
] |
|
154 | 182 |
|
2
00e2916104fe
Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
183 |
]; |