Commit graph

145 commits

Author SHA1 Message Date
Colin Kuskie
9a09ec0447 sslEnabled in the config file trumps encryptLogin in the settings. 2012-03-11 16:04:31 -07:00
Colin Kuskie
40c61575d6 Fix syntax errors in the last Auth patch for bug #12269. 2011-10-13 09:09:45 -07:00
Colin Kuskie
5314530a3c When using encrypted logins, do not add the webServerPort from the config file. Fixes bug #12269. 2011-10-05 22:39:20 -07:00
Colin Kuskie
1acc6411fa encryptLogin should not trump showMessageOnLogin. Fixes bug #12245. 2011-09-08 19:34:52 -07:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Jukka Raimovaara
b24db340e8 added #11968: use the language override in the registration form 2010-11-17 21:00:50 +02:00
Colin Kuskie
ab2be62157 The back to site URL in the login message should return the user to the page where they logged in. Fixes bug #11897. 2010-10-05 11:28:01 -07:00
Doug Bell
68b2c406f7 add multiple auth methods and www_ methods 2010-06-27 22:09:04 -05:00
Colin Kuskie
f3010db1b3 Persist data entered by the user in the registration form, but keep falling back to user profile field defaults if no user input is given. Fixes bug #11533. 2010-05-10 14:12:07 -07:00
Colin Kuskie
0b6e78f6d9 Fix a typo in the deactivate account template code. Fixes bug #11530. 2010-04-20 09:09:40 -07:00
Patrick Donelan
2dd18be4be Fixes #11485 - RedirectAfterLoginUrl Setting should not override returnUrl and redirectAfterLogin scratch
The redirectAfterLogin Setting works better if it is checked after
  $self->session->form->get('returnUrl')
and
  $self->session->scratch->get("redirectAfterLogin")
in WebGUI::Auth::login.

This is so that the redirectAfterLogin scratch variable and returnUrl form param get a chance to redirect
Visitors to the appropriate page after being shown an intermediate login form.
2010-03-22 16:02:06 -04:00
Colin Kuskie
d6f61c07d1 Make the Deactivate account template user selectable for both LDAP and WebGUI. Fixes bug #11482 2010-03-22 10:43:29 -07:00
Colin Kuskie
119d5137e2 Try to fallback to a default login template if the configured one won't work. Fixes bug #11450. 2010-03-02 08:51:50 -08:00
Colin Kuskie
20ad246c41 Clean up the scratch variable redirectAfterLogin, even if redirectAfterLoginUrl from settings is used. Fixes bug #11439. 2010-02-25 19:06:53 -08:00
Colin Kuskie
7648b124e3 Remove bad variable instanciation. 2010-02-25 16:18:19 -08:00
Doug Bell
100a9e652e fix 11426: Logout page gets cached 2010-02-23 17:51:12 -06:00
Colin Kuskie
c4e63dfef0 Auto update user's DN if it changes on the LDAP server. Fixes bug #11217 2009-11-13 16:17:18 -08:00
Colin Kuskie
858c148b2e Users always get default profile field values from the profile field. Fixes bug #11215 2009-11-10 10:02:35 -08:00
Graham Knop
60a4a9b140 mark $session->datetime->time as deprecated and remove its use from core code 2009-10-05 20:56:37 -05:00
Colin Kuskie
9bf275a790 Forward port POD whitespace fix. 2009-06-02 16:31:14 +00:00
Arjan Widlak
aab891a5b6 Fixed #10450: Different errormessages on login failure 2009-05-31 20:39:12 +00:00
Yung Han Khoe
5f60eddaa7 rfe #9981: RedirectAfterLogin Setting 2009-05-15 18:57:12 +00:00
Yung Han Khoe
b8d4eac3ca rfe #9353: Welcome message template 2009-03-21 15:17:29 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
758a321e70 modules, tests, etc shouldn't be set as executable 2008-11-24 04:01:23 +00:00
Colin Kuskie
0569a37f89 guarantee that authMethod always returns something valid, even for users not created correctly 2008-11-24 03:05:34 +00:00
Colin Kuskie
47f62faeee merge in POD fixes from 7.5 branch 2008-11-20 19:56:52 +00:00
Frank Dillon
32979d75e1 Replaced the account.options loop in the displayAccount auth methods with new macros for displaying deactivate account and back to site links. Another macro which allows text to be displayed according to whether the value passed in is empty or not was added to allow functionality similar to that which currently exists. 2008-11-18 07:05:23 +00:00
Frank Dillon
d91bc5754d Merged the "Invite a Friend" application into the Account system and cleaned up the templates in the Inbox 2008-11-18 04:52:16 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
11d18075fa Account release candidate - final changes before merge 2008-11-15 02:39:23 +00:00
Henry Tang
185a4c79de Updated comments (removed reference to AMH). Put SQL statements for upgrade 2008-11-07 14:33:55 +00:00
Henry Tang
d22214e0dd AMH: implemented version tag modes as site settings, removed autoRequestCommit setting 2008-10-31 14:57:39 +00:00
Frank Dillon
a70e0cf66a Registration form to keep user entries on error - required and errored out fields are now highlighted. 2008-09-17 00:58:50 +00:00
JT Smith
ef120fb06b Added isVisitor, isAdmin, and isRegistered methods to User object instead
of hard coding checks everywhere with group ids. And updated the code base 
   to match.
2008-09-16 22:32:36 +00:00
Doug Bell
46a6d404bf rfe: Added logged in time to Login History 2008-09-16 18:16:20 +00:00
Colin Kuskie
3e318493c9 Fix a bug where Show Message on Login didn't work with anonymous
registration for WebGUI auth.  Added POD to the Auth createAccountSave
method to detail that what it returns is important.
2008-09-05 01:38:22 +00:00
Colin Kuskie
58c81ede6d continue link from message on login did not look at gateway url 2008-09-04 20:28:35 +00:00
Colin Kuskie
e3b9e4bd92 produce valid HTML in the Auth screen 2008-08-01 03:00:04 +00:00
Colin Kuskie
33564cee94 Add POD to the ProfileField, formField method.
Fix all profile field defaults being ignored by the createAccount screen.
2008-06-12 20:59:12 +00:00
Doug Bell
614b37e31d added: Two new approval activities, byLineage and byCommitterGroup
added: Show a message to users when they log in
fixed: Gallery search form doesn't work right in IE6
fixed: Minor bug in new gallery approval handling
2008-06-02 21:16:06 +00:00
JT Smith
01d9af6222 The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately. 2008-05-03 05:38:13 +00:00
Doug Bell
db5a948c6b fixed: registration form again saves progress if there is an error 2008-04-27 18:52:46 +00:00
Graham Knop
9fa0df22c7 Reject HTML and macros in usernames 2008-02-15 14:56:40 +00:00
Doug Bell
1f10f07338 add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Colin Kuskie
a915b15cd7 fix a typo in Auth.pm for the profile method 2007-10-29 22:42:38 +00:00