Commit Graph

1154 Commits (d646a10217ad99bda44c2c5930e15c4d71481c78)

Author SHA1 Message Date
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 d8b26e40f9 Overwrite Net_LDAP3's normalize_entry() method to behave as the old one 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 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) 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 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 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
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
Thomas B. 86dd036774 Merge pull request #96 from Dennis1993/patch-6
Added required attribute and delete deprecated border attributes
11 years ago
Aleksander Machniak 59f0313d98 - Fix detecting Turkish language in ISO-8859-9 encoding (#1489252) 11 years ago
Dennis1993 ac1fa98715 Update rcube_imap_generic.php
remove sensless version_compare(). Min PHP Version is 5.2.1 so is a check of PHP 5.1.0 sensless. So never occurs.
11 years ago
Thomas Bruederli cff07b5f76 Fix parsing of links with ... in URL (#1489192) 11 years ago
rodrigo b6a640bdc9 replaces smart quotes with regular quotes. Fixes improper doctype declarations in html emails 12 years ago
Thomas Bruederli 1a8cf64dd1 Avoid session timeouts with memcache backend as proposed by D. Carter via users mailing list 12 years ago
Dennis1993 ec031a35f1 Update html.php
added required attribute to allowed list for input fields
12 years ago
Thomas Bruederli 4d480b36ea Respect HTTP_X_FORWARDED_FOR and HTTP_X_REAL_IP variables for session IP check 12 years ago
Thomas Bruederli deb2b8d080 Allow to load config files for different environments (#1487311); keep (non-default) filename in URLs throughout the webmail app 12 years ago
Thomas Bruederli 0703bfecd0 Merged configuration refactoring from 'dev_config' branch back into master (#1487311) 12 years ago
Aleksander Machniak bd28469302 Simplified logic of finding non-existent but subscribed folders. Should be more reliable and (might be) faster now. 12 years ago
Aleksander Machniak cc02a90f92 Fix IMAP SETMETADATA parameters quoting (#1489231) 12 years ago
Aleksander Machniak 1ca1e250a3 Merge pull request #86 from mweimerskirch/patch-2
Added support for the enchant spell checking engine
12 years ago
Aleksander Machniak 8acf6204b1 Fix "could not load message" error on valid empty message body (#1489228) 12 years ago
Michel Weimerskirch f99aa12300 Added support for the enchant spell checking engine 12 years ago
Aleksander Machniak 6e57fb6b4c Fix parsing of square bracket characters in IMAP response strings (#1489223) 12 years ago
Aleksander Machniak 3e7b9be05c Store group objectclass to member attribute mapping in one place, cs fixes 12 years ago
Aleksander Machniak 42b9ce6415 Fix groups list in contact info page - get_record_groups() result
is a ID=>Name hash and cannot be merged with list_groups() result
12 years ago
Aleksander Machniak ed3e51f1b4 Make possible to disable some (broken) IMAP extensions with imap_disable_caps option (#1489184)
Add some notes in INSTALL about broken ESEARCH in uw-imap.
12 years ago
Aleksander Machniak 049ba0aed2 Fix message list sort with THREADS=REFS and sort column other than "None" or "Sent date" 12 years ago
Aleksander Machniak d4a2ea1d87 Fix messages list sorting with THREAD=REFS 12 years ago
Thomas Bruederli 0f39b4f4cd Enable legacy mode: allow running with old config files and log warnings every no and then 12 years ago
Aleksander Machniak 7045bb9c07 Fix parsing one-line FETCH response, e.g. "* 1 FETCH (UID 9844 BODY[2.4] NIL)" 12 years ago
Aleksander Machniak 1b52cfc45f Support 'univentiongroup' objectclass, small code improvements 12 years ago
Aleksander Machniak 4feb8eb575 Refactoring in groups cache handling code, CS fixes 12 years ago
Thomas Bruederli b373ac82e4 Don't query cache if static group_filter list is used 12 years ago
Thomas Bruederli 9eaf681b6b Describe group filter's name_attr in sample config; defaults to 'cn' if not specified 12 years ago
Aleksander Machniak 8f42c32c45 Improve code readability 12 years ago
Aleksander Machniak 2b3a3b1407 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 855c85377d Performance improvement for searching in threaded mode. We can use
cached index now. Some other small improvements.
12 years ago
Victor Benincasa 093a3d9e7d Fix improper error checking
Currently all (HTML/TEXT) spell checking logs an error (due commit b15cc7d) and HTML spell checking doesn't work (due commit cfe2fc8). Fix: ignore error="0" value from the returned XML as it isn't an error.
12 years ago
Aleksander Machniak 2787fbe5b6 Revert change where NULL config value wasn't handled as unset (#1489202) 12 years ago
Aleksander Machniak f255dd787c Fix error when searching in threaded mode 12 years ago
Aleksander Machniak 39a82a5d45 CS fixes 12 years ago
Aleksander Machniak 39b905b7a8 Canonize boolean ini_get() results (#1489189) 12 years ago
Aleksander Machniak d764723142 Improve IMAP APPEND handling so it can read message (parts) from file pointer(s)
and make it less memory consuming
12 years ago
Aleksander Machniak b200258d5a Fixed so ldap cache can be disabled
Fixed issue where ldap groups cache wasn't used correctly
12 years ago
Thomas Bruederli 8862f67513 Use the right attribute to display group names 12 years ago
Aleksander Machniak 5a6c3a169b Cache LDAP's user_specific search and use vlv for better performance (#1489186) 12 years ago
Aleksander Machniak 858af70656 CS fixes 12 years ago
Aleksander Machniak fae90da582 Fix debug setting in ldap classes 12 years ago
Aleksander Machniak c9ed4bfa7a CS fixes 12 years ago
Aleksander Machniak c64beed6bb Unify LDAP debug messages 12 years ago
Aleksander Machniak 3ebda8c7d8 Ignore ldap_search warnings (like in the old code) 12 years ago
Thomas Bruederli 4500b2f79b Consolidate quote_string() method usage; don't add additional filter if required field is already in search query 12 years ago
Thomas Bruederli dd54725b21 Merge branch 'dev-advanced-ldap-groups':
- Refactoring: separated address book implementation from generic LDAP wrapper class
- Auto-detect and use VLV indices for all search operations
- Additional group configuration options for LDAP address books
- Allow address books to display a multi-level group hierarchy in the contacts list
12 years ago
Aleksander Machniak 428764bf34 Fix so exported vCard specifies encoding in v3-compatible format (#1489183) 12 years ago
Aleksander Machniak 3dbe4f79e4 Fix session issues when local and database time differs (#1486132)
Improve performance by executing session gc on script shutdown, also call session_write_close() ASAP
12 years ago
Aleksander Machniak ac1a962b51 Remove session.auto_start setting. It is already too late to set this option. 12 years ago
Aleksander Machniak 461a30d771 Merge config files (#1487311).
Now we have defaults.inc.php and config.inc.php.
Renamed $rcmail_config to $config. Old naming and old files are supported
for backward compatibility.
12 years ago
Thomas Bruederli 4f53ab347e Add feature to import messages to the currently selected folder 12 years ago
Aleksander Machniak df9d004cf8 Set TTL for attachments stored in sql database 12 years ago
Aleksander Machniak 12f1190a62 Fix typos in sql queries of garbage collector (expired -> expires) 12 years ago
Aleksander Machniak 603e048f73 Fix thread cache syncronization/validation (#1489028) 12 years ago
Aleksander Machniak 918a6a6e0e Fix default sorting of threaded list when THREAD=REFS isn't supported.
The result need to be re-sorted even if sort column is not set. This fixes
the issue when new messages aren't displayed on top of the list.
12 years ago
Aleksander Machniak f3b55ee8e8 Do not reset messages count in set_folder() 12 years ago
Aleksander Machniak 545559307e Make sure to use threads result cached in-memory for correct folder 12 years ago
Aleksander Machniak 60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 12 years ago
Aleksander Machniak d186405c00 Simplified db connection initialisation code 12 years ago
Aleksander Machniak 66407a75d1 Fix date format issues on MS SQL Server (#1488918) 12 years ago
Aleksander Machniak 1cdcafc7fc Added more error checking in rcube_image::resize() 12 years ago
Aleksander Machniak 61ccdfcfbb Add imap_cache_ttl option to configure TTL of imap_cache 12 years ago
Aleksander Machniak 67ac6e354a Rename message_cache_lifetime to messages_cache_ttl option for naming consistency 12 years ago
Aleksander Machniak b07426f0c5 Make LDAP cache engine configurable via ldap_cache and ldap_cache_ttl options 12 years ago
Aleksander Machniak f658907731 Fix legacy options handling 12 years ago
Aleksander Machniak aa44ce6e97 Add optional argument to now() for simple interval calculations on SQL-side 12 years ago
Aleksander Machniak 14226fc845 Use built-in sqlite functions to "emulate" now() and unix_timestamp() 12 years ago
Aleksander Machniak be4b5c2fe5 Fix "duplicate entry" errors on inserts to imap cache tables (#1489146) 12 years ago
Aleksander Machniak ee73a723f9 Improvements in garbage collector: created gc() method to run all
gc-related cleanups in one place, added posibility to run gc in
environments without session
12 years ago
Thomas Bruederli 42de33c7de Add option to use PHP's native session save handlers 12 years ago
Aleksander Machniak 5df4fe56d5 Fix backward copat. with cached values serialized but not base64-encoded (#1489142) 12 years ago
Aleksander Machniak a6b0ca60a4 Fix bug where serialized strings were truncated in PDO::quote() (#1489142) 12 years ago
Aleksander Machniak d77e08729b Fix removing flags from serialized object before saving it in DB 12 years ago
Aleksander Machniak cb3e2fe0c2 Fix displaying messages with invalid self-closing HTML tags (#1489137) 12 years ago
Aleksander Machniak 581a52b615 Fix performance regression in text wrapping function (#1489133) - don't use iconv here 12 years ago
Aleksander Machniak d096210504 Fix connection to posgtres db using unix socket (#1489132) 12 years ago
Aleksander Machniak 1d67fe13f6 Remove (move to bc.php) unused strip_newlines() and strip_quotes() functions 12 years ago
Aleksander Machniak 896e2b4e51 Add more rcube_utils tests 12 years ago
Aleksander Machniak fe0f1d589b Improve rcube_utils::file2class() to not return duplicates 12 years ago
Aleksander Machniak b3e3422e9f Fix class name 12 years ago
Aleksander Machniak 22a41b8247 Make possible to disable shared cache 12 years ago
Aleksander Machniak 00cb22cf92 Expunge all cache instances in shutdown 12 years ago
Aleksander Machniak 50abd55718 Added shared (cross-user) cache 12 years ago
Aleksander Machniak a8994090bb Fix fatal error when xdebug.max_nesting_level was exceeded in rcube_washtml (#1489110) 12 years ago
Aleksander Machniak cb34c1b524 Fix PHP warning in html_table::set_row_attribs() in PHP 5.4 (#1489094) 12 years ago
Aleksander Machniak 52b256e85f Print nicer error message when too old PHP version found - required by mysql driver (#1489099) 12 years ago
Aleksander Machniak bbd636740e Fix fatal error when parsing UUencoded messages (#1489119) 12 years ago
Aleksander Machniak db108e3779 Fix another text wrapping issue (wrong handling of long unwrappable lines) 12 years ago
Aleksander Machniak c16bd50947 Catch warning on is_readable() failure (open_basedir restriction) 12 years ago
Thomas Bruederli 0b9a7bcde3 Move rcmail::deliver_message() to framework for common use 12 years ago
Aleksander Machniak 52f2a69855 Added rcube_plugin::add_label() method 12 years ago
Aleksander Machniak 43079d8e2d Simplify/fix debug lines truncation 12 years ago
Aleksander Machniak fd0fd3b0a0 Fix handling of invalid email addresses in headers (#1489092) 12 years ago
Aleksander Machniak 9b8d22ebe1 Limit debug log entry (line) size to 4096 characters to prevent
memory_limit/preformance issues when debug is enabled (imap, smtp, db)
12 years ago
Aleksander Machniak 95b90be8c2 Fix IMAP connection issue with default_socket_timeout < 0 and imap_timeout < 0 (#1489090) 12 years ago
Aleksander Machniak 3725cfb245 Avoid uninitialized/unused variables 12 years ago
Aleksander Machniak ce89ecd542 Fix various PHP code bugs found using static analysis (#1489086) 12 years ago
Aleksander Machniak c027ba7709 Fix bugs caught by static analysis 12 years ago
Aleksander Machniak 3a0dc87856 Fix backslash character handling on vCard import (#1489085) 12 years ago
Aleksander Machniak 0b0caee40b Fix csv import from Thunderbird with French localization (#1489059) 12 years ago
Zou Guangxian 49311c55dd * fixed: modsecurity warning: AppDefect: Cache-Control Response Header Missing 'no-store' flag. http://websecuritytool.codeplex.com/wikipage?title=Checks#http-cache-control-header-no-store 12 years ago
Thomas Bruederli b15cc7d6f4 Check Google spell check service response for errors and report them accordingly 12 years ago
Thomas Bruederli 517dae3e74 Experimental: refactored list.js and html_table class to render lists with different html structures (e.g. table, ul, div). This show provide more flexibility to skin designers and improve mobile device support 12 years ago
Aleksander Machniak b92ec5c86d Fix bug where multi-level quoting was replaced with one-level quoted text after format=flowed wrapping 12 years ago
Aleksander Machniak 2ce01932fe Fix another text wrap issue (added test case) 12 years ago
Aleksander Machniak 4741d17c77 Use create_function() instead of eval() 12 years ago
Thomas Bruederli c2e1ab4765 Escape user input values when used in eval() 12 years ago
Aleksander Machniak 38c19a2064 Fix csv2vcard test 12 years ago
Aleksander Machniak d2dff5e865 Fix Reply-To header handling in Reply-All action (#1489037) 12 years ago
Aleksander Machniak ec43311423 Fix so addressbook_search_mode works also for group search (#1489079) 12 years ago
Aleksander Machniak 40d419d994 Fix removal of a contact from a group in LDAP addressbook (#1489081) 12 years ago
Aleksander Machniak 609483d9f6 Support CSV import from Atmail (#1489045) 12 years ago
Aleksander Machniak 8defd73ee0 Inlcude SQL query in the log on SQL error (#1489064) 12 years ago
Aleksander Machniak c6f5adbac3 Fix handling untagged responses in IMAP FETCH - "could not load message" error (#1489074) 12 years ago
Thomas Bruederli 378d6cf97f Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method 12 years ago
Aleksander Machniak 399db1b647 Add db_prefix configuration option in place of db_table_*/db_sequence_* options
Make possible to use db_prefix for schema initialization in Installer (#1489067)
Fix updatedb.sh script so it recognizes also table prefix for external DDL files
12 years ago
Aleksander Machniak fbd213a5f3 Fix exit code on bootsrap errors in CLI mode (#1489044) 12 years ago
Aleksander Machniak f23ef1c968 Fix error handling in CLI mode, use STDERR and non-empty exit code (#1489043) 12 years ago
Thomas Bruederli ddfdd8938d Extend fetched header block to 32K, require one of subjct, from or to headers 12 years ago
Aleksander Machniak 70229cbbfc Fix incorrect handling of some specific links (#1489060) 12 years ago
Aleksander Machniak 1041aa46da Fix another text wrapping issue 12 years ago
Aleksander Machniak 7439d3ee14 Fix incorrect handling of leading spaces in text wrapping 12 years ago
Aleksander Machniak 7652687692 Fix DB error when creating a new contact and a group is selected (#1489051) 12 years ago
Aleksander Machniak fe626833af Allow onload attribute on iframe element 12 years ago
Aleksander Machniak 282dff4f18 Add rcube_db::escape() method, fix escapeSimple() to use escape instead of quote() 12 years ago
Aleksander Machniak c465ee1e06 Fix typo simpleEscape -> escapeSimple 12 years ago
Aleksander Machniak 39a034b50d Add rcube_db::escapeSimple() method for backward compat.
Conflicts:

	plugins/virtuser_query/virtuser_query.php
12 years ago
Aleksander Machniak b7570fb564 Fix parsing invalid date string (#1489035) 12 years ago
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