Commit graph

42 commits

Author SHA1 Message Date
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
tassium
78084bafd4 Minor changes.
* renamed auth.php/hmac() to hmac_md5()
* polished descriptions and helper text in conf.pl
* fixed minor bug with smtp auth mech default value in conf.pl
* minor documentation additions to authentication.txt
* added myself to AUTHORS.
2002-12-09 16:28:23 +00:00
tassium
1fc6f1eced With a little help from Marc (ok, a lot), CRAM-MD5 and DIGEST-MD5 no longer require the mhash extension. If present, mhash will be used. 2002-12-07 04:02:05 +00:00
tassium
c6b03fc667 Fixed some E_ALL warnings, should now be E_ALL clean.
No new functionality.
2002-12-02 19:33:23 +00:00
tassium
d698527ab3 Merging in the tassium-auth branch. 2002-11-06 18:55:13 +00:00
stekkel
386bbd11c1 rg=0 fix for recovering sessions 2002-10-15 20:53:17 +00:00
jmunro
16542833cd Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS. Because of this session_register, session_unregister, and session_is_registered should NOT be used (see the PHP manual at php.net). They are buggy over different PHP versions anyway. Now when changing a session var using the custom 'sq' version of these functions (all located in global.php) the superglobal array is accessed directly. This fixes the problem with corrupted objects in the session. Tested with 4.1.2 rg=0 and 1. 2002-10-06 23:43:02 +00:00
stekkel
aa46da1ac3 recover compose form in case of a session expire 2002-07-31 21:38:32 +00:00
graf25
f6bbbd3d8d Better base_uri workaround code. 2002-04-06 21:00:18 +00:00
graf25
6d6fa84207 OK, so it wants a trailing slash... 2002-04-06 20:25:13 +00:00
graf25
fae230a068 This will hopefully solve the src/src problem. I am a bit concerned about
auth.php, since it's in functions and is, therefore, included. $PHP_SELF
can be anything in it.
2002-04-06 20:19:47 +00:00
philippe_mingo
f9cbd7d61d Some optimization on frequent loaded code.
Unification of logout error messages.
Strings update.
Spanish strings update.
2002-03-30 09:31:43 +00:00
philippe_mingo
39671bce30 Redirect the wrong access to the root pf the folder as index.php are in place
for such ocasions. This removes the bug into the redirector when the access
failure is within a plugin.
2002-03-24 08:28:41 +00:00
simond
f0dd17daf3 Make sure base_uri is correct (submitted by James Lewis) 2002-03-08 10:11:33 +00:00
Bron Gondwana
555826258e Fix little bug where base_uri is '/' causing the 'Please Login' URL to
redirect to //src/login.php - which maps to http://src/login.php, and
I don't have a hostname 'src' on my network!
2002-02-22 10:15:18 +00:00
philippe_mingo
66363acf88 The 2000000 bugfix
------------------

This is mostly a warning removal "a la Tyler".

I've also installed 4.1.1 on my portable and it looks it works
fine with some bugfixs. Please 4.1.1 report feedback.
2002-02-02 02:17:05 +00:00
teepe
52f24ab4e5 _top frame problem fix 2002-01-27 23:30:40 +00:00
teepe
e4b09fa02b allow sm to be in an embedded frame 2002-01-25 17:15:57 +00:00
philippe_mingo
424a25de04 some cleanup 2002-01-18 11:53:18 +00:00
Bron Gondwana
533d69a905 More exciting clean-up 2002-01-12 07:49:11 +00:00
thomppj
1e2a9cc5d0 Getting ready for 1.2.0 release. 2001-12-23 07:42:40 +00:00
thomppj
5d15361f1f Code cleanup brigage... 2001-12-02 09:33:02 +00:00
philippe_mingo
da2f3297dd ** -> * 2001-11-26 19:33:28 +00:00
philippe_mingo
d61b98077f Added (c) stuff and some formatting. 2001-11-21 18:38:12 +00:00
philippe_mingo
c3aed0d769 Some fixup:
- Operation foo_once step 2 (and final)
- Create folders bugfix
- None folder bugfix
- Fixed some tabs, structs etc.
- Added some (c) stuff
- Removed some debug stuff

This changes should result in a faster SM.
2001-11-20 20:08:28 +00:00
Tyler Akins
a50adf45b4 * More minor changes 2001-05-15 19:11:58 +00:00
Tyler Akins
041c15128a * To reduce on errors, I moved the includes for config.php and strings.php
into validate.php.
    = They (config/strings) were used eveywhere validate was used
    = Validate already included auth.php (which included i18n.php)
    = Now including just one file does a lot of stuff including loading
      SM config, validating data, and loading internationalization
    = Since we only include config.php once and not dozens of times, we could
      have a slight speed increase
2001-04-26 14:28:02 +00:00
Tyler Akins
1f1506d687 * target="_top" for accidental logouts 2001-04-25 21:36:12 +00:00
Tyler Akins
0d0de5d238 * Got bored and copied all the validate.php and define() stuff to 1.1
* Cleaned up some code
* Fixed some typos
* Added a few files (documentation, translations)
* EAGERLY awaiting 1.1 to come out
* Made all global stuff "global $varname" so the new define() method we use
  will work properly (methinks)
2001-04-19 17:58:10 +00:00
thomppj
c517d51f81 Correct changes of "" to ''. 2001-01-31 18:27:06 +00:00
Tyler Akins
de965920f1 Removed a lot of the warnings generated when PHP has all warnings enabled.
This is not done yet, but it is a VERY good start.
Added $Id$ tags to a lot of the files.
2001-01-30 17:22:38 +00:00
gustavf
f6aa7e6f4a Added auth.php to put authentication functions in one place. Added a
function there to check if the user is logged in without having to
connect to the IMAP server. Using this function in compose.php as a
test.
2000-06-29 12:46:49 +00:00