Commit Graph

2129 Commits

Author SHA1 Message Date
Thomas Bruederli
509a6bc368 Allow to force-load plugins which have been loaded but not initialized before 2014-04-02 16:26:59 +02:00
Aleksander Machniak
dc0b500e78 Removed redundant default_folders config option (#1489737)
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830)
2014-04-01 19:27:07 +02:00
Thomas Bruederli
0ee6328098 Replace   entities when converting to text 2014-04-01 15:05:19 +02:00
Felix Eckhofer
30e6b980a6 Remove usage of $RCMAIL global variable 2014-03-26 20:45:33 +01:00
Felix Eckhofer
ef721fc430 Add config variable 'proxy_whitelist'
HTTP headers X_FORWARDED_* and X_REAL_IP are only evaluated when
received from an IP listed in proxy_whitelist. Furthermore, only the
last non-trusted IP from X-Forwarded-For is used in place of the real
ip.

Without this, an attacker can easily spoof the headers and control the
result of the ip or ssl check.

This fixes several problems with [3a4c9f42], [4d480b36] and [a520f331] as
mentioned in #1489729.
2014-03-26 20:44:16 +01:00
Aleksander Machniak
bee1e18966 Skip IMAP SORT request if folder is empty 2014-03-23 11:15:47 +01:00
Aleksander Machniak
8cc567c004 Drop support for PHP < 5.3.7 2014-03-22 12:56:49 +01:00
Aleksander Machniak
65f59fa3c6 Bump version number to 1.1-git 2014-03-19 08:49:55 +01:00
Thomas Bruederli
3980579602 Avoid useless connection attempts if host is empty 2014-03-11 09:12:08 +01:00
Thomas Bruederli
143ceff0d8 Implement ArrayAccess interface for conveniently accessing rcube_result_set as array 2014-03-06 13:17:31 +01:00
Thomas Bruederli
532c10669b Support structured data for autocompletion results; map 'type' attribute to CSS class for autocomplete list items 2014-03-06 13:17:14 +01:00
Aleksander Machniak
32c612c112 Fix some PDO::MYSQL_* constants (wrongly described in PHP manual before 5.3.21) 2014-02-24 14:14:19 +01:00
Aleksander Machniak
2b8f033bcb Improvement in handling invalid email address strings 2014-02-23 14:20:43 +01:00
Thomas Bruederli
128fd9861a Declare LOGIN commands to be anonymized in debug logging 2014-02-19 18:04:04 +01:00
Aleksander Machniak
5e8da2b5c9 Added toolbar button to move message in message view 2014-02-13 14:19:41 +01:00
Aleksander Machniak
03de1329ef Fix invalid X-Draft-Info on forwarded message draft (#1489587) 2014-02-11 09:06:53 +01:00
Thomas Bruederli
ce20194266 Add setter for user object to rcube class; we already have getters for various user properties there 2014-02-10 13:18:34 +01:00
Aleksander Machniak
517c9f9a8d Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
2014-02-07 14:43:51 +01:00
Thomas Bruederli
eecd9ce0f9 Fix infinite loop when converting invalid html to plaintext (#1489566) 2014-02-04 10:23:08 +01:00
Thomas Bruederli
e3857bb6c2 Fix infinite loop when converting invalid html to plaintext (#1489566) 2014-02-04 10:22:29 +01:00
Thomas Bruederli
774deaded1 Don't EVER log passwords 2014-02-03 15:34:55 +01:00
Aleksander Machniak
03f1691d47 Fixed Opera > 15 detection (#1489562) 2014-02-03 13:27:36 +01:00
Aleksander Machniak
3b1d410b4e Fix confusing intersect/filter methods naming/behaviour.
Removed rcube_result_index::intersect() method.
Changed rcube_result_index::filter() to filter in the same way as
rcube_result_thread::filter(), which means it actually does array_intersect().
Added tests scripts for rcube_result_index class.
2014-01-24 19:05:18 +01:00
Aleksander Machniak
5140c31064 Remove quotes around addressee name in case they are encoded.
Some clients encode quotes with name using base64/quoted-printable
encoding. Quotes were removed only for unencoded strings. Now also
encoded names are handled this way.
So, recipient/sender strings are displayed without quotes around
and e.g. saving to addressbook does not save these redundant quotes.
2014-01-24 12:36:48 +01:00
Aleksander Machniak
c0dda0556c Allow single quote in style attribute values.
E.g. "font-family: 'Tahoma'" should not be removed.
2014-01-24 11:22:02 +01:00
Thomas Bruederli
d93ce5cde2 Fix concurrent connections to IMAP while searching 2014-01-21 17:18:28 +01:00
Aleksander Machniak
357f9c831a Support SMTP socket context options via new config option 'smtp_conn_options' 2014-01-21 13:12:06 +01:00
Thomas Bruederli
1d6082c5e2 Fix thread/list mode update and display 2014-01-20 12:12:21 +01:00
Thomas Bruederli
9202e93b75 Fix slicing of returned search result headers 2014-01-20 11:59:57 +01:00
Thomas Bruederli
1bbf8c4886 - Make search scope selectable in UI
- Disable thread mode when searching over multiple folders
- Encode UID values for HTML message row identifiers
2014-01-20 10:05:36 +01:00
Thomas Bruederli
689a222170 Append per-folder search results to global index but only if it has matches 2014-01-20 09:33:58 +01:00
Thomas Bruederli
ff3eb83492 Handle combined UID-folder identifiers in rcube_imap class 2014-01-16 15:50:48 +01:00
Thomas Bruederli
2c33c7e38b Make message pagenav (prev/next) work with sorted multi-folder search results 2014-01-16 15:41:19 +01:00
Thomas Bruederli
2baeac116a Fix sorting and paging in cross-folder searches 2014-01-16 14:17:08 +01:00
Thomas Bruederli
d53b60406c Fix typos 2014-01-16 11:33:57 +01:00
Thomas Bruederli
b6e24c6946 Minor improvements to threaded searching 2014-01-16 11:33:57 +01:00
Thomas
566747af00 First attempt to search in multiple folders; do it multi-threaded using pthreads if available 2014-01-16 11:33:56 +01:00
Thomas
628706acdc Prepare message list to display IMAP folder 2014-01-16 11:21:59 +01:00
Thomas Bruederli
5740b10bf8 Merge branch 'master' of github.com:roundcube/roundcubemail 2014-01-16 09:04:34 +01:00
Aleksander Machniak
531c4d896c Merge branch 'master' of github.com:roundcube/roundcubemail 2014-01-16 09:02:37 +01:00
Aleksander Machniak
d924ebebf7 Fix compatibility with PHP 5.2 in html.php file (#1489514) 2014-01-16 09:02:22 +01:00
Thomas Bruederli
3786a48aeb * New option that write logs to per-user directories. (Debug) logs will only be written if a directory for the current user exists.
* The 'write_log' plugin hook now also supports the return property 'dir' to let plugins specify the log directory.
2014-01-16 09:02:02 +01:00
Aleksander Machniak
1fd6c43e19 Improve parse_thread so it uses much less recursive calls 2014-01-16 08:58:10 +01:00
Thomas Bruederli
c5f6352710 Don't log error if no plugin config is found in global directories 2014-01-16 08:50:07 +01:00
Thomas Bruederli
8fc49e51a4 Use the right base_dn for listing records of the selected group 2014-01-16 08:49:19 +01:00
Thomas Bruederli
aa581c2912 Fall back to load plugin config from global config directories only if no local config file exists 2014-01-14 17:04:24 +01:00
Takika
d073a66db3 Load plugin config file from any configured path
Try to load plugin_name.inc.php config file from any pre-configured config path (rcube_config::path array) so webmail admins can move plugin configurations out of www root.
2014-01-07 14:32:33 +01:00
Thomas Bruederli
e59471fcb9 Make sure prefs always is a valid array (otherwise causes fatal errors if language if not set) 2014-01-07 09:48:55 +01:00
Aleksander Machniak
4957530dec Fix an obvious mistake in search_once() casing wrong result when called
with empty 2nd argument (which also is not what should happen, should we return error?)
2014-01-02 12:43:04 +01:00
Aleksander Machniak
7a3c0c96c4 Use '0' instead of 0, to fix possible issue. 2014-01-02 12:15:15 +01:00