Commit Graph

343 Commits

Author SHA1 Message Date
ralf
4ce3298241 * Mail REST Api: respect user preference to compose in HTML and convert plain body from REST Api call to HTML (bodyHtml attribute forces HTML) 2024-02-01 13:37:11 +02:00
ralf
967eca4975 wrap <br/> in <p> (<p><br/></p>), so TinyMCE does not mess it up, if we have no signature separator
(wrap the first comment, wrapping the signature, in a <p> and remove the <br/>)
2024-01-23 22:13:32 +02:00
ralf
866d10e030 * Mail REST Api: added reply to an uploaded eml file (with optional preset body and attachments) 2024-01-22 12:07:10 +02:00
nathan
a17cbe1f45 Filtering email search results on just value
Should catch even more duplicates, though value has both name & email
2023-11-21 14:07:59 -07:00
nathan
c15607d71a Don't send duplicates in result
Causes issues in the select where the option cannot be removed once selected
2023-11-15 15:23:20 -07:00
ralf
f36149ae93 * REST API/Mail: always add signature below supplied body (independent of user preference for reply/forward) 2023-10-27 10:21:16 +03: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
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
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
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
hadi
28a6ad1b62 Fix reply as forced HTML break plain text pseudo tags 2023-06-23 15:08:10 +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
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
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
nathan
396c537dd7 Mail: Fix compose + to tracker tried to pass object as value 2023-02-14 11:47: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
70d571f8bf converting plain-text mail to html mistakes angle brackets for tags 2022-12-02 15:24:32 +01: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
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
26c64c0838 * Mail: explicitly apply default font and -size before sending mail 2022-05-23 19:36:04 +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
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
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
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
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
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
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
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
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