Commit graph

375 commits

Author SHA1 Message Date
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
j2blake
a9c7b3fead NIHVIVO-3523 Add DefaultPermissionSetForNewUsers to the User Accounts Model, with a property in PermissionSet and a test in UserAccountsDaoJenaTest. 2011-12-19 23:10:30 +00:00
stellamit
77c49f7c65 merge for NIHVIVO-3511 2011-12-15 17:42:40 +00:00
briancaruso
36a99486f6 Adding anti XSS NIHVIVO-3379 2011-12-05 22:08:04 +00:00
brianjlowe
eee41106a1 NIHVIVO-3396 removed code related to individualSortField 2011-12-02 21:12:13 +00:00
briancaruso
d4e2ea9ebc Change to EditN3Generator that will effect how all null and empty values get substituted into N3 on front end edits. NIHVIVO-3400 2011-12-02 18:09:35 +00:00
j2blake
a01c0fc74c NIHVIVO-3343 Distinguish between Self-editors and Proxy-self-editors by the class of their identifiers, not by an option on the identifier. Only true self-editors get a "My Profile" link. 2011-11-22 18:32:54 +00:00
briancaruso
876e2d97f1 Adding more unit tests for EditN3Generator. Dealing with literals better 2011-11-18 17:07:52 +00:00
stellamit
7d60677d4f NIHVIVO-3040 separate thread for ABox reasoning based on TBox updates. 2011-11-17 21:49:07 +00:00
briancaruso
107c64dbf8 Fixing build, adding unit tests 2011-11-16 14:56:11 +00:00
briancaruso
221a38eca7 Working on default data process form 2011-11-15 22:05:53 +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
briancaruso
ff8c14a725 Fixing NewIndivdiual form generator and adding unit tests for ProcessRdfForm and EditN3Generator 2011-11-14 19:47:09 +00:00
briancaruso
ec881de6a3 Changes to AddRoleToPersonTwoStage and subclasses 2011-11-11 21:48:07 +00:00
briancaruso
b6251c5f85 Unit test to check for nulls in EditN3GeneratorVTwo 2011-11-11 15:59:00 +00:00
briancaruso
41d16a60b4 Adding unicdoe unit test to ProcessRdfFormTest. 2011-11-11 15:30:25 +00:00