Commit graph

2900 commits

Author SHA1 Message Date
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
j2blake
f3d6e33a01 Merge 9428 from 1.4 maint branch 2011-12-15 20:43:15 +00:00
stellamit
77c49f7c65 merge for NIHVIVO-3511 2011-12-15 17:42:40 +00:00
brianjlowe
5966c5e945 NIHVIVO-3510 fixed bugs introduced in updating sparql query builder to generate prefixes 2011-12-15 17:36:37 +00:00
brianjlowe
6a8c434a84 NIHVIVO-3510 modified sparql query builder to manufacture prefixes for any namespaces that need them 2011-12-15 15:08:17 +00:00
brianjlowe
4b8f9c613d NIHVIVO-3513 fixes bug where model list wasn't showing after loading RDF in ingest tools 2011-12-14 22:45:39 +00:00
brianjlowe
6147a54dc3 NIHVIVO-3512 added inference rebuild and scratchpad models to assertions-only filter block 2011-12-14 22:22:57 +00:00
briancaruso
96f172d52b Merging 9412 9377 and 9372 from vitro 1.4 branch 2011-12-14 22:16:23 +00:00
brianjlowe
a30e1d5842 NIHVIVO-3510 fix to sparql query builder to work with empty Vitro 2011-12-14 21:31:46 +00:00
brianjlowe
7e6ea50d63 NIHVIVO-3507 fix to prevent ConversionExceptions when attempting to retrieve equivalent classes for classes not typed as owl:Class 2011-12-14 19:47:10 +00:00
brianjlowe
951dfe9d2c NIHVIVO-3506 removed some old calls to printStackTrace() 2011-12-14 18:57:14 +00:00
brianjlowe
a16f504315 NIHVIVO-3504 improved retrieval of display rank values for class and property groups 2011-12-14 18:15:46 +00:00
brianjlowe
83b2ca3720 NIHVIVO-3498 modified VClassDaoJena.getRootClasses() to not return null; processing imports closure on ontology upload 2011-12-14 16:53:18 +00:00
hjkhjk54
02304f6bb8 updating for NIHVIVO-3494
"Add RDF leads to null pointer exception in certain cases". Including check for null to avoid null pointer exception.
2011-12-13 19:20:23 +00:00
stellamit
9f39bdb4e6 merging changes from 14 branch 2011-12-12 17:24:20 +00:00
brianjlowe
549d489bac NIHVIVO-3481 fixed 'create classgroups automatically' option 2011-12-12 16:48:50 +00:00
briancaruso
55d1f7c5c7 VClassGroupCache will not prevent startup of system when Solr is down
Fixed bug with VClassGroupCache retry when Solr is down. NIHVIVO-3462
2011-12-09 00:45:14 +00:00
j2blake
4acb4ccf7e NIHVIVO-3454 Refine SolrSmokeTest. If the initial connection succeeds, try a 'ping' to the Solr server. 2011-12-08 22:39:41 +00:00
briancaruso
7ee7aedc2b Making rebuild class group from site admin page synchronous NIHVIVO-3461 2011-12-08 22:30:35 +00:00
hjkhjk54
6c9f87b163 updating comment in select list generator as now sorting all lists, even hard-coded ones in edit configuration template 2011-12-08 22:19:00 +00:00
briancaruso
cf31ff4548 Fixing NPE in VClassGroupCache at startup with empty Solr NIHVIVO-3460 2011-12-08 21:50:05 +00:00
hjkhjk54
0cf492d729 updating to make sure sorted list actually gets assigned to the variable sent back to the template 2011-12-08 21:49:04 +00:00
brianjlowe
c7b6e7a75e minor log message tweaks 2011-12-08 21:44:29 +00:00
j2blake
a5c0758371 NIHVIVO-3454 Refine SolrSmokeTest. Produce better messages for Socket Timeout, Unknown host, or Connection Refused (wrong port). On non-fatal errors (status 400 or 404), try three times before giving up. 2011-12-08 21:41:01 +00:00
briancaruso
d8615fd1f5 VClassGroupCache now updates when search index is changed NIHVIVO-3455 NIHVIVO-3458 2011-12-08 21:22:32 +00:00
briancaruso
52c3838b44 Fixing problem with VClassGroupCache creation NIHVIVO-3453.
Removing log message on IndexBuilder because of slf4j on shutdown problem
2011-12-08 19:57:45 +00:00