Sayed Ayman
94263bf4f2
feat (notificaion): email from 'Table Multiselect' field ( #22733 )
...
* feat (notificaion): table multiselect field
* refactor: use model.table_fields instead of duplicating
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-10-16 12:02:19 +05:30
Akhil Narang
41d524c9a0
chore: add in a test for failed email notification
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-13 18:16:32 +05:30
Ankush Menat
e72b03adaf
refactor: handle notification failure
2023-10-13 14:59:00 +05:30
Akhil Narang
65d6c20d9e
feat: send out a system notification when email sending + retries fail
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-12 13:34:50 +05:30
Saif Ur Rehman
24206de0d0
fix(Email Inline Embed): Unescape embed path ( #22291 )
2023-10-11 13:47:27 +05:30
Ankush Menat
908ddad962
Merge pull request #22515 from ankush/email_rec
...
fix: handle poorly encoded from emails
2023-09-23 12:13:57 +05:30
Ankush Menat
f974fcabac
fix: ignore poorly encoded email parts
2023-09-23 11:53:05 +05:30
Ankush Menat
59d1eefa61
refactor: move unhandled email to log settings
2023-09-23 11:23:53 +05:30
Ankush Menat
aa413e8c9f
fix: link notification messages with communication ( #22507 )
2023-09-22 17:06:47 +05:30
mergify[bot]
69b0fcf06e
Merge pull request #22316 from cogk/fix-email-subject-decode
...
fix: Fix email subject decoding
2023-09-20 09:41:59 +00:00
Ankush Menat
88896f8f41
fix: keep localhost for smtp checks
2023-09-13 17:06:28 +05:30
0xsaif
aa7ee1c6b9
refactor: force ipv4 localhost ( #22394 )
...
* reafctor: force ipv4 localhost
Replacing "localhost" with "127.0.0.1" in the codebase; sometimes the name localhost force-resolves to ipv6
* revert: leave localhost usage in oauth tests
Change not required.
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-09-13 16:23:23 +05:30
David Arnold
734fb891c2
chore: monkey patching {imap,pop}lib is no more necessary since 4 years
...
see: 13a7ee8d62
2023-09-07 01:12:55 +02:00
Corentin Forler
a4a3af5859
refactor(email): Ensure that subject is a string
2023-09-05 14:10:06 +02:00
Corentin Forler
e5dd924cbe
fix(email): Add missing byte-decoding in set_subject
2023-09-05 14:10:06 +02:00
Corentin Forler
ec20739fee
test(email): Add test for accents in subject header
2023-09-05 14:10:05 +02:00
Ankush Menat
e88cdb6e70
Merge pull request #22224 from ankush/desk_user
...
feat: `Desk User` role
2023-08-29 20:27:21 +05:30
niraj gautam
dff426a267
fix: Do not allow newsletter scheduling with past date ( #22204 )
...
* fix: newsletter scheduling
* fix: Add required prop on schedule dialog
* refactor: Add validation in newsletter.py
* test: fix scheduled newsletter test
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-08-29 06:49:52 +00:00
Ankush Menat
dc8d7b019a
refactor!: Lower roles from All To Desk User
2023-08-29 12:07:57 +05:30
Ritwik Puri
32a59e19a6
docs: email architecture ( #22189 )
...
* docs: email architecture
* chore: remove marking emails as read dead code from EmailAccount controller
2023-08-26 11:22:46 +05:30
Saif Ur Rehman
da75b00c8c
fix(Email Inline Embed): escape regex expression
2023-08-25 11:29:58 +05:00
Raffael Meyer
6ea739e4cf
refactor(File): explicitly import utils ( #22143 )
2023-08-23 11:08:22 +05:30
Suraj Shetty
15bbe03d43
fix: Support dynamic filter for Reports w/o js config
2023-08-11 12:38:41 +05:30
barredterra
88c8baa9ee
refactor: for append to extend, merge list extend
...
Replace a for append loop with list extend.
Create the list with values instead of creating
an empty list and extending it with another list.
2023-08-09 13:25:39 +02:00
barredterra
b553ed98d8
refactor: inline immediately returned variable
...
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
Sagar Vora
7aed89ae4d
test: set request before verifying
2023-08-05 14:43:45 +05:30
Ankush Menat
a2167d4f94
perf: index email queue table
2023-07-29 13:47:44 +05:30
Suraj Shetty
e3e50acd66
Merge pull request #21794 from barredterra/fix-email-contact
2023-07-28 12:36:52 +05:30
Ankush Menat
c45fbce2fa
fix: ignore no args to email read url
...
Some client can strip this and it will cause error.
2023-07-26 09:23:06 +05:30
barredterra
a4385be70c
fix: pass email as value
2023-07-24 16:02:22 +02:00
David Arnold
cf8a603dac
build(deps): update premailer 3.8.0 -> 3.10.0 ( #21783 )
2023-07-24 16:26:27 +05:30
Ankush Menat
927cd647e4
chore: generate type annotations
2023-07-24 15:32:48 +05:30
Ritwik Puri
5b547d5665
Merge pull request #21724 from phot0n/allow-bulk-retry-email
...
fix: allow users having access to email queue to bulk retry sending
2023-07-19 02:12:59 +05:30
phot0n
df3f6b3a9f
fix: allow users having access to email queue to bulk retry sending
2023-07-19 02:11:10 +05:30
Raffael Meyer
b6cd6535db
feat: better Email search ( #20323 )
...
* refactor: get_contact_list
* test: get_contact_list
* feat: search all emails, not just the primary one
2023-07-17 00:40:17 +05:30
Ankush Menat
347902ba96
ci: bump flake8
2023-07-14 14:26:20 +05:30
Kevin Shenk
70da4ba51d
fix: typo on enqueue args
...
The deduplicate argument was missing the 'l'.
2023-07-01 13:56:50 -04:00
Ankush Menat
31d05b466a
perf: Email queue dedup using job id instead of name
2023-06-29 18:05:09 +05:30
phot0n
f49818089a
feat(minor): bulk retry for email queue
...
* chore: add retry_sending as a email queue class method
2023-06-12 14:38:43 +05:30
phot0n
1f8598891e
fix: remove infinite sending retries for certain exceptions for email queue
...
* chore: remove expired status & set_expiry job from email queue
2023-06-09 14:38:55 +05:30
phot0n
129fdc803a
chore: fix linter
2023-06-08 16:20:10 +05:30
phot0n
4ceafe14e3
chore: remove unused is_background_task and add_to_sent_list -> update_recipient_status_to_sent
...
* set status to be hidden in queue doc
* don't maintain a list of sent to recipeint, a boolean is enough to set the status to partially sent
2023-06-08 16:19:37 +05:30
phot0n
aac74726ff
chore: add recipient to sent list regardless of email sending method
2023-06-08 16:19:37 +05:30
phot0n
df7afa93b8
chore: log traceback directly to the queue doc
2023-06-08 16:19:37 +05:30
phot0n
742a6082ac
fix: remove unnecessary statuses from email queue and only append emails to sent if imap is enabled
2023-06-08 16:19:37 +05:30
phot0n
2b22556309
chore: remove deprecated send method from smtp
2023-06-08 16:19:37 +05:30
Vishal Kumar
a21412e12a
feat: allow no_smtp_authentication to be set from site config ( #21274 )
2023-06-08 13:15:43 +05:30
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache ( #21282 )
2023-06-08 11:47:17 +05:30
Ankush Menat
2cb2934f96
perf: query queued_recipients only once ( #21277 )
...
O(N) -> O(1) check for queued recipients
Caused by https://github.com/frappe/frappe/pull/18044
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2023-06-07 18:05:06 +05:30
Doridel Cahanap Mendez
4b2730642d
refactor: attach txt file in received emails
...
(cherry picked from commit a36d6a9df02e9a86e3701fcc6861c9c64bd40c66)
2023-05-26 11:45:03 +00:00