Commit graph

87 commits

Author SHA1 Message Date
Jim Blake
04f763109e VIVO-823 Create several ModelMaker decorators, with tests 2014-07-18 17:02:21 -04:00
Jim Blake
baf0d59a68 VIVO-799 Add setRdfsLabel() to unit test class. 2014-06-18 17:41:38 -04:00
Jim Blake
90886c564e VIVO-742 Change client code to use SearchEngine interface.
Removed SolrQueryTest until I can see how to update it. Everything compiles and tests run, but haven't tried running VIVO yet.
2014-04-22 15:18:21 -04:00
Jim Blake
6329343465 VIVO-742 Create the interfaces for Application and SearchEngine
Also some stubs for unit tests.
2014-04-22 15:17:54 -04:00
Jim Blake
b63e4134ac VIVO-731 Create a thorough unit test for SparqlQueryServlet 2014-04-07 14:23:22 -04:00
j2blake
09dd8da784 Merge branch 'maint-rel-1.6' into develop 2014-03-25 15:44:59 -04:00
j2blake
0bc3f211bb VIVO-682 Modify some auth code to work better with faux properties. 2014-03-25 15:44:10 -04:00
j2blake
50e55b62ef Merge branch 'maint-rel-1.6' into develop 2014-03-10 18:15:16 -04:00
j2blake
fdeee35bb4 VIVO-692 Restrict LOD by Publish level, not by Display level
Create a new annotation for properties and classes, HiddenFromPublishBelowRoleLevelAnnot.
Provide the means to initialize these annotations, edit them, and display them in the verbose property display.
Create a Permission and some requested actions so the policies can decide which statements must be filtered out, based on the user's role.
Add unit tests and improve acceptance tests
2014-03-10 18:14:02 -04:00
j2blake
245763e9e7 Make DeveloperSettings a singleton, and other improvements.
By making it a singleton, we do need an explicit Setup operation. However, it means that we can refer to the settings in client code that doesn’t have access to a request or to the ServletContext.

Other refactorings to simplify the logic or make it more scalable.
2014-01-04 14:22:29 -05:00
j2blake
70298026ea Reduce warning messages in unit tests.
We get a warning on any attempt to use anything that may be affected by DeveloperSettings, because DeveloperSetting tries to use ConfigurationProperties to find its properties file. We could avoid this by requiring the use of a ConfigurationPropertiesStub, but it seems to make more sense to routinely create a DeveloperSettingsStub on each ServletContextStub.
2013-11-25 12:31:51 -05:00
j2blake
0fce9f6a7b VIVO-541 First cut at the developer panel. 2013-11-17 11:52:18 -05:00
brianjlowe
e1b7638202 various performance tweaks 2013-10-31 10:43:25 -04:00
brianjlowe
5293824fa2 work on VIVO-303 picklist sorting and display 2013-10-08 09:40:57 -04:00
brianjlowe
90512bdc1c Merge remote-tracking branch 'origin/develop' into dev-isf
Conflicts:
	webapp/rdf/displayDisplay/everytime/displayDisplay.n3
	webapp/web/i18n/all.properties
	webapp/web/templates/freemarker/lib/lib-properties.ftl
2013-09-23 16:19:05 -04:00
hudajkhan
8fa8702462 updates to include method that checks whether uri exists or not 2013-09-16 14:07:52 -04:00
brianjlowe
e3399d161d display permissions for domain-qualified predicates 2013-09-04 11:56:17 -04:00
brianjlowe
ca32a51740 support for edit permissions for qualified properties (almost finished) 2013-08-30 17:04:12 -04:00
brianjlowe
e3d6e37ab9 support for domain qualification in property config 2013-08-29 10:58:34 -04:00
j2blake
c75c0d0f9f VIVO-235 Reduce "deprecation" messages in the build
It's OK for these stub classes to implement deprecated methods in the interfaces, as long as they declare those methods with @Override and @Deprecated.
2013-08-01 16:06:59 -04:00
Brian Caruso
54f79f2ea7 Normalize line endings VIVO-101 2013-07-18 15:19:53 -04:00
brianjlowe
e3fe0ac52b continuing work on VIVO-60 application ontology support for property/class combinations 2013-06-21 16:47:42 -04:00
j2blake
aa7c8024d0 VIVO-125 Improvements to I18n
Do not clear the cache more than once per request. Improve the hooks for unit tests.
2013-06-14 12:41:33 -04:00
brianjlowe
b26922242a work on VIVO-60 application ontology code for class/property combination configuration 2013-06-12 16:57:37 -04:00
j2blake
4928940849 VIVO-82 Use ModelAccess to store and get WebappDaoFactory references. 2013-05-21 17:46:20 -04:00
brianjlowe
1ab53d0b02 initial work on VIVO-60 application ontology support for property/range combinations 2013-05-14 15:54:03 -04:00
j2blake
d2d20291b9 VIVO-12 NIHVIVO-4011 Improve LocaleSelectionFilter. Clean up comments. 2013-02-07 16:06:49 -05:00
j2blake
78488f194c Revise the language filtering from RDF. Create unit tests. 2013-02-07 15:37:58 -05:00
j2blake
bb6b2fa970 VIVO-12 NIHVIVO-4011 Provide config and GUI for selecting Locale 2013-01-24 16:21:36 -05:00
j2blake
81b0b2c145 NIHVIVO-3940 remove the implementation of /individual/prefix/localname
This has been broken since before release 1.3 and nobody has missed it.
2012-11-15 14:28:22 -05:00
brianjlowe
2c83351eb6 NIHVIVO-3956 SPARQL-based implementations of getMostSpecificTypeURIs() getDataValue() and isVClass() to shorten render time of short views 2012-09-12 20:03:21 +00:00
briancaruso
9b30ecdcb1 Fixed object property sorting on individual page for default list view. NIHVIVO-3415
Removed unused domainEntitySortField and rangeEntitySortField from ObjectProperty.
Added rangeEntitySortField back to property_retry.jsp.
2012-06-21 17:10:14 +00:00
j2blake
2f9cf7d54d Add license line. 2012-06-05 20:29:58 +00:00
tworrall
dfb955f39f NIHVIVO 3778 vitro components for data prop list views 2012-06-05 16:01:53 +00:00
briancaruso
e3158dadaa Removed unused method Individual.isMemberOfClassProhibitedFromSearch()
NIHVIVO-3696 Fixed linked data responses so correctly filtered by public display settings
NIHVIVO-3758 Change search name boost to be additive
Removed unused search field PROHIBITED_FROM_TEXT_RESULTS
NIHVIVO-3759 Refactored individual exclusion in search 
NIHVIVO-549 Allow for local product to add custom code for search
2012-05-11 20:59:34 +00:00
j2blake
588fbcf0e7 Add some unit tests to JsonServlet 2012-04-30 19:47:37 +00:00
brianjlowe
94717a3705 NIHVIVO-3532 get rid of Classes2ClassesDao 2012-03-22 20:00:06 +00:00
brianjlowe
da2c958492 NIHVIVO-3539 remove WebappDaoFactory.getProperties() 2012-03-21 20:32:58 +00:00
brianjlowe
d7da587aa7 various and sundry small DAO improvements 2012-03-08 20:54:29 +00:00
j2blake
24f5562626 NIHVIVO-3628 Tweak the arguments to ServletContextStub.setRealPaths, so the entire prefix is provided and the method doesn't need to insert a file separator (which may be system-dependent). 2012-02-23 21:11:33 +00:00
hjkhjk54
10908a7a65 Update to correct the slash for key for config file (was failing on Windows when it used to the system-specific file separator before which resulted in \config/X instead of \config\X) 2012-02-23 17:57:17 +00:00
j2blake
b53f26a375 NIHVIVO-3628 Create unit tests to cover the parsing and interpreting of custom list view config files. 2012-02-21 17:06:55 +00:00
j2blake
fff0167211 NIHVIVO-3542 Clean up the unit test for IndividualRequestAnalyzer - move the stub class into its own file. 2012-01-29 18:00:02 +00:00
j2blake
ca46511f40 NIHVIVO-3542 Enhance the Stub classes so I can write unit tests for the IndividualController. Adjust AuthenticateTest to use the enhanced HttpServletRequestStub. 2012-01-24 17:22:34 +00:00
j2blake
e5894ee80a NIHVIVO-3523 Add the concept of a PermissionSetForPublic (and rename PermissionSetForNewUsers) 2011-12-22 15:33:18 +00:00
j2blake
e72cd6a78b NIHVIVO-3523 Implement more functionality for unit tests. 2011-12-20 21:53:27 +00:00
brianjlowe
eee41106a1 NIHVIVO-3396 removed code related to individualSortField 2011-12-02 21:12:13 +00:00
brianjlowe
2e7029b420 remove obsolete classes 2011-11-15 19:57:59 +00:00
brianjlowe
0ecd02f04e NIHVIVO-3312 minor cleanup of WebappDaoFactory 2011-11-14 22:16:56 +00:00
brianjlowe
4d8206b018 NIHVIVO-3264 avoid deprecation warnings; new URLEncoder convenience class 2011-11-04 20:59:44 +00:00