Commit graph

1616 commits

Author SHA1 Message Date
Thijs Kinkhorst
b2cd55c4bd Fix copyerror, this eliminates some warnings of undefined index in the msg list. 2003-03-10 16:31:57 +00:00
Erin Schnabel
86968b3b4b Cache the base url (protocol://host:port) in the session to make it
faster. get_location already parsed php_self to get the url
e.g. /path/to/sqmail/src
So now, to make Locations compliant, you can either, call get_location if
you know the place you're redirecting to has the same url path you do
(src to src, for example), or check for 'sq_base_url' in the session vars,
call get_location to set it if it isn't there, and then use the
'sq_base_url' session var + base_uri from session + desired location to
redirect.
2003-03-10 07:19:20 +00:00
Erin Schnabel
676925ddd6 Add explicit include of global.php 2003-03-09 18:45:07 +00:00
jangliss
352008c16e A few more unnecessary urldecodes when not needed. Now we can view headers
and text of a message when viewing a mailbox with + in the name.
2003-03-08 05:01:56 +00:00
jangliss
0299e60772 I'd like my settings to stay on login... we need a better solution :)
Reverting file_prefs.php to previous version until proper fix is discovered
for PHP 4.3.1 dropping settings.
2003-03-08 04:59:19 +00:00
stekkel
df9067c865 improved encodeHeader function and decodeHeader handling to follow RFC's
better.
2003-03-07 22:11:22 +00:00
jangliss
e7842eb992 Fixed incorrect decoding of mailbox name... $_GET vars are already decoded.
There are probably a whole bunch of other ones laying about, but this one
is fairly big in respect that you can view a folder that has a + in the name
(ie test+folder), but you cannot read mail in that folder.
2003-03-07 17:42:08 +00:00
jangliss
9824b89096 No check to make sure logo is set... login.php verifies it exists and has
a value in first... changing behaviour here to match.
2003-03-05 03:55:31 +00:00
stekkel
4186745b04 removed left argument from function. Thnx Paul. 2003-03-04 14:12:59 +00:00
Thijs Kinkhorst
ec389b5ecc Support vCards which have the official mime type "text/directory". 2003-03-04 10:33:28 +00:00
pdontthink
39748c1852 Added javascript validation to integer and float widgets. 2003-03-04 08:50:16 +00:00
pdontthink
4fb7d5cf29 Reintegrated Erin's lost changes from v1.309 2003-03-04 00:12:59 +00:00
Erin Schnabel
de20bf0dc9 Clean up references to global vars 2003-03-03 01:43:16 +00:00
stekkel
9a7650588e fix warning in case of undefined date 2003-03-01 22:28:20 +00:00
stekkel
cac30aace3 missed some spots 2003-03-01 22:14:44 +00:00
stekkel
ef9e7ee731 To much encoding. Now we only encode what's needed. 2003-03-01 20:50:58 +00:00
stekkel
001b91374f Whoops wrong file
In case of server sort and non sorted headers, display newest first
2003-03-01 01:35:10 +00:00
stekkel
a8c6763ace in case of non sorting display newest messages first 2003-03-01 01:22:30 +00:00
stekkel
a8adcd4854 Blah 2003-03-01 01:00:32 +00:00
stekkel
b1829f0a06 Weird subject processing now cut off correctly 2003-02-28 21:35:05 +00:00
stekkel
56158f3748 charset encode / decode fixes
support for encoded personal names inside addresses
fix for headerrequest
2003-02-28 19:12:00 +00:00
Thijs Kinkhorst
478af4b1c6 Only add extra "points" for a subject with entities when the entities are
within the remaining range after trimming. This prevents entities at the end
which are cut off anyway to influence the cut-off-point for the subject.
2003-02-27 18:58:10 +00:00
Thijs Kinkhorst
b6e259db92 Swap colors, because new %2 test by Jon is true when the number is NOT
dividable by 2 (3%2=1) so to keep the old color for one '>' we need to
swap the colors.
2003-02-27 11:13:36 +00:00
Erin Schnabel
a8b1114405 WOOOPS. darnit.
Missed a debug statement
2003-02-27 04:33:13 +00:00
Erin Schnabel
c1052db2fd Erroneous use of quotes in the switch in sqgetGlobalVar.
Don't know why I listened to whoever told me to add them.. <sighs>
thought it was acting funny whenever you tried to receive
variables outside of the default.
BLARGH.
it works now, so there.
2003-02-27 04:13:52 +00:00
Erin Schnabel
beb60c29b8 Fix broken subject line that I doubt has worked since we went rg=0 2003-02-27 03:23:21 +00:00
stekkel
023e257faf rewrote unfold routine inside sqimap_small_header_list because it didn't
handle the headerlines like it should (rfc2060). For example a subject line
with a subject size of 70 chars (no spaces) could not be detected.
2003-02-24 20:36:51 +00:00
jangliss
5aac19d902 Alternating reply colours... makes things easier to read on mass-replies. 2003-02-24 19:57:37 +00:00
stekkel
7def0a6306 charsetDecode / htmlspecialchar usage is a mess :-( 2003-02-24 19:36:54 +00:00
stekkel
0c732bedbd lot's of fixes:
* removed htmlspecialchars from charset_decode because of double
htmlspecialchars calls
* fix for \NoSelect folders
* code cleanups
* added htmlspecialchars for displayattachmnent (filename)
* fixed charset issue with base64 encoded strings (decodeHeader)
2003-02-24 18:49:53 +00:00
jangliss
f88dec2b0c Silly me, functions require () to work. 2003-02-20 18:18:28 +00:00
Thijs Kinkhorst
70aa248b30 Do not use mixed get/post forms as this is broken in some browsers
(they only submit the post forms and skip the get forms).
2003-02-20 10:29:37 +00:00
Thijs Kinkhorst
0047c09649 Small html fix 2003-02-20 10:04:57 +00:00
stekkel
700b85742b Fixed the borked timezone manipulating functions.
* Now we supported timezones in shhmm format as well as the obsolete zone
format.
2003-02-18 20:06:47 +00:00
philippe_mingo
4b0b44e26a Vietnamese 2003-02-13 13:37:09 +00:00
Thijs Kinkhorst
2ebce64cba We're talking Megabytes here, not millibytes :) 2003-02-12 05:52:59 +00:00
Thijs Kinkhorst
fa2fad7ddc Fix "Failed opening default pref" bug, closes #680331, thanks David Walser 2003-02-10 15:38:16 +00:00
jangliss
3edffd0a36 Remove the unnecesary sqextractGlobalVar function, and replace with the new
sqgetGlobalVar.  This should fix the compose error that Ken Brush was having.
2003-02-07 23:09:16 +00:00
Erin Schnabel
a28c320c37 Fix for 636577.
Make subfolders of Sent/Drafts show To: instead of From:
(like Sent and Drafts do already).
Needs some UW verification but should work pretty well.
2003-02-07 20:34:09 +00:00
stekkel
fad2721642 added RECENT response to result array of sqimap_get_status in order to
remove an expensive select call in the newmail plugin. Probably the
influences on speed when the newmail plugin is disabled are minimal.
2003-02-06 19:36:09 +00:00
tokul
c84d2b36eb Closes bug 672350. Right-to-Left language fixes from Saleh Madi 2003-02-02 13:14:58 +00:00
stekkel
f3b443c708 get the filename from the properties if the is no disposition info available
in the bodystructure.
2003-01-30 18:04:55 +00:00
stekkel
137f4a7563 fix for unsafe images links. Somehow the wrong were in de view unsafe images
link. passed_ent_id is used in case of attached message/rfc822 messages,
ent_id is used for specifying the mime-entity_id. If passed_ent_id is
available we know that the message with entity_id = passed_ent_id contains
a rfc822header.
2003-01-27 09:06:21 +00:00
Thijs Kinkhorst
cfa5204ef3 Continue development 2003-01-24 09:56:34 +00:00
Thijs Kinkhorst
9b174f2895 Releasing RC2a 2003-01-24 09:42:17 +00:00
tassium
5e5cc2c2bc Fixes XSS bug in mailbox_display with malicious From: headers.
Thanks to sailfrog for finding this one!
2003-01-23 22:12:26 +00:00
Thijs Kinkhorst
e4adb83265 Version check fixes.
1) the required version is minimum 4.0.4 so the 4.0.2 check is always passed.
2) make the check in prefs.php also work when new php versions are released %-)
2003-01-23 20:50:22 +00:00
Thijs Kinkhorst
c02ac502f8 Obsolete duplicate function to make sure version comparison is done in a
predictable way.
2003-01-23 20:14:43 +00:00
Thijs Kinkhorst
2a24b91684 Continue development 2003-01-23 18:34:05 +00:00
Thijs Kinkhorst
ac398c4534 RC2 2003-01-23 17:09:54 +00:00