Commit graph

290 commits

Author SHA1 Message Date
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
jangliss
1c2f0b789e Don't attempt to delete a mailbox that does not exist. 2005-08-11 03:43:08 +00:00
stekkel
905db8ba57 Make sure mailboxnames like INBOX_Blah doesn't match on our INBOX detection
regular expression.
2005-07-20 19:30:53 +00:00
tokul
df06aed4d2 todo about caching 2005-05-31 17:42:17 +00:00
tokul
adfda7e460 remove if(true)
indicate changes in 1.4.5cvs
add define in order to prevent loading errors in http://url/functions/imap_mailbox.php
2005-05-31 17:18:54 +00:00
stekkel
26c36ef860 Removal of unused commented code blocks 2005-04-24 13:46:41 +00:00
tokul
2106d9b552 warning about possibly broken function 2005-04-24 08:01:36 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
tokul
883d73e200 adding function params and since tags to other sqimap mailbox functions 2005-04-14 16:18:15 +00:00
tokul
443bb5c3de documenting some mailbox functions 2005-04-13 18:48:49 +00:00
tokul
4556906254 enough for today. adding some tags to imap mailbox functions 2005-04-11 16:21:42 +00:00
Thijs Kinkhorst
e763660ff0 small fix to previous change: box could have been $used already 2005-04-04 19:21:26 +00:00
Thijs Kinkhorst
29cba72f37 Fix incorrect folder hierarchy shown. Patch was supplied by Awais Ahmad,
works fine here and is confirmed to work by several other users.
Closes bug #1009654 and patch #1082558.
2005-04-04 19:04:24 +00:00
Thijs Kinkhorst
3a2f2ba645 Fix folder rename to cope with collapsed-prefs, cyrus>=2.0 and renaming
of unsubscribed folders. Patch #1155791
2005-03-30 19:01:25 +00:00
tokul
07be318f78 adding phpdoc blocks to sqimap_mailbox_list function 2005-03-20 10:09:15 +00:00
Thijs Kinkhorst
15a097b3f9 Add "show only subscribed folders" option (defaults to On, current behaviour).
Recommended by RFC 2683 sect 3.2.2, allows a user to show all mailboxes regardless
of subscription. Thanks Simon Matter for the idea.
btw when will the "oldway" in left_main disappear?
2005-02-06 19:55:04 +00:00
jangliss
7e54992b42 Quoting "INBOX" to fix an imap server bug. No harm in quoting the folder
name, so it shouldn't hurt other servers (tested against courier and
broken imap server hmailserver I believe).
2005-02-02 15:05:37 +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
Jimmy Conner
2cd94f0d75 Removed variables that were initialized, but never actually used
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
6bfd0f1168 Remove unused globals 2004-10-31 23:24:09 +00:00
tokul
79e8f4cc82 sanitizing folder name display. 2004-10-09 12:46:40 +00:00