Commit graph

3225 commits

Author SHA1 Message Date
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
j2blake
a75b15d940 NIHVIVO-3523 Handle multiple roles properly when creating or editing user accounts. For a new account, suggest the default roles. Still using only one role, because we have radio buttons instead of checkboxes. 2011-12-23 19:24:51 +00:00
j2blake
c18e14a106 Fix UserAccounts list page so it encodes the role URIs properly when filtering. Only show non-public roles for selections. 2011-12-23 17:38:31 +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
f63722a2fe NIHVIVO-3523 The IsRootUser identifier takes no parameters, so make it a singleton. 2011-12-23 16:49:19 +00:00
j2blake
5ca2848946 NIHVIVO-3523 Override equals() and hashCode() to make these Identifiers more flexible and more testable. 2011-12-23 16:48:46 +00:00
j2blake
59f3cb6311 NIHVIVO-3523 Add convenience constructors to ArrayIdentifierBundle 2011-12-22 19:59:12 +00:00
j2blake
9d55acb2f3 NIHVIVO-3523 Re-write Permission as an abstract class rather than an interface. Make it Comparable. Remove the unused methods for getLocalName() and getNamespace() 2011-12-22 19:39:23 +00:00
j2blake
45e8d0c654 NIHVIVO-3523 Convert all simple PUBLIC-or-above requested actions to SimplePermissions. 2011-12-22 15:33:48 +00:00
j2blake
e5894ee80a NIHVIVO-3523 Add the concept of a PermissionSetForPublic (and rename PermissionSetForNewUsers) 2011-12-22 15:33:18 +00:00
j2blake
94a2d9327c NIHVIVO-3523 Oops. Some of the JSPs were using those RequestedAction classes that I converted to SimplePermissions. 2011-12-21 23:02:31 +00:00
j2blake
8ba596bfae NIHVIVO-3523 Convert all simple SELF_EDITOR-or-above requested actions to SimplePermissions. 2011-12-21 22:08:33 +00:00
j2blake
b36659d9f4 NIHVIVO-3523 Convert all simple EDITOR-or-above requested actions to SimplePermissions. 2011-12-21 21:41:13 +00:00
j2blake
1aac179c87 NIHVIVO-3523 Convert all simple CURATOR-or-above requested actions to SimplePermissions. 2011-12-21 21:23:04 +00:00
j2blake
adad173dc9 NIHVIVO-3523 Convert all simple ADMIN-only requested actions to SimplePermissions. 2011-12-21 20:46:17 +00:00
j2blake
a5495f36b4 NIHVIVO-3523 Create the PermissionsPolicy. 2011-12-20 22:13:58 +00:00
j2blake
df0da56e7b NIHVIVO-3523 Create the HasPermission identifier. 2011-12-20 22:00:48 +00:00
j2blake
20b7f694d1 NIHVIVO-3523 Write the PermissionSetsLoader. 2011-12-20 21:24:52 +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
j2blake
7d7503fc22 NIHVIVO-3523 Rewrite the PermissionRegistry to be immutable, and to distribute BrokenPermissions when someone asks for a Permission that doesn't exist. 2011-12-19 21:19:58 +00:00
j2blake
9d89fc291c NIHVIVO-3522 Changed to the new PermissionSet URIs, with updater. 2011-12-17 23:48:29 +00:00
j2blake
4139ec0f6e NIHVIVO-3523 For the first iteration, let's implement MANAGE_MENUS as a SimplePermission. This version still needs the loader and the policy and... 2011-12-16 20:52:23 +00:00
j2blake
bf27bddb46 NIHVIVO-3523 Different RequestedActions may need different means of creating a URI. In particular, SimpleRequestedAction provides a different GUI for each instance. 2011-12-16 20:50:05 +00:00
hjkhjk54
4de612a306 updates for NIHVIVO-3517 "Template exception thrown when deleting either hasEditorRole or hasReviewerRole properties". Updated EditConfigurationTemplateModel to return ObjectPropertyTemplateModel representing property and Freemarker template to assign that object to the variable "property" so the list view for reviewer/editor would work correctly. 2011-12-16 19:31:49 +00:00
brianjlowe
555d32bb91 NIHVIVO-3521 changed individual control panel to use an ungrouped dropdown of classes 2011-12-16 19:13:53 +00:00
brianjlowe
2bdb44685f NIHVIVO-3516 fixed merge tool so it doesn't strand triples in a graph named with SDB's union URI 2011-12-16 17:20:10 +00:00