Commit graph

311 commits

Author SHA1 Message Date
pdontthink
598a599ba3
Happy New Year 2025-01-03 11:47:03 -08: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
bcdfe6e9f1
Happy New Year 2022-01-26 01:06:50 -08:00
pdontthink
580b85b557
Someone added non-optional parameter after optional one; it's not optional, but we can fix it like this 2021-09-28 19:16:09 -07:00
pdontthink
c4ef1a0eea
Happy New Year 2021-02-05 11:55:37 -08:00
pdontthink
b3acab5356
Typo fix 2021-01-16 02:09:21 -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
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
c5360aa209 Minor fix and clarify return types 2017-11-18 22:41:40 +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
6cd24c0552 Happy 2017 2017-01-27 20:34:08 +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
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
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
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
f21d866a51 2011-05-03 06:23:56 +00:00
pdontthink
76e21b5573 Allow administrators to configure subfolders of user INBOXes to be treated as special folders by adding $subfolders_of_inbox_are_special to config_local.php 2011-05-03 06:05:08 +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
35ee98eeb8 PHP 5.3 deprecated ereg() function (#2820952) 2009-07-28 23:13:45 +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
c07775cdaa Moving function to its rightful place 2009-04-05 04:26:27 +00:00
pdontthink
85dce76f09 avoid E_STRICT errors 2008-01-06 03:00:44 +00:00
Thijs Kinkhorst
92551dac02 Bring defaults for the folder selection pref in line.
Create constants for their values, not use the semantically irrelevant
SMPREF_{ON,OFF}
2007-09-03 11:51:57 +00:00
Thijs Kinkhorst
567ef6de29 do not special case a folder named 'None'. There's no reason
to not use the empty string and this prevents people who want
to have a "None" folder from using it properly.
2007-03-06 14:57:12 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +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
tokul
19717a573c block uw mailbox abuse in imap select command instead of applying same
code in all scripts that get $mailbox from GET or POST.

don't check imap_server_type, because interface can be used with different
type setting.

display error message instead of silently overriding $mailbox. (#1557078)
2006-09-30 07:38:03 +00:00
stevetruckstuff
07189936e4 Split sqimap_mailbox_option_list() into two functions to facilitate template development. 2006-08-30 20:45:56 +00:00
tokul
f5f9bc8e67 don't tag subfolders of Drafts,Trash and Sent as special in folder management
page. Allows rename and delete operations with subfolders.

don't treat INBOX.Trash as special on Courier. Trash folder can have subfolders
in courier. Only XMAGICTRASH extension can cause errors when trash folder is
deleted. Courier does not document commands that allow to detect folder that
is used as magic trash.
2006-08-04 09:17:43 +00:00
tokul
eedb860aa6 translating folder names in selection box. 2006-05-30 16:30:00 +00:00
tokul
b47b0babc1 translate folder names in mailbox tree 2006-05-29 17:30:05 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
tokul
6651dae276 don't include delimiter in subscription command, when noselect mailbox is created 2006-03-01 21:15:00 +00:00
stekkel
75f2ab158a Patches from Michael Long
* implementing imap status cache in order to reduce
the amount of status calls generated from the newmail and filter plugin.
* enable the cumulative message account in left_main.php again

Patches reviewed by me. I fixed a few small things in newmail and I added RECENT status
calls in imap_mailbox.php in order to make the "only check recent mail"
option work.
2006-02-10 22:16:07 +00:00
indiri69
6ee4c9ec2f Fix unknown variable message when the user has never logged in before (tested with dovecot). 2006-02-08 20:04:34 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
stekkel
4f34bbc304 Prohibit imap injection attempts 2006-01-19 18:05:27 +00:00
tokul
fc7ef5ceae adding mailbox caching code by Michael Long 2006-01-10 09:14:45 +00:00
stekkel
3d851be854 * Support for LIST-SUBSCRIBED capability.
* Do not do an individual LIST call for each mailbox if all mailboxes are
displayed instead of only the subscribed ones.
2005-11-16 16:35:57 +00:00
jangliss
432d3946d9 sqimap_utf7_decode_mbx_tree doesn't issue a return, but simply changes
the variables by reference to the call.  This makes mbxs_tree an undefined
and unusued variable and might cause errors in php 4.4+ (especially with
objects).
2005-11-09 21:35:34 +00:00
tokul
5e98d9307e adding sqimap functions to check status of folder. Code reuse.
adding more fixes for sent_subfolders on uw
2005-11-04 18:33:53 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00