Commit Graph

910 Commits (9cc0c12bcd9f610d78e6e2346a283603b105a348)

Author SHA1 Message Date
Thomas Bruederli e3857bb6c2 Fix infinite loop when converting invalid html to plaintext (#1489566) 11 years ago
Thomas Bruederli 774deaded1 Don't EVER log passwords 11 years ago
Aleksander Machniak 03f1691d47 Fixed Opera > 15 detection (#1489562) 11 years ago
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.
11 years ago
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.
11 years ago
Aleksander Machniak c0dda0556c Allow single quote in style attribute values.
E.g. "font-family: 'Tahoma'" should not be removed.
11 years ago
Thomas Bruederli d93ce5cde2 Fix concurrent connections to IMAP while searching 11 years ago
Aleksander Machniak 357f9c831a Support SMTP socket context options via new config option 'smtp_conn_options' 11 years ago
Thomas Bruederli 1d6082c5e2 Fix thread/list mode update and display 11 years ago
Thomas Bruederli 9202e93b75 Fix slicing of returned search result headers 11 years ago
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
11 years ago
Thomas Bruederli 689a222170 Append per-folder search results to global index but only if it has matches 11 years ago
Thomas Bruederli ff3eb83492 Handle combined UID-folder identifiers in rcube_imap class 11 years ago
Thomas Bruederli 2c33c7e38b Make message pagenav (prev/next) work with sorted multi-folder search results 11 years ago
Thomas Bruederli 2baeac116a Fix sorting and paging in cross-folder searches 11 years ago
Thomas Bruederli d53b60406c Fix typos 11 years ago
Thomas Bruederli b6e24c6946 Minor improvements to threaded searching 11 years ago
Thomas 566747af00 First attempt to search in multiple folders; do it multi-threaded using pthreads if available 11 years ago
Thomas 628706acdc Prepare message list to display IMAP folder 11 years ago
Thomas Bruederli 5740b10bf8 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 531c4d896c Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak d924ebebf7 Fix compatibility with PHP 5.2 in html.php file (#1489514) 11 years ago
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.
11 years ago
Aleksander Machniak 1fd6c43e19 Improve parse_thread so it uses much less recursive calls 11 years ago
Thomas Bruederli c5f6352710 Don't log error if no plugin config is found in global directories 11 years ago
Thomas Bruederli 8fc49e51a4 Use the right base_dn for listing records of the selected group 11 years ago
Thomas Bruederli aa581c2912 Fall back to load plugin config from global config directories only if no local config file exists 11 years ago
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.
11 years ago
Thomas Bruederli e59471fcb9 Make sure prefs always is a valid array (otherwise causes fatal errors if language if not set) 11 years ago
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?)
11 years ago
Aleksander Machniak 7a3c0c96c4 Use '0' instead of 0, to fix possible issue. 11 years ago
Aleksander Machniak 172302e2cf Small perf. improvement 11 years ago
Aleksander Machniak 0301d9347f CS fixes 11 years ago
Aleksander Machniak c7250749ab Fix issue where deprecated syntax for HTML lists was not handled properly (#1488768) 11 years ago
Aleksander Machniak 3e98f8be71 Add some code for S/MIME signatures verification, update Crypt_GPG package 11 years ago
Aleksander Machniak ac0fc383fd Fix so message flags modified by another client are applied on the list on refresh (#1485186) 11 years ago
Aleksander Machniak 6b2b2eca5f Remove deprecated functions (these listed in bc.php file) usage 11 years ago
Aleksander Machniak 54029ea959 Fix broken text/* attachments when forwarding/editing a message (#1489426) 11 years ago
Aleksander Machniak f6d23a8dce Fix PHP warning when 1st argument of parse_host() is not a string (#1489486) 11 years ago
Aleksander Machniak a520f331c1 Fix handling of X-Forwarded-For header with multiple addresses (#1489481) 11 years ago
Aleksander Machniak d19c0f9f30 In normalize_string() replace 4-byte unicode characters with '?' character.
These are not supported in default utf-8 charset on mysql,
the chance we'd need them in searching is very low.
11 years ago
Aleksander Machniak 029f7a157d Clarify update() result description, return boolean when ID didn't change 11 years ago
Aleksander Machniak 18b40c1a32 Fix issue where groups were not deleted when "Replace entire addressbook" option on contacts import was used (#1489420) 11 years ago
Aleksander Machniak 38bf401cf8 Fix performance of listing writeable folders (#1489451) 11 years ago
Thomas Bruederli ce6050cbbb Display version from composer.json even if not intstalled 11 years ago
Aleksander Machniak 5f31429de5 Fix preparation of message object before saving into the cache.
The bug cased e.g. displaying HTML content as plain text for messages
with Content-Type: text/html.
11 years ago
Aleksander Machniak 38f1f56920 Exec config_get hook also in rcube_config::all() (#1485981) 11 years ago
Aleksander Machniak ffec857b69 Fix handling of invalid closing tags in HTML messages (#1489446) 11 years ago
Aleksander Machniak 75a5c3554a Add possibility to overwrite a label/message in Roundcube's language package (#1489433) 11 years ago
Aleksander Machniak f13ae32aec Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 978ff8794f Make sort_folder_list() public 11 years ago
Thomas Bruederli aef6ed4702 Add hook to notify plugins about message sending errors 11 years ago
Aleksander Machniak fdf79703e2 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 3373e4ae10 Fix browser version detection and failing tests 11 years ago
Aleksander Machniak 8328d0643e Code improvements and some unification with browser detection code in javascript 11 years ago
Aleksander Machniak 51fe045a04 Fix deprecated function usage 11 years ago
Thomas Bruederli fa635d8862 Make $force parameter only override the task check for required plugins (#1489437) 11 years ago
Thomas Bruederli f8101fff1e Accept text/html parts inside multipart/mixed parts as HTML contents 11 years ago
Aleksander Machniak 741ddced5b Fix Internet Explorer 11 detection (#1489434) 11 years ago
Thomas Bruederli 596301c10b Reset $part_orig_mimetype variable in for-loop. This avoids attachments along with message/rfc822 parts being listed twice 11 years ago
Thomas Bruederli cf31954661 Make require_plugin() force loading of the required plugin 11 years ago
Thomas Bruederli 85e60ada15 First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added 11 years ago
Aleksander Machniak 5983ee0f18 Fix categories/groups import from csv 11 years ago
Thomas Bruederli 884e1ecce9 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli 1e7d1240ed Avoid rcube_session::reload() to reset previous changes. This fixes parallel attachment uploads that could get lost when using the database_attachments plugin 11 years ago
Aleksander Machniak 00de8ddf8d Small performance improvements, use str_replace() instead of strtr(),
do not parse query if there are no params to replace,
keep one instance of (potentially long) query less in memory
11 years ago
Aleksander Machniak 64cb702847 Remove duplicate languages on spellchecker langs list (#1489395) 11 years ago
Thomas Bruederli 4c02ef0c5c Fix function calls after refactoring 11 years ago
Aleksander Machniak b1f3c3bee8 Fixed saving contact birthday/anniversary dates before 01-01-1970 11 years ago
Thomas Bruederli fdb30f3279 Fix CSS selector modifications when nested in @media blocks 11 years ago
Thomas Bruederli 3ce7c56826 Applied the (modified) patch to extend configuration possibilities of LDAP address books as suggested in #1488753:
- Add option to specify arbitrary replacements of config options with attributes from the bound user
- Allow mapping of group object class => member attribute used in these objects
- Describe the 'member_filter' property for groups config
11 years ago
Thomas Bruederli 98b7b548a2 Merge branch 'dev-canned-responses'
Conflicts (resolved):
	skins/classic/includes/settingstabs.html
	skins/larry/includes/settingstabs.html
11 years ago
Thomas Bruederli 1ece73dc4e Fix mime.types parsing (#1489391) 11 years ago
Takika 03713dbf5d Add contact_listname hook to handle special name order
I can modify the addressbook_name_listing variable via main config or preferences_list_hook but I have to change the rcube_addressbook class to use the modified value. Some contry use special [name orders](http://en.wikipedia.org/wiki/Personal_name#Name_order) and we can handle them with this hook.
I changed the hook name to contact_listname as proposed by thomascube in the original PR#127.
11 years ago
Aleksander Machniak a649e0488a Fix failing vCard import when email address field contains spaces (#1489386) 11 years ago
Aleksander Machniak 99d59620e1 Join many preg_replace() calls into one 11 years ago
Aleksander Machniak 27a620c012 Fix typo in method name 11 years ago
Thomas Bruederli d29f781080 Let plugins state a validation error message 11 years ago
Thomas Bruederli a693639613 Require name or email for sql address book only 11 years ago
Thomas Bruederli 49b8e5d0bb Add plugin hook 'contact_validate' to let plugins validate contact records 11 years ago
Thomas Bruederli c344b64f13 Get supported spell-check languages from the configured backend; replace suspended google spell service with our new service at spell.roundcube.net 11 years ago
Aleksander Machniak 70c7df8faa Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) 11 years ago
Aleksander Machniak 26830dcc87 Support 'value' and 'label' attributes on <option> tag 11 years ago
corbosman 754779be6d Allow selected as attribute 11 years ago
Thomas Bruederli b608577342 Add support for additional attributes on <option> entries 11 years ago
Aleksander Machniak 64c924ea06 Fix regression where wrong set of message identifiers was used
in sql query that was supposed to fetch list of messages from cache
11 years ago
Aleksander Machniak c1bc8f6c82 Change so abort=true does not break the loop in exec_hook(), provide a new 'break' flag for this purpose 11 years ago
Aleksander Machniak 899e594474 Key duplicate error on postgres uses SQLSTATE=23505 11 years ago
Aleksander Machniak 5a2d2a6f75 Fix HTML part detection when encapsulated inside multipart/signed (#1489372) 11 years ago
Aleksander Machniak ff6de99ae4 Some micro-optimizations 11 years ago
Aleksander Machniak 0f15219a93 Fix text wrapping issue with long unwrappable lines (#1489371) 11 years ago
Aleksander Machniak d1abd8e339 Fix infinite loop in rcube_utils::mod_css_styles() after recent changes in rcube_string_replacer 11 years ago
Thomas Bruederli b5216621ba Add spellchecker backend for the After the Deadline service. See http://www.afterthedeadline.com for server installations 11 years ago
Thomas Bruederli bc0a470157 Refactor spellchecker class into backend subclasses for better extensibility 11 years ago
Thomas Bruederli c856b73c86 Minor improvements to linkref parser 11 years ago
Thomas Bruederli a01f3b959a Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli e480ca00ba Replace markdown-style [1] link indexes in plain text email bodies. [1]: http://daringfireball.net/projects/markdown/ 11 years ago
Aleksander Machniak 5251ec3e38 Workaround cyrus-murder bug in SETANNOTATION arguments handling 11 years ago
Thomas Bruederli 6a6992f650 Assign the chosen mode to the table map 11 years ago
Thomas Bruederli a69f9918cd Improve selection of replicated database connection:
- Analyze query and prefer dsnr unless a write operation for a table involved has been carried out before
- New config option and setter method to enforce connection mode on table level
11 years ago
Thomas Bruederli 120db629b0 Execute connection config queries on db handle direclty 11 years ago
Aleksander Machniak aceb0149b8 Add possibility to programmatically set cache mode, so it is possible
to cache only indexes/threads but not messages
11 years ago
Aleksander Machniak 4daaa09438 Move PEAR libs from plugins into main Roundcube lib directory,
list them as dependencies in INSTALL file (#1489182)
11 years ago
Thomas Bruederli 92d18cf32e New option to disable the use of already established dsnw connections for subsequent reads 11 years ago
Aleksander Machniak b3e25974b1 Fix typo: occured -> occurred (#1489366) 11 years ago
Aleksander Machniak e426ae262c Search for user DN only if one of bind_dn, base_dn, groups_base_dn settings
contains %dn variable
11 years ago
Aleksander Machniak af79a7b837 Fixed issues where HTML comments inside style tag would hang Internet Explorer 11 years ago
Aleksander Machniak eafd5b1aa4 Improved mailto: link arguments handling (#1489363) 11 years ago
Aleksander Machniak bfd24fcc04 Use DOMDocument LIBXML_PARSEHUGE and LIBXML_COMPACT options if possible (#1489302) 11 years ago
Aleksander Machniak 170702fd13 We've encountered (malformed) messages with more than
one text/plain or text/html part here. There's no way to choose
which one is better, so we'll display first of them and add
others as attachments (#1489358)
11 years ago
Aleksander Machniak a4bc6ea24d Handle nicely situation when normalize_entry is executed on already normalized entry 11 years ago
Aleksander Machniak 955a613cac Support HTTP_HOST, SERVER_NAME and SERVER_ADDR values in include_host_config feature 11 years ago
Aleksander Machniak 2c6a233a99 Make sure language code extracted from HTTP_ACCEPT_LANGUAGE is in xx_YY format 11 years ago
Thomas Bruederli a315bf2dda Support both new and old config variables 11 years ago
Thomas Bruederli 0ee22c2145 Retry queries on deadlock errors from InnoDB row-level locking (MySQL) 11 years ago
Thomas Bruederli 52830ea605 Improve handling of date strings and DateTime values in contacts 11 years ago
Aleksander Machniak ad003c889b Fix some methods for rcube_addressbook implementations where contact email field is not a flat array 11 years ago
Thomas Bruederli 0272081d05 Add option to import vcards with group assignments (pull-request 105) 11 years ago
Thomas Bruederli 028e2a17af Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli 79367a5631 Save groups membership in VCard export (#1488509) 11 years ago
Aleksander Machniak 8eb0850ba4 Workaround broken PHP function timezone_name_from_abbr (#1489261) 11 years ago
Thomas Bruederli 9e9d62d786 Respect (multiple) config dirs from RCUBE_CONFIG_PATH when reading configured mimetypes mapping 11 years ago
Thomas Bruederli fb5f5232b9 Read RCUBE_CONFIG_PATH env variable for a list of directories that are searched for config files (#1487311) 11 years ago
Aleksander Machniak 3d5eea7073 Fix error_reporting directive check (#1489323) 11 years ago
Aleksander Machniak 21601b4deb Make cached message size limit configurable - messages_cache_threshold (#1489317) 11 years ago
Aleksander Machniak 7ebe063a16 Aviod code duplication in timezone configuration handling 11 years ago
Thomas Bruederli 4f432f880a Make result of rcmail::get_compose_responses() always an (indexed) array; add plugin hook for updating user prefs: 'preferences_update' 11 years ago
Thomas Bruederli 0933d66b59 Keep current selection on IE browsers by adding unselectable=on to link elements 11 years ago
Thomas Bruederli 0b1de8a487 Add new feature to save and recall text snippets (aka canned responses) when composing messages 11 years ago
Aleksander Machniak b6be23ac4b Fix issue where too big message data was stored in cache causing sql errors (#1489316) 11 years ago
Aleksander Machniak 993cb6627b Fix issue where legacy config was overriden by default config (#1489288) 11 years ago
David Carter de8687f9f1 Add temp_dir_ttl configuration option to control expiry time in
program/lib/Roundcube/rcube.php : gc_temp().

Default is 48 hours. Define hard wired minimum of 6 hours.
11 years ago
Aleksander Machniak 05da1577aa Fix setting of Junk and NonJunk flags by markasjunk plugin (#1489285)
Added possibility to register flag mappings by a plugin.
11 years ago
Aleksander Machniak 6efadfc8d3 Fix so additional headers are added to all messages sent (#1489284) 11 years ago
Aleksander Machniak b32fab16ef Fix handling of non-default date formats (#1489294)
- remove ambiguous m/d/Y format from default config
11 years ago
Aleksander Machniak 9f754494e7 Fix unquoted path in PREG expression on Windows (#1489290) 11 years ago
Thomas Bruederli d25ad5cc87 Let the framework adjust the include_path if necessary 11 years ago
Thomas Bruederli 8d2963a4bf Make session auth cookie name configurable 11 years ago
Aleksander Machniak 4287c9a2f9 Fix replacement variables in user-specific base_dn in some LDAP requests (#1489279) 11 years ago
Aleksander Machniak 328876db5c Fix image scaling issues when image has only one dimension smaller than the limit (#1489274)
Other small code improvements.
11 years ago
Aleksander Machniak a79017e662 Fix base URL resolving on attribute values with no quotes (#1489275) 11 years ago
Aleksander Machniak 0bac7b32de Fix wrong handling of links with '|' character (#1489276) 11 years ago
Aleksander Machniak 17239fa522 Merge pull request #100 from Dennis1993/patch-8
Remove sensless version_compare()
11 years ago
Aleksander Machniak b825f86108 Move identity selection based on non-standard headers into (new) identity_select plugin (#1488553) 11 years ago
Aleksander Machniak 7015dd99f9 Added -stip option to convert command line (#1489270) 11 years ago
Aleksander Machniak c908fb451d Fix colorspace issue on image conversion using ImageMagick (#1489270) - s/RGB/sRGB/ 11 years ago
Aleksander Machniak 311d876f0b Hide PHP warning when calling filemtime() on not-existent file 11 years ago
Aleksander Machniak 92e7ce6663 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak ae853367ed Fix downloading binary files with (wrong) text/* content-type (#1489267) 11 years ago
Aleksander Machniak 80112d0749 Fixed typo in comment 11 years ago