Commit graph

322 commits

Author SHA1 Message Date
Georgy Litvinov
dae6a808b6 Added check if provided path is directory 2023-03-03 14:48:35 +01:00
Dragan Ivanovic
98f2de3c04
Merge pull request #373 from TAMULib/3821-map_of_science_properties
VIVO 3821: Add configuration to disable or enable Map of Science visualization.
2023-02-28 15:13:14 +01:00
Kevin Day
774bbacc36
VIVO 3821: Add configuration to disable or enable Map of Science visualization. 2023-02-27 09:21:48 -06:00
Dragan Ivanovic
4d60cd9de1
Merge pull request #367 from TAMULib/3751-remove_icu
VIVO-3751: Remove ICU4J dependency.
2023-02-27 15:28:55 +01:00
Kevin Day
5ec99a2204
Issue 3751: Remove ICU4J dependency.
This is only used in a handful of places.
The core java libraries provide the same functionality but with a less exchaustive locale database.

The IBM ICU is more up to date than the Java version but is otherwise identical.

see: https://unicode-org.github.io/icu/userguide/icu4j/#introduction-to-icu4j
2023-02-22 10:17:20 -06:00
Georgy Litvinov
99cbda4727 raised password length limit to 64 characters 2023-02-22 08:31:36 +01:00
Dragan Ivanovic
15cb4d7467
Merge pull request #365 from TAMULib/issue-3767
[Issue 3767] Replacement of language comparisons using '=' by the 'langMatches' (without whitespace changes)
2023-02-17 14:01:45 +01:00
William Welling
a1de03f2f5 Use SPARQL template and context map to substitute langCtx 2023-02-14 11:34:59 -06:00
Dragan Ivanovic
48c88d3d3e
Merge pull request #355 from vivo-project/i18n-redesign
I18n redesign
2023-02-13 14:08:01 +01:00
William Welling
108fdbf66b Undo whitespace changes 2023-02-09 11:19:01 -06:00
4ce6dc2f8c
fix creation of faux property with xml literal range value (#363)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-02-09 16:25:36 +01:00
8b2e150e32
use qualified by root in faux property to provide into FauxObjectPropertyWrapper (#360)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-02-02 14:24:10 +01:00
2873bba81d
fixed faux property display order (#359)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-01-24 14:21:46 +02:00
7dabc6b2ab
fixed check for redundant possible object properties (#358)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-01-24 14:09:57 +02:00
a7215cc932
fix for faux data property ranges (#357)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-01-24 13:54:31 +02:00
7d84e61003
Merge pull request #356 from chenejac/3393_parametersWithApostrophie
support for combining parameters and apostrophe
2022-12-22 13:49:00 +01:00
a0a1a6664b
Faux data properties and fixes for current faux properties view (#352)
* Faux data properties

* Use not disjointed classes for faux properties domain and range options

* Fix faux object property shadowing real property
List faux data properties
List faux properties which base properties domain don't match current subject

* Write exception to log in VClassDaoJena

* filter faux properties returned in possiblePropInstForIndividual

* safety checks added

* extracted getBaseLabel method, fixed base labels for data properties

* fix for prev commit

* Formatting fixes

* More formatting fixes

* More formatting fixes

* More formatting fixes

* More formatting fixes

* More formatting fixes

Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2022-12-16 11:40:49 +01:00
Dragan Ivanovic
fce6dc6f78 reorganization of the code - extraction of a method for preprocessing input strings for MethodFormat.format method 2022-12-16 11:40:10 +01:00
Dragan Ivanovic
311744ef64 support for combining parameters and apostrophe 2022-12-16 10:16:34 +01:00
Dragan Ivanovic
ae2509837e adding curly braces for all if statements 2022-12-13 14:37:23 +01:00
Dragan Ivanovic
6312b966f2 adding support for private subtags in the language tags, replacement of toString() method with toLanguageTag() method, adding checks for locale.stripExtensions() where it was neccessary, adding information about private tag in the drop down selection of a UI language 2022-12-13 11:37:56 +01:00
Dragan Ivanovic
62cbcca8dc support for private subtag (x) 2022-12-13 11:37:56 +01:00
81e12cc492
fixes for language filtering to support private-use subtags (#330) 2022-12-08 11:18:08 +01:00
Dragan Ivanovic
3f03ddfd1f adding English as default language 2022-12-06 11:26:35 +01:00
Dragan Ivanovic
b8ddb05937 property files not mandatory anymore, message kept as info instead of warning 2022-11-28 08:43:56 +01:00
020b9385f8
Model operations performance improvements (#347)
* created RDFServiceBulkUnionUpdater

* fix and indents

* use bulk updater for RDFServiceGraph in blankNodeFilteringGraph

* use removeAll to optimize removal all triples from TDB modeles

* avoid additional serialization/deserialization cycle of removing model chunk

* fixed VitroModelFactory tests

* fixes for BulkUpdating models

* Created custom ModelCom, OntModelImpl, BulkGraphMem to avoid triple by triple transactions on add/remove model
Load n3 files from home directory into in-memory model to use bulk
loading.

* refact: simplified BulkGraphMem checks

* removed unused import
2022-11-25 19:47:21 +02:00
9e3a3f7451
[i18b sprint] 3760 translations loading (#341)
* renamed I18nBundle

* added I18nBundle interface

* Added translation provider

* prototype of TranslationConverter

* convert all properties

* fixes

* added caching

* Removed obsolete code

* Improved logging

* fixed getting already existing label

* Fix to get RDF Service for configuration models

* fix translation request query

* added INTERFACE_I18N_FIRSTTIME_BACKUP model

* converter test added

* formatting fixes

* Translation provider tests added

* cleanups, added cache test for translation provider

* fix: get theme info from web app dao factory as sparql queries on both content and configuration models not supported
2022-11-25 16:25:58 +02:00
4acb10fc3f
remove only langtag literals (#349) 2022-11-23 09:38:27 +01:00
57d93285ff
fix: removed 'other' hack from forms (#328) 2022-11-15 20:33:01 +01:00
403cd6507a
[ i18n sprint ] Decouple email templates and translations (#334)
* Decouple email templates and translations

* provide siteName variable to error templates
2022-11-08 11:35:41 +01:00
michel-heon
542d1c30ef Replacement of language comparisons using '=' by the 'langMatches'
function
2022-10-28 15:53:25 +00:00
7857968f2c
remove terms of use controller 2022-10-12 13:02:12 +02:00
chenejac
95467b2818 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:17:21 +02:00
chenejac
4b24a11a6c [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:14:52 +02:00
chenejac
7a94922d48 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:10:01 +02:00
chenejac
85dad20927 [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:10:01 +02:00
chenejac
27c8b16290 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:10:01 +02:00
chenejac
afe45a99db [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:10:01 +02:00
chenejac
a8a5c5a5e8 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:06:41 +02:00
chenejac
2e029ee9fb [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:06:41 +02:00
chenejac
b802e2eb82 rebasing for new release candidate 2022-08-26 16:06:40 +02:00
chenejac
f0c4d27268 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:06:40 +02:00
chenejac
34ab29a08e [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:06:40 +02:00
chenejac
aa8124df17 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:06:40 +02:00
chenejac
7bf136fdbe [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:06:40 +02:00
chenejac
325b9a3fe9 [maven-scm-plugin] prepare development vitro-1.13.1-SNAPSHOT 2022-08-26 16:06:40 +02:00
chenejac
228dda822f [maven-scm-plugin] prepare release vitro-1.13.0 2022-08-26 16:06:40 +02:00
Dragan Ivanovic
3df2fbe5fc
fixing the issue with type of match property (changed from string to boolean) (#325) 2022-08-25 16:32:11 +02:00
df3c4a88ae
Issue/vivo 3606 : add language-specific sorting and label fields to search index (#321)
* Add select query document modifier with dynamic target field; use locale-specific sort fields when available.

* Add i18nized labels to index for autocomplete

* Remove lowercasing from label query

* Improved document modifier for multilingual field with defined suffix name

* Improved document modifier for multilingual field with defined suffix name

* refact: reverted access modifier changes

* Lowercase label in documentModifierI18nSort in case old solr schema is used which doesn't have lowercase filter

* fix: fixed queries and locale names

* fix: renamed new document modifier

* fix: use linkedHashMap to retain map sort fields order

* refact: extracted buildAndExecuteVClassQuery(List<String> classUris, int page, int pageSize, String alpha, VitroRequest vreq)

* fix: removed unused import

* fix: constant name aligned with other suffix

Co-authored-by: Brian Lowe <brian@ontocale.com>
2022-08-23 16:23:43 +02:00
6ad364f9ee
fix: VIVO-3738 use language specific webapp dao factory (#324)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2022-08-19 15:13:45 +03:00