Commit Graph

1303 Commits

Author SHA1 Message Date
Ralf Becker
11e630da2a fix PHP 8.0 TypeError: fwrite(): Argument #2 ($data) must be of type string, array given 2021-11-13 17:30:57 +01:00
Ralf Becker
43ae41cae7 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-10 12:24:08 +01:00
Ralf Becker
a50054b8c7 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-05 15:12:40 +01:00
Hadi Nategh
49b2313cfd Fix error (TypeError): count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-04 09:45:55 +01:00
Hadi Nategh
75b168fb0d Switch to the right mail profileID if it's not matching the current one 2021-10-26 11:09:59 +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
2ec9e27671 PHP8: fix error Undefined constant "status" 2021-10-14 15:37:52 +02:00
Ralf Becker
69782e833e fix PHP 8.0 error forwarding mail as attachment (calling count on null) 2021-10-14 09:39:01 +02:00
Hadi Nategh
19b4cf034f Revert strict comparison on mimeType 2021-10-08 13:05:06 +02:00
Ralf Becker
91bd7c7aeb an other chunk of fixed PHP 8.0 Warnings 2021-10-07 10:14:43 +02:00
Ralf Becker
d1d8d0833a fix PHP 8.0 sending mail: Illegal offset type in isset or empty 2021-10-06 09:11:59 +02:00
Ralf Becker
ddddc5ba05 next big chunk of fixed PHP 8.0 Warnings 2021-10-05 14:11:11 +02:00
Ralf Becker
fc3aba9c39 missing ajax=true for mail site-config 2021-09-16 09:08:50 +02:00
Hadi Nategh
1fd43b0bdd * Mail: fix updating/deleting mail accounts does not refresh the mail tree no more 2021-09-01 16:23:38 +02:00
Hadi Nategh
3ea863c5bc Take all addresses in the mail header when integrating mail to another app, e.g. Calendar. 2021-08-13 10:52:39 +02:00
Hadi Nategh
4fe8fd5154 Fix default value for mail's contact label preference 2021-07-27 12:38:37 +02:00
Hadi Nategh
c8d2f535d9 * Mail/SMIME: fix signed calendar events not being displayed (error:importing the ical!) 2021-07-01 10:21:59 +02:00
Hadi Nategh
660ba37f47 Do not try to filter out html body as it would cause broken html content not being displayed at all 2021-05-28 15:13:01 +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
819bc83182 Disable app specific actions if the user has no access to the actual app 2021-04-26 14:18:57 +02:00
Hadi Nategh
1bcc884e24 Convert mail Date header to user timezone when being displayed on forward/replay header 2021-04-21 15:34:33 +02:00
Hadi Nategh
baa4c3c0ac Fix type error: Unsupported operand types: string * int 2021-04-14 11:21:05 +02:00
Hadi Nategh
3f989f33d1 Fix error message type 2021-04-13 16:13:35 +02:00
Hadi Nategh
4af0bec278 * Mail: fix losing inline images after being re-saved as draft or created as new 2021-04-13 13:23:09 +02:00
Hadi Nategh
3742a44321 Fix php 8 error:
- Unsupported operand types: string * int
- Unknown named parameter $func
2021-04-09 10:40:40 +02:00
Ralf Becker
6ce05919b6 fix PHP 8 errors shown by PHPStorm 2021-03-30 20:34:58 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Hadi Nategh
6622de0eb6 Fix broken handling ical file with mimetype of application/octet-stream 2021-03-11 14:56:26 +01:00
Hadi Nategh
230c5ccbcd Add contact label preference in order to control displayed info for To/Cc/Bcc addresses when composing an email 2021-03-03 13:07:05 +01: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
Hadi Nategh
bb5157d338 Fix sieve rules edit dialog loses its matches field value after re-opening the entry 2021-01-29 11:19:42 +01:00
nathangray
6fec92bf8b * Mail: New "Save As" preference option to attach just the mail, no mail attachments 2021-01-06 10:04:24 -07:00
nathangray
77d195bd9c * Mail: Config setting for how many mailing lists are returned in address search results 2020-12-14 09:34:37 -07:00
Ralf Becker
e717daa467 fix PHP Warning array_values expects parameter 1 to be an array line 3635 2020-12-02 09:13:04 +01:00
nathangray
c928c54877 Try to avoid warning in error_log 2020-11-27 11:27:15 -07:00
nathangray
8b28d8ffd0 Etemplate: Include etemplate exec_id as sortable parameter 2020-11-04 15:15:31 -07:00
Hadi Nategh
acbd23a60a * Mail: Add custom html toolbar settings in mail site-configuration in order to be able to add/remove certain actions only for mail-compose dialog. 2020-09-25 14:17:29 +02:00
nathangray
8628b50ffb * Mail: Fix deleting or moving multiple mail to another folder did not update the list 2020-08-24 12:35:06 -06:00
Ralf Becker
6bd87cafb5 dynamic disable NM autorefresh on get_rows response depending on push support of imap-server 2020-08-11 15:52:28 +02:00
Hadi Nategh
6b3747d225 Update pushed flags without requesting from server 2020-08-05 15:38:14 +02:00
Ralf Becker
d8752eecf8 * Mail/Admin: do NOT allow to set forwards via Sieve rules, if user forwards are disabled (not standard SMTP!) 2020-08-05 14:08:31 +02:00
Ralf Becker
371bb59bdf pass requested uids to backend, also ignore Sent folder for notification and fix update of foldername 2020-08-04 18:17:04 +02:00
Ralf Becker
0f4b40c7fb * Mail: new preference to disable notifications for new arriving mails (requires push for mail) 2020-07-30 12:10:53 +02:00
Ralf Becker
08acad038c * Mail: replying to a mail should only update icon, not move it to top of list 2020-07-29 13:58:15 +02:00
Ralf Becker
45caead02b replace mail_bo with Api\Mail 2020-07-27 08:07:45 +02:00
Hadi Nategh
56376465f2 Make sure draft folder contains profile id when using it as folder option 2020-07-24 14:38:33 +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
Alexandros Sigalas
ea548a90ab Added hook: mail_compose_after_save 2020-07-22 09:06:00 +02:00
nathangray
2a166fa47c * Mail: Fix download attachments as zip
Caused redirect with error message "Class 'mail_bo' not found"
2020-07-20 15:42:05 -06:00
Ralf Becker
bf44ee753a WIP push for mail (currently only Dovecot with further configuration!) 2020-07-20 12:09:08 +02:00
Ralf Becker
76c36cfbcd * Mail: allow to configure a proxy to display external http images (eg. proxy.egroupware.org) 2020-07-09 11:54:52 +02:00
Hadi Nategh
b0965ea44d Arrange mail-tree's menu item 2020-07-06 15:22:04 +02:00
Hadi Nategh
f5fe1cf02f Add replyto and folder fields into predefined compose values 2020-07-06 10:25:56 +02:00
Hadi Nategh
ae101a28c4 Implement predefined addresses for compose dialog 2020-07-02 10:42:42 +02:00
nathangray
72affb6696 Mail: Fix some remaining usages of mail_bo
see 2398968fb8
2020-06-09 14:19:21 -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
2398968fb8 remove deprecated mail_bo (moved to Api\Mail a long time ago) 2020-06-08 09:34:44 +02:00
nathangray
213a30a250 Mail: Link expiration date blur text now changes if you have EPL enabled 2020-06-05 14:33:26 -06:00
nathangray
be32da9ff4 Translate smime status messages, translation from Stefan Unverricht 2020-05-07 09:39:02 -06:00
Hadi Nategh
160334a4ac Fix status action orders 2020-04-22 12:31:25 +02:00
nathangray
16e3b2cd05 Fix missing translation reported by Stefan Unverricht 2020-04-21 10:58:25 -06:00
nathangray
397fc8a620 Fix missing translation reported by Stefan Unverricht 2020-04-16 11:34:10 -06:00
Hadi Nategh
b36cfa4a80 Add icon into status icon 2020-04-09 11:37:47 +02:00
nathangray
93a7166710 Add hidden upload directory as mail action 2020-03-26 13:20:20 -06:00
nathangray
895b1ebee9 Cleanup, bugfix & refactoring of hidden upload folder. 2020-03-25 11:39:40 -06:00
nathangray
7163acfe1d * Add action to share filemanager folder (readonly) with hidden upload folder 2020-03-24 20:34:04 -06:00
Hadi Nategh
6a64128893 Fix mail tree not reading available svg icons 2020-01-31 16:57:34 +01:00
Hadi Nategh
23449272e2 * Mail: fix mail acl can't save or retrieve after changing mailbox via folder selectbox 2020-01-31 15:03:56 +01:00
Ralf Becker
b65b21fe9c allow images and media in mail via http: and https:, but remove object tags (already forbiden via CSP) 2020-01-29 14:40:30 +01:00
Ralf Becker
2ea9549dcf stricter CSP policy for mail body 2020-01-28 17:45:36 +01:00
Hadi Nategh
0924b38acb * Mail: Fix broken link mail in infolog via drag and drop action 2020-01-07 16:31:57 +01:00
Hadi Nategh
4619d55045 * File selector: implement Overwrite and Rename possibilities for saving an existing email message or attachment 2019-12-18 16:31:54 +01:00
Hadi Nategh
f26c9d73ca Update read/unread icons for actions 2019-10-01 11:04:27 +02:00
Hadi Nategh
ab455be633 Fix saveAsDraft icon in mail compose 2019-09-20 10:44:19 +02:00
Hadi Nategh
2a35c7c4e4 Fix priority and notification icons 2019-09-19 16:28:49 +02:00
Hadi Nategh
7dff2d7f94 Make mail compose dialog slightly bigger to get all actions in toolbar on a same line 2019-09-19 10:44:59 +02:00
nathangray
69a6b5ec41 Mail - icon cleanup
- Remove png in favour of svg
- Use filemanager navbar icon for filemanager related actions
2019-09-09 15:39:56 -06:00
nathangray
a83d2d5b52 * Mail - fix email date is an editable field in mail display 2019-09-09 12:04:13 -06:00
nathangray
ce79581185 Mail - store merge emails to a single contact in drafts before they're sent, instead of directly in sent folder 2019-08-16 10:46:35 -06:00
Hadi Nategh
7d111ab58d Make app action icons colored again 2019-08-05 10:59:26 +02:00
nathangray
1bd5987a22 Mail - avoid blank line at the top when loading drafts 2019-07-29 13:22:25 -06:00
nathangray
4432e461a0 Mail - avoid blank line at the top of merged emails 2019-07-26 11:48:39 -06:00
Ralf Becker
5c2723d501 delete message after meeting-response is processed successful by calendar 2019-06-15 08:45:25 +02:00
nathangray
1497f6f026 Mail - add 'Mark all as read' action for folders too 2019-05-14 14:08:36 -06:00
nathangray
7b15a6e0f5 Mail - remove double message after deleting 2019-05-14 13:10:45 -06:00
Hadi Nategh
a0a1326e6f Add mail compose action for status app 2019-05-07 11:17:26 +02:00
Ralf Becker
be212f908c * Mail: check non-utf8 body, if it might be utf-8, to display readable 2019-03-29 16:51:07 +01:00
nathangray
89accef391 Missing or not translated phrases from Stefan Unverricht 2019-03-29 09:31:58 -06:00
Hadi Nategh
881b690aae * Mail: fix S/MIME fails with addresses not written in lowercase 2019-03-25 17:12:11 +01:00
Hadi Nategh
b179ea871c Use gray version of app icons for actions system 2019-03-25 10:41:23 +01:00
Ralf Becker
b6d056a237 no need to search for etag 2019-03-23 10:49:36 +01:00
Hadi Nategh
5f04ec0ad6 * Mail: fix opening a forwarded mail as attachment into an existing compose dialog fails 2019-02-26 11:58:20 +01:00
Hadi Nategh
58ad1d6fe1 Use tnef folder parameter set by commit 1920814067 2019-02-22 11:00:47 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
a059628f58 * Mail: take user's cutomfields type of email into account when searching for contacts in Compose -> TO field. 2019-02-01 11:13:43 +01:00
nathangray
4008f82be3 Mail - display multiple From addresses 2019-01-22 10:48:39 -07:00
Ralf Becker
28e15fbb2f fix PHP Warning: Use of undefined constant flase 2019-01-15 14:55:35 +01:00
Hadi Nategh
774c77b5be * Mail: add default value settings for S/MIME passphrase expiration in site configurations 2019-01-11 16:53:38 +01:00
Hadi Nategh
989a025681 fix function signature for the previous commit 2018-12-20 17:10:41 +01:00
Hadi Nategh
490d79f774 Do not touch email addresses when creating a plaintext message 2018-12-20 16:57:46 +01:00
nathangray
996ce52b1a Silence warning about "Invalid argument supplied for foreach()" in a way that still works with reference 2018-12-19 15:31:44 -07:00
nathangray
e25d721363 Silence some warnings about "Invalid argument supplied for foreach()" 2018-12-18 11:00:02 -07:00
Hadi Nategh
4c3e0dd3df Fix mail folder in set flag action not being translated 2018-12-17 10:24:26 +01:00
nathangray
4a398a1ba8 * Mail - Fix save message as infolog/calendar/tracker gave error 2018-12-13 15:47:33 -07:00
nathangray
5a0cd76250 Fix PHP 7.2 warning "PHP Warning: count() Parameter must be an array or object ..." 2018-12-10 10:12:08 -07:00
Hadi Nategh
e4ef2007a4 Rely on disableIFNoEPL attribute 2018-11-27 11:51:11 +01:00
Hadi Nategh
b0feb5e965 Do not fill reply-to if the FROM address is the same as the reply-to 2018-11-20 15:13:40 +01:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Hadi Nategh
730b2b7d51 * Mail: do not hierarchy delimiter inside folder names as it may break the folder structure 2018-10-17 18:02:36 +02:00
Ralf Becker
2987e9e053 do no close the session before sending, if we have to store the send text for infolog or other integration in the session 2018-10-08 11:37:40 +02:00
Hadi Nategh
577850cfd0 * Api: change default submit to async call and try to block user interfering with submitted popup until the response 2018-10-04 17:23:30 +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
Hadi Nategh
bdd81ceba0 Draft message suppose to be removed immediately after sent 2018-09-20 16:07:57 +02:00
Hadi Nategh
69b84928a1 * Mail: fix signed/encrypted S/MIME new message does not take CC or BCC fields into account 2018-09-17 11:08:52 +02:00
Hadi Nategh
b4b2b9d5d2 Implement an admin-config setting to be able to disable PGP encryption feature 2018-08-23 16:58:14 +02:00
Hadi Nategh
1cbc5779f0 Restrict Usenet-style signature detection with ending of carriage return or new line. 2018-08-17 14:52:32 +02:00
Hadi Nategh
03683fce69 * Mail: fix newsnet-style signature removes lines which have only DASH DASH 2018-08-17 14:45:22 +02:00
Hadi Nategh
229752b4dd * Mail: fix S/MIME encrypted only composed mail fails 2018-08-17 11:50:26 +02:00
Hadi Nategh
3866369f07 Add some translations 2018-07-17 17:20:25 +02:00
Hadi Nategh
77c424a2ff Shift Allow External Images pref in mail preferences into the bottom, makes the prefs easier to read 2018-07-17 10:52:27 +02:00
Hadi Nategh
a73884cdf8 Add title for filemode_icon and fix missing icons 2018-07-12 16:07:05 +02:00
Hadi Nategh
50d02bff81 Try to warn user when switching between filemodes in compose dialog, also indicate each filemode with an icon. 2018-07-12 15:42:07 +02:00
Hadi Nategh
cc3e00f9f1 * Mail: take opened compose dialogs into account when trying to forward attachment, share files into mail or vcard attachment from addressbook 2018-07-11 14:39:40 +02:00
Hadi Nategh
9317cdd216 Fix contacts with ampersands in their name will fail in mailto function 2018-07-05 11:28:12 +02:00
Hadi Nategh
dd03c7fe16 * Mail: fix some smime signed messages get recognized wrongly as encrypted 2018-07-04 15:41:43 +02:00
Hadi Nategh
36726c7400 Add new attributes into core widget in order to be able to set widget->type attributes in preferences 2018-06-27 17:40:26 +02:00
Ralf Becker
c4e4eb45a4 * Calendar/CalDAV: sending correct iMip REPLY to mail invitations and only reply to external chair 2018-06-26 15:58:44 +02:00
Hadi Nategh
ec59013349 * Mail: Implement new preference for toggle actions. For instance, switching Cc, BCc or S/MIME Sign always on when trying to compose an email. 2018-06-25 11:34:16 +02:00
Hadi Nategh
4313b57675 W.I.P. of mail toggled on actions preferences 2018-06-22 16:04:50 +02:00
Hadi Nategh
2080b4043c * Mail: Add user avatar into emails list and tags 2018-06-22 15:08:34 +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
nathangray
350f186813 Mail - missing translations 2018-05-30 11:43:41 -06:00
Hadi Nategh
8b3aed5516 * Tracker: fix inline images from mailhandling are not getting resolved properly 2018-05-15 18:15:28 +02:00
Hadi Nategh
9f0b8754a3 * Tracker: fix inline images imported from mail get always overridden by the first inline image in the list 2018-05-15 18:15:28 +02:00
Ralf Becker
fb72822e9f * Calendar: fix not working Mail/Meetingrequest to all participants action 2018-05-05 11:49:35 +02:00
Ralf Becker
e8486cfebd fix PHP Fatal error: Uncaught TypeError: Argument 3 passed to stylite_mail_spamtitan::sync_aliases() must be of the type array, null given 2018-04-23 20:11:47 +02:00
Ralf Becker
c428fc9908 fix typo 2018-04-23 19:14:41 +02:00
Ralf Becker
c0fd7f8e8a synchronising email aliases with SpamTitan, when first spam action in a session is used 2018-04-23 17:40:29 +02:00
Ralf Becker
f1437d4ccb fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:12:26 +02:00
Ralf Becker
e72c7c76b6 * EMail/sMime: allow non-admin users to upload their keys 2018-04-10 13:15:09 +02:00
Hadi Nategh
5fafcf0e51 * Mail: Fix mail import does not display imported mail in correct style 2018-04-09 17:39:49 +02:00
Hadi Nategh
5d128cc43b * Addressbook: Fix send all contact's emails/vcards to compose dialog does not work 2018-04-09 16:42:08 +02:00
Hadi Nategh
8ac7684f66 Add vcards from addressbook into an opened mail compose if there's any 2018-02-28 17:30:45 +01:00
Hadi Nategh
8e79ef4dfe WIP mail subject modify action 2018-02-26 12:34:08 +01:00
Hadi Nategh
7c2547f8c4 W.I.P. mail subject modify action 2018-02-20 18:00:30 +01:00
nathangray
8f752fcc03 * Mail - Improvements to list display in address search results
Now automatic group lists & created distribution lists limited to 10 each
If there are more, this is indicated with ellipsis
2018-02-16 11:19:47 -07:00
Hadi Nategh
2945021b20 * Mail: Fix spacing issue between grouped toolbars 2018-02-15 15:14:06 +01:00
Hadi Nategh
f576fbd722 Fix wrongly used exception type on previous commit 2018-02-08 16:10:06 +01:00