Commit graph

968 commits

Author SHA1 Message Date
tokul
0db4619bee adding own pop client implementation
Original POP3 class is licensed under some 'General Artistic License' and requires
submitting all modifications to address that bounces.

According to FSF standard Artistic License is not compatible with GPL.
http://www.fsf.org/licensing/licenses/index_html#ArtisticLicense
2006-08-25 14:29:15 +00:00
tokul
b52fa1bc98 updated google translate form.
* eight additional language pairs
* fixed form field order
2006-08-15 13:57:27 +00:00
Thijs Kinkhorst
5223cb30e8 - Drop obsolete script plugins/make_archive.pl. 2006-08-14 13:48:29 +00:00
tokul
3926e84f88 move variables that are loaded before environment is secured against rg=on 2006-08-09 06:58:42 +00:00
Thijs Kinkhorst
68be7e48f7 no need to pass $key variable to sqimap_login anymore 2006-08-05 14:49:49 +00:00
tokul
b33c4a098b moved smtp sitewide configuration to main configuration utility
added quote_single subroutine, that is used to sanitize single quoted php strings
removed obsolete command18() subroutine
2006-08-05 07:38:01 +00:00
tokul
3ab0b5eb63 loading default configuration before config.php in order to make sure
that all variables are loaded.
2006-08-02 18:05:33 +00:00
tokul
4db0659c37 removed non-standard wrap attribute 2006-07-30 13:05:58 +00:00
tokul
40255890c5 adding config_location_base to administrator plugin 2006-07-17 16:19:19 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
9bd523250b removed service type option - spamcop uses same form for free and paying
reporters. web based reporting form will use members.spamcop.net address
(#1519673). www.spamcop.net form is broken, if user is not logged into
spamcop.
2006-07-13 10:00:35 +00:00
tokul
2fd785d63d using popen instead of shell_exec. shell_exec is disabled in safe mode.
default configuration moved to functions.php
file_exists() test is no longer used because it is not accurate (#1499134) and
requires full path to fortune program.
2006-07-07 12:53:50 +00:00
tokul
e4050dd17e $query is also used when $responce !='NO'. Fixed undefined notice error.
Reported by Benny Pedersen. Can't understand how he managed to reach that
sqm_trigger_imap_error call.
2006-07-01 16:52:15 +00:00
tokul
3bc6460e1f updated plugin to 1.5.2 API
added address book line length option
removed unused sqimap functions include
2006-06-27 10:18:45 +00:00
Fredrik Jervfors
210ea8ec46 Recommitting string fix. 2006-06-15 15:04:29 +00:00
tokul
f90393e7de don't modify sent_folder option in plugin. It does not belong to plugin.
Plugin still rewrites target folder in compose_send hook
2006-05-29 17:26:48 +00:00
tokul
ae236eec2b SCRIPT_FILENAME is not set in some setups 2006-05-21 18:23:09 +00:00
tokul
6d137ae4fb plugin depends on imap function. init.php changes removed imap functions
from webmail.php
2006-05-15 18:37:29 +00:00
tokul
96694f0722 sanitize displayed folder name and load form functions. 2006-05-15 15:55:58 +00:00
tokul
4115a9110e updating error_box() function calls. second argument was modified.
using squirrelmail template code for closing html tags.
added some comments in footer.tpl in order to detect generated footer
2006-05-14 17:09:29 +00:00
tokul
dbd9f69d03 resubmitting last Monday updates and adding php 5.1.0 timezone support 2006-05-13 19:11:08 +00:00
tokul
95f451e20f adding warning about plugin unbundling 2006-05-06 07:50:49 +00:00
tokul
d2954ac6da removing code that could be used with plugin in SM 1.4.x. After init
changes plugin is no longer compatible with sm 1.4.x
2006-04-23 13:24:51 +00:00
tokul
43131d055d removed debug function
message body is placed in <pre></pre> instead of <code></code> in order to
display tabs in headers. rtrim function is used instead of trim in order to
strip writespace only from the end of line.
2006-04-23 13:16:18 +00:00
tokul
ca0bf2e239 if $key is set to false, sqimap_login() function will use sqauth_read_password()
to retrieve user password.
sqimap_login() calls in plugins are modified to use this code.
It allows to centralize place that is used to access password information.

Older way is preserved for backwards compatibility and different IMAP login
credentials.
2006-04-19 18:03:24 +00:00
stekkel
35be3ff902 Forgot to sync this file before my previous commit. Now the previous changes
from Tomas are back in.
2006-04-06 17:31:08 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
tokul
0951b23632 don't load info plugin functions in setup.php 2006-03-19 10:53:23 +00:00
tokul
35e8d58de9 removed htmlspecialchars applied in wrong place.
rewrote message text extraction. Output of formatBody() and translateText()
functions depends on user's preferences and can contain html formating.

removed message text processing code. conversion of html entities applies
only to html special chars and undoes html sanitizing made by charset_decode.
It makes message text unsuitable for form input fields. " -> '' and other
conversions removed too in order to preserve message format.

translate form is displayed only when message body is not empty.
2006-03-19 10:51:37 +00:00
tokul
a1e19f5eba removing advanced_tree configuration variable. code is moved to templates 2006-03-12 20:21:56 +00:00
Thijs Kinkhorst
0182206534 we need to encode the message so it won't interfere with
the <input> tag
2006-03-12 16:10:00 +00:00
tokul
80871e66a7 removing debug call and adding information about added function argument 2006-02-26 14:51:00 +00:00
tokul
12b4b7961c Doing include_once(SM_PATH . 'plugins/filters/filters.php') inside plugin
init function breaks purpose of removing code from setup.php

using simple hook setup and moving right_main_after_header hook handling
to main filtering function.
2006-02-26 14:45:20 +00:00
tokul
78017e78d5 fixed strings with quotes.
escaped quotes in modified $newcfg vars
removed escapes and sanitized quotes in html display
2006-02-26 12:41:24 +00:00
Fredrik Jervfors
29711e3395 Renaming "config_sample.php" to "config_default.php". 2006-02-26 10:52:34 +00:00
tokul
26e3a977a9 adding option to choose monitored folders. Monitoring according to
$unseen_notify does not provide enough end user options.
removing display_messages.php loading. sqm_baseuri() function is already
loaded in 1.5.1+.
main folder status code still needs some fixes. Status is incorrect, if
plugin wants more data than $unseen_notify.
2006-02-25 08:24:47 +00:00
Fredrik Jervfors
faec6021f8 Changing SquirrelMail to "$org_name". Thank's to Michael Long. 2006-02-22 20:08:53 +00:00
tokul
0f224f0297 newmail_media_enable is used instead of newmail_enable 2006-02-12 09:15:52 +00:00
tokul
00154f22a2 fixed untranslated string. spotted by jam
updated squirrelmail.pot
2006-02-12 06:48:39 +00:00
tokul
a06d1dd56c duplicate closing tr 2006-02-11 17:49:33 +00:00
tokul
fb2dfdba07 css requires more hacks in order to center table correctly. reverting to html alignment.
fixed order of closing select tag
start filters table only when filters exists. removes empty table when filters are
not defined.
2006-02-11 17:42:27 +00:00
tokul
bb313c9b84 css centering does not work. reverting to html based table centering.
use different ids for submit buttons
2006-02-11 17:16:37 +00:00
stekkel
41a6ef96a6 it's $sent_folder instead of $send_folder 2006-02-10 23:38:42 +00:00
stekkel
f9eb18b3e0 Adapted patch from Michael Long
* respect imap continuation request
* Added new error handling calls
2006-02-10 23:06:50 +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
tokul
39a79e0725 adding new options to plugin defines.
undoing centering changes in plugin. align attribute is deprecated, but
css does not provide options for table alignment.
2006-02-09 19:38:50 +00:00
Fredrik Jervfors
aa41b6fccb Replacing deprecated HTML "center" element (second try). 2006-02-05 12:36:40 +00:00
Fredrik Jervfors
b246cfa771 Replacing deprecated HTML "center" element (second try). 2006-02-05 12:23:04 +00:00
Fredrik Jervfors
5cb1e3e1cf Double quoting needed. 2006-02-05 11:43:43 +00:00
Fredrik Jervfors
4ef558abc9 Replacing HTML "script" element deprecated attribute "language". 2006-02-05 11:32:35 +00:00