Ejaaz Khan
30caea909f
Merge pull request #32483 from barredterra/notification-filters-ui
...
feat(Notification): add support for filters UI
2025-08-01 11:24:52 +05:30
Akhil Narang
9355c76eca
fix(email_group): prevent StopIteration when running import on a doctype without email fields ( #33418 )
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-07-31 08:20:15 +00:00
Raffael Meyer
192d769cc2
Merge branch 'develop' into notification-filters-ui
2025-07-29 21:50:12 +02:00
RitvikSardana
7b71c3aeb7
Merge pull request #33389 from RitvikSardana/auto-append-email-account
...
feat: Auto append email account name to 'append_to' doctype
2025-07-29 13:03:48 +05:30
Soham Kulkarni
64db88228f
refactor: seperate blogs into a seperate app ( #32737 )
...
* fix: remove doctypes,workspace blocks, files
* fix: minor python tests and UI tests
* fix: remove blog post from tests
* fix: remove blogger as role for tests
* fix: add check for if doctype exists
* fix: ui test
* fix: more cleanup
* fix: cleanup comments and fix test_query
* fix: resolve conflicts
* fix: add warning and handle comments
2025-07-28 14:35:02 +05:30
Ritvik Sardana
b3afe4f4f1
chore: rename email account field
2025-07-19 12:26:36 +05:30
Ritvik Sardana
a5ab9c12b5
fix: attach email account name to the append_to doctype
2025-07-19 12:06:27 +05:30
Nihantra C. Patel
03109a7b67
fix: Remove specific links from Integrations workspace and reindex ( #33285 )
...
* fix: update the Integrations workspace
* fix: Remove specific links from Integrations workspace and reindex
* fix: again update the Integrations workspace
* fix: remove patch as per comment
* fix: remove custom button Newsletter from email group doctype
2025-07-16 12:14:15 +05:30
sokumon
8e9187483c
fix: avoid circular import
2025-07-15 18:03:41 +05:30
sokumon
6ff0c937d7
fix: use get_retry method and change error message
2025-07-15 17:44:53 +05:30
sokumon
74b4acacd4
fix: better name for the retry job
2025-07-14 18:30:37 +05:30
sokumon
2bbf72061c
fix: dont let email queue stay in Sending status
2025-07-14 18:10:43 +05:30
Ankush Menat
afb720e003
refactor: move stuff away from init.py ( #33283 )
...
* chore: Drop unused imports
* refactor: split translation utils from init.py
* refactor: move sendmail from init.py
* refactor: move prints to attach_print
2025-07-11 07:18:16 +00:00
Diptanil Saha
07ad2b76bb
feat: pdf option in auto email report ( #33247 )
2025-07-08 11:27:50 +05:30
Soham Kulkarni
baca028f83
Merge pull request #33164 from sokumon/handle-logout
...
fix: handle abort while logout
2025-06-30 17:34:24 +05:30
sokumon
eeae4f8646
fix: handle abort while logout
2025-06-30 17:19:16 +05:30
Soham Kulkarni
e1aa789acf
Merge pull request #32971 from sokumon/newsletter-removal
...
refactor: seperate newsletter into app
2025-06-27 11:59:02 +05:30
sokumon
b59bf13682
fix: increment retry_count first to prevent recursion
2025-06-23 17:09:39 +05:30
RitvikSardana
4fbdaf3a9b
fix: add flag for initial email sync ( #33006 )
...
* fix: add flag for initial email sync
* fix: rever from_uid calc
2025-06-19 18:13:32 +05:30
sokumon
32a87f53d6
fix: delete newsletter related files
2025-06-18 16:23:36 +05:30
Sagar Vora
b3e1eda4c8
feat: global frappe.in_test flag ( #32960 )
...
* feat: global `frappe.in_test` flag
* feat: helper utility to toggle `frappe.in_test`
* fix: use `toggle_test_mode` util
* fix: use `frappe.in_test`
* chore: add comment explaining global `in_test`
* chore: ignore commit replacing flag usage
* test: temporarily disable `frappe.in_test`
this worked earlier because flag was set in werkzeug.local which was separate for API test client
* test: add comment explaining change
2025-06-17 19:19:31 +05:30
barredterra
4aaa6a7ccc
test: notification with filters
2025-06-13 21:18:07 +02:00
barredterra
b007d857d6
Merge remote-tracking branch 'upstream/develop' into notification-filters-ui
2025-06-13 20:37:23 +02:00
Ankush Menat
49f582ae57
perf: Use lazy doc in a lot more places
2025-06-11 09:55:45 +05:30
sokumon
af490b4e12
fix: set bcc in emails
2025-06-10 16:36:12 +05:30
RitvikSardana
c193aad863
feat: add custom headers to any email in frappe.sendmail ( #32820 )
...
* feat: add custom headers to any email in frappe.sendmail
* fix: add headers only when it is provided
* fix: prepend headers with 'X='
2025-06-10 12:38:02 +05:30
Ankush Menat
8088bd3891
chore: Drop empty UnitTestCases ( #32867 )
...
Next to zero adoption after introduction, just noise in codebase.
I don't see any point in arguing about purity of test cases when
existence and quality of test cases is usually the bigger problem.
Dropped using semgrep
2025-06-10 05:28:53 +00:00
Soham Kulkarni
0848426642
Merge pull request #32633 from sokumon/handle-imap-abort
...
fix: handle imap abort in email server
2025-06-07 00:39:37 +05:30
RitvikSardana
9ff04c3f6f
fix: find message id from in_reply_to field in communication
2025-05-23 12:47:48 +05:30
sokumon
4fe4bb462d
fix: add a retry limit to fetching messages
2025-05-23 01:28:00 +05:30
Ankush Menat
bb5ba64060
fix: email disabled is not an ignorable "alert"
2025-05-22 17:39:19 +05:30
Ankush Menat
aa936e0fb9
fix: better acct disabled message ( #32636 )
...
* fix: reset failure count every 2 hour
Just avoids long running sites from getting disabled w/ transient errors?
* fix: better email disabled notification
2025-05-22 09:35:47 +00:00
sokumon
3c41ec9e43
fix: handle imap abort in email server
2025-05-22 12:14:39 +05:30
Akhil Narang
c273a8f1e7
Merge pull request #31872 from cogk/fix-email-sender-decoding
...
fix(email): Fix sender and recipients decoding
2025-05-21 13:23:35 +05:30
barredterra
a77b1b0c58
feat(Notification): add support for filters UI
2025-05-10 21:23:51 +02:00
Akhil Narang
2299945d03
fix(email_account): don't show gmail help text after selecting another provider
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-05 17:09:27 +05:30
Akhil Narang
8d42b4d3d6
Merge pull request #32268 from akhilnarang/drop-example-email-address-creation
...
fix: don't create example email domains and email accounts
2025-04-29 12:50:29 +05:30
Akhil Narang
fe63c5d677
fix(tests): create example.com email_domain record for test
...
email_account tests rely on this
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-23 16:50:07 +05:30
Akhil Narang
81813548e9
fix(email_queue): remove confirm step
...
No point having 2 steps, if the user has ended up here they do want to send the email.
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 12:35:43 +05:30
Niklas Liechti
4848fbda0b
fix: Allow to manually send an email even if queue is disabled
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-22 12:30:07 +05:30
Akhil Narang
f37f4e6ad9
fix(test_notification): User.birth_date is a date field ( #32088 )
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-11 17:38:50 +05:30
jll-02
89ed7c90a7
feat: ✨ addes x-priority option to email header and the frappe.sendmail function ( #31966 )
...
creating the option to give the email an importance.
1 = Highest, 3 = Normal, 5 = Lowest
commonly used to flag the importance of emails
Co-authored-by: Jan Lukas Liesen <=>
2025-04-11 16:18:19 +05:30
Akhil Narang
78640cb205
fix: only exclude RUF001 where we're using some ambiguous characters
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-10 12:57:18 +05:30
Ponnusamy1-V
e90b44b6b9
fix: auto email report - type missmatch error in dynamic report filters
2025-03-30 14:50:10 +05:30
0xD0M1M0
3c2499af35
fix: simplify Always BCC ( #31931 )
...
* fix: simplify Always BCC
* fix: if not list
* fix: linter
2025-03-27 13:40:33 +01:00
Corentin Forler
c7ee403e48
chore: Fix semgrep error
2025-03-24 17:13:09 +01:00
Corentin Forler
154aff9e98
fix: Fix email sender/recipients decoding
2025-03-24 12:04:58 +01:00
Ejaaz Khan
0e62819741
Merge pull request #31521 from batonac/fix-notification-phone-fields
...
fix: Notification get_receiver_fields phone field function
2025-03-15 00:51:01 +05:30
Suhail
97a1d38814
fix: store unsubscribe params properly ( #31583 )
...
* fix: store unsubscribe params properly
Earlier we had a field `unsubscribe_param` but it wasn't used anywhere to store the params.
This made sure only email, doctype and docname was passed as the params while unsubscribing and no custom params wasn't.
* fix: convert unsubscribe_params dict to json before storing
2025-03-13 14:41:45 +05:30
Ejaaz Khan
8e74155534
Merge pull request #31645 from iamejaaz/32254-auto-email-bg
...
perf: generate auto email reports in background
2025-03-11 19:58:51 +05:30