Commit graph

5277 commits

Author SHA1 Message Date
c1b01cd757 Renamed custom search to extended search. Moved templates from VIVO repository 2021-10-25 14:27:53 +02:00
cdcc051d3f fix: convert char codes on read/write property files 2021-10-21 15:07:55 +02:00
9d4d29b653 merge delete controller 2021-10-14 18:37:23 +02:00
b6f0ed229c added online Translations 2021-10-14 18:35:58 +02:00
2519c4a6a7 Added custom search controller
Cleaned custom search controller

Autoselect hits per page from query.

Moved template change to VIVO branch
2021-10-14 15:04:05 +02:00
3c2e9cab05 Antisamy policy fixes
Allow table tags in TinyMCE
2021-10-14 15:03:30 +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
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
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
7a24e259e8 URL-encode vCard-related resource URIs appended to edit links 2021-06-01 15:45:48 +03: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
Andrew Woods
eb949919b5
Sprint i18n with main (#209)
* Layer uqam updates onto master (minus trailing whitespace)

* Update RDFServiceFactorySingle.java

* Sprint i18n whitespace (#143)

* Removed extraneous whitespace
   - modified:   api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/BaseEditElementVTwo.java

* move RootUserPolicy.java from VIVO to Vitro repo.

* Remove blank line

* Fixed indentations

* Update whitespace for: TemplateProcessingHelper.java

* Update whitespace for: RDFServiceModel.java

* Removed extraneous whitespaces.

* Tagging UQAM Comments with following tags

-Add-Feature
-Optimization
-Linguistic-Management
-Bug-Correction

* Resolve compilation failures in Vitro tests

* Remove whitespace changes from SelectListGeneratorVTwo.java

* Add null check on field values of RDF Form (#158)

Resolves: https://jira.lyrasis.org/browse/VIVO-1800

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Fix incorrect tool-tip in language selection dropdown (#156)

Resolves: https://jira.lyrasis.org/browse/VIVO-1783

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Sprint i18n/lang filtering model (#159)

* Add language-aware graph filtering instead of layering on additional RDFService

Resolves: https://jira.lyrasis.org/browse/VIVO-1771

* Remove hardcoded link label (#161)

Resolves: https://jira.lyrasis.org/browse/VIVO-1779

* Enable filtering of non-enabled i18n language files from being loaded into triple store (#160)

Define name of available language listing file (found in Vitro-languages)
Update RDFFilesLoader method interfaces to include ServletContext

Part of resolution to: https://jira.lyrasis.org/browse/VIVO-1836

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Add i18n version of Edit page title (#157)

Related to: https://jira.lyrasis.org/browse/VIVO-1779

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Changing ontology extensions for n3 & assigning a base IRI to each (#163)

ontology

Co-authored-by: michelheon <heon@videotorn.ca>
Co-authored-by: Andrew Woods <awoods@duraspace.org>

https://jira.lyrasis.org/browse/VIVO-1862

* Update sprint-i18n with master branch (#166)

* Make data property richtext editor option selectable from UI

* [VIVO-1755] - Better error handling when reasoner disabled (#137)

* Better error handling when reasoner disabled

* Change reasoner error log message to debug

* Extend reasoner status error handling

* Improve reasoner error log message and extend to JenaAdminActions

* Bump up log level for admin action to 'warn' and edit admin panel error message

* Change Model writer lang from "N3-PP" to "N3" (#149)

Resolves: https://jira.lyrasis.org/browse/VIVO-1761

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* [VIVO-1851] - Add 'remove' option to named graph management page (#162)

* Add 'remove' option to named graph management page

Resolves: https://jira.lyrasis.org/browse/VIVO-1851

* [VIVO-1872] - Add download option to SPARQL Query page (#164)

* Add download option to SPARQL Query page

* Set SPARQL query results content type even if downloading

* Address pull request comments

Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: Andrew Woods <awoods@duraspace.org>

* [VIVO-1839] - Use language name for selector instead of flags (#165)

* Use language name for selector instead of flags
* Add country name to language selector
* Increase min-width of language dropdown
* Update data tree comment in languageSelector.ftl
* Min-width for language dropdown
* Language dropdown css adjustment
* Capitalize locale label
* Indent on languageSelector.ftl

Resolves: https://jira.lyrasis.org/browse/VIVO-1839

* Adds internationalization to the admin/sparql-query page (#167)

* Adds internationalization to the admin/sparql-query page

Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1873

* Add i18n for 'save query result'

Related to: https://jira.lyrasis.org/browse/VIVO-1873

* code review

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* removed redundat files which are now available via Vitro- and VIVO-languages

* Making UQAM-optimization aware of https://

* Add parent reference to installer/pom.xml (#174)

Resolves: https://jira.lyrasis.org/browse/VIVO-1903

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Revert non-function RDF changes (#177)

Related to: https://jira.lyrasis.org/browse/VIVO-1905

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Ensure 'other' in Individual->Teaching->advisees->type is translated

Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1881

* Re-add logic from commit 7420957

* [VIVO-1812] use i18n translation for validation messages (#179)

* replace constants with i18n text in BasicValidationVTwo
* use constants for i18n template key

Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1812

* added js_string at i18n strings to handle quotes properly, ticket vivo-1842 (#180)

Partial resolution for: https://jira.lyrasis.org/browse/VIVO-1842

* [VIVO-1870] simplify and concat translation for browse by vclass (#182)

* simplify and concat translation for browse by vclass

Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1870

* [VIVO-1900] i18n: added empty check for getCountry, fixing bug with spanish label (es) (#181)

* added empty check for getCountry, fixing bug with spanish label (es), ticket vivo-1900

Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1900

* [VIVO 1870] update i18n key to JavaScript mapping (#183)

* update menupage-script i18n key to JavaScript mapping

Follow-on to resolution of: https://jira.lyrasis.org/browse/VIVO-1870

* [VIVO-1837] get i18n bundle from WebappDaoFactoryConfig preferred locales (#178)

* apply i18n text to VClassDaoJena.getLabelForClass
* expose i18n bundle through webapp dao factory interface
* use whole messages for i18n
* if request available use request bundle else use context bundle
* clear cache when context theme directory changes
* make getOverridingLocale from context private
* select locale based on preferred locale from webapp dao factory
* use first preferred local even when no selectable locales available on context
* build default preferred locales from default preferred languages

Resolves: https://jira.lyrasis.org/browse/VIVO-1837

* Ensure that "available langs" include base langs (#185)

Resolves: https://jira.lyrasis.org/browse/VIVO-1922

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Ensure I18nStub is initialized before pertinent tests (#186)

Resolves: https://jira.lyrasis.org/browse/VIVO-1923

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* add additional null checks to ensure context is ready for theme change (#187)

* [VIVO-1915] i18n - Adding a label with language tag through the "new" manageLabelsForindividualAddForm.ftl does not take the setting for language tag (#184)

* Fixed bug when addng a label with language tag through managLabelsForindividualAddForm, re ticket VIVO-1915

* removed the language select for managing multi language labels, ticket vivo-1915

* readded the fix for language selection because of the fr-CA version of the manageLabelsForIndividualftl, ticket vivo-1915

* removed earlier fix, removed comments, modified ManageLabelGenrator, ticket vivo-1915

Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1915

* - replaced hard coded "or"s with i18n().or

* [VIVO-1925] i18n: Editing labels results in new label (#188)

* fixed bug: Editing language labels results in new label, ticket vivo-1925

Resolves: https://jira.lyrasis.org/browse/VIVO-1925

* Enable lang selection without need for 'available-langs.properties' (#169)

* Enable lang selection without need for 'available-langs.properties'
Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Reduce number of times QuerySolutions are looped in LanguageFilteringRDFService (#194)

- No functional change in this update

Resolves: https://jira.lyrasis.org/browse/VIVO-1931

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Prevent 'ProcessRdfForm.parseN3ToRDF' from using null linguisticContext (#197)

Resolves: https://jira.lyrasis.org/browse/VIVO-1944

Co-authored-by: Andrew Woods <awoods@duraspace.org>

* [Vivo 1918] i18n: Reload firsttime files on start-up if changed (#195)

Co-authored-by: Andrew Woods <awoods@lyrasis.org>

* [VIVO-1936] i18n: updated the language comment in runtime.properties

* ftl function to capitalize group name affording override

* Further i18n for BasicValidationVTwo.java

* Fixed DeletePropertyController.java - getting localname of property properly (#200)

* Fixed DeletePropertyController.java - getting localname of property properly

Resolves: https://jira.lyrasis.org/browse/VIVO-1816

* Removed hardcoded time units by properties calls in dateTimeWithPrecision.ftl

* Use i18n values for date time form (#204)

Resolves: https://jira.lyrasis.org/browse/VIVO-1953

* VIVO-1929: patch authorizing create individual form (#206)

* patch authorizing create individual form

Resolves: https://jira.lyrasis.org/browse/VIVO-1929

* Issue/vivo 1947 (#205)

* Make data property richtext editor option selectable from UI
* Better error handling when reasoner disabled
* Change reasoner error log message to debug
* Extend reasoner status error handling
* Improve reasoner error log message and extend to JenaAdminActions
* Bump up log level for admin action to 'warn' and edit admin panel error message
* Change Model writer lang from "N3-PP" to "N3" (#149)
* Prevent ontology editor and N3 editing from deleting property values in languages other than the one associated with the editing request. [https://jira.lyrasis.org/browse/VIVO-1947]

Resolves: https://jira.lyrasis.org/browse/VIVO-1947

Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: Andrew Woods <awoods@lyrasis.org>
Co-authored-by: Andrew Woods <awoods@duraspace.org>

* Remove comments

Co-authored-by: Andrew Woods <awoods@duraspace.org>
Co-authored-by: Nicolas D <46490666+nicalico@users.noreply.github.com>
Co-authored-by: VIVO UQAM <62542918+UQAM-VIVO@users.noreply.github.com>
Co-authored-by: Matthias Luehr <luehr@hs-mittweida.de>
Co-authored-by: michelheonuqam <heon.michel@uqam.ca>
Co-authored-by: Brian Lowe <brianjlowe@gmail.com>
Co-authored-by: j-dornbusch <joachim.dornbusch@ehess.fr>
Co-authored-by: Michel Heon <heon@videotron.ca>
Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: dofeldsc <dofeldsc@uos.de>
Co-authored-by: root <root@vivo-development.hs-mittweida.de>
Co-authored-by: gneissone <mbgross@unavco.org>
Co-authored-by: William Welling <wwelling@library.tamu.edu>
Co-authored-by: Kampe <Benjamin.Kampe@tib.eu>
Co-authored-by: Gross, Benjamin <benjamin.gross@clarivate.com>
Co-authored-by: matthiasluehr <60263380+matthiasluehr@users.noreply.github.com>
Co-authored-by: nicolasdickner <dickner.nicolas@uqam.ca>
2021-02-10 11:04:01 -06:00
Ben
e198fce908
[VIVO-1872] - Add download option to SPARQL Query page (#164)
* Add download option to SPARQL Query page

* Set SPARQL query results content type even if downloading

* Address pull request comments
2020-05-27 23:58:20 -05:00
Ben
42c69ef04b
[VIVO-1851] - Add 'remove' option to named graph management page (#162)
* Add 'remove' option to named graph management page

Resolves: https://jira.lyrasis.org/browse/VIVO-1851
2020-05-13 13:19:52 -04:00
gneissone
4efe43c7e7 Make data property richtext editor option selectable from UI 2020-03-21 19:15:05 -06:00
Ralph O'Flinn
777fa43864 [maven-scm-plugin] prepare development vitro-1.11.2-SNAPSHOT 2020-03-07 10:31:59 -06:00
Ralph O'Flinn
850cc6adbf [maven-scm-plugin] prepare release vivo-1.11.1 2020-03-07 10:29:22 -06:00
Ralph O'Flinn
b1b620d927 [maven-scm-plugin] prepare development vitro-1.11.1-SNAPSHOT 2019-10-21 00:49:31 -05:00
Ralph O'Flinn
0f25660b42 [maven-scm-plugin] prepare release vitro-1.11.0 2019-10-21 00:45:50 -05:00
alessandroGalasso
0bab502eb5 Vivo 1630 Year field keeps the same label even when language is changed (#98)
* [VIVO-1630] Year field keeps the same label even when language is changed

Resolves: https://jira.duraspace.org/browse/VIVO-1630
2019-08-08 12:33:59 -04:00
Ralph O'Flinn
d8649a60ad Merge branch 'sprint-search' into dev-search
# Conflicts:
#	home/src/main/resources/solr/README.txt
#	home/src/main/resources/solr/conf/admin-extra.html
#	home/src/main/resources/solr/conf/clustering/carrot2/kmeans-attributes.xml
#	home/src/main/resources/solr/conf/clustering/carrot2/lingo-attributes.xml
#	home/src/main/resources/solr/conf/clustering/carrot2/stc-attributes.xml
#	home/src/main/resources/solr/conf/currency.xml
#	home/src/main/resources/solr/conf/elevate.xml
#	home/src/main/resources/solr/conf/lang/contractions_it.txt
#	home/src/main/resources/solr/conf/lang/stoptags_ja.txt
#	home/src/main/resources/solr/conf/lang/stopwords_ar.txt
#	home/src/main/resources/solr/conf/lang/stopwords_ca.txt
#	home/src/main/resources/solr/conf/lang/stopwords_el.txt
#	home/src/main/resources/solr/conf/lang/stopwords_fi.txt
#	home/src/main/resources/solr/conf/lang/stopwords_hi.txt
#	home/src/main/resources/solr/conf/lang/stopwords_hu.txt
#	home/src/main/resources/solr/conf/lang/stopwords_lv.txt
#	home/src/main/resources/solr/conf/lang/stopwords_ro.txt
#	home/src/main/resources/solr/conf/mapping-FoldToASCII.txt
#	home/src/main/resources/solr/conf/schema-old.xml
#	home/src/main/resources/solr/conf/schema.xml
#	home/src/main/resources/solr/conf/solrconfig-old.xml
#	home/src/main/resources/solr/conf/solrconfig.xml
#	home/src/main/resources/solr/conf/stopwords-name.txt
#	home/src/main/resources/solr/conf/velocity/VM_global_library.vm
#	home/src/main/resources/solr/conf/velocity/jquery.autocomplete.css
#	home/src/main/resources/solr/conf/velocity/jquery.autocomplete.js
#	home/src/main/resources/solr/conf/velocity/main.css
#	home/src/main/resources/solr/conf/velocity/query_group.vm
#	home/src/main/resources/solr/conf/velocity/query_spatial.vm
#	home/src/main/resources/solr/conf/velocity/richtext_doc.vm
#	home/src/main/resources/solr/conf/xslt/example.xsl
#	home/src/main/resources/solr/conf/xslt/example_atom.xsl
#	home/src/main/resources/solr/conf/xslt/example_rss.xsl
#	home/src/main/resources/solr/conf/xslt/luke.xsl
#	home/src/main/resources/solr/conf/xslt/updateXml.xsl
#	home/src/main/resources/solr/solr.xml
#	home/src/main/resources/solr/solr_newversion.xml
2019-06-21 12:04:45 -05:00
gneissone
bd6140a8cc Remove trailing whitespace throughout project 2019-05-03 12:50:05 -04:00
Andrew Woods
ab2b41260e Add ElasticSmokeTest
Resolves: https://jira.duraspace.org/browse/VIVO-1600
2019-04-03 12:18:55 -04:00
alessandroGalasso
74b8f16aa2 [VIVO-1641] REPLACE jena afn with cross-platform regex (#105)
Resolves https://jira.duraspace.org/browse/VIVO-1641
2019-03-20 13:22:14 -04:00
gneissone
49b03cb56e Update YASQE to fix SPARQL query page freeze issue 2019-02-15 11:50:27 -05:00
Don Elsborg
ad24dc306d moved weblink changes from VIVO to Vitro (#101)
Related to: Related to: https://jira.duraspace.org/browse/VIVO-1619
2019-01-08 09:49:12 -05:00
Stefan-Wolff
129e1219a8 [VIVO-1528] Select an editor for input fields based on annotation (#76)
* provide WYSIWYG editor for range XMLLiteral only

* Update defaultDataPropertyForm.ftl

* add annotation based selection of the desired editor for editing values
of datatype properties in the frontend

* create new annotation vitro:editing to allow configuration of desired
editor for editing of related dataproperties

Resolves: https://jira.duraspace.org/browse/VIVO-1528
2018-12-07 09:14:36 -05:00
Kitio Fofack
d2c34ddf46 [VIVO-1543] Fix incorrect flash.ftl include statement (#95)
Resolves https://jira.duraspace.org/browse/VIVO-1543
2018-12-05 11:57:23 -07:00
vivo-uab
f2656ba3d8 [maven-scm-plugin] prepare development vitro-1.11.0-SNAPSHOT 2018-07-09 17:17:08 -04:00
vivo-uab
2c3c97be5e [maven-scm-plugin] prepare release vitro-1.10.0 2018-07-09 17:17:08 -04:00
AsimA
fea33a456a Fixed the user experience 2018-05-23 11:25:58 +02:00
Graham Triggs
e0b723354d Update project version numbers 2017-10-20 15:02:14 +01:00
Graham Triggs
95e336d862 List view improvements for Vitro 2017-10-19 11:21:37 +01:00
Graham Triggs
bda7c41309 Make sparql query form post (for longer queries) 2017-10-10 16:07:22 +01:00
Graham Triggs
3ad80a9cf6 Consolidate local overrides of messages and styles in "local" subdirectory. Allows customisation without creating a new thmee. 2017-10-02 18:23:49 +01:00
Graham Triggs
9797afe881 [VIVO-1393] Replace isotope with wookmark 2017-10-02 12:43:18 +01:00
Graham Triggs
b23f391dfa Improve verbose layout 2017-09-29 12:42:20 +01:00
Graham Triggs
5c543982f7 Add domain and range attributes to the html for parsing / testing. 2017-09-28 19:56:23 +01:00
Graham Triggs
4df1a9c945 Add domain and range attributes to the html for parsing / testing. 2017-09-28 19:14:09 +01:00
Graham Triggs
e08a8c7715 Fix enabling of profile form 2017-09-25 22:11:32 +01:00
Graham Triggs
93b7f8aec7 Remove jQuery scripts that are included by headScripts 2017-09-24 18:51:18 +01:00
Graham Triggs
52f6971010 Improve upload image layout 2017-09-24 18:50:17 +01:00
Graham Triggs
a647ea0156 Improved flash message handling 2017-09-22 23:41:54 +01:00
Graham Triggs
554ba83eb0 Fix Javascript element enabling 2017-09-22 08:56:28 +01:00
Graham Triggs
cd7cd254ad Fix nbsp on date times 2017-09-21 08:38:29 +01:00
Graham Triggs
d97544b991 Minor code improvements 2017-09-18 11:49:47 +01:00
Graham Triggs
4859eb7da1 Various code improvements from IntelliJ inspections 2017-09-18 00:21:04 +01:00
Graham Triggs
47f3f304cb [VIVO-1375] Upgrade to Servlet 3.0 spec 2017-08-25 08:51:10 +01:00
Graham Triggs
787a83e8c3 Make login javascript asynchronous 2017-08-09 14:26:04 +01:00
Graham Triggs
0bfd909348 Update versions for beta 2 release 2017-07-27 17:40:04 +01:00