Commit graph

570 commits

Author SHA1 Message Date
bdc34
ca7e496925 Moving menu n3 data into model. NIHVIVO-1560. 2011-01-06 23:22:53 +00:00
bdc34
acabfe7f38 Fixing problem with home menu item being marked as active all the time. NIHVIVO-1627 2011-01-06 16:57:54 +00:00
jeb228
d73aad79f4 NIHVIVO-1568 Start a new set of tests for Authenticate. 2011-01-05 22:31:23 +00:00
bdc34
4309c7582e Working on converting organizationHasPositionHistory to date time with precision NIHVIVO-631 2011-01-05 21:24:17 +00:00
bdc34
c4774272eb Working on dateTime with precision NIHVIVO-295 2011-01-04 00:00:51 +00:00
bdc34
d000ca1c82 Suppressing warnings about deprecated methods 2011-01-04 00:00:09 +00:00
bjl23
e844444d37 NIHVIVO-1194 stripping characters invalid in XML from user input 2011-01-03 17:07:11 +00:00
bdc34
c94d82e6e2 Working on dateTime with precision NIHVIVO-295 2010-12-22 22:34:47 +00:00
jeb228
c6c9ac4ed5 Fix yet another login bug - Login process URLs must be sticky. 2010-12-15 15:42:21 +00:00
jeb228
aeac1ba058 If a user submits a login widget, it should be recognized even if they were not already known to be logging in. 2010-12-14 16:37:28 +00:00
jeb228
1a970e6262 NIHVIVO-151 handle the case where we come from a bookmark of the login link -- a "return" parameter with no referrer. 2010-12-10 16:30:22 +00:00
bdc34
377ca44940 Adding XML search results NIHVIVO-1303. Adding menu page browse NIHVIVO-632. 2010-12-09 23:53:56 +00:00
jeb228
f4186c3657 Make the test quieter. 2010-12-09 21:22:11 +00:00
jeb228
43b6d8d5f2 NIHVIVO-1460 revise logic in the ProgramLogin servlet. 2010-12-09 20:24:59 +00:00
jeb228
3b3111be82 NIHVIVO-1460 implement the ProgramLogin servlet. 2010-12-09 17:18:27 +00:00
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