Commit graph

305 commits

Author SHA1 Message Date
jeb228
192b722de3 NIHVIVO-1460 implement more stub methods to enable testing. 2010-12-09 17:18:00 +00:00
jeb228
8676ec5544 NIHVIVO-151 Get better control of redirection after logging in.
1) The login link goes to the controller, not directly to the form.
2) The process bean holds the URL where the form is located, and the URL we will go to on success.
3) Only the controller alters the state of the bean, not the widget.
4) The process bean is kept until the redirector can get information from it.
5) Finally, with more control in the redirector, change the behavior.
2010-12-08 22:14:39 +00:00
jeb228
6a79bca59f NIHVIVO-1232 Create InformationResourceEditingPolicy, with tests. 2010-12-06 19:56:45 +00:00
bdc34
3180ed432b Adding menu controller, tomcat filter for menu page URL routing NIHVIVO-1073 NIHVIVO-597 2010-12-02 21:09:58 +00:00
jeb228
d27c258ad5 NIHVIVO-1232 Pull the code that covers restricted Namespaces and URIs into its own class. 2010-12-02 19:11:13 +00:00
jeb228
b1fe45f9ff NIHVIVO-1232 Move the property statement actions into a new requestedAction.propstmt package 2010-12-02 17:07:04 +00:00
jeb228
1e0230777e NIHVIVO-1232 refactor SelfEditorPolicy and fix the handling of multiple SelfEditor identifiers. Add tests. 2010-12-02 15:45:20 +00:00
jeb228
6702667ccf NIHVIVO-1232 refactor the SelfEditingPolicyTest 2010-12-02 15:28:28 +00:00
rjy7
10dc4d3e1f NIHVIVO-1333 Lots of work on display of ontology properties on individual page (nothing visible yet). 2010-12-01 22:28:54 +00:00
jeb228
49ff09b9d4 NIHVIVO-1430 Fix the Login redirector and associated classes to recognize 2 types of association: by SelfEditingConfig and by MayEditAs 2010-11-30 22:45:31 +00:00
jeb228
5d4625d421 NIHVIVO-1430 When a user logs in, change what is viewed. Consolidate the logic so an external user is more like an internal user. 2010-11-29 20:08:34 +00:00
jeb228
9eee0e9516 NIHVIVO-1396 Change LoginProcessBean so the message is "read-once and clear". Change the method names to reflect this. 2010-11-24 19:33:03 +00:00
bdc34
e20e2af6c6 Adding MenuDao.java, MenuDaoJena.java, MenuDaoJenaTest.java and menuForTest.n3 2010-11-23 21:25:33 +00:00
jeb228
1365f0a665 NIHVIVO-1207 Add authenticationSource field to LoginStatusBean, so we can tell whether the user logged in via internal or external credentials. 2010-11-23 19:20:59 +00:00
jeb228
61d95dbf5c NIHVIVO-1207 A user who logs in with external authentication but no internal user account gets a LoginStatusBean anyway - just with slightly different info. 2010-11-23 16:53:58 +00:00
bjl23
0a71b802df SDB code into trunk; not yet active by default 2010-11-22 16:24:00 +00:00
jeb228
eafa04ccf2 NIHVIVO-1207 Some time ago NetIdIdentifierFactory and SelfEditingUriFactory were merged into SelfEditingIdentifierFactory. Fix several comments to reflect this. 2010-11-17 21:35:52 +00:00
rjy7
252edbe863 Use login widget on login page. 2010-11-16 14:44:01 +00:00
jeb228
f7b7046318 If the user fails to login, they will be redirected back to the page that contains the Login widget. 2010-11-15 17:03:35 +00:00
jeb228
46d4332ba3 NIHVIVO-151 Logout will store a confirmation message in the session, using DisplayMessage. 2010-11-15 16:21:48 +00:00
bdc34
bba7eb9064 Adding Licenses. 2010-11-05 20:56:11 +00:00
bdc34
137905e6fd Adding test for URLRewritingHttpServletResponse. 2010-11-05 19:55:58 +00:00
bdc34
ddd285aab9 Test for VitroURL. 2010-11-05 19:47:34 +00:00
jeb228
4f3f5bec58 NIHVIVO-1207 Simplify the Authenticator interface. 2010-11-05 18:36:49 +00:00
jeb228
7e4499778c NIHVIVO-1207 Restructure Authenticate as a clean state machine. 2010-11-05 17:03:34 +00:00
jeb228
dcb358d4c8 NIHVIVO-1207 Make LoginProcessBean more encapsulated. 2010-11-05 15:26:22 +00:00
jeb228
c6ff668647 NIHVIVO-1207 Rewrite a unit test to use an AuthenticatorStub, now that it has been factored out. 2010-11-04 20:57:34 +00:00
jeb228
db304c4f52 NIHVIVO-1207 Factor out the model-related stuff from Authenticate into Authenticator. 2010-11-04 19:01:23 +00:00
jeb228
d9ea7672df NIHVIVO-1207 Create unit tests for Authenticate. The UserDaoStub and WebappDaoFactoryStub are created here instead of their usual location, because I plan to factor them out. 2010-11-04 14:51:40 +00:00
jeb228
631870cad2 NIHVIVO-1207 enhance stub classes for unit tests. 2010-11-04 14:50:38 +00:00
jeb228
21bbd9e881 Fix ambiguous method call. 2010-10-27 20:06:00 +00:00
jeb228
b438f7d36d NIHVIVO-1229 Create the RevisionInfoBean, with setup listener and unit tests. 2010-10-25 21:30:34 +00:00
jeb228
5a2af2f97d NIHVIVO-1208 Cleaned things up a bit - ready to give up, for now at least. Still works for JPEG, but not for GIF. 2010-10-12 20:05:55 +00:00
bdc34
23bc237950 Adding self editing of author lists, NIHVIVO-1155 2010-10-06 21:52:08 +00:00
sjm222
9e1a84e174 merging in changes from NIHVIVO-1191 and NIHVIVO-1195 from the 1.1.1 branch 2010-10-05 21:35:33 +00:00
sjm222
a5f04394d9 merging update for NIHVIVO-1191 from branch 1.1.1 to trunk 2010-10-05 14:45:55 +00:00
rjy7
a79d4067a6 Reimplementing main site admin page in Freemarker: ontology editor panel 2010-08-31 17:12:53 +00:00
jeb228
4d59966bd0 Fix "lastModified" test to allow for the fact that Unix only keeps timestamps to the nearest second. 2010-07-30 18:20:52 +00:00
jeb228
7fd7fbcc27 NIHVIVO-705 NIHVIVO-789 Use a Flattening Template Loader for templates from Vitro core, instead of flattening the template directory during the build process. 2010-07-30 14:23:18 +00:00
jeb228
677dfb18d0 Remove the requirement for a namespace ending in "/individual/" - print a warning, but go on. 2010-07-29 16:28:07 +00:00
bdc34
5671656d5d Merge to trunk. Fixing tab flag 1 filtering when there is only one portal. NIHVIVO-987 2010-07-23 21:04:08 +00:00
jeb228
1236e6cf18 NIHVIVO-927 Merge 5418 from the branch. 2010-07-22 20:23:20 +00:00
jeb228
d3bba71a13 NIHVIVO-927 Merge 5404 from the branch. 2010-07-22 19:26:50 +00:00
jeb228
1c62224b6d NIHVIVO-927 Merge 5386 from branch. 2010-07-22 15:22:18 +00:00
jeb228
0459959ae7 NIHVIVO-701 Merge 5366 from branch 2010-07-21 19:40:40 +00:00
bdc34
0b97ec523b merging URL validation in defaultLinkForm.jsp 2010-07-21 18:44:34 +00:00
bdc34
8f4b448dcb Fixing problems with too many threads for indexing. 2010-07-08 23:43:51 +00:00
rjy7
e7675e494d Added license text 2010-07-02 03:49:31 +00:00
bdc34
ec7a7c23a8 Adding ability to hide classes in search. NIHVIVO-643. Adding ability to have n3 files in ontology directories. 2010-07-02 00:24:15 +00:00
rjy7
fd0df8b281 NIHVIVO-646 Autocomplete, remove author functionality 2010-06-29 16:15:49 +00:00