Commit Graph

1345 Commits

Author SHA1 Message Date
nathan
dd88fdb716 Mail: Update flag icon when mail is flagged/unflagged 2023-10-03 17:03:37 -06:00
ralf
825c1e8614 * Mail: equal sign followed by numbers is mangled in plain-text mails (e.g. =22 becomes a ")
If we detected qprint encoding in the plain-text body of a composed mail (not an arrived mail!), we wrongly decoded it.
2023-09-08 09:34:53 +02:00
nathan
979a965aec Mail: If there are multiple attachments with the same file name, give them unique names when integrating to another app 2023-08-23 12:59:44 -06:00
nathan
f39c3b83e4 Mail: Fix JS error selecting an account group that has an email address
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'find')
    at SearchMixin.ts:621:41
2023-08-23 09:39:16 -06:00
ralf
3897e84fcd * Mail/ActiveSync: fix wrong mime-type / broken mail when AS smart-forward is used e.g. by gmail app 2023-08-23 14:56:38 +02:00
hadi
f0656f280f Fix mail preview does not show bcc field 2023-08-14 17:19:21 +02:00
ralf
acc9deee85 mail_compose::ajax_searchAddress() returns now icon, if there is a real photo stored
no need for client to always try querying it
also improved performance by not sending one query for each contact to get email-custom-fields (if existing)
2023-07-27 11:08:02 +02:00
hadi
52a28b40bc Add some translations 2023-07-25 12:01:48 +02:00
nathan
5023e8944a Mail: When importing from mail, prefer attachement filename when available
Fixes missing extensions in link name
2023-07-18 14:21:42 -06:00
ralf
2bd5fd5601 WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder 2023-07-07 12:22:15 +02:00
ralf
8a3fd670ee WIP REST API for mail: non-interactive direct sending of mails 2023-06-30 16:33:28 +02:00
ralf
dfef4ce0c5 WIP REST API for mail
currently we can launch (interactive) compose windows, if user is online
ToDo:
- send mails for a user
- authentication as arbitrary user with an API token
2023-06-29 12:50:04 +02:00
ralf
23895c94be WIP improve avatar loading in mail app
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-27 08:59:59 +02:00
hadi
28a6ad1b62 Fix reply as forced HTML break plain text pseudo tags 2023-06-23 15:08:10 +02:00
hadi
a34a37fc04 Take emailTag preference for addresses used in mail list into account 2023-06-22 14:38:18 +02:00
hadi
eaacac1b40 Add new mail preference in order to be able to select the type info shown on email tags 2023-06-21 16:45:23 +02:00
hadi
c80304f7de Don't send inline images as attachments in smime messages back into client-side 2023-06-20 11:37:55 +02:00
ralf
608963aa9b fix lots of warnings filling zpush logs 2023-06-09 18:28:57 +02:00
hadi
62d91350eb *Mail: Add new pane option for showing all columns in vertical 3-pane view 2023-06-02 11:38:54 +02:00
ralf
193cd5cdb3 missed one avatar and did not remove the no longer used method 2023-05-10 09:54:03 +02:00
ralf
ace7a22c2f * Mail: performance improvements for huge addressbooks by caching avatars 2023-05-10 09:49:54 +02:00
ralf
db8bd9dcc3 * eSync/Mail: fix wrong timezone conversation if user-timezone is different from server-timezone 2023-05-09 17:06:05 +02:00
ralf
d045fde07c * Mail: searching in compose now ignores custom fields as they might lead to unexpected results 2023-05-08 15:13:12 +02:00
hadi
cea886fd83 Fix smime signed messages contain text/calender no longer are processed as event 2023-04-27 13:54:40 +02:00
hadi
efcbdde1a2 Fix mail preview failed to fetch text/calendar as attachment for smime signed messages 2023-04-27 12:42:38 +02:00
ralf
6ebbd5bb08 fix lists from other users gave a validation error for account-display "Lastname, Firstname" because of the comma 2023-04-18 16:27:01 +02:00
hadi
cac2508c4a * Mail: Make list refresh option available in 3pane-view through column selector 2023-04-03 16:06:11 +02:00
nathan
211c7f9b3a Mail: Fix email to group when group had no email did not email group members 2023-03-20 10:55:12 -06:00
hadi
0ad326a507 Introduce new hooks boolean param called 'reload' in order to force main framework to refresh after saving preferences 2023-03-16 16:25:58 +01:00
ralf
cdb0998bee fix broken Collabora config stalls display of mail list 2023-03-15 20:46:53 +01:00
Hadi Nategh
a1c8fac94c *Mail: fix mail attachments action not being set properly based on users preference set in Filemanager (eg. open with Collabora or download) 2023-03-01 13:20:35 +01:00
nathan
406784263a Mail: Fix attachments buttons did nothing in display popup 2023-02-28 11:14:07 -07:00
nathan
396c537dd7 Mail: Fix compose + to tracker tried to pass object as value 2023-02-14 11:47:25 -07:00
Hadi Nategh
98b8258f0f Get addresses out of details and fix attachments caption 2023-02-07 12:22:23 +01:00
Hadi Nategh
26214a3aa3 Fix collabora app installed check and set the right action name 2023-02-07 09:47:58 +01:00
Hadi Nategh
5ade68dd76 Add collabora action into default and set attachments label 2023-02-06 16:15:32 +01:00
nathan
cce1088486 Mail: Add attachment action to open in Collabora 2023-01-31 15:03:59 -07:00
nathan
d94c10b09f Mail: Prefer client-side lavatar over server-side in mail list 2023-01-27 15:10:25 -07:00
nathan
5bab72b8be Use client-side Et2LAvatar for user accounts whenever possible, only using avatar.php when there's a real image.
TODO:
- Need to find a cheap way to determine if there's a real image in Api/src/Accounts.php & class.mail_compose.inc.php

- Still some work for me to do in Et2SelectEmail
2023-01-27 10:34:40 -07:00
ralf
b0f5cfbcdb improve OAuth mail authentication by not opening wizard multiple time
also avoid authentication loop, if there is an error
2023-01-25 13:38:40 +01:00
nathan
09ecd29a91 Mail: Fix mail vacation notice widget did not hide 2022-12-05 16:27:39 -07:00
ralf
70d571f8bf converting plain-text mail to html mistakes angle brackets for tags 2022-12-02 15:24:32 +01:00
nathan
2ed964d4d7 Mail: Increase height of import message popup 2022-11-28 10:51:11 -07:00
nathan
c15440e905 Mail: Fix import message gave error "Destination folder does not exist" 2022-11-15 13:15:17 -07:00
Hadi Nategh
47daa738d0 Do not apply mail horizontal template in mobile view 2022-10-12 12:49:41 +02:00
ralf
0894a4175d Fix argument #1 ($address) must be of type string, null given 2022-09-23 09:45:47 +02:00
Hadi Nategh
be3b38d516 Fix mail avatar not being set correctly for sent folder messages 2022-09-22 14:06:13 +02:00
ralf
06a7767194 * Mail/SAML/SSO: show mail accounts requiring the session password as Error, but load the other accounts 2022-09-15 15:57:29 +02:00
ralf
e52ab349e6 fix PHP Fatal: array_merge(): Argument #1 must be of type array, null given 2022-09-12 19:29:53 +02:00
ralf
26824323e5 got mailing lists working again in mail compose using includeLists=true attribute
using "$list_name <$list_id@lists.egroupware.org>" instead of just integer ids for the list, thought et2-select-mail is NOT displaying the mailing-list icon, after a mailing-list is selected
2022-09-12 14:51:13 +02:00
ralf
3fdad7c160 fix error when downgrading from EPL 2022-09-08 18:42:46 +02:00
nathan
fbb02f5bd2 Change some widget attributes to camelCase 2022-09-01 08:32:36 -06:00
nathan
4570a5a264 Mail: Fix folder ACL
- Set searchUrl in template so it can be found during initialization.  Using modifications to clear it.
- Passing initial value to avoid a query
2022-08-31 13:34:15 -06:00
Hadi Nategh
bc204e7f1a Remove delete button from attachmentBlock in the preview row and set correct tooltip title 2022-08-31 15:09:41 +02:00
Hadi Nategh
b83f2f5847 Fix mail compose dialog and implements consistent attachments block 2022-08-31 12:26:39 +02:00
ralf
55d540defd fix not working folder search while editing Sieve rules
caused by new et2-select(-*) widget sending query and options as first 2 parameters
2022-08-22 12:05:51 +02:00
ralf
ea0cbd0441 account selection currently only need to use server-side search, for pref "Primary group and search"
for all other types the local search is sufficient, as everything is already local!
fix Taglist::ajax_search for accounts to pass the icon to client-side and always set value instead of id
2022-08-09 10:47:57 +02:00
ralf
e7eb9f42e3 fix many errors around et2-select emulating old taglist:
- preprocessor: translate attributes autocomplete_url -> searchUrl, autocomplete_params -> searchOptions, and allow options
- sending search query as URL/GET parameter with default of app: <appname>
- handle searchUrl like allowFreeEntries by adding selected result to select_options via createFreeEntries, as they otherwise get removed by fix_bad_value not finding the value in select_options
- change taglist validation (again) to not validate search values
- still requires changes in application code, as taglist always behaved like multiple=true (returning and expecting an array of values) and did automatically search from client-side for it's initial value(s)
--> maybe more changes are in order to NOT require changing application code
--> fixes editing Sieve rules
2022-08-08 17:28:51 +02:00
Hadi Nategh
0a9693ca17 Set proper mail template according to its pane mode 2022-07-29 13:26:58 +02:00
Hadi Nategh
77b475b5e6 Set mail column selection base on PreviewPane mode 2022-07-27 15:49:55 +02:00
Hadi Nategh
7c053d9dad Implement new mail attachments block actions 2022-07-27 14:21:29 +02:00
ralf
6afd07da03 * Calendar/Mail: allow every participant to apply changes from extern organizer and warn if sender is not identical to iCal organizer or participant 2022-07-26 14:13:31 +02:00
Hadi Nategh
cd7f2eea60 WIP Mail styling:
- Make display dialog similar to preview
2022-07-25 16:35:59 +02:00
Hadi Nategh
47baa7540c Revert unintentional action handler caused mail's display function no longer working 2022-07-25 11:15:55 +02:00
ralf
89d7876bea * Mail: do NOT fail setting ACL recursive on folders, if single folder fail (eg. wrongly in subscription file)
reporting number of succeeded folders and names of failed folders plus error
2022-07-25 11:06:40 +02:00
Hadi Nategh
862d355e77 WIP mail list and preview styling 2022-07-22 15:08:32 +02:00
ralf
597a983264 no longer load TinyMCE styles for preview and change TinyMCE margin to 10px we have in preview 2022-06-09 09:48:52 +02:00
ralf
26c64c0838 * Mail: explicitly apply default font and -size before sending mail 2022-05-23 19:36:04 +02:00
ralf
d9436628cd load users preferred (TinyMCE) font also for mail preview 2022-05-23 15:44:42 +02:00
ralf
1fb46bb74c display attachments also as a block (fieldset) replacing the ruler, if one is configured 2022-05-11 18:05:54 +02:00
ralf
b7d3b7408e WIP get TinyMCE to respect users preferred font and -size 2022-05-10 18:46:12 +02:00
ralf
99588796da fix original message header broken for signature after 2022-05-10 13:58:57 +02:00
ralf
c4e0989bf9 replace original message header with fieldset in html and convert it to plain as before 2022-05-10 11:51:35 +02:00
ralf
05a63d4098 fix not working folder ACL 2022-05-04 16:52:51 +02:00
ralf
df938c79de fixed messed up signature changing from / mail-accounts
also fixed some undefined warnings
2022-05-02 17:19:37 +02:00
ralf
b834760c5b fix postion of download-/sharing-links for signature-on-top preference 2022-04-30 12:10:47 +02:00
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
Hadi Nategh
f0422b91ca Fix no forward works only after saving sieve rule 2022-03-03 15:41:01 +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
d67b0b1e66 Avoid duplicating from email address when generating identity 2022-01-10 14:03:14 +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
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
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
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