Commit graph

337 commits

Author SHA1 Message Date
6b7092a4d5 Added custom search controller
Cleaned custom search controller

Autoselect hits per page from query.

Moved template change to VIVO branch

Split search services
2023-09-23 16:02:02 +02:00
bc10e79f92 Antisamy policy fixes
Allow table tags in TinyMCE
2023-09-23 16:02:02 +02:00
chenejac
df81457ea4 [maven-scm-plugin] prepare release vitro-1.14.1-SNAPSHOT 2023-06-23 16:37:09 +02:00
chenejac
0359082ad9 [maven-scm-plugin] prepare release vitro-1.14.0 2023-06-23 16:36:52 +02:00
0e984ebb74
Avoid lock on graph uri update (VIVO-3885) (#395)
* Avoid lock on graph uri update

* Run in VitroBackground named thread. Avoid creating threads if a thread to update graph uris has been already created.

---------

Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-06-16 13:53:04 +02:00
Brian Lowe
fb9d86a57d
Use same logic to remove blank nodes from reasoner's internal model as used in RDFService (#397)
* Refactor blank-nodes-as-variables behavior from RDFServiceJena to JenaModelUtils; use this logic when removing triples from the TBox reasoner's internal assertions model.  Add unit test.

* Remove complication of datasets and remove blank nodes directly from models

* Remove temporary debugging logging

* Simplify original blank node tree logic

* Remove unneeded imports
2023-06-15 12:55:23 +02:00
a5a7e640d2
Fix for VIVO-3871 (#393)
* Fallback to default graph in bulk ontology model update

* test added

---------

Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-06-06 15:07:19 +03:00
Dragan Ivanovic
f19d0a08c2
Revert "don't create add url if neither of 'select from existing' nor 'provide selection' options set (#385)" (#389)
This reverts commit 6c9e21544a.
2023-05-23 10:49:57 +02:00
Brian Lowe
a22aa37394
Change PropertyKey class name and namespace (#386)
* Change PropertyKey class name and namespace

* Fix prefix/namespace error found in code review.
2023-05-08 14:25:46 +02:00
Brian Lowe
c527de5ad8
Handle preferred language when creating new class and property groups (#383)
* Handle preferred language when creating new class and property groups

* Convert tabs to spaces in affected lines.
2023-05-01 09:52:11 +02:00
Brian Lowe
dec725a022
Propagate selectFromExisting and offerCreateNew settings from base ob… (#384)
* Propagate selectFromExisting and offerCreateNew settings from base object property to new faux property.

* Match tab usage of existing file.
2023-04-27 16:41:02 +02:00
6c9e21544a
don't create add url if neither of 'select from existing' nor 'provide selection' options set (#385)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-04-27 16:40:43 +02:00
Dragan Ivanovic
c0b48511e2
Merge pull request #375 from litvinovg/translation_converter_fix
Check if provided path is directory in translation converter
2023-03-06 14:42:56 +01:00
b9e4e792d3
removed tab 2023-03-03 17:39:33 +01:00
Georgy Litvinov
67c0421bea Avoid writing the whole model into debug log 2023-03-03 17:28:33 +01:00
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