blacklight-access_controls 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +31 -0
  3. data/.rubocop.yml +1 -4
  4. data/.rubocop_todo.yml +1 -1
  5. data/.solr_wrapper.yml +2 -0
  6. data/README.textile +3 -5
  7. data/Rakefile +2 -0
  8. data/VERSION +1 -1
  9. data/blacklight-access_controls.gemspec +4 -4
  10. data/lib/blacklight/access_controls/enforcement.rb +3 -2
  11. data/solr_conf/conf/_rest_managed.json +3 -0
  12. data/solr_conf/conf/admin-extra.html +12 -5
  13. data/solr_conf/conf/elevate.xml +1 -3
  14. data/solr_conf/conf/mapping-ISOLatin1Accent.txt +76 -76
  15. data/solr_conf/conf/schema.xml +257 -238
  16. data/solr_conf/conf/scripts.conf +24 -0
  17. data/solr_conf/conf/solrconfig.xml +104 -154
  18. data/solr_conf/conf/stopwords.txt +44 -0
  19. data/solr_conf/conf/{lang/stopwords_en.txt → stopwords_en.txt} +5 -1
  20. data/solr_conf/conf/synonyms.txt +5 -3
  21. data/solr_conf/conf/xslt/example.xsl +1 -1
  22. data/solr_conf/conf/xslt/example_atom.xsl +1 -1
  23. data/solr_conf/conf/xslt/example_rss.xsl +1 -1
  24. data/solr_conf/conf/xslt/luke.xsl +3 -3
  25. data/spec/factories/user.rb +1 -1
  26. data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -1
  27. data/spec/unit/blacklight/access_controls/search_builder_spec.rb +3 -5
  28. metadata +15 -70
  29. data/.travis.yml +0 -18
  30. data/solr_conf/conf/abc123 +0 -0
  31. data/solr_conf/conf/admin-extra.menu-bottom.html +0 -25
  32. data/solr_conf/conf/admin-extra.menu-top.html +0 -25
  33. data/solr_conf/conf/clustering/carrot2/kmeans-attributes.xml +0 -19
  34. data/solr_conf/conf/clustering/carrot2/lingo-attributes.xml +0 -24
  35. data/solr_conf/conf/clustering/carrot2/stc-attributes.xml +0 -19
  36. data/solr_conf/conf/currency.xml +0 -67
  37. data/solr_conf/conf/dataimport.properties +0 -3
  38. data/solr_conf/conf/db-data-config.xml +0 -93
  39. data/solr_conf/conf/lang/contractions_ca.txt +0 -8
  40. data/solr_conf/conf/lang/contractions_fr.txt +0 -15
  41. data/solr_conf/conf/lang/contractions_ga.txt +0 -5
  42. data/solr_conf/conf/lang/contractions_it.txt +0 -23
  43. data/solr_conf/conf/lang/hyphenations_ga.txt +0 -5
  44. data/solr_conf/conf/lang/stemdict_nl.txt +0 -6
  45. data/solr_conf/conf/lang/stoptags_ja.txt +0 -420
  46. data/solr_conf/conf/lang/stopwords_ar.txt +0 -125
  47. data/solr_conf/conf/lang/stopwords_bg.txt +0 -193
  48. data/solr_conf/conf/lang/stopwords_ca.txt +0 -220
  49. data/solr_conf/conf/lang/stopwords_ckb.txt +0 -136
  50. data/solr_conf/conf/lang/stopwords_cz.txt +0 -172
  51. data/solr_conf/conf/lang/stopwords_da.txt +0 -110
  52. data/solr_conf/conf/lang/stopwords_de.txt +0 -294
  53. data/solr_conf/conf/lang/stopwords_el.txt +0 -78
  54. data/solr_conf/conf/lang/stopwords_es.txt +0 -356
  55. data/solr_conf/conf/lang/stopwords_eu.txt +0 -99
  56. data/solr_conf/conf/lang/stopwords_fa.txt +0 -313
  57. data/solr_conf/conf/lang/stopwords_fi.txt +0 -97
  58. data/solr_conf/conf/lang/stopwords_fr.txt +0 -186
  59. data/solr_conf/conf/lang/stopwords_ga.txt +0 -110
  60. data/solr_conf/conf/lang/stopwords_gl.txt +0 -161
  61. data/solr_conf/conf/lang/stopwords_hi.txt +0 -235
  62. data/solr_conf/conf/lang/stopwords_hu.txt +0 -211
  63. data/solr_conf/conf/lang/stopwords_hy.txt +0 -46
  64. data/solr_conf/conf/lang/stopwords_id.txt +0 -359
  65. data/solr_conf/conf/lang/stopwords_it.txt +0 -303
  66. data/solr_conf/conf/lang/stopwords_ja.txt +0 -127
  67. data/solr_conf/conf/lang/stopwords_lv.txt +0 -172
  68. data/solr_conf/conf/lang/stopwords_nl.txt +0 -119
  69. data/solr_conf/conf/lang/stopwords_no.txt +0 -194
  70. data/solr_conf/conf/lang/stopwords_pt.txt +0 -253
  71. data/solr_conf/conf/lang/stopwords_ro.txt +0 -233
  72. data/solr_conf/conf/lang/stopwords_ru.txt +0 -243
  73. data/solr_conf/conf/lang/stopwords_sv.txt +0 -133
  74. data/solr_conf/conf/lang/stopwords_th.txt +0 -119
  75. data/solr_conf/conf/lang/stopwords_tr.txt +0 -212
  76. data/solr_conf/conf/lang/userdict_ja.txt +0 -29
  77. data/solr_conf/conf/mapping-FoldToASCII.txt +0 -3813
  78. data/solr_conf/conf/solrconfig.adams.xml +0 -1903
  79. data/solr_conf/conf/solrconfig.old.xml +0 -1634
  80. data/solr_conf/conf/solrconfig.xml.orig +0 -3531
  81. data/solr_conf/conf/update-script.js +0 -53
  82. data/solr_conf/conf/xslt/updateXml.xsl +0 -70
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-access_controls
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  - Justin Coyne
9
9
  - Matt Zumwalt
10
10
  - Valerie Maher
11
- autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2019-02-20 00:00:00.000000000 Z
13
+ date: 1980-01-02 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: blacklight
@@ -22,7 +21,7 @@ dependencies:
22
21
  version: '6.0'
23
22
  - - "<"
24
23
  - !ruby/object:Gem::Version
25
- version: '8'
24
+ version: '9'
26
25
  type: :runtime
27
26
  prerelease: false
28
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -32,19 +31,19 @@ dependencies:
32
31
  version: '6.0'
33
32
  - - "<"
34
33
  - !ruby/object:Gem::Version
35
- version: '8'
34
+ version: '9'
36
35
  - !ruby/object:Gem::Dependency
37
36
  name: cancancan
38
37
  requirement: !ruby/object:Gem::Requirement
39
38
  requirements:
40
- - - "~>"
39
+ - - ">="
41
40
  - !ruby/object:Gem::Version
42
41
  version: '1.8'
43
42
  type: :runtime
44
43
  prerelease: false
45
44
  version_requirements: !ruby/object:Gem::Requirement
46
45
  requirements:
47
- - - "~>"
46
+ - - ">="
48
47
  - !ruby/object:Gem::Version
49
48
  version: '1.8'
50
49
  - !ruby/object:Gem::Dependency
@@ -93,14 +92,14 @@ dependencies:
93
92
  name: factory_bot_rails
94
93
  requirement: !ruby/object:Gem::Requirement
95
94
  requirements:
96
- - - "~>"
95
+ - - ">="
97
96
  - !ruby/object:Gem::Version
98
97
  version: '4.8'
99
98
  type: :development
100
99
  prerelease: false
101
100
  version_requirements: !ruby/object:Gem::Requirement
102
101
  requirements:
103
- - - "~>"
102
+ - - ">="
104
103
  - !ruby/object:Gem::Version
105
104
  version: '4.8'
106
105
  - !ruby/object:Gem::Dependency
@@ -137,14 +136,14 @@ dependencies:
137
136
  requirements:
138
137
  - - "~>"
139
138
  - !ruby/object:Gem::Version
140
- version: 0.52.1
139
+ version: '1.29'
141
140
  type: :development
142
141
  prerelease: false
143
142
  version_requirements: !ruby/object:Gem::Requirement
144
143
  requirements:
145
144
  - - "~>"
146
145
  - !ruby/object:Gem::Version
147
- version: 0.52.1
146
+ version: '1.29'
148
147
  - !ruby/object:Gem::Dependency
149
148
  name: rubocop-rspec
150
149
  requirement: !ruby/object:Gem::Requirement
@@ -180,12 +179,12 @@ executables: []
180
179
  extensions: []
181
180
  extra_rdoc_files: []
182
181
  files:
182
+ - ".github/workflows/main.yml"
183
183
  - ".gitignore"
184
184
  - ".rspec"
185
185
  - ".rubocop.yml"
186
186
  - ".rubocop_todo.yml"
187
187
  - ".solr_wrapper.yml"
188
- - ".travis.yml"
189
188
  - Gemfile
190
189
  - README.textile
191
190
  - Rakefile
@@ -204,73 +203,22 @@ files:
204
203
  - lib/generators/blacklight/ability.rb
205
204
  - lib/generators/blacklight/access_controls_generator.rb
206
205
  - lib/generators/blacklight/blacklight_access_controls.rb
207
- - solr_conf/conf/abc123
206
+ - solr_conf/conf/_rest_managed.json
208
207
  - solr_conf/conf/admin-extra.html
209
- - solr_conf/conf/admin-extra.menu-bottom.html
210
- - solr_conf/conf/admin-extra.menu-top.html
211
- - solr_conf/conf/clustering/carrot2/kmeans-attributes.xml
212
- - solr_conf/conf/clustering/carrot2/lingo-attributes.xml
213
- - solr_conf/conf/clustering/carrot2/stc-attributes.xml
214
- - solr_conf/conf/currency.xml
215
- - solr_conf/conf/dataimport.properties
216
- - solr_conf/conf/db-data-config.xml
217
208
  - solr_conf/conf/elevate.xml
218
- - solr_conf/conf/lang/contractions_ca.txt
219
- - solr_conf/conf/lang/contractions_fr.txt
220
- - solr_conf/conf/lang/contractions_ga.txt
221
- - solr_conf/conf/lang/contractions_it.txt
222
- - solr_conf/conf/lang/hyphenations_ga.txt
223
- - solr_conf/conf/lang/stemdict_nl.txt
224
- - solr_conf/conf/lang/stoptags_ja.txt
225
- - solr_conf/conf/lang/stopwords_ar.txt
226
- - solr_conf/conf/lang/stopwords_bg.txt
227
- - solr_conf/conf/lang/stopwords_ca.txt
228
- - solr_conf/conf/lang/stopwords_ckb.txt
229
- - solr_conf/conf/lang/stopwords_cz.txt
230
- - solr_conf/conf/lang/stopwords_da.txt
231
- - solr_conf/conf/lang/stopwords_de.txt
232
- - solr_conf/conf/lang/stopwords_el.txt
233
- - solr_conf/conf/lang/stopwords_en.txt
234
- - solr_conf/conf/lang/stopwords_es.txt
235
- - solr_conf/conf/lang/stopwords_eu.txt
236
- - solr_conf/conf/lang/stopwords_fa.txt
237
- - solr_conf/conf/lang/stopwords_fi.txt
238
- - solr_conf/conf/lang/stopwords_fr.txt
239
- - solr_conf/conf/lang/stopwords_ga.txt
240
- - solr_conf/conf/lang/stopwords_gl.txt
241
- - solr_conf/conf/lang/stopwords_hi.txt
242
- - solr_conf/conf/lang/stopwords_hu.txt
243
- - solr_conf/conf/lang/stopwords_hy.txt
244
- - solr_conf/conf/lang/stopwords_id.txt
245
- - solr_conf/conf/lang/stopwords_it.txt
246
- - solr_conf/conf/lang/stopwords_ja.txt
247
- - solr_conf/conf/lang/stopwords_lv.txt
248
- - solr_conf/conf/lang/stopwords_nl.txt
249
- - solr_conf/conf/lang/stopwords_no.txt
250
- - solr_conf/conf/lang/stopwords_pt.txt
251
- - solr_conf/conf/lang/stopwords_ro.txt
252
- - solr_conf/conf/lang/stopwords_ru.txt
253
- - solr_conf/conf/lang/stopwords_sv.txt
254
- - solr_conf/conf/lang/stopwords_th.txt
255
- - solr_conf/conf/lang/stopwords_tr.txt
256
- - solr_conf/conf/lang/userdict_ja.txt
257
- - solr_conf/conf/mapping-FoldToASCII.txt
258
209
  - solr_conf/conf/mapping-ISOLatin1Accent.txt
259
210
  - solr_conf/conf/protwords.txt
260
211
  - solr_conf/conf/schema.xml
261
- - solr_conf/conf/solrconfig.adams.xml
262
- - solr_conf/conf/solrconfig.old.xml
212
+ - solr_conf/conf/scripts.conf
263
213
  - solr_conf/conf/solrconfig.xml
264
- - solr_conf/conf/solrconfig.xml.orig
265
214
  - solr_conf/conf/spellings.txt
266
215
  - solr_conf/conf/stopwords.txt
216
+ - solr_conf/conf/stopwords_en.txt
267
217
  - solr_conf/conf/synonyms.txt
268
- - solr_conf/conf/update-script.js
269
218
  - solr_conf/conf/xslt/example.xsl
270
219
  - solr_conf/conf/xslt/example_atom.xsl
271
220
  - solr_conf/conf/xslt/example_rss.xsl
272
221
  - solr_conf/conf/xslt/luke.xsl
273
- - solr_conf/conf/xslt/updateXml.xsl
274
222
  - spec/factories/user.rb
275
223
  - spec/spec_helper.rb
276
224
  - spec/support/solr_support.rb
@@ -285,7 +233,6 @@ homepage: https://github.com/projectblacklight/blacklight-access_controls
285
233
  licenses:
286
234
  - APACHE2
287
235
  metadata: {}
288
- post_install_message:
289
236
  rdoc_options: []
290
237
  require_paths:
291
238
  - lib
@@ -300,9 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
247
  - !ruby/object:Gem::Version
301
248
  version: '0'
302
249
  requirements: []
303
- rubyforge_project:
304
- rubygems_version: 2.7.6
305
- signing_key:
250
+ rubygems_version: 3.6.9
306
251
  specification_version: 4
307
252
  summary: Access controls for blacklight-based applications
308
253
  test_files:
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- language: ruby
2
- sudo: false
3
-
4
- notifications:
5
- email: false
6
-
7
- rvm:
8
- - 2.5.1
9
-
10
- env:
11
- - "BLACKLIGHT_VERSION='~>7.0' RAILS_VERSION=5.2.2"
12
- - "BLACKLIGHT_VERSION='~>6.0' RAILS_VERSION=5.2.2"
13
- - "RAILS_VERSION=5.1.6"
14
-
15
- global_env:
16
- - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
17
- before_script:
18
- - jdk_switcher use oraclejdk8
File without changes
@@ -1,25 +0,0 @@
1
- <!--
2
- Licensed to the Apache Software Foundation (ASF) under one or more
3
- contributor license agreements. See the NOTICE file distributed with
4
- this work for additional information regarding copyright ownership.
5
- The ASF licenses this file to You under the Apache License, Version 2.0
6
- (the "License"); you may not use this file except in compliance with
7
- the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
- distributed under the License is distributed on an "AS IS" BASIS,
13
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- See the License for the specific language governing permissions and
15
- limitations under the License.
16
- -->
17
-
18
- <!-- admin-extra.menu-bottom.html -->
19
- <!--
20
- <li>
21
- <a href="#" style="background-image: url(img/ico/construction.png);">
22
- LAST ITEM
23
- </a>
24
- </li>
25
- -->
@@ -1,25 +0,0 @@
1
- <!--
2
- Licensed to the Apache Software Foundation (ASF) under one or more
3
- contributor license agreements. See the NOTICE file distributed with
4
- this work for additional information regarding copyright ownership.
5
- The ASF licenses this file to You under the Apache License, Version 2.0
6
- (the "License"); you may not use this file except in compliance with
7
- the License. You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
- distributed under the License is distributed on an "AS IS" BASIS,
13
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- See the License for the specific language governing permissions and
15
- limitations under the License.
16
- -->
17
-
18
- <!-- admin-extra.menu-top.html -->
19
- <!--
20
- <li>
21
- <a href="#" style="background-image: url(img/ico/construction.png);">
22
- FIRST ITEM
23
- </a>
24
- </li>
25
- -->
@@ -1,19 +0,0 @@
1
- <!--
2
- Default configuration for the bisecting k-means clustering algorithm.
3
-
4
- This file can be loaded (and saved) by Carrot2 Workbench.
5
- http://project.carrot2.org/download.html
6
- -->
7
- <attribute-sets default="attributes">
8
- <attribute-set id="attributes">
9
- <value-set>
10
- <label>attributes</label>
11
- <attribute key="MultilingualClustering.defaultLanguage">
12
- <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/>
13
- </attribute>
14
- <attribute key="MultilingualClustering.languageAggregationStrategy">
15
- <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/>
16
- </attribute>
17
- </value-set>
18
- </attribute-set>
19
- </attribute-sets>
@@ -1,24 +0,0 @@
1
- <!--
2
- Default configuration for the Lingo clustering algorithm.
3
-
4
- This file can be loaded (and saved) by Carrot2 Workbench.
5
- http://project.carrot2.org/download.html
6
- -->
7
- <attribute-sets default="attributes">
8
- <attribute-set id="attributes">
9
- <value-set>
10
- <label>attributes</label>
11
- <!--
12
- The language to assume for clustered documents.
13
- For a list of allowed values, see:
14
- http://download.carrot2.org/stable/manual/#section.attribute.lingo.MultilingualClustering.defaultLanguage
15
- -->
16
- <attribute key="MultilingualClustering.defaultLanguage">
17
- <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/>
18
- </attribute>
19
- <attribute key="LingoClusteringAlgorithm.desiredClusterCountBase">
20
- <value type="java.lang.Integer" value="20"/>
21
- </attribute>
22
- </value-set>
23
- </attribute-set>
24
- </attribute-sets>
@@ -1,19 +0,0 @@
1
- <!--
2
- Default configuration for the STC clustering algorithm.
3
-
4
- This file can be loaded (and saved) by Carrot2 Workbench.
5
- http://project.carrot2.org/download.html
6
- -->
7
- <attribute-sets default="attributes">
8
- <attribute-set id="attributes">
9
- <value-set>
10
- <label>attributes</label>
11
- <attribute key="MultilingualClustering.defaultLanguage">
12
- <value type="org.carrot2.core.LanguageCode" value="ENGLISH"/>
13
- </attribute>
14
- <attribute key="MultilingualClustering.languageAggregationStrategy">
15
- <value type="org.carrot2.text.clustering.MultilingualClustering$LanguageAggregationStrategy" value="FLATTEN_MAJOR_LANGUAGE"/>
16
- </attribute>
17
- </value-set>
18
- </attribute-set>
19
- </attribute-sets>
@@ -1,67 +0,0 @@
1
- <?xml version="1.0" ?>
2
- <!--
3
- Licensed to the Apache Software Foundation (ASF) under one or more
4
- contributor license agreements. See the NOTICE file distributed with
5
- this work for additional information regarding copyright ownership.
6
- The ASF licenses this file to You under the Apache License, Version 2.0
7
- (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
-
10
- http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- Unless required by applicable law or agreed to in writing, software
13
- distributed under the License is distributed on an "AS IS" BASIS,
14
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- See the License for the specific language governing permissions and
16
- limitations under the License.
17
- -->
18
-
19
- <!-- Example exchange rates file for CurrencyField type named "currency" in example schema -->
20
-
21
- <currencyConfig version="1.0">
22
- <rates>
23
- <!-- Updated from http://www.exchangerate.com/ at 2011-09-27 -->
24
- <rate from="USD" to="ARS" rate="4.333871" comment="ARGENTINA Peso" />
25
- <rate from="USD" to="AUD" rate="1.025768" comment="AUSTRALIA Dollar" />
26
- <rate from="USD" to="EUR" rate="0.743676" comment="European Euro" />
27
- <rate from="USD" to="BRL" rate="1.881093" comment="BRAZIL Real" />
28
- <rate from="USD" to="CAD" rate="1.030815" comment="CANADA Dollar" />
29
- <rate from="USD" to="CLP" rate="519.0996" comment="CHILE Peso" />
30
- <rate from="USD" to="CNY" rate="6.387310" comment="CHINA Yuan" />
31
- <rate from="USD" to="CZK" rate="18.47134" comment="CZECH REP. Koruna" />
32
- <rate from="USD" to="DKK" rate="5.515436" comment="DENMARK Krone" />
33
- <rate from="USD" to="HKD" rate="7.801922" comment="HONG KONG Dollar" />
34
- <rate from="USD" to="HUF" rate="215.6169" comment="HUNGARY Forint" />
35
- <rate from="USD" to="ISK" rate="118.1280" comment="ICELAND Krona" />
36
- <rate from="USD" to="INR" rate="49.49088" comment="INDIA Rupee" />
37
- <rate from="USD" to="XDR" rate="0.641358" comment="INTNL MON. FUND SDR" />
38
- <rate from="USD" to="ILS" rate="3.709739" comment="ISRAEL Sheqel" />
39
- <rate from="USD" to="JPY" rate="76.32419" comment="JAPAN Yen" />
40
- <rate from="USD" to="KRW" rate="1169.173" comment="KOREA (SOUTH) Won" />
41
- <rate from="USD" to="KWD" rate="0.275142" comment="KUWAIT Dinar" />
42
- <rate from="USD" to="MXN" rate="13.85895" comment="MEXICO Peso" />
43
- <rate from="USD" to="NZD" rate="1.285159" comment="NEW ZEALAND Dollar" />
44
- <rate from="USD" to="NOK" rate="5.859035" comment="NORWAY Krone" />
45
- <rate from="USD" to="PKR" rate="87.57007" comment="PAKISTAN Rupee" />
46
- <rate from="USD" to="PEN" rate="2.730683" comment="PERU Sol" />
47
- <rate from="USD" to="PHP" rate="43.62039" comment="PHILIPPINES Peso" />
48
- <rate from="USD" to="PLN" rate="3.310139" comment="POLAND Zloty" />
49
- <rate from="USD" to="RON" rate="3.100932" comment="ROMANIA Leu" />
50
- <rate from="USD" to="RUB" rate="32.14663" comment="RUSSIA Ruble" />
51
- <rate from="USD" to="SAR" rate="3.750465" comment="SAUDI ARABIA Riyal" />
52
- <rate from="USD" to="SGD" rate="1.299352" comment="SINGAPORE Dollar" />
53
- <rate from="USD" to="ZAR" rate="8.329761" comment="SOUTH AFRICA Rand" />
54
- <rate from="USD" to="SEK" rate="6.883442" comment="SWEDEN Krona" />
55
- <rate from="USD" to="CHF" rate="0.906035" comment="SWITZERLAND Franc" />
56
- <rate from="USD" to="TWD" rate="30.40283" comment="TAIWAN Dollar" />
57
- <rate from="USD" to="THB" rate="30.89487" comment="THAILAND Baht" />
58
- <rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" />
59
- <rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" />
60
- <rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" />
61
-
62
- <!-- Cross-rates for some common currencies -->
63
- <rate from="EUR" to="GBP" rate="0.869914" />
64
- <rate from="EUR" to="NOK" rate="7.800095" />
65
- <rate from="GBP" to="NOK" rate="8.966508" />
66
- </rates>
67
- </currencyConfig>
@@ -1,3 +0,0 @@
1
- #Wed Nov 11 13:59:16 UTC 2015
2
- last_index_time=2015-11-11 13\:53\:48
3
- submission.last_index_time=2015-11-11 13\:53\:48
@@ -1,93 +0,0 @@
1
- <dataConfig>
2
- <dataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://<host>/<database>" user="<user>" password="<password>" />
3
- <document>
4
- <entity name="submission"
5
- query="select * from submissions where status = 'released for publication'"
6
- deltaImportQuery="select * from submissions where id='${dih.delta.id}' and status = 'released for publication'"
7
- deltaQuery="select id from submissions where updated_at > '${dataimporter.last_index_time}' and status = 'released for publication'">
8
- <field name="access_level_ss" column="access_level" />
9
- <field name="semester_ssi" column="semester" />
10
- <field name="year_isi" column="year" />
11
- <field name="title_ssi" column="title" />
12
- <field name="abstract_tesi" column="abstract" />
13
- <field name="defended_at_dtsi" column="defended_at" />
14
-
15
-
16
- <entity name="final_submission_file" query="select * from final_submission_files where submission_id='${submission.id}'"
17
- deltaQuery="select * from final_submission_files where updated_at > '${dataimporter.last_index_time}'"
18
- parentDeltaQuery="select id from submissions where id=${final_submission_file.submission_id}">
19
- <field column="asset" name="file_name_ssim" />
20
- </entity>
21
-
22
- <entity name="author" query="select id, first_name, last_name, middle_name from authors where id=${submission.author_id}"
23
- deltaQuery="select * from authors where updated_at > '${dataimporter.last_index_time}'"
24
- parentDeltaQuery="select id from submissions where author_id=${author.id}">
25
- <field column="first_name" name="first_name_ssi" />
26
- <field column="last_name" name="last_name_ssi" />
27
- <field column="middle_name" name="middle_name_ssi" />
28
- <field column="psu_email_address" name="email_ssi" />
29
- </entity>
30
-
31
- <entity name="degree" query="select id, name, description, degree_type_id from degrees where id=${submission.degree_id}"
32
- deltaQuery="select * from degrees where updated_at > '${dataimporter.last_index_time}'"
33
- parentDeltaQuery="select id from submissions where degree_id=${degree.id}">
34
- <field column="name" name="degree_name_ssi" />
35
- <field column="description" name="degree_description_ssi" />
36
-
37
- <entity name="degree_type" query="select id, name from degree_types where id=${degree.degree_type_id}" >
38
- <field column="name" name="degree_type_ssi" />
39
- <field column="name" name="degree_type_slug_ssi" />
40
- </entity>
41
- </entity>
42
-
43
- <entity name="program" query="select id, name from programs where id=${submission.program_id}"
44
- deltaQuery="select * from programs where updated_at > '${dataimporter.last_index_time}'"
45
- parentDeltaQuery="select id from submissions where program_id=${program.id}">
46
- <field column="name" name="program_name_ssi" />
47
- </entity>
48
-
49
- <entity name="committee_member" query="select id, name, committee_role_id, email from committee_members where submission_id=${submission.id}"
50
- deltaQuery="select * from committee_members where updated_at > '${dataimporter.last_index_time}'"
51
- parentDeltaQuery="select id from submissions where id=${committee_member.submission_id}">
52
- <field column="name" name="committee_member_name_ssim" />
53
- <field column="email" name="committee_member_email_ssim" />
54
- <entity name="committee_role" query="select id, name from committee_roles where id=${committee_member.committee_role_id}" >
55
- <field column="name" name="committee_member_role_ssim" />
56
- </entity>
57
-
58
- </entity>
59
-
60
- <entity name="keyword" query="select id, word from keywords where submission_id=${submission.id}"
61
- deltaQuery="select * from keywords where updated_at > '${dataimporter.last_index_time}'"
62
- parentDeltaQuery="select id from submissions where id=${keyword.submission_id}">
63
- <field column="word" name="keyword_ssim" />
64
- </entity>
65
-
66
- <!--<entity name="program" query="select id, name from programs where id=${submission.program_id}"-->
67
- <!--deltaQuery="select * from programs where updated_at > '${dataimporter.last_index_time}'"-->
68
- <!--parentDeltaQuery="select ID from submissions where id=${program.id}">-->
69
- <!--<field column="name" name="program_name_ssi" />-->
70
- <!--</entity>-->
71
-
72
- <!--<entity name="feature"-->
73
- <!--query="select DESCRIPTION from FEATURE where ITEM_ID='${item.ID}'"-->
74
- <!--deltaQuery="select ITEM_ID from FEATURE where last_modified > '${dataimporter.last_index_time}'"-->
75
- <!--parentDeltaQuery="select ID from item where ID=${feature.ITEM_ID}">-->
76
- <!--<field name="features" column="DESCRIPTION" />-->
77
- <!--</entity>-->
78
-
79
- <!--<entity name="item_category"-->
80
- <!--query="select CATEGORY_ID from item_category where ITEM_ID='${item.ID}'"-->
81
- <!--deltaQuery="select ITEM_ID, CATEGORY_ID from item_category where last_modified > '${dataimporter.last_index_time}'"-->
82
- <!--parentDeltaQuery="select ID from item where ID=${item_category.ITEM_ID}">-->
83
- <!--<entity name="category"-->
84
- <!--query="select DESCRIPTION from category where ID = '${item_category.CATEGORY_ID}'"-->
85
- <!--deltaQuery="select ID from category where last_modified > '${dataimporter.last_index_time}'"-->
86
- <!--parentDeltaQuery="select ITEM_ID, CATEGORY_ID from item_category where CATEGORY_ID=${category.ID}">-->
87
- <!--<field column="DESCRIPTION" name="cat" />-->
88
- <!--</entity>-->
89
- <!--</entity>-->
90
- </entity>
91
- </document>
92
- </dataConfig>
93
-
@@ -1,8 +0,0 @@
1
- # Set of Catalan contractions for ElisionFilter
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- d
4
- l
5
- m
6
- n
7
- s
8
- t
@@ -1,15 +0,0 @@
1
- # Set of French contractions for ElisionFilter
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- l
4
- m
5
- t
6
- qu
7
- n
8
- s
9
- j
10
- d
11
- c
12
- jusqu
13
- quoiqu
14
- lorsqu
15
- puisqu
@@ -1,5 +0,0 @@
1
- # Set of Irish contractions for ElisionFilter
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- d
4
- m
5
- b
@@ -1,23 +0,0 @@
1
- # Set of Italian contractions for ElisionFilter
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- c
4
- l
5
- all
6
- dall
7
- dell
8
- nell
9
- sull
10
- coll
11
- pell
12
- gl
13
- agl
14
- dagl
15
- degl
16
- negl
17
- sugl
18
- un
19
- m
20
- t
21
- s
22
- v
23
- d
@@ -1,5 +0,0 @@
1
- # Set of Irish hyphenations for StopFilter
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- h
4
- n
5
- t
@@ -1,6 +0,0 @@
1
- # Set of overrides for the dutch stemmer
2
- # TODO: load this as a resource from the analyzer and sync it in build.xml
3
- fiets fiets
4
- bromfiets bromfiets
5
- ei eier
6
- kind kinder