Commit graph

3121 commits

Author SHA1 Message Date
Jimmy Conner
09087be6fa sqimap_messages_flag is depreciated and no longer exists. Now emptying the trash works again. 2005-04-15 02:07:32 +00:00
stekkel
21687eac1d templates 2005-04-14 22:28:39 +00:00
stekkel
24dc4ae0fa Templates 2005-04-14 22:09:03 +00:00
tokul
086e44b92f @since information about sm_print_r 2005-04-14 17:05:18 +00:00
tokul
0fb9a2d2ea preformated text is harder to read, when output is centered. 2005-04-14 16:33:16 +00:00
tokul
883d73e200 adding function params and since tags to other sqimap mailbox functions 2005-04-14 16:18:15 +00:00
pdontthink
0901c09fc3 Reverting to Erin's original design; sqgetGlobalVar() should not touch vars that are not found 2005-04-14 10:52:50 +00:00
tokul
443bb5c3de documenting some mailbox functions 2005-04-13 18:48:49 +00:00
tokul
91f7290e78 since comments are not needed for @return 2005-04-13 14:21:57 +00:00
tokul
5df0eb8513 documenting two functions 2005-04-13 13:24:06 +00:00
tokul
4556906254 enough for today. adding some tags to imap mailbox functions 2005-04-11 16:21:42 +00:00
tokul
bff510ede3 documenting functions. adding @deprecated to obsolate functions and @since
tags to functions introduced after 1.0. Trying to document argument types
where possible
2005-04-08 13:39:05 +00:00
tokul
e121bb3edd register_globals=off fix for squirrelmail_language extraction from cookie.
if default squirrelmail language is set to empty string, detect default
language from HTTP_ACCEPT_LANGUAGE (#764709).

explained both tests that control language selection.

make set_my_charset work correctly when default sm language is empty.
2005-04-08 11:46:26 +00:00
Fredrik Jervfors
191baad95e String fix 2005-04-08 09:44:08 +00:00
Thijs Kinkhorst
890f0e9aca fix 'referral' bug for UW-servers, sorry people 2005-04-08 08:47:05 +00:00
Fredrik Jervfors
fbdab3c7c0 phpDocumentor fixes 2005-04-08 06:38:00 +00:00
Thijs Kinkhorst
3e6df95c87 Partial support for IMAP LOgin Referrals: tell the user what's going on
and log him out (RFC 2221) (Patch #1006242).
2005-04-06 21:47:06 +00:00
Thijs Kinkhorst
1a80cf69ff some html-fixes 2005-04-06 21:30:36 +00:00
Thijs Kinkhorst
fb6b33bd35 Improve error message for illegal folder name. 2005-04-06 17:51:06 +00:00
tokul
4f0cc014c5 adding since tags 2005-04-06 12:46:40 +00:00
tokul
eea6fa8892 hiding default prefix in operations with folders. It is not visible in other
parts of interface
2005-04-06 10:36:00 +00:00
tokul
8d00d0bad3 adding param and since tags to some functions 2005-04-05 14:16:31 +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
45a644490a Add a META robots noindex/nofollow tag to SquirrelMail generated output.
Major search engines will not index squirrelmail-pages. This serves the
following points:
- The search engines' cache/index does not get polluted with useless data;
  indexing a webmail client is not of interest. We should advise search
  engines that they skip us.
- Will not make a squirrelmail install findable through google. This has
  an advantage when someone is looking for vulnerable webmail systems to
  exploit (i.e.: search for "SquirrelMail" in google, and try every system
  you find with a known exploit).
A robots.txt is not a solution because that has to be in the root of a
document tree, which squirrelmail does not have to be.
2005-04-04 12:58:12 +00:00
Fredrik Jervfors
add02474b9 phpDoc fixes 2005-04-03 17:04:51 +00:00
Thijs Kinkhorst
636a9a3856 - Create a generic function to empty a folder tree, thanks to
Randy Smith (#1145578).
2005-03-31 13:10:39 +00:00
pdontthink
ef7711e933 Fixed javascript errors when clicking on subject of unread messages 2005-03-31 11:44:58 +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
Thijs Kinkhorst
4d5559dcde Fixed bad/malformed request error when Sent was over quota. This was checked
at the second stage when appending to Sent but not the first stage (the
response was simply thrown away). I've abstracted the checking to a
separate function that is called at the two relevant points. Closes: #1172694
2005-03-30 18:35:50 +00:00
pdontthink
ebbab19065 Allow extra javascript to be added to checkboxes 2005-03-30 00:48:17 +00:00
pdontthink
f9c0c0bcce Area around checkboxes is now also responsive to the fancy row highlighting and auto-checkbox clicks; also toggle all functionality now corresponds with the fancy row highlighting when in use. 2005-03-30 00:47:21 +00:00
tokul
173b1b1351 documenting since tags 2005-03-29 16:35:55 +00:00
tokul
329b9a0cb7 documenting some imap functions 2005-03-29 16:03:24 +00:00
tokul
4f6e7ce1fc documenting two functions 2005-03-29 14:28:13 +00:00
Thijs Kinkhorst
d492cf60ee When wanting to use mb_strtoupper, test for the existence of that function
(couldn't send any mail anymore because I am lacking that function).
2005-03-29 13:16:05 +00:00
tokul
ffb669bcac fix mbstring overloading issue with passwords (#929644). 2005-03-29 09:14:06 +00:00
tokul
824d024c73 using mbstring functions for body wrapping, if they are available.
own utf strlen implementation is removed because we need strlen, substr and
strpos implementation in order to use it correctly.
sqbodywrap function is modified to use sq_* functions instead of vanilla
string functions.
function calls that analize string in bytes ($body{$position}) are replaced
with string functions.

closes #1043576 in devel. code is not that complex in stable and it needs only
modified strlen calls.
2005-03-27 09:48:33 +00:00
tokul
ac070a7f97 adding limit_scope and filter support. Should close #1035454 and #539534
patches in devel. Patches will be moved to stable tracker, but I don't think
that they have to be added to stable.
2005-03-27 09:12:19 +00:00
tokul
bd6d926392 missing extension problems are handled inside backend class.
This makes sure that administrator sees some errors, when he/she adds
ldap address book to php without ldap support.
2005-03-27 09:09:06 +00:00
Thijs Kinkhorst
c000bbe2b0 add includes from imap_search.php to imap.php for backwards
compatibility. Thanks Alex for the tip.
2005-03-26 18:52:41 +00:00
Thijs Kinkhorst
4b95e3a695 Completely cleanup the folders management (create/subscribe etc) code.
- Remove the many small src/folders_*, concentrate their functionality
  in functions/folder_manip.php and call that from folders.php.
- Saves duplicate code and an IMAP call here and there.
- Improve the code itself, replace complex structures with simpler ones
  which acheive the same.
- Improve UI by adding Cancel buttons where appropriate.
- Some other small fixes.
2005-03-26 18:48:43 +00:00
Thijs Kinkhorst
80ad94ecfb Drop unused file imap_search.php. 2005-03-26 16:09:54 +00:00
Jimmy Conner
f5a3a72aca Update message copy and move functions to allow for custom handling / ignoring of the error messages.
This fixes a bug where users with exceeded quota's could not login when the filter plugin is actively filtering.

Currently user does not get an error if filtering failed (I am working on it) and it continues parsing the next filter even if fails (I have code for this, but don't think its necessary)
2005-03-25 06:00:45 +00:00
Thijs Kinkhorst
547143ef66 "development team" -> "project team" 2005-03-21 22:18:32 +00:00
Thijs Kinkhorst
8c0b85887b strip absolute positioning css from html mails. 2005-03-21 20:56:06 +00:00
tokul
37120df45e removing version info from login_error page. 2005-03-20 14:26:34 +00:00
tokul
07be318f78 adding phpdoc blocks to sqimap_mailbox_list function 2005-03-20 10:09:15 +00:00
tokul
3c5c2cc37a adding warning about nulled var 2005-03-20 10:08:11 +00:00
tokul
dcac815ab4 adding listing controls to file backend 2005-03-20 10:06:45 +00:00