Commit graph

5327 commits

Author SHA1 Message Date
4d0922a448 Copied wilma 2023-09-23 16:02:02 +02:00
c869f45b74 Issue template added 2023-09-23 16:02:02 +02:00
7cff47c46b Modified ontology 2023-09-23 16:02:02 +02:00
f41f50fad3 Modifications for fixed ontology 2023-09-23 16:02:02 +02:00
d7e36b6f6b Added articles info to excerpt 2023-09-23 16:02:02 +02:00
b7b9f23509 templates update 2023-09-23 16:02:02 +02:00
a768cbf0d2 Updates for templates 2023-09-23 16:02:02 +02:00
63a187fea3 Templates and SPARQL requests for rubrics, elenph excerpts and articles 2023-09-23 16:02:02 +02:00
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
a5f0734c43 base alignment 2023-09-23 16:01:52 +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
Georgy Litvinov
77d63f2c5f reverted check to fix default autocompletion type 2023-06-22 09:49:04 +02:00
Georgy Litvinov
1536842020 added missing autocomplete.css 2023-06-21 13:08:05 +02:00
Georgy Litvinov
64b0d9b9ab revert escaping 2023-06-21 13:02:56 +02:00
329b8e4100
Escape html (#388)
* Escape value in delete property form

* escape labels

* Revert "escape labels"

This reverts commit cd825d7587d629bc44c7fece31eb1bfa5cb6f241.
2023-05-09 13:04:21 +02:00
2535750cfa
fix: Escape data property value (#387)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-04-27 16:21:31 +02:00
Georgy Litvinov
27846ecbdb Remove old hack that produces 500 error 2023-02-24 09:37:56 +01:00
Dragan Ivanovic
48c88d3d3e
Merge pull request #355 from vivo-project/i18n-redesign
I18n redesign
2023-02-13 14:08:01 +01:00
509e9cf22b
Custom forms fixes (#361)
* added safety check

* Prevent failing autocomplete field with type selectors in case more than one pair of type selectors and autocomplete field used

---------

Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2023-02-02 14:24:47 +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
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
7340b7ff3f fix in the startup_listeners.txt 2022-11-28 08:43:56 +01:00
Dragan Ivanovic
5a48b7da59 moving UI labels translations from Vitro-languages into the Vitro repository 2022-11-28 08:43:56 +01: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
0b99cab654
[ i18n sprint ] autoCompleteObjectPropForm and lib-properties fixes from fr_CA (#336)
* Apply fixes from french lib properties

* Apply fixes from fr_CA autoCompleteObjectPropForm

* fixed for fr_CA and other languages

* fixes from fr_CA

* fix for  autoCompleteObjectPropForm.ftl

* fixed wrong call for i18n bundle
2022-11-15 10:05:25 +01:00
Dragan Ivanovic
a6a480986f
[ i18n sprint ] Move search help page translations to properties (#333)
* making generic searh-help by using translation properties' keys and i18n bean

* Adding new line at the end of the file

* Adding translation for title of an anchor
2022-11-08 11:59:29 +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
Dragan Ivanovic
1511e00c61
Merge pull request #338 from litvinovg/autocomplete_form
[i18n sprint] Language-neutral help text in autocomplete forms
2022-10-27 15:08:05 +02:00
874409d959
Use language-neutral selectAnExistingOrCreateNewOne translation key 2022-10-19 14:02:34 +02:00
c79f381f15
fixed new individual form 2022-10-06 15:33:22 +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
3a14872c7c
fix: float validation regex (#318)
Co-authored-by: Georgy Litvinov <georgy.litvinov@tib.eu>
2022-07-25 14:56:20 +03:00
ff285fb80d
Added code for deleting individuals (#213)
* Added code for deleting individuals

* Allow admins delete individuals

* Fixed delete individual url params

* Improved query safety

* refact: fixed constants' names, fixed mistakes, removed useless code

* refact: refactored sparql queries

* fix: fixed error logging mistakes

* fix: use CONSTRUCT instead of DESCRIBE as less potentionally problematic, lookup for mostSpecificTypes

* feat: add delete link in vitro individual profile if individual is editable

* fix: renamed individualURI to individualUri and added safety check

* fix: use ABox model to construct triples to delete
2022-05-20 21:28:29 +02:00
ebc9237cc6
Upload documents in Vitro|VIVO (#251)
* feat: introduced file upload

* fix: added file upload config settings

* fix: reverted auto formatting of upload file helper

* fix: replaced missed condition

* Improved naming, internationalization, removed file extensions as misleading information

* Fixed wrong bytes number representing 10Mb

* fix: show no media types allowed if no media types defined in runtime.properties

* fix: Add vitro-languages-home-core as installer dependency to have Vitro RDF internationalization files

* fix: change vitro-languages-core-home dependency type from tar.gz to pom
2022-04-14 16:16:50 +02:00