Commit Graph

994 Commits (421ed1e5458ef8b3947ca4cce45eae7804b41f74)

Author SHA1 Message Date
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
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