Commit Graph

2186 Commits

Author SHA1 Message Date
ralf
ddc2b082c1 add empty line above signature / replied message and ruler to start writing message
also some code cleanups and fix undefined array-key or variable warnings
2022-04-29 12:49:41 +02:00
ralf
917a833f89 fix "a ton" of PHP Warning: Undefined array key or variable in mail code 2022-04-26 18:46:38 +02:00
ralf
5918fac6a9 fix PHP 8.x TypeError: array_diff(): Argument #1 must be of type array, null given 2022-04-26 12:44:59 +02:00
ralf
6bd9051589 fix PHP 8.x TypeError: array_intersect(): Argument #2 must be of type array, null given 2022-04-26 11:30:02 +02:00
nathan
6bd5388131 Mail: Fix pressing delete without selected mail deletes first mail when mail is not the open app when you log in 2022-04-13 16:41:20 -06:00
Ralf Becker
76e76a9e18 pending changes from our translation server 2022-04-04 13:26:38 +02:00
Hadi Nategh
f0422b91ca Fix no forward works only after saving sieve rule 2022-03-03 15:41:01 +01:00
Hadi Nategh
cdcb85f4f3 Fix status icons not showing up on mail list 2022-02-25 14:19:25 +01:00
Hadi Nategh
3e41eb00c6 Fix styling of expander actions in compose (Cc,Bcc, ...) 2022-02-25 12:02:41 +01:00
Hadi Nategh
9a52fed3d5 Do not add extra elements into mail content as formatter because tinyMCE takes care of default formatting via its own styling mechanism 2022-02-02 13:51:20 +01:00
Hadi Nategh
c29afdd7d2 Fix buttons used in mail expanded area e.g. mail attachments area 2022-01-24 17:02:34 +01:00
Hadi Nategh
28bcaf9422 WIP styling buttons: another approach to style buttons, keeping the icon slotted 2022-01-20 13:13:04 +01:00
Hadi Nategh
d67b0b1e66 Avoid duplicating from email address when generating identity 2022-01-10 14:03:14 +01:00
Ralf Becker
0748db0c70 pending translations from our translation server 2022-01-09 19:31:13 +01:00
Hadi Nategh
9ab621e054 Get mail display working again (index and display both need to be redefined in future) 2021-12-16 15:07:09 +01:00
Hadi Nategh
476f8b671f Make mail's receive notification action icon colorful when it's being selected 2021-12-10 14:48:40 +01:00
Hadi Nategh
84b81cb1f3 Set From identity base on identLabel preference 2021-12-10 13:42:10 +01:00
Hadi Nategh
ebf4ca8752 Add "Org | Name Email" as email identity format into identLabel preference options 2021-12-10 10:41:04 +01:00
Hadi Nategh
2bcd6b16d8 Make sure value is set before using it 2021-12-09 14:02:35 +01:00
nathan
da6ff9d639 Merge branch 'master' into web-components 2021-11-24 09:42:28 -07:00
nathan
4cc8eea7b6 Mail: Make sure pressing [del] key twice in a row does not delete the first row on the second press 2021-11-22 11:56:42 -07:00
Ralf Becker
8239e5ad91 fix PHP 8.0 TypeError: Cannot access offset of type string on string
using renames method calendar_ical::iCalSearch() instead of ::search() which required unchanged signature of calendar_bo::search()
2021-11-22 11:07:25 +01:00
nathan
b91e1d8a5f Merge branch 'master' into web-components 2021-11-18 10:28:30 -07:00
Ralf Becker
2f6f682cd8 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-18 09:01:36 +01:00
Hadi Nategh
1ccbc60587 Fix PHP8.0 (TypeError): key(): Argument #1 ($array) must be of type array, null given 2021-11-16 11:23:03 +01:00
Ralf Becker
9f70526038 fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-15 17:57:06 +01:00
Ralf Becker
3003ed580c fix PHP 8.0 TypeError: Cannot access offset of type string on string 2021-11-15 12:00:50 +01:00
Ralf Becker
7d49599943 fix PHP 8.0 TypeError: array_search(): Argument #2 ($haystack) must be of type array, bool given 2021-11-14 10:27:12 +01:00
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
nathan
ed66beaf8f Merge branch 'master' into web-components 2021-11-10 10:25:51 -07: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
nathan
e03b8bbdc9 Merge branch 'master' into web-components 2021-11-05 11:08:31 -06: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
nathan
76d7447dab Merge branch 'master' into web-components 2021-11-01 09:37:26 -06: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
nathan
fbbc466c78 Merge branch 'master' into web-components 2021-10-18 10:56:05 -06:00
Hadi Nategh
b5a669fe1d Add more imap PERMANENTFLAGS in the sieve flags list 2021-10-18 12:34:15 +02:00
Hadi Nategh
0c2072f134 Add Seen flag into sieve flags list action 2021-10-18 12:23:22 +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
b84ef08c29 Set node property for inputWidget as it's expected to contain input node 2021-10-13 15:36:33 +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
nathan
02dce82010 Merge branch 'master' into web-components 2021-10-06 14:02:22 -06: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
Hadi Nategh
6f8fccb1ad Get mail app working (we use old-box widgets until replacing splitter with a web-component) 2021-09-27 16:14:42 +02:00
Hadi Nategh
966e611941 Find out the mailbox from the rowID 2021-09-27 11:22:49 +02:00
Hadi Nategh
6a689231e5 Catch miss encoding exception while checking mailbox for commit bec53dc57d 2021-09-27 10:50:50 +02:00
Hadi Nategh
c7d2f40a7b Try to avoid running select all action on undesired mailbox 2021-09-24 10:23:51 +02:00
Ralf Becker
9239b86cd9 pending translations from our translation server 2021-09-22 14:57:11 +02:00
Ralf Becker
fc3aba9c39 missing ajax=true for mail site-config 2021-09-16 09:08:50 +02:00
Ralf Becker
e20cea757a pending translations from our translation server 2021-09-10 10:19:57 +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
89695620bc Make sure et2 widgets are there before the container into vfsSelectUI app object 2021-07-06 15:50:49 +02:00
Hadi Nategh
70faf346e4 Fix error egw_keycode_translation_function is not defined 2021-07-06 14:53:56 +02:00
Ralf Becker
b88716c8b6 legacy load jQueryUI as tooltip has wired context problems if loaded as module 2021-07-02 08:52:18 +02:00
Hadi Nategh
7e350f4a4a Fix miss replaced atob from commit e5f533cf6c 2021-07-01 10:28:06 +02:00
Hadi Nategh
b9d47c1511 Replace jQuery.base64 with native JS and remove its library 2021-07-01 10:26:51 +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
8ac6b45b78 Fix not working actions in mail 2021-06-16 11:12:46 +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
Ralf Becker
771d6c727f got mail app.js incl. jsapi/app_base.js working
plus marking et2 methods returning promisses as async and removing cache-buster from includeJS calls in egw_action_common.js as it causes double loads
2021-06-11 10:11:13 +02:00
nathangray
f953d7a3b2 Mail: Adapt to taglist not following API fix (200aebd171) to drag and drop of email addresses works 2021-05-31 10:27:29 -06: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
3420fdd187 Fix category column misalignment for mail ui list 2021-05-19 12:35:19 +02:00
Ralf Becker
ac9f1f61a6 pending translations from our translation-server 2021-05-12 11:12:35 +02:00
Ralf Becker
1f010a4391 Bump version to 21.1 2021-05-08 15:02:24 +02:00
Hadi Nategh
f5e2f7e719 Fix infinite loop before sending mail caused by integrated actions with no app right 2021-04-27 11:51:16 +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
Ralf Becker
6bac65210f set an explict message-type "success" to stop error- instead of success-messages, if folder contained "error" or its translation 2021-04-21 09:39:47 +02:00
Hadi Nategh
a6bd16e2ad Update mail app icon 2021-04-20 16:53:02 +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
94e0a536a4 pending translations from our translation server 2021-04-06 09:41:17 +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
nathangray
3fb74753c8 Mail: No longer need to defer select handler restoration 2021-03-16 11:06:48 -06:00
nathangray
15b0ecec22 Solve the problem with mail selecting the next mail and marking it as read when you move a mail by turning off the select-next-row thing for mail 2021-03-16 11:06:48 -06:00
nathangray
2aa52a43c8 Need to wait to restore the select handler to avoid nm selecting the next row. 2021-03-15 15:58:01 -06:00
nathangray
71be88ae75 Mail: Attempt to stop mail from loading but not displaying the next mail after moving a mail to another folder
Now de-selecting so push update does not re-select
2021-03-15 14:41:26 -06:00
Hadi Nategh
6622de0eb6 Fix broken handling ical file with mimetype of application/octet-stream 2021-03-11 14:56:26 +01:00
nathangray
a97416ff5d Mail: Attempt to stop mail from loading but not displaying the next mail after moving a mail to another folder
This is a timing issue.
2021-03-10 10:31:24 -07:00
Hadi Nategh
f2cb47105e Style toolbar toggled buttons 2021-03-09 17:31:37 +01:00
Hadi Nategh
a8f11ca1b7 Some mobile Ui improvements 2021-03-04 16:30:01 +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
Hadi Nategh
2f78cffb13 Some styling improvements 2021-02-19 13:11:51 +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
nathangray
0021080641 Translation fixes from Stefan 2021-02-04 17:00:40 -07:00
Ralf Becker
0f69a5669f pending translations from our translation server 2021-02-03 08:25:50 +01: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
0ff219fab9 Mail: Save as option translation from Birgit 2021-01-11 09:43:38 -07: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
Hadi Nategh
ec7231dbd5 Give some padding to calendar meeting request dialog 2020-12-18 14:43:22 +01:00
Hadi Nategh
870cb9f175 Fix error "Uncaught (in promise) TypeError: framework.notifyAppTab is not a function", happens in mobile view 2020-12-17 16:01:43 +01:00
nathangray
1154b1cdb9 Mail: Translation for new config setting 2020-12-16 08:35:48 -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
7010cc36c1 Fix error thrown from magicsuggest caused by wrong menuaction 2020-10-28 15:38:12 +01:00
Ralf Becker
ab8f644f32 pending translations from our translation server 2020-10-28 13:51:14 +01:00
Hadi Nategh
a12cdb1d02 * Mail: do not override existing compose fields with predefined values 2020-10-19 13:12:18 +02:00
Hadi Nategh
4aa14c91c2 Add missing files from commit 68d682d 2020-10-01 10:44:18 +02:00
nathangray
68d682d293 * Mail: Fix recent, read messages looked exactly the same as unread messages 2020-09-25 08:59:08 -06: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
Hadi Nategh
cf1f3203d0 Remove excessive margin-top from toolbar's more button 2020-09-21 12:21:46 +02:00
Hadi Nategh
e3aad386e0 Fix dropdown button styling in mail compose toolbar 2020-09-18 10:45:25 +02:00
Ralf Becker
9ed7d0b110 * Mail: handle push of delete or move of all messages in folder 2020-09-08 17:17:25 +02:00
Hadi Nategh
ec77cf0ff6 * Mail: Fix opening mailto: link in html mail causes connection error 2020-08-25 15:18:38 +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
a7e611af5f * Mail: fix moving a mail removes more then the moved mail, if push is active 2020-08-19 17:09:34 +02:00
Ralf Becker
e188c9f904 fix foldertree.getLabel(folder).replace() is not a function 2020-08-17 21:45:41 +02: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
Ralf Becker
19b8cb25a8 ignore MessageAppend all together for all new message notifications, as Sieve moved mails still use MessageNew 2020-08-06 14:46:28 +02:00
Ralf Becker
879943f3d2 do NOT update counter in Mail tab-header, eg. for Junk 2020-08-06 13:00:51 +02:00
Ralf Becker
deac5166e7 check et2 is ready 2020-08-06 09:40:53 +02:00
Ralf Becker
6e2745f129 update unseen counter in folder-tree for delete too 2020-08-06 09:02:34 +02:00
Ralf Becker
2ea0792600 remove mails marked as \Delete eg. by TB, which does not expunge immediatly 2020-08-05 18:09:37 +02:00
Hadi Nategh
e3cf9b7aa5 Make sure to clean up the duplicated class 2020-08-05 16:43:57 +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
Hadi Nategh
3ece75667d Avoid extra request to server for update-in-place refresh 2020-08-05 10:43:04 +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
bb0b93bf67 changes to receive further push notifications from Dovecot 2.3+ 2020-08-04 15:54:29 +02:00
Ralf Becker
9825b36148 pending translations from our translation server 2020-07-31 13:02:30 +02:00
Ralf Becker
a562cdf502 dynamic enable password suggest for sharing links 2020-07-30 21:56:57 +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
Ralf Becker
a350f6a871 increment notification counter on (closed) mail tab 2020-07-24 19:13:11 +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
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
a101a6f579 fix typo 2020-07-22 21:27:05 +02:00
Ralf Becker
a86a4bcdc3 fix account marked in tree gives only $acc_id not "$acc_id::INBOX" 2020-07-22 18:58:25 +02:00
Ralf Becker
28616ef0ee nm_value.selectedFolder is not always set, read it from foldertree, if not 2020-07-22 17:38:02 +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
Ralf Becker
8c46a2d541 remove outside module invalid import statement (added by PHPStorm) 2020-07-22 08:55:35 +02:00
nathangray
f0b924008b Etemplate: Add a callback so apps can decide where to put new push rows 2020-07-21 15:32:22 -06:00
Hadi Nategh
eb927182b1 Mail push update:
- Implement folder status update
- Fix list gets updated even if it is not the active profile
2020-07-21 11:46:36 +02:00