ralf
d92c5a94a6
fix PHP 8.1 Deprecated by adding return type declarations
2022-04-24 18:15:47 +02:00
ralf
790f9b2ff9
fix broken tracker mailhandling caused by protected constructor
...
also disable reading from DB, in case no (numeric) acc_id given, like from tracker mailhandling
2022-03-30 10:57:41 +03:00
ralf
22c8d8808f
Allow overwriting values in all mail accounts through an optional file /var/www/mail-overwrites.inc.php
2022-03-29 19:39:39 +03:00
ralf
4f3e9fa06c
do NOT attempt to use credentials encrypted with user password in an async context
...
(where user password is not available)
otherwise an s/mime certificate or user specific password will stall sending notification, even if no smtp authentication required
2022-03-28 17:58:41 +03:00
Ralf Becker
ce76fa5d7f
fix PHP 8.0 TypeError: Unsupported operand types: string & int
2021-11-23 17:23:49 +01:00
Ralf Becker
587a9c0a88
fix PHP 8.0 TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given
2021-11-13 17:24:31 +01:00
Ralf Becker
c221253a82
fix PHP 8.0 TypeError: Unsupported operand types: string & int
2021-11-11 07:59:54 +01:00
Ralf Becker
7020030c17
fix PHP 8.0 problem "new" > 0 causing mail accounts created via admin for an other user to fail
2021-11-09 08:02:49 +01:00
Ralf Becker
57ac760a78
fix PHP 8.0 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
2021-11-05 11:38:49 +01:00
Hadi Nategh
1f28336702
Fix stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) by preventing empty html value being processed
2021-11-04 14:12:21 +01:00
Ralf Becker
b1af39be37
fix big chunk of PHP 8.0 warnings
2021-10-21 10:39:57 +02:00
Hadi Nategh
0dd215d340
* Mail: Add set flags action into mail filters
2021-10-15 17:23:48 +02:00
Hadi Nategh
75d119f31f
* Mail: Implements date extension for vacation rule. None imap admin user can also set vacation rule by date.
2021-10-15 14:29:19 +02:00
Hadi Nategh
e76ae2db32
Remove none existing mail connectionTimeout preference. Fixes warning of Undefined array key 'connectionTimeout'.
2021-10-14 11:34:56 +02:00
Ralf Becker
a04cbc0ab4
an other chunk of PHP 8.0 Warnings fixed
2021-10-08 15:43:48 +02:00
Ralf Becker
91bd7c7aeb
an other chunk of fixed PHP 8.0 Warnings
2021-10-07 10:14:43 +02:00
Ralf Becker
cb8cac15dc
fix mail account creation under PHP 8.0
...
PHP 8.0: "new" > 0 === true
PHP<8.0: "new" > 0 === false
2021-10-06 12:31:23 +02:00
Ralf Becker
ddddc5ba05
next big chunk of fixed PHP 8.0 Warnings
2021-10-05 14:11:11 +02:00
Ralf Becker
89923e25c4
add an additional static method Api\Mail\Smtp::mailbox_address()
...
as PHP 8.0 does not allow to call a non-static method static, even if $this is (conditionally) not used
2021-09-29 10:10:48 +02:00
Ralf Becker
e7a3c031b2
fix class Api\Mail\Config not found
2021-06-15 10:51:48 +02:00
Ralf Becker
cb00de85ce
* Mail/Dovecot: allow to disable caching of flags in site config to support Dovecot private seen flags on shared folders
2021-06-15 10:23:11 +02:00
Hadi Nategh
ab3ee4ffbb
Clear xml errors in buffer after using xml in Mail otherwise it may get caught wrongly further in etemplate widget
2021-06-04 11:19:11 +02:00
Ralf Becker
547f28fe3d
report and log enabling push (and other IMAP errors)
...
don't switch regular reload handling off in that case
2021-05-25 17:47:25 +02:00
Hadi Nategh
59dbd27719
Fix mail integration fails for mails with having not encoded ampersands on their html content
2021-04-27 17:41:34 +02:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Ralf Becker
c37581f43c
* EPL/mail: support SpamTitan REST API to manage spam, requires an API token
2021-02-08 17:31:49 +02:00
Ralf Becker
b8edbd159e
guard against mail account looses all accounts it is valid for
2020-12-17 08:31:39 +01:00
Alexandros Sigalas
55c9487517
Fixed: Declaration of EGroupware\Api\Mail\Smime::extractSignedContents($data) should be compatible with Horde_Crypt_Smime::extractSignedContents($data, $sslpath = NULL)
2020-09-15 08:36:17 +02:00
Ralf Becker
a9dc772e14
* Mail: fix not shown folder tree for some Cyrus servers
...
since 20.1 uses Horde_Imap_Client::MBOX_ALL_SUBSCRIBED to query subscribed and unsubscribed folders in one command
2020-08-13 18:51:24 +02:00
Ralf Becker
6007fb5363
fix broken token/syntax, if no metadata yet
2020-07-24 16:55:58 +02:00
Ralf Becker
0f799acd75
fix multiple accounts could not subscribe for push on the same mailbox
2020-07-23 16:56:45 +02:00
Ralf Becker
cf06054fd7
move configuration of imap servers supporting push to mail site config and stadard imap server
2020-07-23 14:17:32 +02:00
Ralf Becker
25f942c431
fix accidently commited host-name
2020-07-22 18:21:07 +02:00
Ralf Becker
0f8a2668fb
fix token was only updated on account-change, not new login or daily token rotation, also support now multiple tokens/instances registring tokens for same account
2020-07-22 17:01:19 +02:00
Ralf Becker
bf44ee753a
WIP push for mail (currently only Dovecot with further configuration!)
2020-07-20 12:09:08 +02:00
nathangray
aab5415873
* Etemplate: Password widget improvements - suggest password button, added as custom field type (stored encrypted)
2020-06-12 10:56:53 -06:00
Ralf Becker
a0760f6b96
* Mail: fix creating a folder on level of inbox gave an error (if imap server supports it)
2020-06-08 11:59:49 +02:00
Ralf Becker
90c55e013d
try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement
2020-02-05 10:58:34 +01:00
Ralf Becker
9cc0eaccd4
try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement
2020-02-05 10:51:38 +01:00
Hadi Nategh
cf2d626bca
Fix replying to some mails with broken pre tags would cause infinite loop
2019-12-03 14:34:32 +01:00
nathangray
83e2d70222
Mail: Fix bullet & number to text conversion failed with non-ascii characters
2019-11-22 09:44:27 -07:00
nathangray
5acd287e8d
* Mail: keep number & bullet lists when converting to plain text
2019-11-08 11:42:25 -07:00
Ralf Becker
bdc8e71057
* Mail: stop logging of mails to webserver error-log
2019-10-30 15:09:11 +01:00
Ralf Becker
df1909d8c1
skip mail-accounts is user editable check for password change
...
some stored credentials are not event linked to mail accounts or
might belong to by user not editable accounts like smime on a mail account for all
2019-10-15 18:34:15 +02:00
nathangray
397b77a86d
Mail - another fix for extra newlines, now with less out of memory errors
2019-08-29 11:53:40 -06:00
Hadi Nategh
5dcb431087
Revert commit 91f85186cd
as it breaks mail reply
2019-08-06 15:51:25 +02:00
nathangray
91f85186cd
Mail - fix extra newlines added when switching email from HTML to text
2019-08-02 11:50:52 -06:00
Ralf Becker
92f89f93ca
fix namespace in docu
2019-08-01 18:39:14 +02:00
nathangray
bfc2728ad3
Add github link to Collabora key description
2019-07-29 09:36:27 -06:00
nathangray
997822182d
Api - Move Collabora credential type ID into parent to avoid collisions
2019-07-29 09:26:49 -06:00
Ralf Becker
a43c5d3f1f
return only integer quota (im MB) as Dovecot does not deal with floats
2019-07-04 16:14:26 +02:00
Ralf Becker
206fdb367f
quota needs a left join to report mailboxes without quota
2019-07-04 10:33:29 +02:00
Ralf Becker
027ef6bd18
fix mail compose was not showing all identities after last commit
2019-07-04 09:28:27 +02:00
Ralf Becker
624a69a6bd
optionally return quota and groups too
2019-07-03 17:33:16 +02:00
Ralf Becker
690a19c77e
only ask IMAP for getUserData, if quota is needed
...
specially imported for managementserver_imap who needs to ask mserver
2019-07-03 14:13:53 +02:00
Ralf Becker
44a0079b9d
new user security popup incl. 2FA and token revokation
2019-06-05 13:10:25 +02:00
Alexandros Sigalas
1f2080e22c
Convert first with Api\Translation::convert, then decode with html_entity_decode()
2019-04-01 12:24:45 +03:00
Alexandros Sigalas
5c3a4fe6ce
Replaced html_entity_decode with Api\Translation::convert
2019-04-01 07:59:49 +03:00
nathangray
3dd671ad8d
Changes to support accessing Samba shares with Collabora
2019-01-31 14:42:37 -07:00
Hadi Nategh
490d79f774
Do not touch email addresses when creating a plaintext message
2018-12-20 16:57:46 +01:00
Hadi Nategh
9b993e5484
Revert unintentional commit
2018-10-25 18:23:36 +02:00
Hadi Nategh
16fe435de4
W.I.P. implementing TinyMCE editor and deprecating CKEditor:
...
- Fix language setting
- Update TinyMCE
2018-10-25 18:18:47 +02:00
Hadi Nategh
b7c359a6f1
* Mail: implement new preference to configure mail identity label shown as mail folder header
2018-09-25 15:00:01 +02:00
nathangray
2cf4904e1e
Don't use a static reference to egw->db, it breaks tests
2018-08-29 10:04:25 -06:00
Hadi Nategh
dd03c7fe16
* Mail: fix some smime signed messages get recognized wrongly as encrypted
2018-07-04 15:41:43 +02:00
Ralf Becker
a11b9a266b
* Addressbook: fix SMime/PGP public key import not containing a newline after the key
2018-06-25 14:23:19 +02:00
Hadi Nategh
8f53e3d9f1
* Mail: warn user when there's no space left for storing sieve rules because of sieve_maxscriptsize limit
2018-06-15 15:49:34 +02:00
Ralf Becker
b8e230190f
* Mail: fixed equal signs (=) are not displayed in subject
...
Not sure why, but equal sign was removed unconditional together with other non-printable chars.
Equal sign is now removed from that preg and code is cleaned up to have a single preg removing unprintable chars independet on the function used to decode the header.
2018-05-03 11:01:08 +02:00
Ralf Becker
fa2403f905
* EMail: fix searching in email gives an error
...
reverting commit 5bd63482ea
as the implemented __isset and ArrayAccess interface hide the one implemented by parent Horde_Imap_Client
2018-04-20 10:39:23 +02:00
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