Commit graph

3200 commits

Author SHA1 Message Date
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
ddd1460317 Document bad assumption 2017-12-19 05:02:38 +00:00
pdontthink
2286ff20d9 Minor fix and clarify return types 2017-11-18 22:44:10 +00:00
pdontthink
c5360aa209 Minor fix and clarify return types 2017-11-18 22:41:40 +00:00
pdontthink
bef534ab6e Allow callers of sqm_api_mailbox_select() to determine if errors should be handled internally or just returned 2017-11-18 22:33:48 +00:00
pdontthink
df885dbce7 Allow callers of sqimap_mailbox_select() to determine if errors should be handled internally or just returned 2017-11-18 21:29:11 +00:00
pdontthink
52ef23162a Add trailing text to boolean-radio widgets 2017-08-17 02:34:54 +00:00
pdontthink
b0cbefcafe Remove outdated headers 2017-08-16 07:59:53 +00:00
pdontthink
ffdafad7fc Allow options to use HTML in trailing text 2017-07-25 22:16:04 +00:00
pdontthink
cb71c2a076 Add "trailing_text_small" flag for option widgets 2017-06-12 08:15:08 +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
4e0a601333 Allow HTML in option info 2017-06-03 16:30:59 +00:00
pdontthink
6cd24c0552 Happy 2017 2017-01-27 20:34:08 +00:00
pdontthink
877fd1b711 Add PHP5-style constructor 2016-12-10 11:43:49 +00:00
pdontthink
49aecd2ee8 Add PHP5-style constructor 2016-12-10 11:31:19 +00:00
pdontthink
94ba70b664 Add PHP5-style constructor 2016-12-10 11:05:08 +00:00
pdontthink
ac22886ed3 Add PHP5-style constructor 2016-12-10 11:04:56 +00:00
pdontthink
5b1a0f6a59 Add PHP5-style constructor 2016-12-10 10:53:32 +00:00
pdontthink
ab2af51655 Add PHP5-style constructor 2016-12-10 10:42:28 +00:00
pdontthink
19a6c7e9a3 Add support for socket-based database connections 2016-10-29 21:52:49 +00:00
pdontthink
b2e40da363 Add support for socket-based database connections 2016-10-29 21:52:23 +00:00
pdontthink
822c0647e3 Use PDO for database access if available (adds PHP 7 compatibility) 2016-10-29 17:51:31 +00:00
pdontthink
590ef3fe1b Squash bugs 2016-10-29 10:24:04 +00:00
pdontthink
8991cdbba8 Use PDO for database access if available (adds PHP 7 compatibility) 2016-10-29 09:53:01 +00:00
pdontthink
3a679dfae6 Fix bad assumptions about parallel arrays - see it explode by removing folders without unsubscribing them, which is legal per RFC 2016-10-28 02:39:04 +00:00
pdontthink
35657ece1a Per comments in the commit - setting the session cookie over and over can be troublesome, but doing the obvious and defaulting to *replace* cookies causes logins to fail due to something I don't care to debug - session cookie is complex through all the pages involved in a login request - instead we use a simple static cache to prevent useless duplicate cookie headers 2016-04-06 05:33:06 +00:00
pdontthink
2934017d92 Happy New Year 2016-01-01 20:59:53 +00:00
pdontthink
91066cd0e6 Always show subject tooltip rollover 2015-08-01 02:34:57 +00:00
pdontthink
83c6f28db1 Add a couple sensible defaults 2015-06-21 10:05:27 +00:00
pdontthink
b972f2219e Add MD5 alternative to directory hash calculation 2015-06-17 23:18:37 +00:00
Thijs Kinkhorst
38208a612e Replace invalid characters with a symbol instead of returning empty string for the
entire to be encoded string.

Currently, if an email contains such an invalid character, the whole line will be
left out, which is rather confusing. Even more when it's the email subject. This
constant is only available in PHP 5.4 and up.
2015-06-07 13:51:19 +00:00
pdontthink
3845c4464d Fix PHP notice - this function is called statically, so needs to be declared as such. Thanks to Juergen Nickelsen for reporting 2015-01-19 18:27:15 +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
pdontthink
bb5e838b92 Change string to something already in squirrelmail.pot 2013-11-07 09:42:54 +00:00
pdontthink
f5e70a9086 Add full date and time as "title" (mouseover) text for dates shown on the message list screen 2013-11-06 16:47:55 +00:00
pdontthink
302724aa45 Add new spacer image and allow its use for unsafe images instead of the sec_remove_* image -- brings HTML emails into the modern age (much more viewable) 2013-10-23 10:09:16 +00:00
pdontthink
5c5e74e227 Add associative edit list option widget with optional folder list selector for values; Minor fixes for non-associative edit list widget 2013-10-22 15:49:26 +00:00
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
70fcd2f2ea Note a bug 2013-06-19 07:44:53 +00:00
pdontthink
47cddde346 Allow more liberal reuse of tokens to avoid cross-frame conflicts 2013-06-18 04:20:50 +00:00
Thijs Kinkhorst
6958cd07e8 Remove use of deprecated /e modifier in preg_replace.
This modifier starts generating Deprecated notices from PHP 5.5.
2013-05-16 12:16:58 +00:00
pdontthink
e8d8dc0eaa Fix error caused by typo of variable name 2013-05-15 20:33:11 +00:00
Thijs Kinkhorst
67336076f6 clean up code commented out since 8 y 2013-01-15 15:58:43 +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