Commit graph

4561 commits

Author SHA1 Message Date
j2blake
7cb9c7b202 Create a "deep print" utility routine for logging. 2012-04-26 20:43:40 +00:00
brianjlowe
33f39989f6 nearly complete support for running Vitro from an arbitrary SPARQL endpoint 2012-04-26 17:59:25 +00:00
j2blake
d19b5687bc Minor code cleanup. 2012-04-26 16:47:19 +00:00
brianjlowe
6416e51bdb improvements to SparqlGraph getting closer to proper behavior of blank nodes 2012-04-25 20:40:57 +00:00
j2blake
4b90513f1d NIHVIVO-2411 Extend the mock implementation of the ShortViewService to the index page. There should be no difference for the end-user. 2012-04-25 20:10:46 +00:00
j2blake
022506cbf4 NIHVIVO-2411 Create a mock implementation of the ShortViewService and incorporate it into the search page. Because this is a mock, it always uses the default short view, like before. There should be no difference for the end-user. 2012-04-25 19:32:50 +00:00
briancaruso
f2707b0bb1 Working on refactoring select option generation NIHVIVO-3657 2012-04-24 22:00:50 +00:00
brianjlowe
dfa3dfa65e generic in-progress rdfapi-related work on dev branch 2012-04-24 15:39:40 +00:00
j2blake
41171a48f4 NIHVIVO-3729 Remove unused methods from FreemarkerHttpServlet and TemplateProcessingHelper 2012-04-23 20:43:50 +00:00
j2blake
91b2f03780 NIHVIVO-3729 Don't fetch the FreemarkerConfiguration only to pass it through 6 levels of calls. Instead, get it from the FreemarkerConfigurationLoader when you need it. 2012-04-20 20:51:36 +00:00
j2blake
981ac675c9 NIHVIVO-3729 Stop storing the FreemarkerConfiguration as a request attribute. Instead, get it from the FreemarkerConfigurationLoader when you need it. 2012-04-20 20:23:29 +00:00
j2blake
21828f9233 Remove tests from ObjectPropertyTemplateModel_PropertyListConfigTest that had been superseded by tests in CustomListViewConfigFileTest 2012-04-20 20:04:39 +00:00
j2blake
68f88fe257 NIHVIVO-3729 Modify ProptyListConfig so it doesn't rely on the FreemarkerConfiguration being stored as a request attribute, but so it can still be stubbed out for unit tests. 2012-04-20 19:26:59 +00:00
j2blake
e3d2a8fb47 NIHVIVO-3729 Remove redundant parameter from FreemarkerConfigurationLoader.getConfig() 2012-04-20 17:42:57 +00:00
j2blake
ac873fe238 NIHVIVO-3729 small refactoring in how to create a FreemarkerConfiguration 2012-04-20 17:21:41 +00:00
j2blake
9386832142 NIHVIVO-2411 Factor out the execution of a Solr query obtaining the Individuals that correspond to the results. 2012-04-18 20:39:13 +00:00
tworrall
d002aff59c VIVO-450 resolved issue with quotation marks in TinyMCE text area 2012-04-12 14:06:54 +00:00
brianjlowe
d1db16b0b4 various dev work on language filtering and querying from a generic endpoint 2012-04-11 18:34:21 +00:00
brianjlowe
65c0898997 merging trunk changes from r9590:9646 into dev branch 2012-04-11 17:16:36 +00:00
brianjlowe
376c7be7c3 various dev work on language filtering and querying from a generic endpoint 2012-04-11 16:27:54 +00:00
j2blake
b150614e4a NIHVIVO-3404 Add methods to PolicyHelper to do last-minute authorization checks on additions and retractions. Create tests. 2012-04-04 20:18:03 +00:00
stellamit
76f02f0d55 NIHVIVO-3603 specifying no range at all for datatype properties that we expect to be a string with optional language tag. 2012-04-03 18:10:00 +00:00
stellamit
42d5e9ea5e changing name of one of the individuals in the enumerated class OfferEditOptions 2012-04-03 16:30:31 +00:00
j2blake
d41c67b015 NIHVIVO-3404 Restructure the SelfEditorRelationshipPolicy to use the model in the RequestedAction, instead of a model assigned at system startup time. Also, break out the logic into separate RelationshipChecker objects, for easier maintenance. 2012-04-03 16:13:41 +00:00
j2blake
657e63f580 NIHVIVO-3404 Provide getResourceUris() and getPredicateUri() methods on AbstractPropertyStatementAction, to permit easier checking by policies. 2012-04-03 16:11:59 +00:00
stellamit
8ec670d03a NIHVIVO-3603 2012-04-02 21:14:18 +00:00
stellamit
59ac4e5b60 NIHVIVO-3603 app config ontology 2012-04-02 21:13:05 +00:00
stellamit
41166b10fb NIHVIVO-3603 create application configuration ontology 2012-04-02 20:55:34 +00:00
j2blake
7aa3b4f469 NIHVIVO-3404 Require that the statement-based RequestedActions include a reference to an OntModel. So the paradigm changes from "may I do this with this statement?" to "may I do this with this statement and this model?" 2012-04-01 15:46:43 +00:00
j2blake
ed2f3ddc12 NIHVIVO-3404 Adjust the clients to use the most convenient constructor of EditDataPropertyStatement 2012-04-01 14:29:43 +00:00
j2blake
b0c7241ede NIHVIVO-3404 Improve the hierarchy of statement-based RequestedActions. Add constructors that accept either individual URIs or PropertyStatements. Don't ask for or hold the value of a DataProperty, because it is never used by a policy or permission (at least so far). 2012-03-30 22:08:58 +00:00
j2blake
e8fafcc10c NIHVIVO-3404 Rename accessor methods on AbstractObjectPropertyStatementAction to be consistent with those on AbstractDataPropertyStatementAction. 2012-03-30 21:44:46 +00:00
j2blake
5ecf031bae NIHVIVO-3404 Make instance fields on AbstractObjectPropertyStatementAction private. 2012-03-30 21:20:23 +00:00
j2blake
fc2052e0b7 NIHVIVO-3404 Rename statement-related RequestedAction classes to consistent naming scheme. 2012-03-30 21:14:51 +00:00
j2blake
37b0ad0e95 Remove AuthTestController at /authtest - it has been replaced by /admin/showAuth 2012-03-29 19:49:11 +00:00
j2blake
96d45d3281 Reduce the noise in the toString() of the DisplayObjectProperty requested action 2012-03-29 16:37:11 +00:00
j2blake
71ed58cc2e Neither PUBLIC nor self-editors get to edit any properties by virtue of their role. 2012-03-29 16:36:09 +00:00
j2blake
6ed41b7745 Remove the restriction on the OWL namespace. There are several reasons why we will need to add statements that assign OWL attributes to resources. 2012-03-29 15:03:21 +00:00
j2blake
bec33f53a7 Add toString() methods for better diagnostics. 2012-03-28 20:35:35 +00:00
j2blake
a7ced86d49 Stop using VivoPolicy to suppress add, edit, and delete links. Use a hard-coded list for now, while waiting for the application ontology. 2012-03-28 18:38:32 +00:00
j2blake
996ab4f479 NIHVIVO-3659 This error can happen many, many times on a development system. The full stack trace is not helpful. 2012-03-28 14:38:43 +00:00
j2blake
122a34f7d9 NIHVIVO-3542 Clean up the PropertyStatementTemplateModel hierarchy. Make each of the subclasses immutable. Make NameStatementTemplateModel inherit from PropertySTM, not from DataPropertySTM. Remove the editing flag. 2012-03-24 16:27:33 +00:00
j2blake
e0594b2681 NIHVIVO-3542 BaseTemplateModel doesn't need to hold ServletContext, and the way it's set in a static field is dodgy. Remove it. 2012-03-24 15:11:23 +00:00
briancaruso
490e0a18df Fixing logger class. 2012-03-23 20:24:08 +00:00
briancaruso
21aede6489 Spelling mistake. 2012-03-23 19:26:44 +00:00
j2blake
bc6abca8a1 NIHVIVO-3300 Remove the hard-coded reference to person.thumbnail.jpg 2012-03-22 20:18:34 +00:00
j2blake
9442468b75 NIHVIVO-3300 Placeholder images are configured by a properties file, which is loaded at startup. 2012-03-22 20:10:18 +00:00
brianjlowe
94717a3705 NIHVIVO-3532 get rid of Classes2ClassesDao 2012-03-22 20:00:06 +00:00
j2blake
3a6a3b985a NIHVIVO-3706 Create a separate permission "UseSparqlQueryPage" to control the SPARQL query page. Installers may modify permission_config.n3 to make the SPARQL query page publicly accessible. 2012-03-22 17:40:21 +00:00
j2blake
84a9b22d99 NIHVIVO-3502 Fix the proxy panel so all of the contents always have an image - either the profile image, if available, or the correct placeholder. Avoid hard-coding the URL of the placeholder, so we can remove the kluge of a person.thumbnail.jpg in Vitro 2012-03-21 20:33:34 +00:00