Commit graph

81 commits

Author SHA1 Message Date
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
d7ee5f0bba Fix hook name clash: new smtp_auth hook added recently (a few months ago) has been renamed to smtp_authenticate 2011-09-05 07:00:18 +00:00
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
393975f23a Refine HMAC-MD5 generator; use native PHP Hash extension if available 2010-12-27 00:35:24 +00:00
pdontthink
d31ba01582 Fix sqauth_read_password() for plugins running on the login_verified hook when the 'key' cookie isn't yet set 2010-09-25 04:08:03 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
pdontthink
39008a1693 Avoid prefixing global $check_referrer value with protocol prefix - use local variable instead 2009-10-12 22:11:35 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
pdontthink
585c624f80 Implemented page referal verification mechanism. (Secunia Advisory SA34627) 2009-08-12 08:20:46 +00:00
Fredrik Jervfors
0a6245814a There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style. 2009-04-15 22:00:49 +00:00
pdontthink
c0e02fd5d4 Fix subsequent PHP notices caused by last commit. Also note that incorrect server responses shouild be error-checked, but they are not, probably because that's indicative of more fundamental problems elsewhere. 2008-08-17 03:49:37 +00:00
pdontthink
5c2f2e7f89 Eliminate PHP notices. Thanks to Pablo Alvarez de Sotomayor Posadillo 2008-08-16 08:58:19 +00:00
pdontthink
87f2ed82e7 Clarify language 2008-07-24 18:16:44 +00:00
pdontthink
cd57643ef8 Correct since tag 2008-02-12 18:17:33 +00:00
pdontthink
dc10ee7589 avoid E_STRICT errors 2008-01-06 02:06:06 +00:00
pdontthink
f20a363f8e PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. 2007-10-31 00:28:26 +00:00
pdontthink
153c6aa3b2 Added smtp_auth hook 2007-08-29 23:48:30 +00:00
Thijs Kinkhorst
c350aec756 use PAGE_NAME rather than PHP_SELF in session_expired_location 2007-07-14 18:04:09 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
Alexandros Vellis
4a20048513 I should read RFC 2831 more carefully: DIGEST-MD5 with authzid needs one more tweak. 2006-11-01 15:24:54 +00:00
Alexandros Vellis
2b54ac2f41 Support for authz authorization identity in the IMAP backend. 2006-10-09 11:38:32 +00:00
tokul
87871e2f42 username should not be empty 2006-08-05 08:22:45 +00:00
Thijs Kinkhorst
4bda93b39e some code simplification 2006-08-03 16:06:47 +00:00
Thijs Kinkhorst
c3f1d98653 Fixed resuming of compose when session expired while writing, and make
sure the code only sets those variables that are needed in compose and
are not already set. Thanks James Bercegay from GulfTech for pointing
this out.
2006-08-03 15:03:44 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
dbd9f69d03 resubmitting last Monday updates and adding php 5.1.0 timezone support 2006-05-13 19:11:08 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
tokul
bfafe666b4 use sqsetcookie instead of setcookie.
return OTP encrypted password key.
2005-12-04 08:57:30 +00:00
tokul
d72dfedcc9 centralizing password reading and saving functions. 2005-12-02 11:16:28 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
pdontthink
a808976923 Roll back signout.php changes and move the fix to auth.php, since checking $_SESSION at the top of signout.php *before* the session was even started meant that the user was always considered to be logged out, even before they really were. This broke most all of the plugins that hooked into signout.php 2005-03-18 04:18:32 +00:00
Fredrik Jervfors
2834210b28 Indentation cleanup 2005-01-17 05:41:38 +00:00
Fredrik Jervfors
9faf3051c1 Changing squirrelmail/Squirrelmail to SquirrelMail in some strings as well as other minor documentation fixes 2004-12-29 15:06:20 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
Fredrik Jervfors
3b83c567dd Minor cleanups 2004-08-24 00:40:28 +00:00
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
tokul
eb784ac89f adding global declaration for set_my_language 2004-05-18 13:01:07 +00:00
Fredrik Jervfors
e13894b4ed This i18n string never got translated before 2004-05-13 05:48:53 +00:00
tokul
a3f79a274e phpdoc fix. 2004-04-12 07:55:24 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
Erin Schnabel
cfdced5f7b Some tweaks to SMTP auth to allow a site-wide user/pass override
(for those of us with a home installation that want to go out
using the ISP's SMTP server because people arbitrarily block
our dynamic IP addresses).

new function in auth.php assigns the correct user/pass values
based on the auth mechanism.

For some reason the initStream method in Deliver_SMTP was not using
the passed in user name, it was using the global $username, and had
the key and onetimepad declared, though it always used the passed in
parameter pass instead - cleaned that up so it used the user/pass values
passed in instead.

read_body and compose were updated to use the new function in auth.php
to get the correct username and password for SMTP auth, and pass these
values to initStream.

Works for me.
2004-01-04 06:11:15 +00:00
Alexandros Vellis
5094344725 Attempt to format available documentation for phpdoc. 2003-11-04 13:59:36 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
tassium
d1cc599af5 Ok, I screwed up. When I put in cram-md5 and digest-md5, I left the alternative as being "plain", which is a misnomer. There really IS a mechanism called "plain", and what we're doing isn't it. So I've renamed our "plain" to "login".
For IMAP, it uses the IMAP4rev1 "LOGIN <user> <pass>" syntax.
For SMTP, it uses the AUTH LOGIN (two-step) method.
2003-01-04 06:01:26 +00:00
Thijs Kinkhorst
b9f6f4ca77 Forgot a SM_PATH 2002-12-31 14:36:56 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00