Commit graph

3842 commits

Author SHA1 Message Date
tworrall
43db4d7416 NIHVIVO-3283 - when using back button to navigate back to a menu page, the vclass previously selected will be selected 2012-05-09 20:08:01 +00:00
tworrall
733c45e330 NIHVIVO-3665 - vitro components for new class hierarchy 2012-05-08 19:18:10 +00:00
tworrall
79cd09e2fa NIHVIVO-3665 - vitro components for new class hierarchy 2012-05-08 19:04:32 +00:00
briancaruso
29e4edc25d Worked on refactoring the startup listeners NIHVIVO-3700. Removed some old N3 code. 2012-05-04 16:20:26 +00:00
j2blake
3250efd091 NIHVIVO-3746 Change DataGetter.getData() so it doesn't require VitroRequest. Modify implementations of DataGetter to conform. 2012-05-02 17:46:08 +00:00
j2blake
a26f0c2809 NIHVIVO-3746 Permit DataGetter classes to have 4 different types of constructor - make reflection logic more rigorous to avoid NoSuchMethodException. 2012-05-02 17:04:24 +00:00
j2blake
18e171e1b9 NIHVIVO-3746 Simplify the use of reflection in constructing DataGetter instances. 2012-05-02 16:05:26 +00:00
j2blake
b688d6f1c6 NIHVIVO-2411 Create a TemplateUtils class to slightly simplify the browse templates. 2012-05-01 20:40:46 +00:00
j2blake
af3ca17ef1 NIHVIVO-2411 Modify ClassGroupPageData.java and browseByVClass.js to use the new BROWSE short view. This means that the VIVO-specific browseByVClassPeople.js and menupage--classgroup-people.ftl can be replaced by a VIVO-specific short view. 2012-05-01 16:29:36 +00:00
j2blake
47b3565e58 NIHVIVO-2411 Implement the BROWSE short view, which uses AJAX calls and so requires a FreemarkerProcessingService to render the view into HTML. 2012-05-01 16:27:07 +00:00
j2blake
cf94490842 NIHVIVO-2411 Create one directory for short-view templates 2012-05-01 16:25:15 +00:00
j2blake
e872572b1c Clean up the LogUtil output. 2012-05-01 16:15:31 +00:00
stellamit
c3cd046848 NIHVIVO-3603 updated ApplicationConfiguration ontology based on April 30 meeting. Changed the format to n3 and added Page and DataGetter classes and subclasses. 2012-05-01 14:47:08 +00:00
j2blake
00dec66662 NIHVIVO-2411 Refactor JsonServlet into a controller and a group of "plug-in classes". 2012-04-30 20:17:56 +00:00
j2blake
588fbcf0e7 Add some unit tests to JsonServlet 2012-04-30 19:47:37 +00:00
j2blake
80b24fcfc2 Add another LogUtil method 2012-04-30 19:47:01 +00:00
j2blake
b5be039b78 suppress log messages from unit tests. 2012-04-30 19:41:39 +00:00
j2blake
9b89014e54 add debug statements 2012-04-30 19:40:47 +00:00
j2blake
5977d4441f Suppress some INFO messages from Spring classes. 2012-04-30 19:39:14 +00:00
j2blake
ba55a8dcf9 NIHVIVO-2411 Move JsonServlet into its own package, in preparation for refactoring. 2012-04-26 20:57:46 +00:00
j2blake
7cb9c7b202 Create a "deep print" utility routine for logging. 2012-04-26 20:43:40 +00:00
j2blake
d19b5687bc Minor code cleanup. 2012-04-26 16:47:19 +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
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
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