Commit graph

64 commits

Author SHA1 Message Date
Tyler Akins
8e45c13a78 Apparently usort() REQUIRES a user-defined function instead of a PHP
built-in function.  Worked fine on my machine, killed the server on another.
2001-01-31 16:55:05 +00:00
Luke Ehresman
89501e1126 added more bugfixes and warning squashes 2001-01-31 03:59:49 +00:00
Luke Ehresman
63bb5ec59c fixed some more warning messages 2001-01-31 02:34:44 +00:00
Tyler Akins
505cf3de89 Couple warnings removed
If subject line is over 55 chars, trims it and appends "..."
2001-01-30 18:11:09 +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
Tyler Akins
472a8f45d8 Another fix for my broken code. 2001-01-17 21:51:40 +00:00
Tyler Akins
f0f30c095d * Fixed typo.
* Changed two negations and OR into one negation and AND
 - 1/2 the number of negations!  :-)
2001-01-17 17:14:49 +00:00
Tyler Akins
f8a9fe982e Changed the second ereg() function to a strcasecmp also.
Changed the "== 0" into negation
 - faster than a compare by a nanosecond or less   :-)
Same went for "else if" to "elseif"
(Hope I didn't break it again)
2001-01-17 17:11:20 +00:00
pallo
4d1e0a14bd Replaced an eregi() with strcasecmp() which should be considerably faster. 2001-01-17 08:34:01 +00:00
pallo
9885b36d40 Reverted 1.53->1.54 change because it introduced a bug (the new regexp was wrong). 2001-01-17 08:15:21 +00:00
Tyler Akins
1c6da80f2f Why did we have two eregi() functions in a row? I changed it so one regexp
should do it.
2001-01-16 19:24:00 +00:00
Tyler Akins
4c2e20e119 Fixed a bug where users that did not log in before would get tons of
Warning: REG_EBRACK in .../imap_mailbox.php on line XXX
Apparently the Trash and Sent folder need to be escaped, just in case they
have some special characters in them.

This only seemed to happen with FreeBSD and special folder names for the
Sent and Trash folder.  Thanks to John Bolster for helping out!
2001-01-16 19:14:29 +00:00
Luke Ehresman
65dc422fae * Removed sqimap_mailbox_close() function -- automatically expunges mailbox
when it closes.  Someone suggested that we use this, and I hadn't
    researched its functionality enough before implementing
* Made the $auto_expunge variable actually do something.
2001-01-09 01:12:47 +00:00
Ondřej Surý
2780154b27 imap_mailbox: Fixed minor bug in sqimap_mailbox_list
imap_general: Added sqimap_capability function to check capabilities of server.
imap_general: Rewrote sqimap_get_delim to use NAMESPACE capability (if available) to get delimiter.
              Whole issue is more complicated, because you can have more NAMESPACES on IMAP server.
2000-12-14 16:09:55 +00:00
Tyler Akins
92713996cf Fixed bug where str_repeat was called with 0 as multiplier. Simple "if"
statement around the command.  :-)
2000-12-13 23:38:03 +00:00
Luke Ehresman
de03cd8146 Updated folder displaying code with changes we discussed on list 2000-12-13 20:36:39 +00:00
pallo
653b606b95 Fixed how folder names are formatted in a hierarchy of folders. 2000-12-09 15:22:00 +00:00
Luke Ehresman
424c8c1f31 - added patch from srakhada that uses quotemeta() function around password to allow
special characters in password.
- added patch from dave_michmerhuizen@yahoo.com to do folder sorting with case insensativity
2000-12-06 15:23:27 +00:00
Tyler Akins
be38c8215d Made the handle_errors flag to sqimap_mailbox_expunge default to true. 2000-11-28 19:42:30 +00:00
pallo
d55196673c Applied patch #102205 + some extra code to fix bug #121006. 2000-11-24 14:47:54 +00:00
Luke Ehresman
837022bcd6 removed some buggy UW specific code -- subscribed folders now show with UW again. 2000-10-30 17:29:40 +00:00
Tyler Akins
a9354cd059 Added numerous changes from embeejay
Added an expunge button, shown only when needed
Better flag handling
ereg() calls instead of lots of other calls
2000-10-23 16:17:52 +00:00
Tyler Akins
5effbcffde sqimap_read_data now uses the $response and $message vars
sqimap_login now uses sqimap_read_data, and is shortened a bit
sqimap_mailbox_select now forms proper request to sqimap_read_data
Potential fix for the UW version 8 IMAP server
2000-10-22 23:04:06 +00:00
Luke Ehresman
3763033079 tweaks, fixed some misspellings, added a few hooks 2000-09-14 12:45:53 +00:00
Luke Ehresman
7fb6b302e1 fixed double folder problem 2000-08-28 18:57:28 +00:00
Luke Ehresman
496094e5a2 fixed some bugs in the sqimap_mailbox_close() function 2000-08-10 15:10:16 +00:00
Luke Ehresman
d8ad681aa8 added sqimap_mailbox_close() and implemented it for all sqimap_mailbox_select() 2000-08-10 14:51:36 +00:00
Luke Ehresman
33c369d337 fixed some html errors, added endlines 2000-08-09 15:17:44 +00:00
Luke Ehresman
dc9e76994f - fixed renaming folders, now renames subfolders as well
- added some new documentation
   themes/README.themes
   plugins/README.plugins
   doc/themes.txt
- moved themes to themes/ directory, added checking in load_prefs
- revaped help system:
   - .hlp files are in xml format
   - doesn't pop up new window (netscape/ie specific)
   - a bit more navigationable
   - context-sensative
   - updated help documentation
2000-07-26 11:07:07 +00:00
gustavf
1027cdda39 Made hide parameter to sqimap_mailbox_select optional, since few
function calls used it for something.
2000-07-10 09:37:50 +00:00
Luke Ehresman
257e917384 Made the message highlighting much more stable and usable. It has quite
a bit of error correction, and the interface was made easier and more
functional.
2000-06-19 00:57:21 +00:00
Luke Ehresman
5928b54798 moved buttons on compose form so they are more accessable to smaller
displays.  Someone requested this on the mailing list.
2000-06-18 02:52:08 +00:00
Luke Ehresman
373c24d0e1 fixed bug in mailbox_exists for shane 2000-05-04 21:12:14 +00:00
Luke Ehresman
1af7e269a9 fixed problem with usort getting bad data in some instances 2000-05-04 20:59:39 +00:00
Luke Ehresman
d71571c45b updated code for folder list and fixed a few bugs 2000-04-29 22:18:10 +00:00
Luke Ehresman
ac8985aefc made folder listing not dependent on $folder_list 2000-04-29 21:35:48 +00:00
Luke Ehresman
b1295262d1 bugfix in mailbox listin 2000-04-28 17:44:38 +00:00
Luke Ehresman
4e1e5d8c63 changed messages to objects 2000-04-28 14:42:11 +00:00
Luke Ehresman
1b94a32042 speed optomizations and less imap commands 2000-04-28 03:43:43 +00:00
oricn
ffc36229ae Commented out a Debug line '139' in the unformated folder routine 2000-04-26 19:20:27 +00:00
Luke Ehresman
587c0e7df1 sent shows "to" instead of "from" 2000-04-26 18:42:08 +00:00
Luke Ehresman
454df37188 Removed special folders, made them user preferences 2000-04-21 21:36:59 +00:00
Luke Ehresman
533ab75f54 fixed uw bug with folder deleting with a delimeter at the end 2000-04-21 03:33:22 +00:00
Luke Ehresman
21f468a0dc fixed the problem with us not being RFC complient for courier 2000-04-18 00:28:16 +00:00
Luke Ehresman
6ac16b7e0f fixed bug with folder listing 2000-04-14 03:51:43 +00:00
Luke Ehresman
34c3063ea0 bugfixes with folder list 2000-04-14 03:19:59 +00:00
Luke Ehresman
583642327f bugfixes with folder listing 2000-04-14 03:17:41 +00:00
Luke Ehresman
c14c143dc8 added many speed improvements 2000-04-14 01:15:43 +00:00
Luke Ehresman
e02cfd342e changed <? to <?php in everything 2000-04-11 23:19:53 +00:00
Luke Ehresman
a26b8b0925 added dropdown box for subscribe 2000-04-11 22:59:58 +00:00