Ralf Becker
5bd63482ea
implement __isset and ArrayAccess for Imap, to allow eg. to use empty($imap->attribute)
2018-04-17 10:28:37 +02:00
Ralf Becker
104cae6081
fix smime key got immediatly deleted again
2018-04-10 14:52:14 +02:00
Hadi Nategh
53b97078ad
Fix mail with a bold digits gets removed from text part
2018-03-05 17:31:47 +01:00
Hadi Nategh
d52ede97c5
* Mail: fix vacation notice still sending out notification mail even if the original mail is a spam.
2017-12-08 13:54:11 +01:00
nathangray
b8f8a014fa
Move all tests under api/src into api/tests
2017-10-23 10:14:14 +02:00
nathangray
24de1dff3b
Move PHPUnit tests from test to tests subdirectory
2017-10-23 09:51:28 +02:00
Hadi Nategh
1a8e584e0c
S/MIME:
...
- Fix PGP signed messages get shown as red
- Fix attachments area always gets displayed
2017-08-31 17:33:33 +02:00
Hadi Nategh
914d6b2a52
S/MIME:
...
- Make sure content of p12 file contained \0 chars at the end stored in credentials will not get trimmed.
2017-08-31 11:40:02 +02:00
Hadi Nategh
3f06a89db5
S/MIME:
...
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Ralf Becker
b785766331
* LDAP/Mail: fix new accounts did not automatic enable mail account
...
Thanks to Lagrange, Joseph Fernando for the fix.
2017-08-29 20:08:43 +02:00
Hadi Nategh
74bfeade9e
S/MIME:
...
- Fix waring about openssl CA's bundle path
2017-08-28 16:24:56 +02:00
Hadi Nategh
e3799c52fc
S/MIME:
...
- Fix smime credentials get stored with wrong account_id
2017-08-28 15:18:25 +02:00
Hadi Nategh
668cbaaacb
S/MIME:
...
- Store email address associated with certificate into cred_email
2017-08-28 12:35:21 +02:00
Hadi Nategh
63440ddbc5
S/MIME:
...
- Keep private key encrypted
- Show password field always
2017-08-24 18:15:40 +02:00
Hadi Nategh
bbea403298
W.I.P S/MIME:
...
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
Ralf Becker
191d6aec45
support PHPunit 6.0+ and older 5.7 for PHP 5.6
2017-08-18 11:45:10 +02:00
Hadi Nategh
91fb816bb2
W.I.P. SMIME:
...
- Override verify method in order to pass certs bundle for verification
- Catch exception if decryption fails because encrypted message perhaps is not encrypted by receiver public key
- Define different states for signature verification
2017-07-25 17:13:49 +02:00
Hadi Nategh
2ead0ae2fb
W.I.P Smime:
...
- Implement passphrase missing exception
2017-07-19 15:41:55 +02:00
Hadi Nategh
cb784c25af
W.I.P. SMIME:
...
- Fix warning of invalid arguments
- Fix sometimes signed content not returning correct mime part
2017-07-13 15:37:02 +02:00
Hadi Nategh
06673bcb03
W.I.P. SMIME:
...
- Remove multipart/signed from SMIME TYPES
2017-07-11 19:03:11 +02:00
Hadi Nategh
afe1459387
Smime W.I.P:
...
- Fix couple of IDE warnings
2017-07-10 11:12:35 +02:00
Hadi Nategh
eb6fc7a366
Smime W.I.P:
...
- Return extracted signed content as horde_mime_part object
2017-07-10 11:05:15 +02:00
Ralf Becker
0528b72744
* Mail/ActiveDirectory: fix empty identity in mail compose and account not active in AD controled mail-server
2017-07-05 17:55:49 +02:00
Ralf Becker
0d80fdbcf9
* Univention: forwarding mails to external addresses added in UCS 4.2
2017-06-30 14:44:55 +02:00
Hadi Nategh
04850b50ba
Fix Disposition Notification title does not get correct translation, specifically for words with umlauts
2017-06-14 12:30:34 +02:00
Hadi Nategh
276671a516
WIP SMIME:
...
- Override extractSignedContents in order to get content from signed message
2017-06-09 12:12:31 +02:00
Ralf Becker
cac463749e
fix PHP Warning: explode() expects parameter 2 to be string, array given on line 375
2017-05-03 18:02:18 +02:00
Hadi Nategh
524296b757
* Mail: Fix vacation notice can not deal with aliases, which have no domain set
2017-04-21 11:08:39 +02:00
Hadi Nategh
1a63b5681d
W.I.P. smime support:
...
- Fix stdClass not exist
2017-04-11 15:29:31 +02:00
Hadi Nategh
fff5543d3d
W.I.P. smime support:
...
- Override verify method, in order to extract content
2017-04-11 14:24:22 +02:00
Ralf Becker
1c80a22413
added (commented out) code to enable IMAP log for a single user
2017-03-08 10:33:00 +01:00
Ralf Becker
832276f969
give quota-limit from SMTP/SQL precedence over (cached) quota from Dovecot
2017-02-28 18:39:55 +01:00
A Sigalas
11b2eff8c5
Host always needed, not imap if username & pass missing
2017-02-28 12:55:04 +00:00
A Sigalas
b4e29edaea
If Mail Account has empty password, it's still regarded as imap
2017-02-28 12:40:14 +00:00
Ralf Becker
80cb358d88
fix use of old accounts_sql class, only existing if old phpgwapi is installed
2017-02-28 10:14:38 +01:00
Hadi Nategh
ce9a36ddf9
WIP of smime sing and encrypt message
2017-02-03 12:33:49 +01:00
Ralf Becker
70c0a26307
* Mail/Admin: fix setting ACL or vaction notice from Admin app, if IMAP auth uses email address from account
2017-01-31 18:01:49 +01:00
Hadi Nategh
2d8b8fc5dc
WIP of SMIME support: First attempt to decrypt a smime encrypted message
2017-01-26 17:45:07 +01:00
Hadi Nategh
572ae1d77e
WIP of SMIME support: Add method to extract certificate's info from pkcs12
2017-01-25 18:04:54 +01:00
Hadi Nategh
efbb02b1b7
WIP of SMIME support: implement smime type storage
2017-01-25 18:03:35 +01:00
Ralf Becker
75a83fa35c
allow to store (user specific) s/mime private keys in mail account
2017-01-25 11:40:05 +01:00
Hadi Nategh
2b99050d99
W.I.P of SMIME support for mail application:
...
- Add a method for extracting public-key from a certificate
2017-01-23 16:19:46 +01:00
Hadi Nategh
a3562129b0
W.I.P of SMIME support for mail application:
...
- Resolve smime p7b attachment and translate it to PEM format
- Assign a button to show the message is signed plus handler for showing the certificate
- Fix Smime class to only use php openssl extension
2017-01-19 18:52:44 +01:00
Hadi Nategh
e992b9991d
W.I.P of SMIME support for mail application
2017-01-18 19:03:29 +01:00
Hadi Nategh
1eff570926
Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
...
- Fix some mails get cut off after switching to plain-text mode
2017-01-09 16:57:30 +01:00
Hadi Nategh
2d1bb1ecc3
Another patch to previous commit in order to cover empty space
2016-12-12 10:20:46 +01:00
Hadi Nategh
760bd4106f
* Mail: Fix accounts selectbox in compose dialog does not include email addresses. Additionally, let local accounts without '@' get explicitly displayed in accounts selectbox.
2016-12-12 09:35:52 +01:00
Ralf Becker
d4a64babbd
fix PHP 5.4 Fatal error: Can't use function return value in write context
2016-12-08 16:22:54 +01:00
Ralf Becker
6a31d2462a
fix identities from aliases or imap-user without @ shown with empty label, if name is empty
2016-11-14 13:43:05 +01:00
Ralf Becker
dbae12260b
fix setting alias and forwards, allow to add/remove from existing ones
2016-10-31 15:41:52 +01:00
Ralf Becker
74e2c62b48
* Admin/Mail: allow to limit users to only create identities for aliases
2016-10-28 14:27:59 +02:00
Ralf Becker
4a25a4a1d3
* App apps: async notifications were not using SMTP only account, but personal one with unavailable session password
2016-09-02 18:12:04 +02:00
Ralf Becker
281c6d8761
* Mail: fix lost mail account password on user password change
2016-08-09 14:05:51 +02:00
Ralf Becker
be08b46767
* eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email"
2016-07-26 14:51:18 +02:00
Ralf Becker
3a2ac5402d
need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase
2016-07-11 22:49:36 +02:00
Ralf Becker
a39935810c
fix Travis errors with phpunit 4.8 under PHP < 7
2016-07-11 22:39:42 +02:00
Ralf Becker
5c33bd9bef
adding a first unit test to EGroupware, plus a test runner running all test-classes in either:
...
$app/src/.*/test/$classTest.php or $app/test/class.$classTest.inc.php
adding test runner doc/test-cli.php to Travis
2016-07-11 21:40:02 +02:00
Ralf Becker
34f4a23497
fix wrong namespace
2016-07-07 16:36:06 +02:00
Ralf Becker
9c8823cde2
fix PHP 5.4 Fatal error: Cannot create references to elements of a temporary array expression
2016-07-07 16:23:30 +02:00
Ralf Becker
26ccede602
* Mail: automatic migrate old mcrypt tripledes passwords to openssl AES on successful login
2016-07-07 16:08:35 +02:00
Ralf Becker
65a26d707a
keep Travis happy by only conditional defining hash_pbkdf2 in polyfill
2016-06-20 11:04:52 +02:00
Ralf Becker
eed6b18e3d
* Mail/Api: replace decrecated Mcrypt PHP extension with OpenSSL, use AES128 with pbkdf2 streching of passwords
...
only new passwords get currently stored via AES, old onces are not yet automatic converted
2016-06-19 14:49:50 +02:00
Ralf Becker
c3c5b7cafa
* Mail: fix PHP Fatal error when saving Sieve scripts
2016-06-13 14:17:48 +02:00
Ralf Becker
4a79713ad5
fix old Smtp/Imap plugin names causing mail hooks not to run and accounts not being activated
2016-06-05 18:09:30 +02:00
Ralf Becker
d90c6d6e2a
fix permanent error_log
2016-06-01 16:43:27 +02:00
Ralf Becker
06dee154d0
* Admin/Mail: fix admin editing (personal) mail account of other user destroys password, because it was encrypted with users session password and therefore not available
2016-06-01 16:25:36 +02:00
nathangray
772b97e22d
Fix namespace causes class check to fail
2016-05-30 15:41:27 -06:00
leithoff
97b30f3167
explizitly handle span element on convertHTMLToText
2016-05-27 12:29:18 +02:00
Ralf Becker
e34fe9a4e7
using Acl::(ADD|READ|EDIT|DELETE|PRIVAT) constants instead old EGW_ACL_* defines and fix some namespace errors found by doc/check_namespace.php
2016-05-11 19:23:14 +00:00
Ralf Becker
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
Klaus Leithoff
9f6104f53a
prevent possible endless recursion on decodeMailHeader
2016-04-15 08:50:02 +00:00
Klaus Leithoff
b4a4864717
try to prevent infinite loops when decoding mail-headers
2016-04-14 14:28:41 +00:00
Ralf Becker
aa45c25685
move addressbook_merge to Api\Contacts\Merge
2016-04-06 09:49:50 +00:00
Ralf Becker
01a02a1303
hook to invalidate, if mailaccount userdata changes
2016-04-06 09:05:02 +00:00
Ralf Becker
368a99167e
fix mail account dialog for non user-editable accounts was always readonly and SQL error on storing it, caused by moving tables from (no longer existing) emailadmin to api
2016-04-06 08:48:52 +00:00
Ralf Becker
adb748d6e7
move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms)
2016-04-02 14:16:20 +00:00
Ralf Becker
682fd42a26
move CalDAV/CardDAV server to api
2016-04-02 10:44:17 +00:00
Ralf Becker
0e443b720d
fix imap server shows smpt types and visa versa, also change case of DBMail
2016-04-01 12:46:10 +00:00
Ralf Becker
df2791ab63
fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Mail\Html::$system_charset in api/src/Mail/Html.php on line 233
2016-03-31 11:40:17 +00:00
Ralf Becker
b42c2fe4f7
fix error when saving mail-account
2016-03-29 09:58:17 +00:00
Ralf Becker
5f68bc6664
move html mail specific part of translation class to Api\Mail\Html
2016-03-28 19:38:21 +00:00
Ralf Becker
00abda4682
moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving
2016-03-28 18:51:38 +00:00