Commit graph

311 commits

Author SHA1 Message Date
indiri69
0c68f83077 Some code cleanups. 2002-10-24 16:35:16 +00:00
sizzlingmercury
a55cce3a7a Folder Selection changes integrated from sizzle-ui stream..
Options for how folder selection list is displayed is on Folder Options page
Folder lists on Search, Folders, and Folder Options Pages, as well
as Folder selection lists used by the Message Index and the
Delete_move_next plugin all modified to use new Option list
creation method in imap_mailbox.
2002-10-24 05:45:48 +00:00
stekkel
1c7d5b8467 speed improvements 2002-10-18 11:34:50 +00:00
stekkel
fb711df79e speed improvements mailbox_list. Need testing before we release! 2002-10-18 10:50:12 +00:00
robsiemb
0ddd8468f9 more noselect fixes 2002-09-17 20:57:13 +00:00
robsiemb
afb51c2333 don't STATUS a mailbox that isn't selectable 2002-09-17 20:48:06 +00:00
thomppj
de9848ded8 A terrible pile of things done to the code. Did a little bit of SM_PATH
stuff in plugins.

Then I moved some files:
  src/validate.php         -> include/validate.php
  src/load_prefs.php       -> include/load_prefs.php
  src/options_personal.php -> include/options/personal.php
  src/options_display.php  -> include/options/display.php
  src/options_folder.php   -> include/options/folder.php

Basically, the concept here is that src/ should ONLY contain files that
actually get called from the web browser as a php script directly. All
of these files do not really contain functions or anything (so the
functions/ directory did not really make sense), but were more strictly
include files.

Of course, the name functions for a directory is bad organization, IMHO,
anyhow. I guess class would fall in the same category. Oh well, some of
that might get fixed someday.

So, new rule. Only put it in src/ if it gets called directly.

That was really sort of an unwritten rule before. However, since it was
never really enforced or officialized, things got sloppy.

I think I have everything fixed in the CORE with this traumatic moves. I
am sure all of the plugins will be broken. Oh well, the error messages
should be pretty loud and easy enough to fix.
2002-09-06 01:16:40 +00:00
thomppj
9001d31cf8 Converted all files in functions/ to use SM_PATH. This will break all
plugins. Each callable script needs a:

  define('SM_PATH', '../../');

Or something like that put at the top.
2002-09-06 00:31:43 +00:00
robsiemb
550f4e31ee correctly detect \Noselect in LSUB responses, and set $mbx->is_noselect
so that the folder tree does not allow you to select a nonexistant
mailbox
2002-08-29 15:43:38 +00:00
philippe_mingo
c8103ced19 Marc check this. 2002-08-26 09:38:08 +00:00
jmunro
106fbdca43 fix for bug #578156 2002-07-21 04:16:41 +00:00
stekkel
6855005803 fix for expunge with UID in the sid 2002-07-05 17:07:48 +00:00
stekkel
7a28df6a9e modified sqimap_expunge to return the number of expunged messages and to
give and optional id range to expunge.
2002-07-05 13:12:56 +00:00
stekkel
9d7031cde4 put all the information returned from a select in the result 2002-07-03 13:50:41 +00:00
jmunro
0eec03f0b9 fix for bug #559257 2002-06-17 14:27:53 +00:00
jmunro
6a3893a4f0 this is a fix for the LSUB with a % when getting the folder list. This makes the % argument an option in conf.pl, menu 3 option 18. The default is to not use the "%". See patch #452178 for more info. 2002-06-11 14:52:54 +00:00
Thijs Kinkhorst
87364ac55e Remove $boxesnew from global to make new way of getting mailboxlist
work.
2002-06-02 11:44:53 +00:00
jmunro
01c46aa9b9 fix for folders with '*'. bug #552180 2002-05-27 23:55:30 +00:00
stekkel
f78575b90e restore imap_utf7 encoding 2002-05-23 13:20:01 +00:00
stekkel
ad289878f7 fix for alternative mailbox-tree 2002-05-23 13:11:11 +00:00
stekkel
c4bd150546 fix for mailboxes with trailing delimiter in the new mailboxtree 2002-05-17 08:27:41 +00:00
centaurix
480cf248b1 patch #551871 for feature request #545070 from Stefan Tietke (stfn) regarding utf7 imap encoding 2002-05-16 12:17:15 +00:00
stekkel
9b8e49abcd fixed missed folder_prefix in new mailboxtree 2002-05-16 09:24:56 +00:00
stekkel
906a6835b8 Added new experimental functions for mailbox-tree's 2002-05-15 10:05:19 +00:00
jmunro
eb7eb24b9b thread sort view is now saved per folder thanks Robert Packard 2002-04-02 14:55:35 +00:00
philippe_mingo
13cfb682e6 Non-ascii characters caused problems with SVN function and were replaced
with a ? by SourceForge.net in your original log message, which follows:
Asunto: [SM-DEVEL] Bug in mime.php:decodeHeader()
De: Christian Schmidt <christian@ostenfeld.dk>
Fecha: S?b, 23 de Marzo de 2002, 14:48

Currently, the decodeHeader decodes headers containing several
encoded-words incorrectly. E.g. the header "=?iso-8859-1?Q?=C9?= and
=?iso-8859-1?Q?=E9?=" is decoded into "? and ?" and not into "? and ?"
as expected.

Also, it currently does not ignore white-space between consecutive
encoded-words as it should.
2002-03-24 08:09:35 +00:00
philippe_mingo
05747bc945 Optimization:
readMailboxParent was only been used in imap_mailbox. Removed from
strings.php as this is a frequent loaded module.
2002-03-23 16:23:57 +00:00
jmunro
ac4448bf2c fixed a problem with preg_match when mailbox delimiter is "/" 2002-03-19 23:33:56 +00:00
jmunro
0691e83458 a little more clean-up 2002-03-19 23:00:42 +00:00
jmunro
86a658444d tweaking special folder sub folder fix 2002-03-19 22:23:48 +00:00
jmunro
997c7e5434 fix orphaned subfolders on the folder list when they are subfolders of a special mailbox and "list special boxes first" is on 2002-03-19 18:22:05 +00:00
indiri69
5efca09a45 Tons of formatting changes by Jon Tai.
Didn't merge changes to imap_search.php, as I wanted to take a
closer look at it.

Jon Tai said:
I cleaned up the four imap_*.php files - fixed comments so they use the
/* */ style, fixed spacings, added { } around logic blocks that didn't
have them, etc.

I also hacked sqimap_find_email() in imap_general.php to support strings
in the form of "lehresma@css.tayloru.edu (Luke Ehresman)".
2002-03-16 19:44:50 +00:00
jmunro
0a4194b3fb filter fix on folder/rename is back in. added hooks back to imap_mailbox.php, reworked function in filters.php. should work now. 2002-03-12 20:40:03 +00:00
jmunro
7668b0f3fc took out filter fix for folder rename/delete. its broken 2002-03-12 17:31:44 +00:00
Pontus Ullgren
420220e4d7 Made SquirrelMail display \Noselect nodes in Cyrus also made it
impossible to try to delete \Noselect nodes. (patch #452178)
2002-03-03 13:39:39 +00:00
simond
17f36392d0 Clear out tabs for proper spaces 2002-03-02 20:31:04 +00:00
jmunro
0dbbf72335 moved filter update on folder rename/delete to
the filter plugin (sorry folks).
2002-03-02 05:29:16 +00:00
jmunro
13f321176e fix for bug #512056, update filters when renaming/deleting folders 2002-02-28 23:15:27 +00:00
jmunro
d48d0885e5 fixes "orphaned" sub folders when renaming parent folder 2002-02-26 06:22:03 +00:00
philippe_mingo
c69d34e447 Upon Aaron and Bernard request this is a very simple single pass caching
of the mailbox list. It's not a big deal as only very specific tasks calls
the mailbox list twice (purge for example).

Wouter please check if this enters into your plans and roll it back if not
8) The caching is quite simple and shouldn't have collateral effects. The
caching is only active during the page refresh as it is not sessionized
(and shouldn't as third party software could change mailbox).
2002-02-19 11:57:53 +00:00
Pontus Ullgren
f89c521908 minor spelling error 2002-02-13 21:07:18 +00:00
philippe_mingo
8254107c8f Marc variant for the messages flags. 2002-02-13 14:23:31 +00:00
philippe_mingo
d62267a992 MDN 2002-02-09 17:29:58 +00:00
philippe_mingo
55549af87f Sorry, last commit broke the code. I had to make a separate plugin function. 2002-01-31 17:13:51 +00:00
philippe_mingo
37c3e89856 This commit adds the hability to add a special folder through the hook
'special_mailbox'. As an example I added the spam mailbox. Please,
someone with docs skills at this to the docs 8-)
2002-01-31 16:53:54 +00:00
philippe_mingo
8fe45b5bc5 Code Cleaning 2002-01-23 18:12:37 +00:00
philippe_mingo
52164b9187 Latest changes as cvs freeze 2002-01-19 11:24:34 +00:00
philippe_mingo
0d41209e20 dumfolders 2002-01-18 18:58:54 +00:00
thomppj
aaaec7262f Trying to make both uw and cyrus work with special folders. 2002-01-18 18:31:06 +00:00
thomppj
b3d7cbb862 The partridge wuz here! 2002-01-18 16:50:16 +00:00