Commit graph

2900 commits

Author SHA1 Message Date
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
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
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
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
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
j2blake
1162a294c1 Add log statements and toString() methods to help in debugging. 2012-01-30 16:26:26 +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
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
j2blake
b09c4b309c NIHVIVO-3467 First cut at using Solr index for auto-complete on Profiles. 2012-01-16 21:44:14 +00:00
brianjlowe
343d35ec74 NIHVIVO-3537 updated 'move statements' and 'move instances' tools to write to assertions graph instead of ARQ union graph (merge from 1.4 maint branch to trunk) 2012-01-16 18:04:03 +00:00
j2blake
6bce20b84e NIHVIVO-3547 Move the "stylesheets", "scripts", and "headscripts" variables from the FreemarkerConfiguration, where they are effectively singletons, to the data model map, where they are created for each separate request. 2012-01-13 16:50:03 +00:00
j2blake
9bb43e9b2c NIHVIVO-3467 Restructure SparqlQueryRunner to handle both Select and Construct queries. 2012-01-10 16:42:50 +00:00
j2blake
4a917603f2 NIHVIVO-3467 Restructure SparqlQueryRunner to handle both Select and Construct queries. 2012-01-10 16:26:32 +00:00
j2blake
78ad75cc6d Improve the debugging statements. 2012-01-09 22:07:26 +00:00
j2blake
193936b80a Fix the log message. 2012-01-09 22:06:48 +00:00
j2blake
72a8bc9c10 NIHVIVO-3523 catch up with the trunk 2012-01-09 15:46:12 +00:00
j2blake
c2f869cc45 NIHVIVO-3523 Create HasPermissionSet identifier -- not needed, but helps in diagnostics. 2012-01-08 23:20:02 +00:00
j2blake
97a878d3c9 NIHVIVO-3523 Clean up HasRoleLevel identifier - no longer used. 2012-01-08 23:06:17 +00:00
j2blake
4ddfff7018 NIHVIVO-3523 Create the EditByRolePermission, so we can use the PermissionsPolicy instead of EditRestrictedDataByRoleLevelPolicy, and these edit restrictions can be assigned to arbitrary PermissionSets. 2012-01-06 22:39:41 +00:00
j2blake
ffafc5f3e0 NIHVIVO-3523 Create the DisplayByRolePermission, so we can use the PermissionsPolicy instead of DisplayRestrictedDataByRoleLevelPolicy, and these display restrictions can be assigned to arbitrary PermissionSets. 2012-01-06 21:58:16 +00:00
hjkhjk54
30855a60a5 NIHVIVO-3357- updating per Brian Lowe's instructions, commenting out portion that would add all subclasses of owl:Thing in case property has no range. 2012-01-06 17:38:50 +00:00
j2blake
9d74b4e41a NIHVIVO-3523 Protect against null arguments. 2011-12-23 19:29:45 +00:00