Commit graph

6497 commits

Author SHA1 Message Date
Dragan Ivanovic
06c2afa301
Merge pull request #288 from litvinovg/vitro-languages-core-home-fix
Prevent copying pom file to home directory
2022-05-21 11:18:06 +02: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
c41853440f
I18n regression fix (#289)
* fix: get back language filtering for sparql construct query

* feat: LanguageFilteringRDFService sparqlConstructQuery tests added
2022-05-20 15:29:59 +03:00
Dragan Ivanovic
0d704f3eb8
Merge pull request #291 from vivo-project/feature/VIVO-3696
[3696] Timestamped filename for named graph output
2022-05-19 16:28:29 +02:00
Benjamin Gross
3cd323bfb1 Timestamped filename for named graph output 2022-05-06 10:16:37 -06:00
1b978b914b fix: fixed artifact assembly vitro-languages-core-home 2022-04-21 14:24:35 +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
eff04e0979
Add password authentification on external smtp servers (#240)
* Add SMTP Authentification

* refactor: restrict access to getEmailSession()

* fix: FreemarkerEmailFactory test, defined protocols if TLS port is used to send email

* fix: add check for TLSv1.3 support
2022-04-14 16:14:38 +02:00
03624e5d1b
fix: revert vitro installer packaging to war (#269)
* fix: revert vitro installer packaging to war

* chore: fix for github action
2022-04-13 19:03:26 +03:00
Ben
733a88ddcb
Add POST body support to update api (#252) 2022-04-07 16:34:34 +02:00
Veljko Maksimovic
b8944fb3bf
Creating Locale with specified Language script (#250)
* Creating a util function to convert Locale string to Locale, but take language script into consideration

* emptz commit to trigger auto build
2022-04-07 16:23:19 +02:00
bbd714ceb9
Online translation (#241)
* Online translation added to Developer panel settings

* Added special characters conversion on file import and export for online translations

* fix: Parse text nodes separately

* fix: broken js on page prevents working developer panel

* fix: workaround for online translations using freemarker template models

* fix: safe way to convert array of objects to array of strings

* fix: convert char codes on read/write property files

* refact: corrected constant names
2022-04-07 16:21:49 +02:00
Dragan Ivanovic
67b4df3c0b
Merge pull request #270 from litvinovg/fix-changelisteners-regression
Move stream reset inside loop so that every listener gets the same state
2022-02-25 16:41:50 +01:00
4ec81b3466
fix: move stream reset inside loop so that every listener gets the same state until a better approach is implemented (copy of c3aa9c5) 2022-02-24 19:36:29 +01:00
Ralph O'Flinn
39e1eed20d [maven-scm-plugin] prepare development vitro-1.12.3-SNAPSHOT 2022-02-15 04:26:25 -06:00
Ralph O'Flinn
ec13d83faa [maven-scm-plugin] prepare release vitro-1.12.2 2022-02-15 04:25:38 -06:00
Dragan Ivanovic
29c9f7ca76
Update PULL_REQUEST_TEMPLATE.md 2021-12-29 11:45:07 +01:00
Ralph O'Flinn
4d24a63a20 Merge branch 'heads/rel-1.12.1-RC' into main 2021-12-16 05:11:28 -06:00
Ralph O'Flinn
b1f66ea933 Merge tag 'rel-1.12.1-RC' into main 2021-12-16 05:07:13 -06:00
Ralph O'Flinn
c88626dffc [maven-scm-plugin] prepare development vitro-1.12.2-SNAPSHOT-SNAPSHOT 2021-12-16 01:25:32 -06:00
Ralph O'Flinn
420971464a [maven-scm-plugin] prepare release vitro-1.12.1 2021-12-16 01:24:47 -06:00
Ralph O'Flinn
685d0897a6 update gitignore 2021-12-10 03:10:11 -06:00
Ralph O'Flinn
e011fc72fc
Update pom.xml
updating packaging to pom from war
2021-10-18 00:35:08 -05:00
Ralph O'Flinn
fc8b92fcf6
Rel 1.12.1 alpha (#249)
* Update issue templates

* Run unit tests in alphabetical order (#244)

* fix: unit tests VIVO-2003 (#245)

* updates to outdated urls

Co-authored-by: Dragan Ivanovic <chenejac@uns.ac.rs>
Co-authored-by: Brian Lowe <brian@ontocale.com>
Co-authored-by: Georgy Litvinov <git@litvinovg.pro>
2021-10-12 10:40:25 -05:00
Dragan Ivanovic
bf7c6ffaf7 Update issue templates 2021-10-06 12:56:43 +02:00
Ralph O'Flinn
028af518f9
1.12.0-maint to main (#246)
* [maven-scm-plugin] prepare release vitro-1.12.0

* [maven-scm-plugin] prepare development vitro-1.12.1-SNAPSHOT-SNAPSHOT
2021-08-17 10:53:15 -05:00
Ralph O'Flinn
5a4648554a Merge branch 'rel-1.12.0-RC' into main 2021-07-21 07:20:21 -05:00
dependabot[bot]
b123f3bd9b
Bump junit from 4.11 to 4.13.1 in /api (#191)
Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-25 00:14:23 -05:00
Brian Lowe
a7e1e60c7e
Update version numbers in pom.xmls (#239)
* Update version numbers in pom.xmls

* Restore -SNAPSHOT
2021-06-21 04:10:08 -05:00
9565fbd925
Merge pull request #232 from brianjlowe/issue/VIVO-1983
[VIVO-1983] Limit label management values to current locale
2021-06-17 23:33:44 +02:00
Brian Lowe
762388e88b Retrieve locales used in label statements instead of only selectable locales 2021-06-16 22:02:48 +03:00
1e7cc745bc
Merge pull request #236 from brianjlowe/issue/VIVO-1985
[VIVO-1985] Compare locales of equal rank alphabetically to provide consistent fallback
2021-06-16 20:16:39 +02:00
Brian Lowe
93fd5a5f39 Retrieve locales used in label statements instead of only selectable locales 2021-06-16 21:16:24 +03:00
Brian Lowe
33ae07dcbf Use language-neutral model to match data property statements to literal hashes. 2021-06-10 13:05:02 +03:00
Brian Lowe
20507a75fb Remove erroneous addition of language-awareness to request OntModels that failed to respect the specified language option. 2021-06-10 13:04:18 +03:00
Brian Lowe
1d89cbc908
Log ConfigurationProperties bean at DEBUG level. (#237) 2021-06-09 08:10:57 -06:00
Brian Lowe
1720272155
[VIVO-1997] Log blank node deletion messages at DEBUG instead of WARN (#238)
* Log blank node deletion messages at debug level instead of warn.

* Switch to more informative debug message about blank node deletion.
2021-06-09 08:10:12 -06:00
Brian Lowe
27353bfb91 Count labels and distinct languages using same query; revert changes to lib-properties.ftl. 2021-06-04 16:59:27 +03:00
d21dc92b0b
Use unique key in account activation link and reset password link (#234)
* Use unique key for email activation and password reset

* Renamed old variable from hash to key

* Check for null before setting email key for backward compatibility. Removed comment about old behaviour.

* Send password_change_invalid_key message instead of password_change_not_pending on key mismatch.
2021-06-03 15:59:29 +03:00
Brian Lowe
3c04cc0f80
Abort TDB write transaction before ending if not successfully committed (#230) 2021-06-02 09:55:23 -06:00
Ben
1819fa1dd4
Merge pull request #235 from brianjlowe/issue/VIVO-1989
[VIVO-1989] URL-encode vCard-related resource URIs appended to edit links
2021-06-02 09:30:30 -06:00
Brian Lowe
7a24e259e8 URL-encode vCard-related resource URIs appended to edit links 2021-06-01 15:45:48 +03:00
Brian Lowe
e7993668b6 Sort locales of the same priority level alphabetically for consistent selection of fallback language 2021-06-01 15:10:56 +03:00
Brian Lowe
63639fc852 Update view labels servlet to use current language filtering 2021-05-28 17:12:02 +03:00
Brian Lowe
c07af3d794 Count labels with language filtering 2021-05-28 15:51:06 +03:00
Ben
5075d78537
Update example config files to current best practices (#229) 2021-05-06 12:33:37 +03:00
Ben
bbead68e88
Merge pull request #220 from brianjlowe/issue/VIVO-1974
Add usePreciseSubqueries property to example.runtime.properties.  Hav…
2021-05-05 10:36:54 -06:00
Ben
71ca39d597
[VIVO-1736] - Bugfix for redirecting user to home page after login (#227)
* Add trailing slash to home page redirect if contextPath empty

* Add redirect path to debug log

* Remove outdated code comment
2021-05-03 20:03:17 +03:00
Ben
cd437a503e
Merge pull request #222 from brianjlowe/issue/VIVO-1615
Fix errors preventing TPF server from working with TDB. Resolve https…
2021-04-27 10:43:48 -06:00
Brian Lowe
0b9919c55d
Replace hardcoded en locale with current locale in lang and xml:lang attributes (#228) 2021-04-21 11:53:41 -05:00