Commit Graph

49 Commits

Author SHA1 Message Date
Aleksander Machniak
09a1c86079 Fix phpunit.xml 2025-03-16 16:52:13 +01:00
Aleksander Machniak
dc9f6943a4 Bump minimum phpunit version to v10 2025-03-16 16:20:47 +01:00
Pablo Zmdl
46d25161dc Test message rendering (#9460) 2024-12-19 19:01:25 +01:00
Michael Voříšek
4611b55072 Add phpunit slow detector (#9320) 2024-04-10 12:29:58 +02:00
Michael Voříšek
736795326c Fix plugins composer.json format (#9405)
* Check plugins composer.json using CI

* Add "require-dev" and "config.allow-plugins" to plugins

* fix composer.json format - rm invalid email

* fix composer.json format - fix ext require

* fix composer.json format - fix plugin name

* tmp

* Revert "tmp"

* fix ext in ext install

* disable plugin in plugin install until Roundcube is fully autoloadable

* fix composer.json format - fix non-canonical license name

* Revert "Add "require-dev" and "config.allow-plugins" to plugins"

* no composer install for plugins needed

* Revert "fix ext in ext install"

* add standard "Test" suffix to phpunit files

* rm unneeded "suffix" in phpunit config

* simplify phpunit config

* fix default "xhtml" doctype in unit testing

* fix test_format_date test to not rely on other tests

* even more phpunit config simplify

* stricter/unify phpunit params for E2E tests

* run E2E tests on maximal php version too with lowest deps

* "repositories" in bundled plugins are useless as for root package only

* add/unify missing plugin test
2024-04-05 17:55:46 +02:00
Aleksander Machniak
7154acf9c5 Tests: convertDeprecationsToExceptions="true" 2023-12-17 16:03:02 +01:00
Aleksander Machniak
d4cfb94c3d Small improvements and tests for the logout plugin 2021-11-06 14:36:11 +01:00
Aleksander Machniak
6fcf15df0b Migrate phpunit.xml from a deprecated schema 2021-07-26 10:32:45 +02:00
Aleksander Machniak
89e54718ca Migration to PHPUnit v9 2021-07-25 11:07:56 +02:00
Aleksander Machniak
8b83d29f24 PHP8 fixes, do not require specific error_reporting setting anymore 2020-12-19 10:01:10 +01:00
Aleksander Machniak
7c53300990 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-08 21:56:41 +01:00
Aleksander Machniak
e3416c9fc0 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-06 11:43:56 +01:00
Aleksander Machniak
596004beb3 More actions tests, code improvements 2020-11-07 12:54:12 +01:00
Aleksander Machniak
e99fb3968d Add tests for contacts export action, fix PHP8 issues 2020-11-02 18:49:39 +01:00
Aleksander Machniak
e2572b8984 PHP8 compat. fixes, added some tests 2020-11-02 08:55:42 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
cd3cad6aae TinyMCE 5 (#7403) 2020-07-11 18:46:17 +02:00
Aleksander Machniak
db5ab6d3f6 Fix identity selection on reply when both sender and recipient addresses are included in identities (#7211) 2020-02-09 13:26:29 +01:00
PhilW
714ea7b128 add unit tests for rcmail_output_html::get_template_logo 2019-10-27 07:37:08 +00:00
Aleksander Machniak
da2ebb272a Add basic test for attachment_reminder plugin 2019-10-16 12:42:50 +02:00
Aleksander Machniak
e88e0c16c9 Move rcmail (and future rcmail_*) class tests to tests/Rcmail directory 2019-08-10 08:37:27 +02:00
Aleksander Machniak
36485dfc34 Prevent from using deprecated timezone names from jsTimezoneDetect
For better interoperability of plugins such as Calendar, for example
issue see: https://git.kolab.org/T2666.
2018-12-16 12:31:21 +01:00
Filippo Tessarotto
e5e37928d4 Add Travis CI 2017-09-04 14:30:51 +02:00
Aleksander Machniak
bbab6a6db7 Identicon plugin
https://kolabian.wordpress.com/2016/12/02/contact-identicons/
2016-12-02 18:48:40 +01:00
Aleksander Machniak
829442a4cd Removed legacy_browsr plugin 2016-08-04 08:48:20 +02:00
Aleksander Machniak
a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
2015-08-29 07:52:57 +02:00
Aleksander Machniak
1b39d9a6c7 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-08 09:32:24 +02:00
Aleksander Machniak
1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 2015-08-06 13:23:50 +02:00
Thomas Bruederli
06fdaf88cb Extend rcmail::url() to produce absolute and fully qualified URLs 2014-08-13 19:15:12 +02:00
Aleksander Machniak
f72815e1f9 Code improvements + added tests for vacation date regexps handling 2014-07-16 20:48:59 +02:00
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.
2014-05-11 11:03:45 +02:00
Aleksander Machniak
ecef4cc919 Add some unit tests for DB classes 2014-04-29 13:50:59 +02:00
Aleksander Machniak
e30212013d Add dummy tests for legacy_browser plugin 2014-04-12 14:15:24 +02:00
Aleksander Machniak
c8699f09ea Add dummy tests for rcube_spellcheck_* classes 2014-02-09 18:21:32 +01:00
Aleksander Machniak
d3abad2876 Add more tests for framework classes 2014-02-09 17:39:27 +01:00
Aleksander Machniak
ddeed163c0 Add identity_select plugin to tests list 2013-10-14 09:30:56 +02:00
Aleksander Machniak
b005927f91 Add basic tests for plugins 2013-01-19 12:16:16 +01:00
Aleksander Machniak
66afd70b75 Framework'ize html2text class 2012-12-26 12:14:34 +01:00
Aleksander Machniak
7ac94421bf Move washtml class into Roundcube Framework (rcube_washtml), add some improvements 2012-12-25 18:06:17 +01:00
Aleksander Machniak
0fa54df638 enriched.inc -> rcube_enriched 2012-12-01 20:02:34 +01:00
Aleksander Machniak
0c82e95c59 Apply rcube_shared.inc -> bootstrap.php change in tests 2012-11-27 09:13:13 +01:00
Aleksander Machniak
3833790db4 Support contacts import from CSV file (#1486399) 2012-11-16 13:22:10 +01:00
Aleksander Machniak
4fd63805e5 Fix exception on phpunit 3.6.11 2012-09-20 11:31:41 +02:00
Aleksander Machniak
4bb0bffefe Convert managesieve test scripts to PHPUnit, add them to the suite 2012-08-31 15:06:33 +02:00
Aleksander Machniak
5f8adabb62 Add simple (constructor) tests for Framework classes 2012-08-27 09:28:16 +02:00
Aleksander Machniak
9b05f19338 Restructured tests 2012-08-27 08:45:13 +02:00
Aleksander Machniak
e8be303af3 Added tests for shared functions, fixed small issues 2012-08-24 13:36:12 +02:00
Aleksander Machniak
c83b83eeae Fix domain part check in email address validation function. Added test cases. 2012-08-17 15:37:04 +02:00
Aleksander Machniak
e824925290 Rewritten test scripts for PHPUnit 2012-08-16 19:44:28 +02:00