Commit Graph

201 Commits

Author SHA1 Message Date
Alex
c6c80ac45b variable and message fix 2014-06-13 09:11:12 -06:00
Alex
db0ef08142 bug fixes, message changes 2014-06-13 09:08:09 -06:00
Alex Kavon
d4d7f367ba Updated message for $charsetFlag 2014-06-13 09:05:35 -06:00
Alex
1790a917f4 bug fixes 2014-06-13 09:00:22 -06:00
Alex Kavon
90f8f7c53e Merge pull request #2 from alexkavon/patch-2
Patch 2
2014-06-13 08:52:05 -06:00
Alex Kavon
9e49db2dd0 picky travis, added else statement 2014-06-12 19:12:31 -06:00
Alex Kavon
b6874c4a49 whitespace 2014-06-12 19:03:18 -06:00
Alex Kavon
b8b426c045 Second $charset should of been $charsetFlag 2014-06-12 18:58:03 -06:00
Alex Kavon
05ad71a83f Compromise between mb_convert_encoding and iconv 2014-06-12 18:53:14 -06:00
Alex Kavon
2fc04c3d56 Merge pull request #1 from alexkavon/patch-2
Patch 2
2014-06-12 18:49:40 -06:00
Alex Kavon
f08630cde9 Switch to mb_convert_encoding
Changing from iconv to mb_convert_encoding. $charset = 'UTF-8//TRANSLIT' is no longer needed. 'UTF-8' set as default and user may change value to whatever they wish :)
2014-06-12 13:51:27 -06:00
Alex Kavon
04b5a5ed33 Check to see if message is already encoded in utf8
Adding requirement to if statement to check if message matches UTF-8 encoding via regex. This will prevent encoding errors when converting UTF-8 to UTF-8.
2014-06-12 09:55:34 -06:00
Robert Hafner
8e742ef80e Merge pull request #60 from domibi/master
FIX: Message with no subject throw exception.
2014-06-02 09:41:35 +02:00
domibi
be90bb9971 FIX: Message with no subject throw exception.
The subject of a message overview could not be set. Now we check if the property exists, if not we set subject to null.
2014-05-31 20:44:30 +02:00
Robert Hafner
7059e5159e Updated links 2014-05-21 01:16:33 -07:00
Robert Hafner
5bcc4fd8e6 Updated homepage 2014-05-21 00:54:40 -07:00
Robert Hafner
59e1e4169b Updated dovecottesting to 1.2.3 2014-05-19 21:52:17 -07:00
Robert Hafner
9dc46cea9f Merge pull request #51 from nulpunkt/get-orderd
Implemented getting messages in an ordered fashion
2014-05-19 14:28:57 -07:00
Robert Hafner
bc5f325805 Merge pull request #56 from iampersistent/message-decode
Message decode
2014-05-07 14:55:41 -07:00
Richard Shank
cab0aca17c fix the behavior in Message:decode 2014-05-07 14:26:59 -07:00
Richard Shank
52930d5d75 update Message::decode test 2014-05-07 14:26:22 -07:00
Robert Hafner
97597b1983 updated "total downloads" badge 2014-05-04 23:15:10 -07:00
Jesper Skovgaard Nielsen
7b04684c99 Implemented getting messages in an ordered fashion 2014-04-28 09:34:21 +02:00
Robert Hafner
70b982b319 Badges update 2014-04-20 00:32:28 -07:00
Robert Hafner
4de41720dc Merge pull request #49 from tedivm/more_testing
Use Composer provided phpunit for tests
2014-04-19 23:54:20 -07:00
Robert Hafner
259545731c Added contributing file 2014-04-19 23:42:32 -07:00
Robert Hafner
9d26773f7f use bin/php-cs-fixer instead of bundle version 2014-04-19 23:42:19 -07:00
Robert Hafner
9ad874d69e Use Composer provided phpunit for tests
This makes versioning pinning easier
2014-04-19 22:01:22 -07:00
Robert Hafner
33451f1e71 Removed Pear package file
I'm to lazy to maintain pear when composer is a thing.
2014-04-16 01:33:50 -07:00
Robert Hafner
ec929fb20a Merge pull request #47 from tedivm/testing_updates
Testing Suite Updates
2014-04-16 00:58:51 -07:00
Robert Hafner
b98ecaabaa Start testing hhvm on travis-ci
Lets see if it even has imap enabled :-)
2014-04-16 00:49:16 -07:00
Robert Hafner
767a9f0083 Updated to latest version of the DovecotTesting Package 2014-04-16 00:45:44 -07:00
Robert Hafner
3c900abb37 Added cover coverage badge 2014-04-16 00:36:52 -07:00
Robert Hafner
1725eb2f8b Formatting! PSR Compliance 2014-04-16 00:35:51 -07:00
Robert Hafner
faaff0711d Added code coverage and styling tests, refactored
Added runTests.sh to wrap up a bunch of test starting functionality.
Moved SetupEnvironment.sh out of Bootstrap.php and into the runTests.sh
file.

Added Coverall support for line coverage.

Added php-cs-fixer for code styling testing.
2014-04-16 00:28:38 -07:00
David Rainsford
b0d22fb76c Allow the passing of connection parameters to imap_open()
Since version 5.3.2 of PHP, imap_open() has an optional 6th
parameter which allows you to set certain connection parameters.

Currently the only key is:

- DISABLE_AUTHENTICATOR - Disable authentication properties

see https://bugs.php.net/bug.php?id=33500

Example of use:

  $server = new Server('imap.example.com', 993);
  $server->setParam('DISABLE_AUTHENTICATOR', 'GSSAPI');

This gets rid of the following errors:
<br />
<b>Notice</b>:  Unknown: Unknown GSSAPI failure: An invalid name was
supplied (errflg=1) in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Notice</b>:  Unknown: GSSAPI mechanism status: Hostname cannot be
canonicalized (errflg=1) in <b>Unknown</b> on line <b>0</b><br />
2014-04-03 10:59:19 +11:00
Robert Hafner
8650586610 Locked in the tedivm/dovecottesting version 2014-03-27 23:31:21 -07:00
Robert Hafner
0bf95d78b2 Merge pull request #40 from bjornpost/fix-multipart-messagebody
In a multipart email messageBody() keeps headers
2014-03-14 00:08:36 -07:00
Robert Hafner
b48ca178d7 Merge pull request #41 from tedivm/testing_dovecot
Dovecot Testing Package Updates
2014-03-14 00:05:34 -07:00
Bjorn Post
7b42853eec Rewrite fix as it broke other tests. This fixes my issue and the broken tests. 2014-03-11 22:16:43 +01:00
Bjorn Post
88f43819ee Be more specific when fetching body sections, references #39 2014-03-11 20:17:02 +01:00
Robert Hafner
ffeca296de Added back distinct IP address for Travis and Vagrant 2014-02-27 11:47:17 -08:00
Robert Hafner
56dc838df9 Updated to dovecottesting 1.2
This lets us simplify our test script by not having to care about
different ip addresses.
2014-02-27 00:12:28 -08:00
Robert Hafner
ef5f76d352 Added timezone and corrected path data
Adding a timezone prevents errors on misconfigured systems when
running, and the path correction automates the running of the dovecot
testing package between tests.
2014-02-27 00:11:19 -08:00
Robert Hafner
a2b41cd82c Added test to prevent fatal error in certain error conditions 2014-02-27 00:09:56 -08:00
Robert Hafner
223be18517 Telling composer to use any of the 1.x line of the Dovecot Test Package 2014-01-20 15:37:47 -08:00
Robert Hafner
30b3871e3d Switching back to dev-master for testing 2014-01-20 15:28:21 -08:00
Robert Hafner
4432bd110a Merge pull request #33 from tedivm/testing_update
Separate Mail Server Setup into Development Package
2014-01-20 15:04:10 -08:00
Robert Hafner
8b2a3c9647 Pinned Fetch to a specific stable version of the test suite. 2014-01-20 14:59:01 -08:00
Robert Hafner
4f2c2662e6 Updated vendor path used by travis for the SetupEnvironment script 2014-01-19 00:54:07 -08:00