Commit graph

2643 commits

Author SHA1 Message Date
j2blake
07b1bee3da NIHVIVO-2492 JenaExportController must be accessible if either of two RequestedActions is authorized. Right now, the annotation can't handle that, so we use this method call instead. Not the best solution. 2011-04-18 15:23:14 +00:00
j2blake
e797657c8e NIHVIVO-2492 Refine PolicyHelper class - create tests. 2011-04-18 15:20:40 +00:00
j2blake
1943040e7d remove compiler warnings; use new-style "for" loop. 2011-04-17 17:07:59 +00:00
j2blake
ce6058b3bb add generic types to return values. 2011-04-17 17:07:02 +00:00
j2blake
0fea51aed7 remove compiler warnings; use new-style "for" loop. 2011-04-17 17:00:18 +00:00
j2blake
9e2d64fb5f remove compiler warnings 2011-04-17 16:15:24 +00:00
j2blake
1fbde99c50 remove compiler warnings; use new-style "for" loop. 2011-04-17 15:38:07 +00:00
j2blake
8e3c13bd4c NIHVIVO-2492 Restrict JenaIngest, JenaExport, RDFUpload and SparqlQuery pages 2011-04-15 22:01:08 +00:00
j2blake
ee81ecfa9b NIHVIVO-2492 Second try at the JSP custom tag - it requires the fully-qualified class name, but it behaves in a much more robust way. 2011-04-15 16:55:20 +00:00
j2blake
83ac0750b5 NIHVIVO-2492 First pass at a mechanism to restrict pages by policy 2011-04-15 15:25:13 +00:00
j2blake
15b778fd79 NIHVIVO-2492 Add a convenience method to get the policies from a request. 2011-04-15 14:38:43 +00:00
ryounes
ccdbee221b NIHVIVO-2481 Fix possible source of NullPointerException (still haven't been able to reproduce) 2011-04-13 21:56:28 +00:00
ryounes
233c1c8feb Add parameters to generic types 2011-04-13 20:56:34 +00:00
ryounes
12f6e832e6 NIHVIVO-2484 Provide a link to a classgroup with no public name on the classgroups list page, so the user can navigate to the page for the group and edit it. 2011-04-13 20:17:18 +00:00
j2blake
e3961cdd20 NIHVIVO-2477 Change the sequence of operations so scaling is done before cropping, thus avoiding the boundary conditions on rounding error. Use Java AWT operations to do scaling and cropping since the JAI operations are buggy. JAI is still used to read the file and to remove transparency. 2011-04-13 20:03:10 +00:00
ryounes
013ef73278 Add utility method wrap to use a non-default BeansWrapper to wrap an object. 2011-04-13 20:01:26 +00:00
j2blake
306a6c8712 NIHVIVO-2254 Adjust for change in VitroFilterUtils 2011-04-11 19:55:45 +00:00
j2blake
863718241d NIHVIVO-2254
Create RequestedActions to display properties and statements. 
Create policies for authorizing those actions. 
Create Identifiers for those policies to recognize. 
Create a filter that is based on policy authorizations. 
Use that filter instead of the one that is based only on role level.
2011-04-11 19:39:36 +00:00
briancaruso
2f1f8c6cff Adding license 2011-04-11 17:52:19 +00:00
briancaruso
3795b8cc9b Removing modTime and timekey from search index. 2011-04-11 17:30:29 +00:00
briancaruso
15f6bbce5c Adding some chagnes to ProcessRdfForm.java 2011-04-11 17:23:50 +00:00
briancaruso
543c1cd945 Adding solr indexing prototype 2011-04-11 17:21:38 +00:00
ryounes
43ba41711b NIHVIVO-2472 Suppress classgroup search refinement link when classgroup has no public name 2011-04-08 20:39:22 +00:00
j2blake
78fec720c4 Remove AuthFlag class - it is no longer used. 2011-04-08 15:36:43 +00:00
deepakkoni
85c124e529 Removing two analyzers on the name field. 2011-04-07 20:29:02 +00:00
deepakkoni
8e194f22d4 Replacing generic QueryParser with MultiFieldQueryParser 2011-04-07 20:20:04 +00:00
j2blake
4d1ec35fc9 NIHVIVO-2254 Remove VisitingPolicyIface - fix a bug 2011-04-06 20:51:26 +00:00
j2blake
7133857bb9 NIHVIVO-2254 Clean up the RequestedAction class hierarchy 2011-04-06 20:38:35 +00:00
j2blake
2f67bd199e NIHVIVO-2254 Remove VisitingPolicyIface 2011-04-06 19:50:41 +00:00
j2blake
625f654ae4 NIHVIVO-2254 Remove compiler warnings 2011-04-06 19:26:07 +00:00
j2blake
b0db5dd122 NIHVIVO-2254 Rewrite the role-based policies to use the PropertyRestrictionPolicyHelper. 2011-04-06 19:11:14 +00:00
briancaruso
835ffa3481 Working on removing portal filtering code NIHVIVO-2320 and moving processRdfForm2.jsp to java 2011-04-06 15:41:52 +00:00
runeliza
1de0056c3c Modified Servlet class to replace deprecated call to the QueryParser constructor and added a simple unit test. 2011-04-06 15:27:59 +00:00
ryounes
8c988d8485 NIHVIVO-2452 Remove more unused code from former front end vitro namespace property editing 2011-04-05 20:34:17 +00:00
ryounes
3610974111 NIHVIVO-2452 Remove general process for front-end vitro namespace property editing, and handle rdfs:label as the only exception. 2011-04-05 20:18:11 +00:00
j2blake
f746534279 NIHVIVO-2254 Create a helper for dealing with property restrictions. 2011-04-05 19:59:00 +00:00
deepakkoni
e8a3cc1dd3 returning additions, retractions from editExistingResource in ProcessRdfForm.java. 2011-04-05 18:17:16 +00:00
mbarbier
113664680c Undo QR code changes 2011-04-05 18:01:31 +00:00
deepakkoni
92068de031 deleting edu.cornell.mannlib.vitro.webapp.edit.forms.ProcessRdfForm as it duplicates edu.cornell.mannlib.vitro.edit.n3editing.controller.ProcessRdfForm 2011-04-05 17:56:10 +00:00
ryounes
6e9a877e07 NIHVIVO-1461 Log specific error messages to distinguish template parse exception from template not found exception. 2011-04-05 17:46:21 +00:00
ryounes
2e200c6142 Undoing private change committed unintentionally. 2011-04-05 17:11:07 +00:00
ryounes
e7e853259a Remove reference to deleted StringUtils class. 2011-04-05 17:05:48 +00:00
ryounes
dbeceda47c Remove StringUtils class and use org.apache.commons.lang.StringUtils instead. 2011-04-05 16:58:27 +00:00
briancaruso
7b93ff82fc Adding changes for Deepak to review. 2011-04-05 14:58:22 +00:00
briancaruso
35deaebd34 Adding changes for Deepak to review. 2011-04-05 14:52:48 +00:00
ryounes
68c1f1286c Fix logging objects so subclass has its own log rather than reporting from the superclass. 2011-04-05 14:34:04 +00:00
briancaruso
619cfeed39 Deleting unused class ProhibitedFromUpdateBelowRoleLevelFilter. 2011-04-04 20:11:50 +00:00
j2blake
c0beb99720 remove obsolete commented code. 2011-04-04 20:11:36 +00:00
briancaruso
52a008cf3c Removing UpdateEntityFlagServlet.java, no longer used. NIHVIVO-2059 2011-04-04 20:04:18 +00:00
ryounes
a5ef0e4f0b NIHVIVO-2416 Handle properties declared as both object and data properties in individual property display without throwing an error. 2011-04-04 20:02:35 +00:00