Commit Graph

274 Commits (6f4c2cf231030c380c091c63903ca906ce8795c1)

Author SHA1 Message Date
Aleksander Machniak 389f70996c Skip some tests on PHP 5.3.3 10 years ago
Aleksander Machniak f7565da34b Add some more tests for rcube_charset::clean() 10 years ago
Aleksander Machniak eb58b6c537 Fix failing rcube_utils::strtotime() test if system timezone was different than expected 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 496972bf95 Fix backtick character handling in sql queries (#1490312) 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
Aleksander Machniak 786aa0725e Fix XSS issue in style attribute handling (#1490227) 10 years ago
Aleksander Machniak d204814a39 Fix test for blocked.gif according to recent changes 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 11eb072f80 Fix rcube_utils::get_boolean() test to not use deprecated function alias 10 years ago
Aleksander Machniak f864495b7b Fix import of multiple contact email addresses from Outlook-csv format (#1490169) 10 years ago
Aleksander Machniak 25fb9732a0 Fix so all unknown email addresses from Google csv format are imported (#1490159) 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 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 0ea079d604 dirname(__FILE__) -> __DIR__ 10 years ago
Aleksander Machniak ff767a14ff Merge branch 'oracle' 10 years ago
Aleksander Machniak 848e204ef9 Fix validation of email addresses with IDNA domains (#1490067) 10 years ago
Aleksander Machniak 34a0902089 Use consistent column/table quoting in sql queries 10 years ago
Aleksander Machniak f01666a622 Fix handling of email addresses with quoted domain part (#1490040) 10 years ago
Aleksander Machniak e7cd99ca9e Fixed failing test 10 years ago
Aleksander Machniak 5f17657e82 Support contacts import in GMail CSV format 10 years ago
Thomas Bruederli 06fdaf88cb Extend rcmail::url() to produce absolute and fully qualified URLs 10 years ago
Aleksander Machniak fcb7d4fc03 Fix various iCloud vCard issues, added fallback for external photos (#1489993) 10 years ago
Aleksander Machniak f72815e1f9 Code improvements + added tests for vacation date regexps handling 10 years ago
Aleksander Machniak b231c8f6ac Fix images import from various vCard formats (#1489977) 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 d921587f29 Add more tests for normalize_string() - some failing 11 years ago
Aleksander Machniak 82ed256f6e Fix incorrect handling of HTML comments in messages sanitization code (#1489904) 11 years ago
Aleksander Machniak 59b765d839 Don't remove links when html signature is converted to text (#1489621)
Fix so when switching editor mode original version of signature is used (#1488849)
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 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 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 638ebf69c4 Fix/remove tests related to data-* attributes handling 11 years ago
Aleksander Machniak ecef4cc919 Add some unit tests for DB classes 11 years ago
Thomas Bruederli d220ebd708 Describe Selenium testing setup and provide a function to clear the SQL database 11 years ago
Aleksander Machniak e30212013d Add dummy tests for legacy_browser plugin 11 years ago
Aleksander Machniak f96fec6b8c Fix "washing" of unicoded style attributes (#1489777) 11 years ago
Aleksander Machniak 5e3ee8418e Add test case for #1489777 11 years ago
Aleksander Machniak 68cf8f19d2 Add some tests 11 years ago
Aleksander Machniak 2b8f033bcb Improvement in handling invalid email address strings 11 years ago
Aleksander Machniak 7c23451eec Added tests for html::attrib_string() method 11 years ago
Aleksander Machniak c8699f09ea Add dummy tests for rcube_spellcheck_* classes 11 years ago
Aleksander Machniak d3abad2876 Add more tests for framework classes 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
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 f56ca13f7e Add more IMAP THREAD parser tests 11 years ago
Aleksander Machniak 18ff2e4ac6 Added some tests for IMAP THREAD parser 11 years ago
Aleksander Machniak c7250749ab Fix issue where deprecated syntax for HTML lists was not handled properly (#1488768) 11 years ago
Aleksander Machniak ffec857b69 Fix handling of invalid closing tags in HTML messages (#1489446) 11 years ago
Aleksander Machniak 3373e4ae10 Fix browser version detection and failing tests 11 years ago
Aleksander Machniak 741ddced5b Fix Internet Explorer 11 detection (#1489434) 11 years ago
Aleksander Machniak a8b004e8d8 Improve identity selection based on From: header (#1489378) 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
Aleksander Machniak c20fa4a1ad Fix address matching in Return-Path header on identity selection (#1489374) 11 years ago
Aleksander Machniak 672a55e655 Remove unused global variable 11 years ago
Aleksander Machniak ddeed163c0 Add identity_select plugin to tests list 11 years ago
Aleksander Machniak 0f15219a93 Fix text wrapping issue with long unwrappable lines (#1489371) 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 fed081229f Fix unit test 11 years ago
Sebastian Frster 18d80255e3 check parsing of HTTP_USER_AGENT Variable with multiple Datasets 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 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
Thomas Bruederli cff07b5f76 Fix parsing of links with ... in URL (#1489192) 11 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
Aleksander Machniak 6e57fb6b4c Fix parsing of square bracket characters in IMAP response strings (#1489223) 12 years ago
Aleksander Machniak cb3e2fe0c2 Fix displaying messages with invalid self-closing HTML tags (#1489137) 12 years ago
Aleksander Machniak 896e2b4e51 Add more rcube_utils tests 12 years ago
Aleksander Machniak 5383ad72db Add more tests for rcube_utils::explode_quoted_string() 12 years ago
Aleksander Machniak fe0f1d589b Improve rcube_utils::file2class() to not return duplicates 12 years ago
Aleksander Machniak f773259412 Fix washtml test after "unsupported node type" fix 12 years ago
Aleksander Machniak db108e3779 Fix another text wrapping issue (wrong handling of long unwrappable lines) 12 years ago
Aleksander Machniak fd0fd3b0a0 Fix handling of invalid email addresses in headers (#1489092) 12 years ago
Aleksander Machniak 3a0dc87856 Fix backslash character handling on vCard import (#1489085) 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 38c19a2064 Fix csv2vcard test 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 1e2468e4b9 Added two tests for HTML comments handling in rcube_washtml class 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 1f910cb50d Fix handling link href attribute value with (valid) newline characters (#1488940) 12 years ago
Aleksander Machniak ee01be5b5b Add dummy index.html file for Selenum tests 12 years ago
Aleksander Machniak 8466690851 Set root URL to our index.html, for better performance
See https://github.com/sebastianbergmann/phpunit-selenium/issues/217
12 years ago
Aleksander Machniak a2a1f8d7ed Added automated in-browser tests (PHPUnit + Selenium Web Driver) 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
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
Aleksander Machniak b005927f91 Add basic tests for plugins 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
Aleksander Machniak c59ef9542a Support more Thunderbird CSV fields, added zh_TW localization for csv2vcard map (#1488901) 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 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 2c777be5dd Add test for vCard issue (#1488896) 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 a079269166 Fix version comparisons with -stable suffix (#1488876) 12 years ago
Aleksander Machniak 74cd0a9b62 - Fix XSS vulnerability in vbscript: and data:text links handling (#1488850) 12 years ago
Aleksander Machniak 0fa54df638 enriched.inc -> rcube_enriched 12 years ago
Aleksander Machniak 0c82e95c59 Apply rcube_shared.inc -> bootstrap.php change in tests 12 years ago
Aleksander Machniak 584e356920 Fix so mobile phone has TYPE=CELL in exported vCard (#1488812) 12 years ago
Aleksander Machniak 3833790db4 Support contacts import from CSV file (#1486399) 12 years ago
Aleksander Machniak 3a54cc5013 Fix rcube_utils::explode_quoted_string() with explode(), added tests 12 years ago
Aleksander Machniak e68fa71b0e Fixed rcube_imap_generic::uncompressMessageSet() result when argument is empty. Added tests. 12 years ago
Thomas Bruederli c96d3f57ef Match http://localhost/xxx as link 12 years ago
Aleksander Machniak 22c67d0ec2 Fix handling of URLs with asterisk characters (#1488759) 12 years ago
Aleksander Machniak 97313ac258 Fix test for html::quote() 12 years ago
Aleksander Machniak 4fd63805e5 Fix exception on phpunit 3.6.11 12 years ago
Aleksander Machniak b2e5178b10 Added tests for rcube_charset class 12 years ago
Aleksander Machniak a04a74fec4 Improvements in building criteria string for IMAP SEARCH 12 years ago
Aleksander Machniak 8f66aa06f5 Fix encoding vCard file when contains PHOTO;ENCODING=b (#1488683) 12 years ago
Aleksander Machniak 4bb0bffefe Convert managesieve test scripts to PHPUnit, add them to the suite 12 years ago
Aleksander Machniak afa0b1df58 Use setUp() instead of __construct() 12 years ago
Aleksander Machniak 528113069d More tests 12 years ago
Aleksander Machniak 5f8097b9eb Added tests for specialchars quoting 12 years ago
Aleksander Machniak a65ce5d3b0 Rename ip_check to check_ip, add IP checking tests 12 years ago
Aleksander Machniak 5f8adabb62 Add simple (constructor) tests for Framework classes 12 years ago
Aleksander Machniak 9b05f19338 Restructured tests 12 years ago
Aleksander Machniak e8be303af3 Added tests for shared functions, fixed small issues 12 years ago
Aleksander Machniak da28121dcd Improved email address validation with IPv6 support 12 years ago
Aleksander Machniak c83b83eeae Fix domain part check in email address validation function. Added test cases. 12 years ago
Aleksander Machniak e824925290 Rewritten test scripts for PHPUnit 12 years ago
Aleksander Machniak cfc27c9b76 Keep some resource files (images) in separate directory 12 years ago
Aleksander Machniak bc79c55613 Removed $Id$ 13 years ago
alecpl fbe7b71b0f - Fix importing vCard photo with ENCODING param specified (#1488432) 13 years ago
alecpl 63f23ffd6a - One test more 13 years ago
alecpl b138a9b56f - Add two small tests for html2text converter 13 years ago
thomascube 7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 13 years ago
thomascube c321a955a7 Merged devel-framework branch (r5746:5779) back into trunk 13 years ago
alecpl 1c4f23d6e5 - Exclude MIME functionality from rcube_imap class into rcube_mime class 13 years ago
alecpl f5d62f7157 - Fix bug in handling of base href and inline content (#1488290) 13 years ago
thomascube 98c2d69acf Be more strict in style attribute filtering 13 years ago
thomascube 10e2d65277 Adapt test to real-world: html mail content is always sent through rcmail_html4inline() 13 years ago
alecpl 4f8be46f38 - Improved handling of some malformed values encoded with quoted-printable (#1488232) 13 years ago
alecpl 3b50d2edf5 - Remove test for HTML inputs existance, now they are allowed 13 years ago