s-aga-r
1ada5211b9
refactor: method to get frappe mail client instance
2024-06-24 06:16:55 +05:30
s-aga-r
2819a2d927
fix(ux): Email Account form
2024-06-22 08:55:02 +05:30
s-aga-r
34be31f393
fix: use UTC instead of system timezone
2024-06-21 17:53:35 +05:30
s-aga-r
8143595a2f
chore: update Frappe Mail pull endpoint
2024-06-20 16:58:04 +05:30
s-aga-r
5a4a36591e
fix: always use email id as sender
2024-06-20 16:30:12 +05:30
s-aga-r
fca0cf7b01
fix: validate Frappe Mail settings on Email Account save
2024-06-19 17:33:11 +05:30
s-aga-r
5f5e5e1f61
fix: use urljoin to join site and endpoint
2024-06-19 15:03:49 +05:30
s-aga-r
42320df5f9
fix: log exception
2024-06-19 12:45:43 +05:30
s-aga-r
2f66425b1d
chore: provide last_synced_at while retrieving mails
2024-06-19 11:56:53 +05:30
s-aga-r
991f75bb0b
feat: Retrieve Mails from Frappe Mail
2024-06-18 19:32:03 +05:30
s-aga-r
527ac29c2e
feat: Send Mails via Frappe Mail
2024-06-18 11:09:02 +05:30
s-aga-r
c01eb68b83
feat: add Frappe Mail to Service options
2024-06-10 18:22:21 +05:30
mergify[bot]
0d4066014e
Merge branch 'develop' into email-account-form
2024-04-23 22:05:37 +00:00
Akhil Narang
f2c109394e
Merge pull request #26001 from kittiu/patch-3
...
fix: unknown charset windows-874 problem on incoming mail
2024-04-22 12:52:31 +05:30
Akhil Narang
441379e7a8
refactor: don't modify email library's dictionary
...
Keep our own map of alternative character sets
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-04-22 12:23:59 +05:30
Oguz Bilgic
186150628c
Fix html template example in notification.js
...
Closing </li> tag was missing in the example html shown on the page.
2024-04-17 20:52:24 +08:00
barredterra
d6f83669ab
refactor(Email Account): show fields fetched from domain
2024-04-17 14:49:38 +02:00
Kitti U. @ Ecosoft
69f9db6751
fix: unknown charset windows-874 problem on incoming mail
...
When the sender is using email with windows-874 charset (i.e., Outlook / Thai), the incoming email, i.e., to Issue will result in weird characters.
This is due to, python don't know about this charset. This fix by using alias charset for the problematic charset.
2024-04-17 17:26:20 +07:00
barredterra
7350a03fee
refactor(Email Account): move "mandatory depends on" to doctype definition
2024-04-16 15:06:11 +02:00
barredterra
a6aba05e93
fix(Email Account): condition for OAuth button
...
There was a chicken and egg problem here: the button could not be clicked if the form is unsaved or connected app or user are missing. And we could not set connected app and user unless the authorization succeeded.
2024-04-16 15:00:49 +02:00
barredterra
a161bb0df9
refactor(Email Account): tabs in form layout
2024-04-16 14:47:59 +02:00
barredterra
a28c5cd724
refactor: receive email
2024-04-05 17:43:16 +02:00
barredterra
e854b7ba5d
Merge remote-tracking branch 'upstream/develop' into filter-email-recipients
2024-03-31 00:01:09 +01:00
Ankush Menat
0cbd7c825b
Merge pull request #25650 from akhilnarang/fix-replyto-communication-reply
...
fix: set correct Reply-To header for replies
2024-03-28 10:03:57 +05:30
Ankush Menat
67bcda333e
fix: auto add modified index when sort_field is set to it ( #25686 )
...
This is 2nd most common sort order, so we should support adding index
for it automatically.
Not quite sure on generalizing this behaviour *YET*
2024-03-27 14:40:26 +00:00
Ankush Menat
85f66c083e
fix: preserve original error message ( #25682 )
2024-03-27 13:13:49 +00:00
Ankush Menat
59b95a4d19
fix: invalid filter on email acccount ( #25674 )
2024-03-27 11:09:59 +00:00
Ankush Menat
672f3b2258
refactor!: sort by creation for clearing old logs
2024-03-27 13:04:01 +05:30
Ankush Menat
3896296c6f
fix: update sort order in doctypes
2024-03-27 11:18:28 +05:30
Akhil Narang
19fcaff098
fix: miscellaneous cleanup
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-26 18:40:43 +05:30
barredterra
3730dfa44e
feat: add option to filter email recipients
2024-03-20 00:44:22 +01:00
Ankush Menat
fdd74e3ac1
fix: set sane default timeout on SMTP
2024-03-18 19:19:32 +05:30
Ankush Menat
e76c29fcec
feat: Store printed PDF attachments on communication ( #25439 )
2024-03-14 11:45:03 +00:00
Akhil Narang
c441c844f9
fix(auto_email_report): check if column (docfield) parent is a child table ( #25335 )
...
This code tried to fetch the child doctype with the parent's ID otherwise
Support ticket 11145
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-03-11 19:34:53 +05:30
Ankush Menat
b1a8bc9312
fix: Export None as type if select as no options ( #25211 )
...
Select options can be dynamic, in that case we should at least the
default value `None` as a value `DF.Literal` otherwise is invalid type
annotation.
2024-03-04 06:42:41 +00:00
David Arnold
c66d35fe5b
fix(notification): ensure outgoing mail is set on comms ( #24814 )
2024-02-27 16:47:46 +05:30
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Ankush Menat
59f8e361a5
fix: lower socket timeout for validating email domain ( #24915 )
2024-02-18 14:21:29 +00:00
Raffael Meyer
fc64e8a0fb
feat: pass doctype as context when translating label ( #24903 )
2024-02-18 19:42:15 +05:30
Ankush Menat
72c2207e0f
refactor: useless use of dict in frappe.get_doc
2024-02-10 12:52:38 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748
style: re-format with ruff
2024-02-05 18:53:33 +05:30
bhavesh95863
dc6d71e84b
fix: no of rows displayed based on report type
...
(cherry picked from commit db4d36f527ace8f4a678ebe39daceaa9f9579a73)
2024-02-05 05:57:20 +00:00
mergify[bot]
21d7cbca41
Merge pull request #24570 from Govind-Jangid/feat/auto-email-report-get-first-day
...
feat: use_first_day_of_period
2024-02-03 06:17:59 +00:00
Govind Jangid
492584db93
fix: date format & pre commit test
2024-02-03 06:36:19 +05:30
Ankush Menat
7487df22c9
refactor: use frappe.get_system_settings
...
because it's cached and doesn't hit frappe.db at all.
2024-02-02 18:43:43 +05:30
Ankush Menat
dae99eb53c
fix: Fetch SMTP server inside context
...
Currently if smtp server creation fails email queue is endlessly
retried. It should just fail if there's no outgoing account.
2024-02-01 11:10:57 +05:30
Ankush Menat
78665d98b2
fix: Bail if no SMTP acccount can be found
...
Currently we give this weird error instead of just saying no outgoing email account is configured.
```
AttributeError: 'NoneType' object has no attribute 'get_smtp_server'
File "frappe/email/queue.py", line 154, in flush
email_queue.send()
File "frappe/email/doctype/email_queue/email_queue.py", line 160, in send
with SendMailContext(self, smtp_server_instance) as ctx:
File "frappe/email/doctype/email_queue/email_queue.py", line 236, in __init__
self.smtp_server: SMTPServer = smtp_server_instance or self.email_account_doc.get_smtp_server()
```
2024-02-01 11:10:57 +05:30
Rucha Mahabal
53d6d156ec
chore: cleanup doctype descriptions ( #24609 )
2024-01-31 12:00:39 +05:30
Ankush Menat
dedadbb0d9
perf: optional faster perm check for files
2024-01-31 10:49:18 +05:30