Commit Graph

70 Commits

Author SHA1 Message Date
Robert Hafner
aab81066cc Stopping/Starting Dovecot before moving ssl cert 2013-12-05 14:45:56 -08:00
Robert Hafner
b7b7d54966 Attempting to deal with Dovecot/Travis issue by supplying an ssl cert 2013-12-05 14:39:02 -08:00
Robert Hafner
662ae64b66 Attempting to see if updating apt-get will resolve build error 2013-12-05 14:24:09 -08:00
Robert Hafner
59dd786f2e Tell travis to run commands as root. 2013-12-05 14:08:32 -08:00
Robert Hafner
2adbb68a54 Updated SetupEnvironment to use TRAVIS_BUILD_DIR to identify paths 2013-12-05 14:06:51 -08:00
Robert Hafner
623461a926 Added travis.ci file 2013-12-05 14:01:18 -08:00
Robert Hafner
01f5ad02a8 Created initial working test suite
So far it just tests some flags (which it already did) and then tests
connecting to the imap server itself.

The Attachment and Message tests are just stubs right now and don't do
anything, but need those stubs to let the tests occur.
2013-12-05 13:57:34 -08:00
Robert Hafner
554c22a363 Added some useful output to the phpunit bootstrap file 2013-12-05 13:50:36 -08:00
Robert Hafner
bdfb20f610 Updated the phpunit bootstrapper to initialize the environment. 2013-12-05 12:13:25 -08:00
Robert Hafner
6e6d66ed87 Created environment setup wrapper script
This script makes setting up the environment for testing easier. It
detects that it's on travis and creates the appropriate setup right
there, or on personal machines uses vagrant. If vagrant is running is
skips the full setup and simply resets the mailbox for fast testing.
2013-12-04 23:36:48 -08:00
Robert Hafner
bcf57ce903 Updated autoloader to support test cases, and bootstrapper to support composer autoloader 2013-12-04 23:34:08 -08:00
Robert Hafner
e6eb65fbd5 Shuffled testing scripts out of Vagrant folder and into their own space. 2013-12-04 21:57:51 -08:00
Robert Hafner
63ff9c9d3b Cleaned up VagrantFile formatting. 2013-12-01 23:06:31 -08:00
Robert Hafner
5d30c7eaa1 Added ResetMail.sh to Provision.sh script, cleaned formatting. 2013-12-01 23:06:18 -08:00
Robert Hafner
13514054d9 Updated system hostname to tedivm.com 2013-12-01 23:05:55 -08:00
Robert Hafner
63a358bcfa Added "ResetMail.sh" to handle refreshing the test inboxes before and between tests 2013-12-01 23:04:55 -08:00
Robert Hafner
2a1c46e48d Added test messages in
These messages are a dump of a "Maildir" account, managed by Dovecot.
2013-12-01 22:58:00 -08:00
Robert Hafner
efa2bd9a51 Added postfix config file to Vagrant to help populate mailboxes 2013-12-01 17:48:46 -08:00
Robert Hafner
ca5aaa6a36 Initial Vagrant setup 2013-12-01 15:53:05 -08:00
Robert Hafner
691f8e001c Merge pull request #27 from ArabCoders/master
fixed bug in getting reply_to addresses
2013-11-30 23:34:53 -08:00
Abdul.Mohsen B. A. A
0fc648712d preserve newlines when stripping HTML tags 2013-09-20 01:53:29 +03:00
Abdul.Mohsen B. A. A
916ebb13e9 fixed bug in getting reply_to addresses 2013-09-20 01:33:38 +03:00
Robert Hafner
938f8cf574 Merge pull request #24 from sgsabbage/master
Added getStructure() function to the Attachment class.
2013-09-04 09:27:37 -07:00
Sean Sabbage
def9ee5cd7 Added getStructure() function to the Attachment class. 2013-08-21 20:04:03 +01:00
Robert Hafner
6a8d11e9dd Merge pull request #23 from gries/move_message_fix
Move message fix
2013-08-20 10:06:28 -07:00
gries
99ff744c5b CS fix. 2013-08-20 14:09:13 +02:00
gries
14e14ab9b1 Fix moveToMailBox. Without the expunge call a copy of the file would remain hidden on the original path. 2013-08-20 14:07:58 +02:00
Robert Hafner
0000c11bb6 Merge pull request #19 from codyfletcher/master
Added support for "bcc" as a type of processed object.
2013-07-27 22:30:37 -07:00
Cody Fletcher
43263f9f62 Added support for "bcc" as a type of processed object. 2013-07-27 15:46:37 -07:00
Robert Hafner
12f147bfd2 Merge pull request #17 from abimus/fix/flags
Fix behavior on Server::setFlag()
2013-07-11 17:42:05 -07:00
Patrik Karisch
7972b0c5d9 add unit tests for Server::setFlag()
add proper phpunit configuration
2013-07-11 00:19:47 +02:00
Patrik Karisch
5e62f87077 fixed behavior on setFlag() 2013-07-10 23:52:37 +02:00
Robert Hafner
5403184e5b Merge pull request #16 from ArabCoders/master
fixes Undefined property in message when calling Message->getSubject()
2013-06-30 18:27:17 -07:00
Abdul.Mohsen B. A. A
f65772f2d5 fixes Undefined property in message when using Message->getSubject() 2013-06-30 02:25:23 +03:00
Robert Hafner
33d6739959 Merge pull request #14 from asm89/patch-1
Add "ext-imap" to composer.json
2013-04-29 16:02:21 -07:00
Alexander
6f7b15e381 Add "ext-imap" to composer.json
This library needs it. :)
2013-04-29 13:44:52 +03:00
Robert Hafner
4515dbc1a7 Merge pull request #12 from tedivm/Cleanup
Cleanup for Packaged Release
2012-11-25 23:23:17 -08:00
Robert Hafner
ffb7bf788d Changes from beta to alpha 2012-11-25 23:22:05 -08:00
Robert Hafner
e987a0feff Added a package.xml file for creating pear packages. 2012-11-25 23:20:31 -08:00
Robert Hafner
45995db730 Updated license and keywords for composer.json 2012-11-25 23:20:11 -08:00
Robert Hafner
f1621971fa Updated gitignore 2012-11-25 23:19:59 -08:00
Robert Hafner
02642b39c4 Merge pull request #11 from cvasseur/fix-charset-notice
Fix notice undefined index charset
2012-11-13 09:51:55 -08:00
Clément Vasseur
242ffb2a9e Fix notice undefined index charset 2012-11-13 09:43:12 +01:00
Robert Hafner
b7c53f620e Merge pull request #10 from sgrodzicki/master
Fixed PHPDoc & PSR Coding Standards
2012-11-08 09:46:14 -08:00
Sebastian Grodzicki
755d50a064 Fixed PHPDoc & PSR Coding Standards 2012-11-08 11:01:04 +01:00
Robert Hafner
baaae55c0c Merge pull request #3 from Wiakowe/message-move
Added method Message::moveToMailbox()
2012-10-04 10:16:27 -07:00
Robert Hafner
17b57c53ec Merge pull request #6 from Wiakowe/create-mailbox-method
Added methods for checking if a mailbox exists and to create a mailbox.
2012-10-04 10:16:05 -07:00
Robert Hafner
7484ff1897 Merge pull request #4 from Wiakowe/server-information-methods
Extra server information methods
2012-10-04 10:14:22 -07:00
Robert Hafner
127a0a2983 Merge pull request #9 from sherblot/master
Fix imap_reopen 'mailbox not found' error
2012-10-04 10:12:53 -07:00
sebh
8f96aef73c Fix imap_reopen 'mailbox not found' error
When this method was called and tried to reopen the imap connection, an
error was thrown because the second argument must be the complete
mailbox path and not only mailbox name
(http://lu.php.net/manual/fr/function.imap-reopen.php).
2012-10-04 12:04:34 +02:00