Commit graph

491 commits

Author SHA1 Message Date
tworrall
dfb955f39f NIHVIVO 3778 vitro components for data prop list views 2012-06-05 16:01:53 +00:00
stellamit
20b04e3e8e NIHVIVO-3293 add inverse property reasoning to SimpleReasoner 2012-06-04 21:47:23 +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
briancaruso
29e4edc25d Worked on refactoring the startup listeners NIHVIVO-3700. Removed some old N3 code. 2012-05-04 16:20:26 +00:00
j2blake
a26f0c2809 NIHVIVO-3746 Permit DataGetter classes to have 4 different types of constructor - make reflection logic more rigorous to avoid NoSuchMethodException. 2012-05-02 17:04:24 +00:00
j2blake
00dec66662 NIHVIVO-2411 Refactor JsonServlet into a controller and a group of "plug-in classes". 2012-04-30 20:17:56 +00:00
j2blake
588fbcf0e7 Add some unit tests to JsonServlet 2012-04-30 19:47:37 +00:00
j2blake
b5be039b78 suppress log messages from unit tests. 2012-04-30 19:41:39 +00:00
briancaruso
f2707b0bb1 Working on refactoring select option generation NIHVIVO-3657 2012-04-24 22:00:50 +00:00
j2blake
21828f9233 Remove tests from ObjectPropertyTemplateModel_PropertyListConfigTest that had been superseded by tests in CustomListViewConfigFileTest 2012-04-20 20:04:39 +00:00
j2blake
68f88fe257 NIHVIVO-3729 Modify ProptyListConfig so it doesn't rely on the FreemarkerConfiguration being stored as a request attribute, but so it can still be stubbed out for unit tests. 2012-04-20 19:26:59 +00:00
j2blake
b150614e4a NIHVIVO-3404 Add methods to PolicyHelper to do last-minute authorization checks on additions and retractions. Create tests. 2012-04-04 20:18:03 +00:00
j2blake
7aa3b4f469 NIHVIVO-3404 Require that the statement-based RequestedActions include a reference to an OntModel. So the paradigm changes from "may I do this with this statement?" to "may I do this with this statement and this model?" 2012-04-01 15:46:43 +00:00
j2blake
ed2f3ddc12 NIHVIVO-3404 Adjust the clients to use the most convenient constructor of EditDataPropertyStatement 2012-04-01 14:29:43 +00:00
j2blake
b0c7241ede NIHVIVO-3404 Improve the hierarchy of statement-based RequestedActions. Add constructors that accept either individual URIs or PropertyStatements. Don't ask for or hold the value of a DataProperty, because it is never used by a policy or permission (at least so far). 2012-03-30 22:08:58 +00:00
j2blake
e8fafcc10c NIHVIVO-3404 Rename accessor methods on AbstractObjectPropertyStatementAction to be consistent with those on AbstractDataPropertyStatementAction. 2012-03-30 21:44:46 +00:00
j2blake
5ecf031bae NIHVIVO-3404 Make instance fields on AbstractObjectPropertyStatementAction private. 2012-03-30 21:20:23 +00:00
j2blake
fc2052e0b7 NIHVIVO-3404 Rename statement-related RequestedAction classes to consistent naming scheme. 2012-03-30 21:14:51 +00:00
j2blake
e0594b2681 NIHVIVO-3542 BaseTemplateModel doesn't need to hold ServletContext, and the way it's set in a static field is dodgy. Remove it. 2012-03-24 15:11:23 +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
hjkhjk54
185475a321 updates for enabling autocomplete editing and n3editing to work. 2012-03-15 17:39:56 +00:00
hjkhjk54
5e025d66af updates to allow autocomplete to edit an existing relationship and allow for creation of a new URI for the object (even with the old URI in scope) 2012-03-08 22:40:19 +00:00
brianjlowe
d7da587aa7 various and sundry small DAO improvements 2012-03-08 20:54:29 +00:00
stellamit
fe044c759a Removing 1.4 (and before) specific migration logic (External Concepts, display model, recomputing mostSpecificType on startup) 2012-02-27 18:38:33 +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
11d32685cf NIHVIVO-3628 convert PropertyListConfig and InvalidConfigurationException from inner classes on ObjectPropertyTemplateModel to top-level classes. Combine InvalidConfigurationException with InvalidConfigFileException. Adjust tests accordingly. 2012-02-22 21:40:48 +00:00
j2blake
6a4228f099 NIHVIVO-3628 Create a new package for custom list view classes. 2012-02-22 20:50:47 +00:00
j2blake
1f96d551f5 NIHVIVO-3628 Clean up the logic that instantiates the postprocessor. Log a more specific error message if there is a problem. 2012-02-22 20:29:50 +00:00
j2blake
28c06329f7 NIHVIVO-3628 Create the CustomListViewConfigFile class, with tests, and use it to replace much of the code in ObjectPropertyTemplateMode.PropertyListConfig 2012-02-22 19:23:46 +00:00
j2blake
c5f3d7cc05 NIHVIVO-3628 Add license tags to XML test files. 2012-02-21 18:08:12 +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
briancaruso
dafeafc5be Moving test to different package. Adding test of SparqlQueryDataGetter. 2012-02-15 20:10:46 +00:00
briancaruso
c30e883f7e Changing the DataGetter and PageDataGetter utuils to not log unnecessary errors. Adding unit tests for DataGetters and PageDataGetters. 2012-02-15 17:57:01 +00:00
j2blake
12fe9f9da3 NIHVIVO-2694 Devise a way to determine what Identifiers would be created if a particular user were to log in. 2012-02-02 21:52:09 +00:00
j2blake
78c19dde80 NIHVIVO-2694 Make sure that the BasicAuthenticator and the AuthenticatorStub comply to the contract on throwing LoginNotPermitted exceptions. 2012-02-02 16:18:22 +00:00
j2blake
6986eb6308 NIHVIVO-2694 Add methods and an exception to Authenticator, so we can tell when a user is not allowed to login. 2012-02-01 22:03:11 +00:00
j2blake
0a19ed7d86 NIHVIVO-2694 Change how the AuthenticatorFactory is structured, so it will be easier to change on the fly. 2012-01-31 21:25:27 +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
bf61f9a168 NIHVIVO-3542 Remove old IndividualController. 2012-01-29 17:24:03 +00:00
j2blake
fdee610e22 NIHVIVO-3542 Refactor IndividualController into 8 classes - focus on cleaning the logic in IndividualRequestAnalyzer - create a unit test for IndividualRequestAnalyzer. 2012-01-29 17:23:30 +00:00
j2blake
45657d6684 NIHVIVO-3542 Create a unit test for the IndividualController, before refactoring. 2012-01-24 17:23:06 +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
97a878d3c9 NIHVIVO-3523 Clean up HasRoleLevel identifier - no longer used. 2012-01-08 23:06:17 +00:00
j2blake
5051c56f7a NIHVIVO-3523 Break up the CommonIdentifierBundleFactory into several pieces: one for each type of Identifier. Add some unit tests. 2011-12-23 17:33:48 +00:00
j2blake
59f3cb6311 NIHVIVO-3523 Add convenience constructors to ArrayIdentifierBundle 2011-12-22 19:59:12 +00:00
j2blake
e5894ee80a NIHVIVO-3523 Add the concept of a PermissionSetForPublic (and rename PermissionSetForNewUsers) 2011-12-22 15:33:18 +00:00
j2blake
24e1c7cfd8 NIHVIVO-3523 Set up an empty PermissionRegistry for the unit test. 2011-12-20 21:54:09 +00:00
j2blake
e72cd6a78b NIHVIVO-3523 Implement more functionality for unit tests. 2011-12-20 21:53:27 +00:00