pdontthink
598a599ba3
Happy New Year
2025-01-03 11:47:03 -08:00
pdontthink
4b4b4291ad
Correct docs, initialize variable
2024-06-01 14:35:59 -07:00
pdontthink
39cfdaadfd
Happy New Year
2024-01-02 14:58:16 -08:00
pdontthink
380afc7213
Happy New Year
2023-01-02 22:04:25 -08:00
pdontthink
ed0e93752b
Fix: Login mechanisms other than "login" were broken if server returned untagged data before login response ( #2854 )
2022-05-22 16:07:35 -07:00
pdontthink
bcdfe6e9f1
Happy New Year
2022-01-26 01:06:50 -08:00
pdontthink
fa13f1555d
Someone meant to use strlen() instead of sizeof() but neither is necessary
2021-10-17 17:06:38 -07:00
pdontthink
4783fa1b6a
Stop using curly braces
2021-02-06 09:33:41 -08:00
pdontthink
c4ef1a0eea
Happy New Year
2021-02-05 11:55:37 -08:00
pdontthink
8e48a0bb7b
Remove use of each() as it is deprecated
2021-01-16 02:08:19 -08:00
pdontthink
fc283980d0
Happy New Year
2020-01-07 00:12:38 -08:00
pdontthink
2b6232c8f9
Add IMAP ID command (RFC2971), sent after every login - use by setting in config/config_local.php (see notes in config/config_local.example.php for more details)
2019-04-06 19:58:54 -07:00
pdontthink
fbcb1ca1f5
Happy New Year
2019-01-07 21:55:08 -08:00
pdontthink
23cd61b628
Happy New Year
2018-01-16 23:44:07 +00:00
pdontthink
eb6563d978
Seriously? The variable is named as an array and initialized as a string? Well, I hope no callers were expecting a potentially empty string, because now they will get an empty array instead. empty() should handle this fine, hopefully callers do something sane like that.
2017-12-29 20:03:40 +00:00
pdontthink
2454a09f25
SM doesn't know how to log in again on the same connection, so best to actually close the file handle as well
2017-06-09 10:25:27 +00:00
pdontthink
6cd24c0552
Happy 2017
2017-01-27 20:34:08 +00:00
pdontthink
2934017d92
Happy New Year
2016-01-01 20:59:53 +00:00
pdontthink
3b465a0d0f
Happy 2015
2015-01-03 04:09:49 +00:00
pdontthink
19cfc02954
Add session variables that store information about most recent fatal IMAP error
2014-08-01 02:26:11 +00:00
pdontthink
6aa022543c
Variable name correction
2014-01-21 22:15:03 +00:00
pdontthink
d95e0da38c
Allow SSL socket context to be specified as well
2014-01-21 03:47:03 +00:00
pdontthink
e0ba6b31ed
Add ability to show login error from the IMAP server instead of traditional "Unknown user or password incorrect" (thanks to Alain Williams)
2014-01-21 03:20:48 +00:00
pdontthink
cedca778de
Add advanced control over the SSL context used when connecting to the SMTP and IMAP servers over SSL/TLS (Thanks to Emmanuel Dreyfus)
2014-01-21 01:13:49 +00:00
pdontthink
581dc23061
Happy 2014
2014-01-01 20:33:20 +00:00
Fredrik Jervfors
c076a1f1ae
Update copyright
2013-07-26 17:31:02 +00:00
Thijs Kinkhorst
efd75f4867
Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
...
New function sm_encode_html_special_chars() encodes HTML special
characters by calling htmlspecialchars(). It sets the character set
to ISO-8859-1, to fix compatibility with PHP >= 5.4.
Patch by Paul Lesniewski.
See #3491925
2012-12-09 12:06:30 +00:00
pdontthink
d4e2698415
Account for servers that send extra unsolicited FETCH responses (such as when flags change due to a FETCH request). PLEASE TEST!
2012-07-27 23:03:15 +00:00
pdontthink
33ebad3f5c
Fall back to using LIST if NAMESPACE answer is malformed or otherwise problematic. This still doesn't account for situations where the NAMESPACE or LIST answer can't be parsed correctly.
2012-04-01 19:50:49 +00:00
Thijs Kinkhorst
c323e82aca
I believe this code worked by chance, redefining it from string to array and
...
using it outside the code block it was defined in. This should repair it to
what was intended.
2012-03-24 10:42:31 +00:00
pdontthink
acc409fb2a
Updating copyrights. Happy New Year.
2012-01-02 02:09:17 +00:00
pdontthink
fc57bf2b59
Happy New Year!
2011-01-06 03:16:21 +00:00
pdontthink
7aa0e60863
Update copyrights to 2010
2010-01-25 03:23:30 +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
bc3fb36016
Stop using deprecated ereg() functions ( #2820952 )
2009-07-29 01:55:21 +00:00
Thijs Kinkhorst
6f1f3d6b35
The shell escaping fix in map_yp_alias (CVE-2009-1579) was incomplete.
...
Thanks Michal Hlavinka for noticing this. [CVE-2009-1381]
2009-05-21 17:11:22 +00:00
pdontthink
eda7b9b157
OMG - unsanitized shell command. Thanks to Niels Teusink. (CVE-2009-1579)
2009-05-11 22:17:46 +00:00
pdontthink
dba77072d2
Dunno why this was never implemented, but the comments say it's OK, so here goes...
2009-05-11 22:08:25 +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
6c2c0ff29b
FIXME
2008-07-10 08:43:49 +00:00
pdontthink
167a679501
FIXME
2008-07-10 08:43:04 +00:00
pdontthink
416c38cee1
Notes about HTML we need to remove
2008-01-05 06:06:21 +00:00
Thijs Kinkhorst
593944ce7f
- Fix busy loop and notice when two literals in IMAP fetch ( #1739433 ).
...
thanks James E. Blair
2007-06-25 21:05:56 +00:00
Thijs Kinkhorst
11b10ba5d1
increment year in copyright notices
2007-01-13 20:15:44 +00:00
stekkel
9767e2393c
Remove sqsetcookieflush call (not needed)
2007-01-13 14:04:39 +00:00
pdontthink
717be5c30c
Massive update to plugin system architecture. Please test! Not all core plugins are tested yet, please point out issues that need to be fixed. Please see http://marc.theaimsgroup.com/?t=116282394000001&r=1&w=2
2006-12-10 05:07:54 +00:00
pdontthink
3b05f3adc4
Allow sqimap_login() to return error string when connection fails; would be nice if we had an error code system instead; the extent to which HTML is buried in error messages in the core like here is indicative of just how far away SM's architecture is from a good modularized system that is truly ready for t12n and a good API.
2006-11-11 20:05:23 +00:00
pdontthink
93fb75d405
Doc fix
2006-11-11 08:24:25 +00:00
pdontthink
6692d38bd8
Long time in coming: allow sqimap_login() to return even if connection failed. Useful in many places, including the new API library.
2006-11-11 08:13:12 +00:00
Alexandros Vellis
0f2d1a970e
Fix for namespace parsing. UWash has a namespace prefix without a delimiter, which is perfectly legal.
2006-11-02 12:54:14 +00:00