Commit Graph

2482 Commits

Author SHA1 Message Date
milan
0260b8723a reduceCounter fix for badges in Mail tree v2 2024-03-07 17:35:51 +01:00
milan
9b5412a494 reduceCounter fix for badges in Mail tree 2024-03-07 17:00:51 +01:00
milan
556757ae5d change tree attribute to be called badge 2024-03-07 16:25:07 +01:00
milan
a572815fdb fix for ticket 91761
-- get correct account Id now
2024-03-07 14:46:00 +01:00
milan
b6803b42c6 add unread counter for mails.
style is not perfect yet. Wait for shoelace response for a designated slot
2024-03-07 14:14:06 +01:00
ralf
1533f1321d * Mail: configurable limit to exclude attachments from automatic saving as drafts, default is no limit / attachments are always saved in drafts 2024-03-06 15:46:36 +02:00
ralf
48fc65b4ef fix manual save-as-draft did not contain attachments
as getValues() contained empty attachments object overwriting the content
2024-03-06 14:05:52 +02:00
ralf
db0488d9d0 Fix some PHP Deprecated or Warnings 2024-03-06 10:58:10 +02:00
ralf
c622e6e88e * eSync: fix for messages with no text body e.g. just a PDF or an image, returns empty body with attachment(s) 2024-03-05 15:29:41 +02:00
ralf
c44e3f08fa * eSync: fix syncing forwarded and replied flags to client incl. push using highestmodseq, if supported by IMAP server 2024-03-05 14:54:51 +02:00
ralf
98cf3415ca * eSync: only first to address was shown / send to client 2024-03-04 19:37:28 +02:00
ralf
00c36d6775 * eSync: fix inline forward with attachment(s) and smartForward (e.g. GMail client) was broken
(not multipart/mixed, but text/html)
2024-03-04 17:27:02 +02:00
Ralf Becker
3cafe5adc4 pending translations from our translation-server 2024-03-04 09:04:56 +01:00
ralf
b79861f8cf fix PHP Undefined index warning 2024-02-28 08:55:13 +02:00
nathan
e35947875b Mail: Fix could only attach one VFS file at a time 2024-02-21 12:55:02 -07:00
ralf
90c340cf2a it seems there are mail client ignoring / not displaying text behind the closing style-tag --> add a linebreak there 2024-02-20 17:01:16 +02:00
nathan
fd52ed1ffe Fix missing admin default icons, tree icons had to be in dhtmlxtree 2024-02-16 11:06:39 -07:00
nathan
288c0c39e9 Switch on new Et2VfsSelect widget(s)
includes mail
2024-02-12 10:32:28 -07:00
Milan
206fb0dd4b getNode and getDomNode refactoring for compatibility 2024-02-08 22:22:09 +01:00
Milan
65eb7e3404 mail uses new et2-tree now 2024-02-08 22:22:09 +01:00
Milan
da195d2029 changes to app.js to suit sl-tree 2024-02-08 21:54:42 +01:00
ralf
83a2729cf0 another big chunk of PHP Warnings 2024-02-08 12:30:39 +02:00
ralf
512b0bd4e6 fixing the fix
there is probably a nicer solution to let the calling widget know that getValues() is running
triggering a custom event won't help, as getValues() is not async and can't be made to wait for the widget handling the event
2024-02-05 16:19:12 +02:00
ralf
639c8748ca new boolean property applyDefaultFont for rtf editor and using it in mail compose
making sure it applyDefaultFont method gets always called in compose
2024-02-05 10:54:06 +02:00
ralf
4fcd761f0c always check VACATION-SECONDS is available 2024-02-01 15:11:49 +02:00
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 Becker
5f2c0f448e pending translations from our translation server 2024-01-25 09:53:39 +01: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
b77eb4d4ed use the user preference for displaying email addresses in lists of mail app 2024-01-22 17:39:51 +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
ralf
ae47069478 fix could not set forwarding address for vacation notice 2024-01-15 14:16:51 +02:00
nathan
a673a6ac5f Et2Email: Readonly & limited rows styling 2024-01-11 16:25:38 -07:00
nathan
518c8218d7 * Mail: Additional "Information to show on email tag" preference, "Name and domain" 2024-01-08 10:01:59 -07:00
ralf
dfc8b95cff fix /mail/ REST API call returned null instead of identity names 2023-12-21 17:31:43 +02:00
ralf
b337867b03 replace all et2-select-email multiple="true" readonly(unset or false) with new et2-email 2023-12-20 09:53:51 +02:00
nathan
34c6fee46c Mail: Switch mobile to use new Et2Email widget 2023-12-19 10:18:08 -07:00
Ralf Becker
f6adf22591 pending translations from our translation server 2023-12-19 07:11:07 +01:00
nathan
437ad34300 Finish Et2Email widget 2023-12-13 10:34:17 -07:00
ralf
e5657b8a42 fix authentication error when calling vacation notice from admin for another user 2023-12-11 13:19:39 +02:00
hadi
ef7a388958 Make some dialogs initiation heights slightly bigger to avoid getting scrollbar 2023-12-08 12:30:47 +01:00
ralf
2f0a38e4f1 * Mail: allow to configure an auto-responder, if Sieve supports the vacation-seconds extension 2023-12-07 16:34:39 +02:00
Ralf Becker
671dc1d28b pending translations from our translation server 2023-12-01 07:01:27 +01:00
nathan
db639a3453 Mail: Fix attachment details was still cut off for larger font sizes 2023-11-24 10:58:04 -07:00
nathan
c111303abd Mail: Minimum width of 400px on the preview pane
Stops attachment details from being unable to deal with the limited space
2023-11-23 14:57:15 -07: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
ralf
bb9e8dcd7c fix date-filter were not taken into account when deleting all mails in a folder 2023-11-21 17:53:38 +02:00
Ralf Becker
769eaaa353 pending translations from our translation-server 2023-11-21 15:18:11 +01:00
ralf
1c40074331 WIP oauth mail-authentication updates refresh-token and redirects to IdP, if refresh-token is expired 2023-11-21 15:57:00 +02:00
nathan
441f90d92e Mail: Fix share as download link from filemanager gave JS error
Unable to set field data to '[object Object]' in window 'compose_0__

Caused by accessing select_options through deprecated options object
2023-11-20 11:03:28 -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
c897b03f71 fix 2 JS errors in mobile mail, while search for another 2023-11-15 16:13:58 +02:00
ralf
ef43d7298b * Mail/REST API: support an "X-No-Location: true" header to avoid getting a "Location" header when uploading attachments
Also change HTTP Status from "200 Ok" to "201 Created" for a "Location" header,
and send a correct URL to download the attachment again with a GET request.
2023-11-10 17:07:06 +02:00
Ralf Becker
3e27a643b6 pending translations from our translation server 2023-11-10 06:44:58 +01:00
nathan
ad3321c438 Mail: Remove mail-only key handler, it was double-sending 2023-11-08 13:37:10 -07:00
nathan
6a5697eab8 More Drag helper style adjustments
- height adjustments for mail so we can see address & subject
- Change how avatar is sized so we can override it via CSS
2023-11-08 09:54:00 -07:00
ralf
305aaad22c * REST API/Mail: viewing uploaded EML files, allowing user to answer, forward or download attachments 2023-10-27 11:50:13 +03: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 Becker
db7d26a6a0 pending translations from our translation-server 2023-10-26 21:55:35 +02:00
Ralf Becker
c5b7251188 pending translations from our translation-server 2023-10-18 16:41:38 +02:00
nathan
dd88fdb716 Mail: Update flag icon when mail is flagged/unflagged 2023-10-03 17:03:37 -06:00
milan
2d35529380 WIP sl-Tree 2023-09-27 13:53:41 +02:00
Milan
7bde197f86 WIP sl-Tree 2023-09-27 13:08:08 +02:00
Milan
e3ca0bfacd Merge remote-tracking branch 'origin/master' 2023-09-27 12:59:53 +02:00
nathan
472ee73dda Improve styling & behaviour of Et2SelectEmail 2023-09-14 14:30:20 -06:00
Milan
0f1f45a0cc WIP sl-Tree 2023-09-14 17:36:28 +02:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -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
Ralf Becker
50d4a0a0fa pending translations from our translation server 2023-08-24 12:12:36 +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
nathan
6c9d9aa8ed Mail: Translate attachment button label 2023-08-14 08:35:03 -06:00
hadi
6b2a9e1dca Fix mail preview in mobile view no longer shows email addresses in its details box 2023-08-10 17:47:36 +02:00
ralf
c8c7c9eec2 add emptyLabel for account to NOT add read-rights for first user if leaving the dialog without [Cancel] 2023-08-06 10:50:13 +02:00
nathan
6f63c1686e * Mail: Add attachment action "Forward to" that adds file directly to compose window 2023-08-03 10:17:14 -06:00
ralf
2022adfbfb be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-03 13:58:51 +02:00
ralf
da49ce2924 if authenticated via token we have to use the admin connection, but only for the user authenticated as 2023-08-03 10:22:45 +02:00
ralf
fb87f5f173 always send Content-Type: application/json 2023-08-03 09:00:30 +02:00
hadi
31d93a6ee3 Add browser notification for newly arrived mails 2023-08-02 17:40:37 +02:00
ralf
f89ad191e4 add more validation and defaults for the vacation 2023-08-02 15:16:16 +02:00
ralf
6249f128db fix error, if there is no old vacation specifying a number of days, setting now same default as UI: 3 days
also some docu fixes
2023-08-02 11:02:15 +02:00
ralf
027ad398d6 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-07-31 16:24:58 +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
ralf
fe57e18438 implement missed shareExpiration and sharePassword attributes when sending mail 2023-07-25 14:58:49 +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
nathan
b548de666d Mail: Fix missing translations in attachment download button options 2023-07-18 13:40:04 -06:00
ralf
3da996afc7 WIP Mail REST API: fix docu and content-type of response for uploading attachments 2023-07-13 16:32:01 +02:00
nathan
b33f41c8b2 Mail: Fix plaintext reply sizing problem
Stops toolbar from being pushed off the top
2023-07-12 09:42:41 -06:00
hadi
74504cf5b0 Make vacation dialog window bigger 2023-07-11 14:56:49 +02:00
milan
2de5326f53 Merge remote-tracking branch 'origin/master' 2023-07-10 16:54:43 +02:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
hadi
03745becf2 Fix mail compose editor not visible in mobile template 2023-07-10 16:42:13 +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
nathan
bd93964de3 Mail: Let browser deal with text area sizing in compose for plaintext too 2023-07-06 08:15:32 -06:00
nathan
6ace2c1fbc Mail: Let browser deal with text area sizing in compose
Fixes bug where toolbar can get hidden when editing certain emails
2023-07-05 11:23:28 -06:00
ralf
65b239ca2c WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-06-30 17:13:42 +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