Commit graph

3737 commits

Author SHA1 Message Date
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
0b18650ac4 NIHVIVO-3628 Minor tweaks. 2012-02-22 20:33:52 +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
j2blake
3ceff9e0a5 NIHVIVO-3542 Fix a typological error introduced in r.9563 2012-02-20 20:10:24 +00:00
j2blake
b731c17f6a NIHVIVO-3542 Use a boolean flag to indicate whether the page is editable, instead of the presence or absence of an EditingPolicyHelper. 2012-02-17 17:56:41 +00:00
j2blake
1b2ac02770 NIHVIVO-3542 Call PolicyHelper.isAuthorizedForActions() instead of EditingPolicyHelper.isActionAuthorized(). Remove the EditingPolicyHelper as a parameter to methods and constructors where it is no longer used. 2012-02-17 16:58:21 +00:00
briancaruso
d6925f93c6 Adding edit link to menu pages. Changing visibility of SparqlQueryDataGetter.doQuery for testing. 2012-02-15 20:24:53 +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
briancaruso
3b95705d97 Adding license to new file. 2012-02-10 20:45:11 +00:00
briancaruso
0aabb7908b Working on model switching. Change editRequestDispatch to stop it from always forwarding if there was a display model edit parameter. Chagned URLs for menu edit controllers. Added non-page data getters. Added SPARQL data getter. 2012-02-10 20:11:58 +00:00
briancaruso
9ce168f7c9 ObjectPropertyDaoJena changed so it does not try to return an ObjectPropety from a DataProperty. 2012-02-09 21:37:59 +00:00
briancaruso
0d94f3ac4c Using constant string for context attribute key for display model. 2012-02-09 21:36:57 +00:00
briancaruso
ef412632cf Using constant string for context attribute key for display model. 2012-02-09 21:36:10 +00:00
briancaruso
509c9baae7 Adding to display vocabulary. 2012-02-09 21:34:39 +00:00
tworrall
3053023f9e updated to check for null variables 2012-02-06 20:26:42 +00:00
stellamit
8bbd0b740f Merging in NIHVIVO-3587 from 1.4 maintenence branch (data not showing when collated view is selected) 2012-02-03 20:38:07 +00:00
j2blake
d37d976344 NIHVIVO-2694 If there is a problem with logging in externally, show it in the DisplayMessage, since it might not show up in the login widget message area. 2012-02-02 21:58:19 +00:00
j2blake
486dc1dd7d NIHVIVO-2694 Create a new page that allows an admin or root to restrict logins. 2012-02-02 21:56:48 +00:00
j2blake
16c36079db NIHVIVO-2694 Let "showAuth" show the current authenticator. 2012-02-02 21:55:34 +00:00
j2blake
b0649849ce NIHVIVO-2694 Make it easier to change the AuthenticatorFactory 2012-02-02 21:54:40 +00:00
j2blake
2c2151a0f2 NIHVIVO-2694 Create a new Permission to determine who can login when logins are restricted. 2012-02-02 21:54:06 +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
cb4f07af47 NIHVIVO-2694 Simplify the interface to the IdentifierBundleFactory. Require only an HttpServletRequest as a parameter. 2012-02-02 17:05:36 +00:00
j2blake
12a1f9342d NIHVIVO-2694 Add a little flexibility to PolicyHelper 2012-02-02 16:57:41 +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
19f9e10ffb NIHVIVO-2694 Move SelfEditingConfiguration to be an attribute on the ServletContext, not on the Session. 2012-02-02 15:42:02 +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
cb5e2362b1 NIHVIVO-3489 When setting up the Email session, test to see whether the SMTP host will respond on the SMTP port with a valid SMTP header. 2012-01-31 18:25:41 +00:00
stellamit
e273bc5f3e NIHVIVO-3587 - moving fix over from 1.4 branch 2012-01-31 14:55:39 +00:00
j2blake
7690f83cfe Don't allow the public to edit properties that are marked as editable by the public. 2012-01-30 16:27:04 +00:00
j2blake
1162a294c1 Add log statements and toString() methods to help in debugging. 2012-01-30 16:26:26 +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
hjkhjk54
5547acc85f update for inclusion of custom form data property editing, still retaining default data property generator as default for data properties 2012-01-27 22:01:55 +00:00
hjkhjk54
2282c56aaf updates for data property editing- NIHVIVO-3386 2012-01-27 21:46:33 +00:00
stellamit
a4060f0c13 NIHVIVO-3125 (deadlock detected) 2012-01-25 21:55:04 +00:00
brianjlowe
5e7b538255 NIHVIVO-3569 added missing model lock to avoid ConcurrentModificationException when creating/retrieving a data property (merge from 1.4 maint branch) 2012-01-25 17:42:48 +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
stellamit
191d579065 NIHVIVO-3559 Deadlock in DeltaComputer (non-invasive improvements for 1.4.1) 2012-01-23 22:55:49 +00:00
j2blake
6edf15eeaf NIHVIVO-3467 Use Solr index to speed up the auto-complete on Associated Profile in User Accounts UI. 2012-01-17 20:19:49 +00:00
j2blake
0dde805f3c NIHVIVO-3467 Refactor to use SolrQueryUtils. 2012-01-17 17:27:47 +00:00