Commit Graph

1500 Commits (6d19d1466e9bafc0de0ef19e6ed661f5a119fa56)

Author SHA1 Message Date
Aleksander Machniak 26086981a2 Improve randomness of security tokens (#1490529) 9 years ago
Aleksander Machniak f75bc5c24b Use random security tokens instead of hashes based on encryption key (#1490404) 9 years ago
Aleksander Machniak e4c66080a8 Improved encrypt/decrypt methods with option to choose the cipher_method (#1489719) 9 years ago
Aleksander Machniak 4c53e78915 Fix printing required ini options values in error message 9 years ago
Aleksander Machniak 427ab2f393 Optimize folder_size() on Cyrus IMAP by using special folder annotation (#1490514) 9 years ago
Aleksander Machniak 5eb9c70b60 Added method to determine IMAP server vendor, for future use 9 years ago
Aleksander Machniak 86b241df63 CS fixes 9 years ago
Aleksander Machniak 4ceff8f353 Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders (#1490468) 9 years ago
Aleksander Machniak f00e1f5333 CS fixes 9 years ago
Aleksander Machniak 6f249b0e38 Change code so versions of Mail_mime before and after 1.9.0 are supported 9 years ago
Aleksander Machniak 7a42173a16 Simplify rcube_utils::check_ip() 9 years ago
Aleksander Machniak 6b31846c43 Fix IPv6 address validation on PHP with disabled IPv6 support 9 years ago
Aleksander Machniak f4c512336d Fix "washing" of style elements wrapped into many lines 9 years ago
Thomas B. cf69daf896 Merge pull request #288 from ThijsFeryn/fnnonempty
Emptying the display name when the display name is the main e-mail ad…
9 years ago
Aleksander Machniak 559e5d7bd4 Fix unintentional error_reporting change 9 years ago
Aleksander Machniak 36bd93f138 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 9 years ago
Aleksander Machniak a7efdd7c5d Make Mail_mime>=1.9.0 a requirement, fix compat. errors 9 years ago
Aleksander Machniak 1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 9 years ago
Aleksander Machniak 0868c2e841 Make sure list page is never set to 0 (#1490458)
This should fix the issue where after message move wrong message was
added to the list and the list counter was invalid.
9 years ago
Aleksander Machniak 5ed8ade763 Fix bug where some plugins could be initialized more than one time 9 years ago
Aleksander Machniak 93e64008a6 Small code improvements 9 years ago
Aleksander Machniak c21f95f626 Fix bug where new messages weren't added to the list in search mode 9 years ago
Aleksander Machniak 6c7be218f7 Revert create_folder() behaviour change where the method didn't fail if folder already existed.
This should not be the default behaviour. It could likely
become an optional functionality, however we should keep the method simple.
9 years ago
Aleksander Machniak 9d78c68cbf Fix so imap folder attribute comparisons are case-insensitive (#1490466)
+ make in_array_nocase() much faster for ASCII strings
9 years ago
ThijsFeryn 58f6f19505 Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734 9 years ago
Aleksander Machniak b71eef6d7d Don't use private properties of Net_SMTP object 9 years ago
Aleksander Machniak 9335f9cede Reset internal cache index in close() 9 years ago
Aleksander Machniak e2bceaefe6 Support more secure hashing algorithms for auth cookie - configurable by PHP's session.hash_function (#1490403) 9 years ago
Aleksander Machniak 843643b1bd Fix multi-folder search result sorting by arrival date (#1490450) 9 years ago
Aleksander Machniak 212e332cef Get rid of array_walk() when simple foreach() can be used 10 years ago
Aleksander Machniak d2890372c1 Fix Fatal error after last commit 10 years ago
Aleksander Machniak 6a8c4fc73b Fix issue when first search() argument is not an array 10 years ago
Aleksander Machniak 8447bae77c Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code 10 years ago
Aleksander Machniak f7427f151e Get rid of Mail_mimeDecode package dependency (#1490416) 10 years ago
Aleksander Machniak 9aae1b7fc3 Fix so microseconds macro (u) in log_date_format works (#1490446) 10 years ago
Aleksander Machniak 25c8fe4eeb Fix handling of non-break spaces in html to text conversion (#1490436) 10 years ago
Aleksander Machniak b92a66b3ee Make has_(html|text)_part and first_(html|text)_part methods consistent in arguments and functionality 10 years ago
Aleksander Machniak 36a7f57345 Modify rcube_smtp::send_mail() so it is possible to send message by
specifying only the message stream no headers, it's for cases when
the stream already contains a complete message.
10 years ago
Aleksander Machniak ff40683404 Fix so links with href == content aren't added to links list on html to text conversion (#1490434) 10 years ago
Aleksander Machniak 26a00e76be Fix race-condition in saving user preferences and loading plugin config (#1490431) 10 years ago
Aleksander Machniak a958748947 CS fixes 10 years ago
Thomas Bruederli d375b20225 Suppress E_DEPRECATED errors after change in [4ab77dd1] 10 years ago
Thomas Bruederli 4ab77dd13e Check for PEAR class before accessing it. With new composer modules this isn't necessary in the include path anymore 10 years ago
Aleksander Machniak a84f0b65dc Fix undefined variable use after recent changes (#1490401) 10 years ago
Aleksander Machniak 3994b3a26c Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key (#1490402) 10 years ago
Aleksander Machniak 0c08b04778 Fix issues when using moduserprefs.sh without --user argument (#1490399) 10 years ago
Aleksander Machniak 59d11dce33 Small code improvement 10 years ago
Aleksander Machniak c4ad7edd53 Fix font artifacts in text2html conversion (#1490353)
Use white-space:nowrap elements instead of unicode word-joiner character
10 years ago
Aleksander Machniak b120d42f5b Improved cache index changes detection (again) 10 years ago
Aleksander Machniak 044c1a0523 Simplified code + some CS fixes 10 years ago
Aleksander Machniak 652e11f82e Fix missing index update after write() call 10 years ago
Aleksander Machniak b1e35a685c Performance: Improve changes detection, so we update index only if needed 10 years ago
Aleksander Machniak 11d5e7c100 Implemented memcache_debug also for session operations 10 years ago
Aleksander Machniak 9ed8584c3e Count memcache/apc debug lines 10 years ago
Aleksander Machniak fff8e0f2ae Fix possible memcache/apc cache data consistency issues (#1490390)
And removed unused code
10 years ago
Aleksander Machniak 247b845a8e Workaround possible issue where some keys were ignored when deleting cached entries
by key name prefix and keys index is in inconsistent state (does not contain all keys)
10 years ago
Aleksander Machniak 44708ec647 Implemented memcache_debug and apc_debug options for cache operations tracking 10 years ago
Aleksander Machniak bb21913387 Fix mb_substitute_character() use 10 years ago
Aleksander Machniak 966a9086a5 Fix rcube_charset::clean() for case when mbstring and iconv are not installed 10 years ago
Aleksander Machniak 1422b0823e Fix bug where messages count was not updated after message move/delete with skip_deleted=false (#1490372) 10 years ago
Thomas Bruederli 0f63418b7e Use Net_LDAP3::domain_root_dn() to resolve the domain DN for the %dc variable; replaces PR #268 10 years ago
Aleksander Machniak 1d0ffdc2ac Fix decoding array headers 10 years ago
Aleksander Machniak 5b737d9f8d Fix bug where some unrelated attachments in multipart/related message were not listed (#1490355) 10 years ago
Aleksander Machniak d86ff98339 Fix font artifact in Google Chrome on Windows (#1490353) 10 years ago
Aleksander Machniak 53cbebf8ad Fix handling spaces after <br> on html2text conversion 10 years ago
Aleksander Machniak d61d668b64 Remove useless code 10 years ago
Aleksander Machniak 292292df32 Fix so unrecognized TNEF attachments are displayed on the list of attachments (#1490351) 10 years ago
Aleksander Machniak 98e4614b0d Fix so text/calendar parts are listed as attachments even if not marked as such (#1490325) 10 years ago
Aleksander Machniak 48d01837a0 Fix tables listing routine on mysql and postgres so it skips system or other database tables and views (#1490337) 10 years ago
Aleksander Machniak 5a4f3f8266 Remove Kolab's hack for Cyrus Murder bug in SETANNOTATION - it's not needed anymore 10 years ago
Aleksander Machniak 3d6ce95009 Fix PHP warning: Non-static method PEAR::setErrorHandling() should not be called statically (#1490343) 10 years ago
Aleksander Machniak 8eeb721bd6 Fix unintended DB session expiration - lost variable in refactoring (#1490316) 10 years ago
Thomas Bruederli e2fb340289 Remove obsolete mt_srand() calls 10 years ago
Thomas Bruederli a74d023903 Generate random hash for the per-user local storage prefix (#1490279); only unserialize user prefs once 10 years ago
Aleksander Machniak 496972bf95 Fix backtick character handling in sql queries (#1490312) 10 years ago
Thomas Bruederli 5def0d8e9e Ignore plugin loading filter if force parameter is set 10 years ago
Thomas Bruederli 87ff88d550 Fix session garbage collector handler registration after refactoring 10 years ago
Thomas Bruederli aafc050f55 Fix rcube_contacts::search() calls with empty search string but $required argument 10 years ago
Aleksander Machniak 9af8e22b8e Plugin API: added message_part_body hook, fixes around message structure handling by plugins 10 years ago
Thomas B. 2755471f33 Merge pull request #257 from corbosman/session_refactor
Merging session refactor into master
10 years ago
Aleksander Machniak 6cdffbf1b6 Fix "PHP Fatal error: Using $this when not in object context" 10 years ago
corbosman 82058d7af2 minor fixes 10 years ago
Thomas Bruederli 8e333bcb66 Only normalize search term when searching in 'words' column 10 years ago
Thomas Bruederli 3bd0277261 Fix full-text searching in a given list of fields 10 years ago
Thomas Bruederli fd259bed69 Adapt fulltext search in local address book to ignore words order 10 years ago
Thomas Bruederli c32998084d Add untility function to match strings ignoring word order 10 years ago
Thomas Bruederli 36ee2c8427 Improve LDAP search by ignoring words order in fuzzy substring matching mode 10 years ago
Thomas Bruederli 83eeec6c06 Add utility function to compose a full-text-like LDAP search filter 10 years ago
corbosman 6e3d249655 remove commented out code 10 years ago
corbosman b4be89bdac use factory 10 years ago
Aleksander Machniak a4ef49d6cf Fix duplicate entry on timezones list in rcube_config::timezone_name_from_abbr() (#1490293) 10 years ago
Aleksander Machniak 5aa1d2005b Fix parsing ldap URI for cases where hostname is non-empty 10 years ago
Aleksander Machniak 759566fe99 Fix parsing invalid HTML messages with BOM after <!DOCTYPE> (#1490291) 10 years ago
Aleksander Machniak b59b72cc30 Fix "Non-static method PEAR::isError() should not be called statically" errors (#1490281) 10 years ago
Aleksander Machniak 2a31f6dbd7 Reset default db_max_allowed_packet, fix max packet size detection 10 years ago
Aleksander Machniak 83f1f6b12f Improve compose_search_name() to not return "email@address <email@address>" entries
which may happen for contacts without name(s)
10 years ago
Aleksander Machniak 8f485469c7 Add possibility to configure max_allowed_packet value for all database engines (#1490283) 10 years ago
Aleksander Machniak 62b847bea3 Fix "PHP Fatal error: Call to a member function getMessage() on a non-object" 10 years ago
Aleksander Machniak 75e8a7d313 Really make sure plugins aren't initialized twice 10 years ago
Aleksander Machniak 4d90e6596d Use also Organization field as a fallback if contact has no name(s) specified 10 years ago
Aleksander Machniak 6c8cbe3ee5 Fix regression where require_plugin() wasn't initializing the plugin 10 years ago
Aleksander Machniak f070da7c27 Fix fatal errors on systems without mbstring extension or mb_regex_encoding() function (#1490280) 10 years ago
Aleksander Machniak bd82526e41 Fix missing or not up-to-date CATEGORIES entry in vCard export (#1490277) 10 years ago
Aleksander Machniak c7b77b9179 Fix performance of rcube_db_mysql::get_variable()
As currently we're using this to find only max_allowed_packet value,
it is better to use "SHOW VARIABLES LIKE ?" instead of asking for all variables.
10 years ago
Aleksander Machniak 13e0a6556f Fix handling of some improper constructs in format=flowed text as per the RFC3676[4.5] (#1490284) 10 years ago
corbosman 4df4ab5007 session refactor and add redis driver 10 years ago
Aleksander Machniak 50b04366ee Merge branch 'master' of github.com:roundcube/roundcubemail
Conflicts:
	CHANGELOG
10 years ago
Aleksander Machniak 81d4ff214e Fix setting max packet size for DB caches and check packet size also in shared cache 10 years ago
Aleksander Machniak 3665d1e8ec Merge pull request #259 from corbosman/plugin_preload
Plugin preload
10 years ago
Aleksander Machniak 3779b67a9c Set version number to 1.2-git 10 years ago
Thomas B. 38b42e96af Merge pull request #265 from kanarip/master
Allow the timeout and retry interval for memcached to be configured
10 years ago
Jeroen van Meeuwen (Kolab Systems) c3e441044d Allow the timeout and retry interval for memcached servers to be configured 10 years ago
Thomas Bruederli 2f8b1036da Bump version and copyright year 10 years ago
corbosman de89d46be2 Load plugins before sessions have started
Move the plugin loading phase to before sessions have started allowing plugins to add session drivers.  Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
10 years ago
Aleksander Machniak 09d52dbb67 Fix some typos in comments 10 years ago
Aleksander Machniak 20740a9650 Fix error in exec_hook() in case some hook handler was unregistered before 10 years ago
Aleksander Machniak e17decc4c2 Better handle log/temp directory misconfiguration 10 years ago
Aleksander Machniak e8fc8d303a Fix handling of GETANNOTATION errors - return NULL on error as documented 10 years ago
Aleksander Machniak 0a5841702f Fix exec_hook() so handlers added inside the hook are not omitted 10 years ago
Aleksander Machniak a3fa844aad Make logged SMTP errors more verbose - log also real server response and codes 10 years ago
Aleksander Machniak bf99c50cc1 Fix bug where empty fieldmap config entries caused empty results of ldap search (#1490229) 10 years ago
Thomas Bruederli ef29153a32 Improve display of pgp/mime and s/mime messges. Reverts commit f4154d91 10 years ago
Aleksander Machniak 786aa0725e Fix XSS issue in style attribute handling (#1490227) 10 years ago
Aleksander Machniak 8c2075b9fc Remove hook aliases deprecated long time ago, CS fixes 10 years ago
Aleksander Machniak 7b924535fd CS fixes 10 years ago
Thomas Bruederli bca7dc68e9 Fix syntax error and codestyle from recent PR merge 10 years ago
Alex Brandt e4b9910a32 Add environment variable reading to configuration.
Docker prefers to pass parameters via environment variables.  This
allows the environment variables to be checked and if a value exists it
will override the default.
10 years ago
Thomas Bruederli e8b82c2e7b Fix rcube_utils::normalize_string() to support unicode characters + add argument for minimum token length 10 years ago
Thomas Bruederli 09c58d1add Make rcube_utils::strtotime() timezone aware (#1490163) 10 years ago
Aleksander Machniak aafccefb88 Properly set fuzzy_search for vlv searches 10 years ago
Aleksander Machniak 681ba6fc3c Improve system security by using optional special URL with security token
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
10 years ago
Aleksander Machniak 066e22874b Don't log "No suitable function found for UTF-8..." as E_USER_WARNING.
Use E_USER_NOTICE - this happens quite often as email messages
containing invalid charset name are not so rare.
10 years ago
Aleksander Machniak 72b117feb1 Use consistent license identifiers, remove redundant package.xml files 10 years ago
Aleksander Machniak b262e12964 Fix import of contacts with multiple email addresses from Google-csv format (#1490178) 10 years ago
Aleksander Machniak f864495b7b Fix import of multiple contact email addresses from Outlook-csv format (#1490169) 10 years ago
Aleksander Machniak 692011df7f Extend list_emails() to optionally return only default identity 10 years ago
Aleksander Machniak 32eb977b12 Merge branch 'master' of github.com:roundcube/roundcubemail 10 years ago
Aleksander Machniak 2f46789081 Added rcube_user::list_emails() method with better performance than list_identities()
which should be used always if we want only all user email addresses (with names)
10 years ago
Aleksander Machniak 25fb9732a0 Fix so all unknown email addresses from Google csv format are imported (#1490159) 10 years ago
Aleksander Machniak 787a421846 Fix rcube_utils::anytodatetime() with no timezone specified 10 years ago
Aleksander Machniak bb1398a54e Fix import of multiple contact groups from Google-csv format (#1490159) 10 years ago
Aleksander Machniak 9e4246d957 Code improvements and fixes (mostly unused variables and methods) 10 years ago
Aleksander Machniak 07280e7643 Remove reference to non-existing option 'default_folders' 10 years ago
Aleksander Machniak 409b649346 Fix lack of delimiter for recipient addresses in smtp_log (#1490150) 10 years ago
Aleksander Machniak a7a778c157 Fix some character sets detection (#1490135) 10 years ago
Aleksander Machniak 2883fcba2b Move TNEF decoder class to the Roundcube Framework (#1490055)
So, for now all dependencies of the Framework can be installed
with composer and we need only lib/Roundcube folder.
des.inc was never required and is less important since we do
encryption using openssl or mcrypt extensions.
10 years ago
Thomas Bruederli 5c9ddcc052 Check available memory for image resizing with GD on Windows (#1489937) 10 years ago
Thomas Bruederli a63b9b546c Add plugin hook 'db_table_name' as requested in #1489837 10 years ago
Aleksander Machniak 9d4d48ad4c Remove debug code 10 years ago
Aleksander Machniak 96a7f6cc1b CS fixes 10 years ago
Aleksander Machniak db357b4187 Remove redundant default 10 years ago
Aleksander Machniak 1ffab0ad4a Fix possible issues in skin/skin_path config handling (#1490125) 10 years ago
Aleksander Machniak 5d8f8b59f3 Correct load_config() return value with improvement in last commit 10 years ago
Aleksander Machniak ab5b89b854 Improve load_config() so when called many times it will read config file only once 10 years ago
Aleksander Machniak d93019125c Allways call rcube_imap::set_folder() before rcube_imap::get_message_part() 10 years ago
Aleksander Machniak 68c41f1dff Fix regresion that caused double charset conversion in some messages (#1490121) 10 years ago
Aleksander Machniak 9aa55d5a50 Fix so DDL script for Oracle can be executed in SQLPlus 10 years ago
Aleksander Machniak 2da8300fb7 Correctly detect charset of attachment names in TNEF messages 10 years ago
Aleksander Machniak 2979df5529 Call exif_read_data() only on JPEG images 10 years ago
Bartlomiej Nogas a235f79df9 Fix of really fix UNKNOWN-CTE handling 10 years ago
Aleksander Machniak bf9c9b3e38 Really fix UNKNOWN-CTE handling 10 years ago
Aleksander Machniak 81dab388d0 Fix handling of UNKNOWN-CTE response, try do decode content client-side (#1490046) 10 years ago
Aleksander Machniak 9d9623462a Fix handling of base64-encoded attachments with extra spaces (#1490111) 10 years ago
Aleksander Machniak 2268aa676d Fix handling of uuencoded messages if messages_cache is enabled (#1490108) 10 years ago
Aleksander Machniak 48ba4414b3 Fix download of attachments that are part of TNEF message (#1490091)
Rcube_message_part::body content should never be modified by code out of the rcube_message.
Added convenient rcube_message::get_part_body() method, making rcube_message::get_part_content() deprecated.
10 years ago
Aleksander Machniak e050502900 Fix bug where openssl-based crypt/decrypt method wasn't using defined crypto-key 10 years ago
Aleksander Machniak 0ea079d604 dirname(__FILE__) -> __DIR__ 10 years ago
Aleksander Machniak 07fa81dc4e Fix setting flags on servers with no PERMANENTFLAGS response (#1490087) 10 years ago
Aleksander Machniak a1d042fd58 Add rcube_plugin_api::get_plugin() method 10 years ago
Thomas Bruederli 6646809a31 Fix another regression in metadata response parsing introduced in commit 939380da 10 years ago
Bartlomiej Nogas 0d273c9a97 Fix get_metadata() function response, NIL response was introducing an shift 10 years ago
Aleksander Machniak dd6f784ec4 Fix syntax error 10 years ago
Aleksander Machniak 000f6ee304 Merge branch 'oracle' 10 years ago
Aleksander Machniak ff767a14ff Merge branch 'oracle' 10 years ago
Aleksander Machniak fb8adc8a19 Remove Oracle driver based on PDO_OCI extension 10 years ago
Aleksander Machniak 7f84924799 Fix long data handling 10 years ago
Aleksander Machniak e7af012bc2 Fix binary operator use for Oracle 10 years ago
Aleksander Machniak 8451577659 Added transactions support 10 years ago
Aleksander Machniak d7c91c14f8 Add Oracle driver which uses OCI8 extension - the one that supports CLOB columns 10 years ago
Aleksander Machniak 83a64265a7 Fixes for Oracle 10 years ago
Aleksander Machniak 848e204ef9 Fix validation of email addresses with IDNA domains (#1490067) 10 years ago
Aleksander Machniak b84a04336b Added Oracle database driver 10 years ago
Aleksander Machniak 34a0902089 Use consistent column/table quoting in sql queries 10 years ago
Aleksander Machniak 8cc65d1f5f Print to STDERR non-terminating errors in CLI mode 10 years ago
Thomas Bruederli fb3ccf2e09 Don't override argument variable when collecting results 10 years ago
Aleksander Machniak c489cc1479 Fix call to a member function get_compressed() on a non-object 10 years ago
Aleksander Machniak 4baf96a4ca Added license headers to driver files, CS fixes 10 years ago
Aleksander Machniak 334bc97927 Fix merging folder annotations for folders with numeric names (only digits) 10 years ago
Aleksander Machniak 9cc5a522df Fix so rcube_text2html class does not depend on rcmail_string_replacer 10 years ago
Aleksander Machniak 29c24e647c Get rid of DIRECTORY_SEPARATOR for consistency 10 years ago
Thomas Bruederli a98a4f8bb5 Remove 3rd party libs from our repository and define the dependencies in composer.json-dist.
Also remove the ancient utf8 lib and replace it with 'Patchwork UTF-8 for PHP'.

For direct git checkouts, copy composer.json-dist into composer.json and run
`php composer.phar install` to install the dependencies.
10 years ago
Thomas Bruederli 64d49edd78 Maintain a stack of currently running plugin hooks 10 years ago
Aleksander Machniak 35b39c8d7d Fix PERMANENTFLAGS checking in modFlag() 10 years ago
Aleksander Machniak 5f58127eae Added rcube_utils::resolve_url() 10 years ago
Aleksander Machniak 75bbada03b Remove code for PHP<5.3, use PHP_VERSION_ID instead of version_compare() for version checks 10 years ago
Thomas B. 827b1dd459 Merge pull request #212 from JohnDoh/patch-1
add include_plugin function for optional plugins
10 years ago
Aleksander Machniak f01666a622 Fix handling of email addresses with quoted domain part (#1490040) 10 years ago
Aleksander Machniak fb5e2fb96f Don't fail when trying to create and subscribe a folder that already exists 10 years ago
Thomas Bruederli 028734b25c Make LDAP errors available to the application 10 years ago
Thomas Bruederli 25a9ec7bb7 Allow caller to supply the template for contact name composition 10 years ago
Thomas Bruederli 6a0a4a3a52 Remove empty brackets, slashes and spaces from contact search name 10 years ago
JohnDoh 4eee212883 add include_plugin function for optoinal plugins 10 years ago
JohnDoh 0b799bee90 add support for optional plugins 10 years ago
Aleksander Machniak 5f17657e82 Support contacts import in GMail CSV format 10 years ago
Aleksander Machniak 4045cd9266 Cleanup after PR merge, updated changelog 10 years ago
Aleksander Machniak 9275671174 Merge pull request #211 from bbraybrook/gd_rotate_thumb
Fix incorrect thumbnail rotation with GD and exif orientation data (#1490029)
10 years ago
Thomas Bruederli 834fb6858e Allow to search for LDAP groups with 'group_filter' enabled 10 years ago
brendan braybrook 090bacddb6 changes suggested by aleks 10 years ago
brendan braybrook e2dd31f987 rotate image with GD if exit rotation data present 10 years ago
brendan braybrook c6183b649a wrong type returned for gif 10 years ago
Thomas Bruederli f954922c03 - Implemented 'storage_connected' API hook after successful IMAP login (#1490025)
- Added config option 'imap_log_session' to enable Roundcube <-> IMAP session ID logging
- Added config option 'log_session_id' to control the lengh of the session identifer in logs
10 years ago
Thomas Bruederli d7533442f3 Add default location for mime.types with nginx 10 years ago
Aleksander Machniak b9d3e607bb Merge branch 'master' of github.com:roundcube/roundcubemail 10 years ago
Aleksander Machniak d8b26e40f9 Overwrite Net_LDAP3's normalize_entry() method to behave as the old one 10 years ago
Aleksander Machniak b17a507941 Add missing Net_LDAP3_Result::get_dn() method 10 years ago
Aleksander Machniak 19926d4c3c CS fix after PR merge 10 years ago
Aleksander Machniak 642522f386 Merge pull request #209 from bbraybrook/header_array_fix
Fix stringify problem when multiple headers values exist to be returned
10 years ago
brendan braybrook 539fe0b84d fix stringify problem when multiple headers values exist to be returned 10 years ago
Aleksander Machniak e1b8f44e3f Fix invalid Content-Type header when send_format_flowed=false (#1489992) 10 years ago
Aleksander Machniak 62574214ce Do not log ldap bind passwords 10 years ago
Aleksander Machniak db25c43e97 Merge pull request #207 from kanarip/dev/net_ldap3
Merge Net_LDAP3
10 years ago
Thomas Bruederli 65baa033e0 List all plugins which have been attempted to load (#1488871) 10 years ago
Jeroen van Meeuwen (Kolab Systems) 8ee8be9b86 Correct reference to old function get_dn() 10 years ago
Jeroen van Meeuwen (Kolab Systems) 05ea61095f Fix missing out on the correct sorting 10 years ago
Jeroen van Meeuwen (Kolab Systems) 6ac9395fbd Use Net_LDAP3 10 years ago
Aleksander Machniak 6c1c60f3b9 Support password encryption using openssl extension (#1489989) 10 years ago
Aleksander Machniak 5af3b33f97 Merge branch 'master' of github.com:roundcube/roundcubemail 10 years ago
Aleksander Machniak fcb7d4fc03 Fix various iCloud vCard issues, added fallback for external photos (#1489993) 10 years ago
Thomas Bruederli cc850263d4 Add optional timezone argument for date conversion 10 years ago
Aleksander Machniak 5b592d17ef Remove redundant folder check when using search set 10 years ago
Aleksander Machniak e156741941 Fix bug where $Forwarded flag was being set even if server didn't support it (#1490000) 10 years ago
Aleksander Machniak 0ee2db7a68 Support allowfullscreen attribute on iframe elements 10 years ago
Aleksander Machniak 83316e175d Reset $value in a loop 10 years ago
Aleksander Machniak e0492d213b Fix "Illegal offset type" error (#1489985) 11 years ago
Aleksander Machniak 4922e55d58 Fix sorting messages by size on servers without SORT capability (#1489981) 11 years ago
Aleksander Machniak b231c8f6ac Fix images import from various vCard formats (#1489977) 11 years ago
Aleksander Machniak 740b8ea74a Fix bug where contacts with no email address were listed on compose addressbook (#1489970) 11 years ago
Aleksander Machniak 36d004e3d0 Added 'contact_search_name' option to define autocompletion entry format 11 years ago
Aleksander Machniak 6d5a1b9e8f Get rid of some rcube_config::all() calls 11 years ago
Aleksander Machniak 6fa1a0da1f Extend get_quota() so it's possible to specify GETQUOTAROOT folder and return full quota info (including all roots and types, e.g. MESSAGE) - for future use 11 years ago
Aleksander Machniak 07893b3cdd Support LIST-MYRIGHTS extension in rcube_imap_generic (#1489665) 11 years ago
Aleksander Machniak 109bcce470 Add config option to specify IMAP connection socket parameters - imap_conn_options (#1489948) 11 years ago
Aleksander Machniak f67d372449 Fix "PHP Fatal error: Cannot break/continue 1 level" when ldap_start_tls() fails 11 years ago
Aleksander Machniak ba5c53e5c3 Send X-UA-Compatible as HTTP header instead of meta tag 11 years ago
Thomas Bruederli ebfdc0925f Fix check for data-* attributes after merge with dev-accessibility 11 years ago
Thomas Bruederli 99cdca46b7 Merge branch 'dev-accessibility'
Conflicts:
	program/include/rcmail_output_html.php
	program/js/app.js
	program/js/treelist.js
	program/lib/Roundcube/html.php
	skins/larry/styles.css
	skins/larry/templates/compose.html
11 years ago
Aleksander Machniak c5bfe69e21 Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir 11 years ago
Thomas Bruederli 72afe3153c Use <th> tags for table headers as suggested by the WCAG 2.0 Guidelines 11 years ago
Aleksander Machniak 354c7d3c6c Fix folders sorting in case when special folders are subfolders of INBOX 11 years ago
Aleksander Machniak 35c135bce1 Change private method to protected 11 years ago
Aleksander Machniak 232bcde1c2 Change private vars/methods to protected 11 years ago
Aleksander Machniak 731d190fec Merge branch 'tinymce4'
Conflicts:
	program/js/app.js
	program/js/editor.js
	program/js/tiny_mce/tiny_mce.js
	program/steps/utils/spell_html.inc
11 years ago
Thomas Bruederli 809f9d11bd Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak a62cc30cb4 Small code improvements 11 years ago
Aleksander Machniak 20ef295ba8 Fix UTF7-IMAP encoding detection (fixes folders list sorting) 11 years ago
Thomas Bruederli 17acd5ccda Use public property instead of setter method to improve compatibility 11 years ago
Aleksander Machniak 5bf83d551e Fix unintentional line-height style modification in HTML messages (#1489917) 11 years ago
Aleksander Machniak 49dad5f669 Fix broken normalize_string(), add support for ISO-8859-2 11 years ago
Aleksander Machniak ccf5a4f18d Silence PHP Warning: strtolower() expects parameter 1 to be string 11 years ago
Aleksander Machniak 081f3b7d52 Bring back forcing of string type for folders list items (removed unintentionally by last commit) 11 years ago
Aleksander Machniak 693612d396 Improve performance of sort_folder_list() method.
Now sorting 25k folders takes around 3 seconds.
11 years ago
Thomas Bruederli b38f83bb27 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli 14291c79db Add option to suppress session data writes to DB 11 years ago
Thomas Bruederli 1a5d981a44 Fix debug output 11 years ago
Aleksander Machniak 079be2c2fb If search string cannot be converted to ASCII (result is an empty string) use the original string (#1489911) 11 years ago
Thomas Bruederli 939380da27 Don't list empty (nil) metadata entries to save memory anc caching space 11 years ago
Thomas Bruederli 5793309478 Limit cache data size to avoid database errors 11 years ago
Aleksander Machniak 82ed256f6e Fix incorrect handling of HTML comments in messages sanitization code (#1489904) 11 years ago
Aleksander Machniak efc470f0ac Merge branch 'dev-text2html'
Conflicts:
	program/js/app.js

Fix handling magic_quotes in rcube_text2html and rcube_html2text - move
stripslashes from these classes to action files
11 years ago
Aleksander Machniak 001d337b37 Fix handling unicode characters in links (#1489898) 11 years ago
Aleksander Machniak 47a7833aca CS fixes 11 years ago
Aleksander Machniak 963499a17e Plugin API: added imap_search_before hook 11 years ago
Aleksander Machniak c0a5aa5f5f Improved handling of new-lines in quoted paragraphs on text2html conversion 11 years ago
Aleksander Machniak b5c6086eea Fix malformed References: header in send/saved mail (#1489891) - update Mail_mime to 1.8.9 version 11 years ago
Aleksander Machniak f0992426d9 Bring back the old behaviour where text messages without format=flowed are auto-wrapped.
Make it the default in text2html class.
11 years ago
Aleksander Machniak 1053ae5e72 Merge branch 'dev-text2html' of github.com:roundcube/roundcubemail into dev-text2html 11 years ago
Aleksander Machniak e2b4760e84 Fix invalid closing tag 11 years ago
Aleksander Machniak d519008498 Add configurable LDAP_OPT_DEREF option (#1489864) - patch from Stuart C. Naifeh 11 years ago
Aleksander Machniak e0881f985d Disable wrapping non-flowed lines on dash character 11 years ago
Aleksander Machniak d41367492d Fix flowed lines recognition 11 years ago
Aleksander Machniak 596d43be13 Add session ID (first 8 chars) to the log 11 years ago
Aleksander Machniak d9d276ea70 Improve _convert_line() performance 11 years ago
Aleksander Machniak eda92ed4c0 Improved display of plain text messages and text to HTML conversion (#1488937)
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.

Also conversion of text to HTML in compose editor was modified in the same way.
11 years ago
Aleksander Machniak 7079110c61 Allow data-* attributes (#1489860) 11 years ago
Aleksander Machniak 8968f9543f Support image operations with Imagick extension (#1489734) 11 years ago
Aleksander Machniak 3e49064dcf Ignore words containing only <> chars 11 years ago
Aleksander Machniak 89d6ce6846 Update to TinyMCE 4.x 11 years ago
Thomas Bruederli b0ce5c62af Make skin meta/hierarchy information accessible for plugins (#1488831) 11 years ago
Thomas Bruederli e8bcf08c72 1. Prepare core and Larry skin for improved accessibility
2. Implement full keyboard navigation in main mail view
11 years ago
Aleksander Machniak efdbf4a7d9 Support 'error' and 'body_file' return attribs in 'message_before_send' hook (#1489595) 11 years ago
Aleksander Machniak 3ce4f0a839 Revert [78a58162], TABLE_SCHEMA column does not exist in mysql, also
tables in postgres can be in 'public' schema.
11 years ago
Aleksander Machniak 90f7aa9e39 Fix varius db_prefix issues (#1489839)
- Move DDL script execution code to rcube_db class(es).
- Improve prefix replacement code, so index names are also modified
11 years ago
Aleksander Machniak 54185837c8 Make identity name field optional (#1489510)
Get rid of unhelpful error message.
11 years ago
Thomas Bruederli b867bb81e1 Merge branch 'x-forwarded-whitelist' of github.com:tribut/roundcubemail into tribut-x-forwarded-whitelist 11 years ago
Aleksander Machniak a54cff4c56 Fix error when spell-checking an empty text (#1489831) 11 years ago
Thomas Bruederli f0405b4bae Accept broken vcards from Outlook that only supply ORG but not the required N or FN properties 11 years ago
Thomas Bruederli ab366809d5 Only refresh the affected parts of a cross-folder search set after moving/deleting/flagging 11 years ago
Thomas Bruederli 6f9bb11bb1 Reduce duplicated code 11 years ago
Thomas Bruederli 31aa080609 Further refine cross-folder searching:
- Store incomplete search results in session and re-send search requests
  to the server if returned before complete (this should avoid hitting request timeouts).
- Display full folder path on mouseover in message list
- Remove pthreads implementation stuff as this wasn't really working
11 years ago
Thomas Bruederli eea11ecdde Move rcube_installer class to include/rcmail_installer in order to remain accessible by the update script even if the installer directory was removed 11 years ago
Aleksander Machniak ed763b2859 Plugin API: Added message_saved hook (#1489752) 11 years ago
Thomas Bruederli 26b5200322 Consider search scope (and changes) for filter searches + disable folder operation commands in multi-folder search mode (#1485234) 11 years ago
Thomas B. 8087b13d20 Merge pull request #176 from marcoliverteschke/master
Limit list_tables() and list_cols() to current schema
11 years ago
Aleksander Machniak b58abd86c5 email:main -> email:pref 11 years ago
Thomas Bruederli f97fe4ee08 Allow to search in multiple folders with rcube_imap::search_once(); always set folder property in message header struct 11 years ago
Marc-Oliver Teschke 78a58162d8 When checking if DB schema is up-to-date, limit the checks to tables in our current schema. Otherwise installer might return false positives when DB user has access to multiple schemas.
Signed-off-by: Marc-Oliver Teschke <teschke@planwerk6.de>
11 years ago
Aleksander Machniak faa9c89236 Make sure mbstring susbtitute character is set to empty string in rcube_charset::clean() 11 years ago
Aleksander Machniak 0ca75d4880 Fix messages index cache update under some conditions (e.g. proxy) (#1489756) 11 years ago
Aleksander Machniak f96fec6b8c Fix "washing" of unicoded style attributes (#1489777) 11 years ago
Aleksander Machniak 8d34b9dce3 Refactored storage properties setting 11 years ago
Thomas Bruederli 39ca69b007 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli a2cf7c41b9 Fix accidental key replacements 11 years ago
Aleksander Machniak bc088fdc90 Hide PHP Warning: substr_compare() The length cannot exceed initial string length 11 years ago
Thomas Bruederli 188247894f Make multi-folder message identifiers work with folders containing commas 11 years ago
Thomas Bruederli 94e797c1fb Consider sort order in UID sort mode of multi-folder search results 11 years ago
Thomas Bruederli 1e9a59ab89 Don't remove messages from list when moving to another folder in multi-folder search mode, just update the list 11 years ago
Thomas Bruederli 1d1fdcbf8c Fix splitting message identifiers into UID and folder values 11 years ago
Thomas Bruederli 1883048720 Optimize header fetching of multi-folder searches with natural (UID) sorting 11 years ago
Thomas Bruederli e8cb51669a More fixes for multi-folder search (#1485234) 11 years ago
Thomas Bruederli 66536974fe Merge branch 'dev-multi-folder-search' 11 years ago
Aleksander Machniak c77a8497e7 Fix again xdebug.max_nesting_level limit handling (#1489110) 11 years ago
Thomas Bruederli 509a6bc368 Allow to force-load plugins which have been loaded but not initialized before 11 years ago
Aleksander Machniak dc0b500e78 Removed redundant default_folders config option (#1489737)
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830)
11 years ago
Thomas Bruederli 0ee6328098 Replace &nbsp; entities when converting to text 11 years ago
Felix Eckhofer 30e6b980a6 Remove usage of $RCMAIL global variable 11 years ago
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.
11 years ago
Aleksander Machniak bee1e18966 Skip IMAP SORT request if folder is empty 11 years ago
Aleksander Machniak 8cc567c004 Drop support for PHP < 5.3.7 11 years ago
Aleksander Machniak 65f59fa3c6 Bump version number to 1.1-git 11 years ago
Thomas Bruederli 3980579602 Avoid useless connection attempts if host is empty 11 years ago
Thomas Bruederli 143ceff0d8 Implement ArrayAccess interface for conveniently accessing rcube_result_set as array 11 years ago
Thomas Bruederli 532c10669b Support structured data for autocompletion results; map 'type' attribute to CSS class for autocomplete list items 11 years ago
Aleksander Machniak 32c612c112 Fix some PDO::MYSQL_* constants (wrongly described in PHP manual before 5.3.21) 11 years ago
Aleksander Machniak 2b8f033bcb Improvement in handling invalid email address strings 11 years ago
Thomas Bruederli 128fd9861a Declare LOGIN commands to be anonymized in debug logging 11 years ago
Aleksander Machniak 5e8da2b5c9 Added toolbar button to move message in message view 11 years ago
Aleksander Machniak 03de1329ef Fix invalid X-Draft-Info on forwarded message draft (#1489587) 11 years ago
Thomas Bruederli ce20194266 Add setter for user object to rcube class; we already have getters for various user properties there 11 years ago
Aleksander Machniak 517c9f9a8d Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
11 years ago
Thomas Bruederli eecd9ce0f9 Fix infinite loop when converting invalid html to plaintext (#1489566) 11 years ago
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