Commit Graph

1050 Commits (d07b032bcd90108e3df5b9fcddc4d97ff08cbbd5)

Author SHA1 Message Date
Thomas Bruederli b413bb2b60 Set minimal permissions to temp files (#148899) 12 years ago
Thomas Bruederli a021d6f187 Skip filename suffix check for embedded images; return blocked.gif instead of HTML warning when embedded (#1489029) 12 years ago
Aleksander Machniak 4fdaa02ac7 Fix handling of invalid characters in message headers and output (#1489032) 12 years ago
Aleksander Machniak 99edf8699a Fix possible header duplicates when using additional headers (#1489033) 12 years ago
Aleksander Machniak bd698341c4 Remove "HTML message" from attachments list while viewing a message in text mode (#1486939) 12 years ago
Aleksander Machniak 8e4b49c382 Fix session issues with use_https=true (#1488986) 12 years ago
Thomas Bruederli 589083a94c Skip some irrelevant ini checks in CLI mode 12 years ago
Aleksander Machniak 648fcf5709 Whitelist configuration options (user preferences) that can be changed using save-pref command 12 years ago
Victor Benincasa 3906264747 Fix typos 12 years ago
Thomas Bruederli f603883d37 Fix typo 12 years ago
Thomas Bruederli 4034a79beb Check for exact matching session keys before splitting into path segments. Adds backwards-compatibility after commit f0a7159c 12 years ago
Aleksander Machniak 38c1951266 Be less restrictive on vCard import, do not require FN when N exists 12 years ago
Thomas Bruederli 7889c57b77 Match regex on multi-line sql statements 12 years ago
Aleksander Machniak 99cfba2e26 Add some extension/mimetype aliases to fix some quirks in attachment type validation (#1488891) 12 years ago
Thomas Bruederli a85d54e1e8 Hack to reset PDO statement iterators after counting 12 years ago
Aleksander Machniak 3d525ffaf5 Bump up also RCUBE_VERSION 12 years ago
Aleksander Machniak 1bce142058 Fix handling of some conditional comment tags in HTML message (#1489004) 12 years ago
Aleksander Machniak 4f693e9daa Workaround for some versions/systems where finfo_open() with second
argument doesn't do the same as with no 2nd argument as it should
12 years ago
Aleksander Machniak 02c9c931fe Make mime.types common locations list OS-aware 12 years ago
Aleksander Machniak 1e32540839 Add rel="noreferrer" for links in displayed messages (#1484686) 12 years ago
Aleksander Machniak d8270b66cc Fix wrapping of text lines with the same length as specified length limit 12 years ago
Aleksander Machniak 6e8f2a7448 Notify about a new mail only if it's UNSEEN (#1388965) 12 years ago
Aleksander Machniak ea98ec0939 Fixed MOVE command result handling 12 years ago
Aleksander Machniak f111423755 Fix storing 'safe' flag on a message. The key for session value should include
folder name. A message with the same UID may exist in another folder.
12 years ago
Aleksander Machniak 0ef894ec29 Fix has_*_part() methods so they return same result no matter what
prefer_html option value is
12 years ago
Aleksander Machniak 574928200f Use $mime_parts not $parts in has_*_part() methods so detection is
correct no matter if prefer_html is enabled or not.
12 years ago
Aleksander Machniak 5c26bd49b1 Added rcube_message::has_text_part(), simplified has_html_part() so it always
works in "recursive mode" - removed $recursive argument.
12 years ago
Thomas Bruederli bfa667ab02 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Thomas Bruederli d4f8a4f28a Re-implement rcube_db::num_rows() to ensure backwards compatibility 12 years ago
Thomas Bruederli 03c73fa1c5 Also use VLV for filter prefix matches 12 years ago
Aleksander Machniak 567e45ba56 Fix HTML part detection for some specific message structures (#1488992) 12 years ago
Aleksander Machniak 336d2000f8 Fix handling of empty $uids argument in change_flag() 12 years ago
Aleksander Machniak ec6a77bab2 Fix LIMIT/OFFSET queries handling on MS SQL Server (#1488984) - require version 2005+ 12 years ago
Aleksander Machniak 8b771646fa Fix so task name can really contain all from a-z0-9_- characters (#1488941) 12 years ago
Aleksander Machniak 9fdba79094 Merge pull request #60 from thijskh/master
Test content_id with isset instead of a true/false value
12 years ago
Aleksander Machniak d9dc320a40 Support IMAP MOVE extension [RFC 6851] 12 years ago
Thijs Kinkhorst 8cfba1bb2a Test content_id with isset instead of a true/false value.
This broke html email in which one image had Content-ID: <0>, which is a
valid value but evaulates to false in this test.
12 years ago
Aleksander Machniak ac37746c2a Add type 'ident' in quote() so we can quote identifiers (eg. column names) there.
Using array2list() for list of identifiers is now possible.
12 years ago
Aleksander Machniak 139635f189 Fix thumbnail size when GD extension is used for image resize (#1488985) 12 years ago
Aleksander Machniak 879b2331e1 Generate simpler query for MSSQL when offset in limit clause is not set 12 years ago
Aleksander Machniak ee89c6dff6 Display notice that message is encrypted also for application/pkcs7-mime messages (#1488526) 12 years ago
Thomas Bruederli f0a7159c40 Add methods to append certain nodes to session data in order to avoid session saving race conditions. Fixes #1488422 12 years ago
Aleksander Machniak a6fd1578c3 Better @package/@subpackage assignment 12 years ago
Aleksander Machniak 36391cf342 Fix plain text spellchecker icorrect highlighting in non-ASCII text (#1488973) 12 years ago
Aleksander Machniak 726297e5f8 Add workaround for invalid message charset detection by IMAP servers (#1488968) 12 years ago
Aleksander Machniak 2187b2b7d8 Revert "Make autoloading of the framework classes work from any location".
Allow loading rcube_* classes from other locations (for e.g. managesieve plugin).

This reverts commit e4394c95e0.
12 years ago
Thomas Bruederli e4394c95e0 Make autoloading of the framework classes work from any location 12 years ago
Aleksander Machniak bc2c02feec When connection to read-only db fails try to connect to write-master, but only if it is defined 12 years ago
Aleksander Machniak 1961146227 Make cleanup() method public 12 years ago
Thomas Bruederli 807c3d0d97 Optimmize memory usage by only fetching the necessary attributes used for contacts listing 12 years ago
Thomas Bruederli c8a714cca4 Various fixes in contact groups handling with LDAP directories 12 years ago
Thomas Bruederli 772b732068 Fix autocompletion search with VLV support 12 years ago
Thomas Bruederli f924f5f0aa Improve group members listing + fix VLV index usage 12 years ago
Thomas Bruederli 49cb6984ed Don't save 'internal' or empty serialized values 12 years ago
Thomas Bruederli 004f866f20 Prepare for VLV auto-detection (requries 'config_root_dn' config option) 12 years ago
Thomas Bruederli 203323ba85 Refactored the LDAP address book into a generic LDAP wrapper class and an address book implementation (as already started in the devel-ldap-refactoring branch) 12 years ago
Thomas Bruederli 86552ffc8f Finish hierarchical groups browsing in LDAP address books; add according UI elements and styles to the skins; adapt habavior of the compose address book widget 12 years ago
Thomas Bruederli ec2185a1cb Add special config attribute 'group_filters' to specify a fixed list of groups to be listed in the leftmost pane, each having individual base-dn/filter parameters for contact listing 12 years ago
Aleksander Machniak 3dd136f26e Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 1f910cb50d Fix handling link href attribute value with (valid) newline characters (#1488940) 12 years ago
Thomas Bruederli c5a5f989a9 Allow to list contact groups in (paged) list (yet incomplete) 12 years ago
Aleksander Machniak 01a98cb9d6 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak a39fd4db67 Set default error code (500) if not specified in raise_error() 12 years ago
Thomas Bruederli 1cf15ef4a5 Make rcube_result_set implement the PHP iterator interface 12 years ago
Aleksander Machniak 41db2bf47d Slightly improve database driver chack 12 years ago
Thomas Bruederli 737b629c6f Bring back lost text braking width adjustment when quoting blockquote parts 12 years ago
Thomas Bruederli bb6f4b2b5d Refactored blockquote quotion routine in html2text conversion: it now correctly converts multiple and/or nested blockquotes 12 years ago
Thomas Bruederli bd0daee7fd Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Thomas Bruederli 13dc9f2c86 Move rcmail_contact_key() to rcube_addressbook::compose_contact_key() 12 years ago
Aleksander Machniak 18372a236d Send LOGOUT only when closing connection in logged state (#1487784) 12 years ago
Thomas Bruederli e114a60406 Use LDAP fallback hosts on connect + bind because with OpenLDAP 2.x ldap_connect() always succeeds but ldap_bind() will fail if host isn't reachable.
Add option for LDAP bind timeout (sets LDAP_OPT_NETWORK_TIMEOUT on PHP > 5.3.0)
12 years ago
Thomas Bruederli 293a5798af Use the right variable for IPv6 check 12 years ago
Aleksander Machniak 60753b05fa Support autofocus attribute on input elements 12 years ago
Aleksander Machniak 87a96809c7 Rtrim() quoted lines on conversion to flowed format (according to RFC2646) 12 years ago
Aleksander Machniak 7ebed11b05 More improvements to format=flowed handling + fix in wordwrap() used internally by format_flowed() 12 years ago
Aleksander Machniak aabd628286 Improve format=flowed text unfolding, add test for signature separator handling 12 years ago
Thomas Bruederli 7ae7cdf195 Don't rely on Subject header only 12 years ago
Thomas Bruederli 6d41d8fd4b Fix format=flowed unfolding on quoted lines; added tests for rcube_mime::format_flowed() and rcube_mime::unfold_flowed() 12 years ago
Thomas Bruederli 4f9edbd799 Select 8 KB of message part for headers (to make sure we get them all) 12 years ago
Aleksander Machniak c59ef9542a Support more Thunderbird CSV fields, added zh_TW localization for csv2vcard map (#1488901) 12 years ago
Thomas Bruederli 18e23ab763 Welcome to 2013 12 years ago
Aleksander Machniak db6f54ec5f Reset $db_error_msg on query 12 years ago
Aleksander Machniak f96593772c Force autocommit mode in mysql database driver (#1488902) 12 years ago
Aleksander Machniak 16915ee2ad Don't convert to link a text with < and > characters 12 years ago
Aleksander Machniak acf851f823 Fix address fields import from CSV (#1488900) 12 years ago
Aleksander Machniak b5767d94b1 Fix typo 12 years ago
Aleksander Machniak 3e3767138e Rename $date_types -> $date_cols 12 years ago
Aleksander Machniak 745d8697ba Fix quoted data handling in CSV files (#1488899) 12 years ago
Aleksander Machniak 83f7077ec9 Fix searching by date in address book (#1488888) 12 years ago
Aleksander Machniak a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 12 years ago
Aleksander Machniak 21106b3d1c Fix handling of escaped separator in vCard file (#1488896) 12 years ago
Aleksander Machniak 232535f76e Add option to use envelope From address for MDN responses (#1488880) 12 years ago
Aleksander Machniak cb0f030ae9 Support "multipart/relative" as an alias for "multipart/related" type (#1488886) 12 years ago
Aleksander Machniak be72fb3597 Unified attachments filenames handling for message parts without a filename 12 years ago
Aleksander Machniak 2b80d5dbf2 Workaround UW-IMAP bug where hierarchy separator is added to the shared folder name (#1488879) 12 years ago
Aleksander Machniak 66afd70b75 Framework'ize html2text class 12 years ago
Aleksander Machniak 7ac94421bf Move washtml class into Roundcube Framework (rcube_washtml), add some improvements 12 years ago
Aleksander Machniak 0931a97c5f Fix handling of parentheses in URLs 12 years ago
Aleksander Machniak 7d88e614ae Add hint about possible disabled fsockopen() function on connection error 12 years ago
Aleksander Machniak 679b375a46 Fix comment 12 years ago
Aleksander Machniak c4781306a5 CS fixes 12 years ago
Aleksander Machniak a61326c141 Fix locking issue in SQLite driver (#1488874) 12 years ago
Aleksander Machniak a079269166 Fix version comparisons with -stable suffix (#1488876) 12 years ago
Aleksander Machniak a8ffab3f4f Fix Call to undefined method rcube_db_sqlite::_get_result() 12 years ago
Aleksander Machniak c23dc87f2b Don't display message parts with unsupported text type, e.g. text/calendar 12 years ago
Aleksander Machniak 9ac96015f2 Better GD module functions detection, should fix "Call to undefined function imagecreatefromjpeg()" error 12 years ago
Aleksander Machniak c5d7c941aa Add unsupported alternative parts to attachments list (#1488870) 12 years ago
Aleksander Machniak 0d214498d0 CS fixes 12 years ago
Aleksander Machniak 83370e5ff1 Display 'Sender' header in message preview 12 years ago
Aleksander Machniak 8cacecb2ff CS fixes 12 years ago
Aleksander Machniak d2534c63f2 Cleanup, remove file paths from doc 12 years ago
Aleksander Machniak 9945f24274 CS fixes 12 years ago
Thomas Bruederli a072247dde Fix package definitions and include framework classes in phpdoc 12 years ago
Aleksander Machniak 5aed9a9a37 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 5b15700d11 Rename hook imap_connect to storage_connect 12 years ago
Aleksander Machniak 0435f40999 Add EXISTS mode to count() method - return number of all messages in a folder,
event if skip_deleted is enabled and/or search is active.
12 years ago
Aleksander Machniak bb5d728285 Use also Envelope-To for identity selection (#1488553) 12 years ago
Thomas Bruederli a8a72e2e7e Nicely render headers of message/rfc822 parts 12 years ago
Aleksander Machniak 1aaa4bc393 Fix PHP Warning: ldap_parse_virtuallist_control() expects parameter 2 to be
resource, null given. This happens on Administrative Limit Exceeded error when
using VLV.
12 years ago
Thomas Bruederli 9cd1b120d0 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 4f1c887eaa Add support for IMAP BINARY (RFC3516) 12 years ago
Thomas Bruederli 6488992dd0 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Thomas Bruederli 3bb75a5cc7 Add default path for mime.types file; map jpg => image/jpeg in fallback list 12 years ago
Thomas B. d414cc05a3 Add github syntax highlighting to php code snippet 12 years ago
Thomas Bruederli bc1ec6c1a1 Added README file for the Roundcube framework 12 years ago
Aleksander Machniak 7c5d4b0d4d Fix typo in identity data parser ('ident' item wasn't set correctly) 12 years ago
Aleksander Machniak a3985963f0 Fix big memory consumption of DB layer (#1488856) 12 years ago
Aleksander Machniak 996af3bfd9 Some more rcmail -> rcube cleanup 12 years ago
Aleksander Machniak 0fa54df638 enriched.inc -> rcube_enriched 12 years ago
Aleksander Machniak 7eb7806b21 Fix broken message/part bodies when FETCH response contains more untagged lines (#1488836) 12 years ago
Aleksander Machniak 0247b89c38 Move code for identity selection to function, move identities formatting to rcube_user::list_identities() 12 years ago
Aleksander Machniak 30cc01f89d Use Delivered-To header as a last resort for identity selection (#1488840) 12 years ago
Thomas Bruederli dff2c713fb Add argument to fetch message parts only partially. Can be used for content mimetype detection without loading the entire file 12 years ago
Thomas Bruederli 0a83971d3e Clarify mime_magic config option; add new function to map mimetypes and filename extensions 12 years ago
Aleksander Machniak 63f130782c Small fixes to last commits 12 years ago
Thomas Bruederli 60226a75d8 Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes 12 years ago
Thomas Bruederli 10da75f364 Move shortcut functions to framework class 12 years ago
Aleksander Machniak a92beb6bdb Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency 12 years ago
Aleksander Machniak 3ff8cc2bc8 RCMAIL_VERSION -> RCUBE_VERSION 12 years ago
Aleksander Machniak 3b428c830d Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 5b06e24265 Cleaner way of handling user password in framework-based programs with no session 12 years ago
Thomas Bruederli 00b98ee325 Make charset header accessible, too 12 years ago
Aleksander Machniak 789e5988aa Clarify rcube::get_user_name() usage, add rcube::get_user_email() 12 years ago
Thomas Bruederli bfc3070067 Cut dependencies to rcmail class 12 years ago
Thomas Bruederli 5926684aab Unify path schema in global constants: paths always end with a /. Keep RCMAIL_CONFIG_DIR for backwards compatibility 12 years ago
Thomas Bruederli fdbe5a8804 Separate framework and application constants 12 years ago
Thomas Bruederli 9be2f43d02 Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework 12 years ago
Aleksander Machniak 922a1fb714 Add lost rcube_vcard.php file 12 years ago
Aleksander Machniak d0edbfb33d Fix cache (in)validation after setting \Deleted flag 12 years ago
Aleksander Machniak ba6f21caeb Framework files moved to lib/Roundcube 12 years ago