Commit graph

43165 commits

Author SHA1 Message Date
Ankush Menat
ea1e73568c
fix: clear server script cache on delete (#22207) 2023-08-26 12:44:12 +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
niraj gautam
db61deef72
fix: Avoid doc caching if for_update is set (#22203)
* refactor: Avoid doc caching if for_update is set

* chore: simplify condition

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-08-25 19:35:32 +05:30
mergify[bot]
fdcfb82f47
Merge pull request #22114 from gavindsouza/doc-bulk_insert-include_child
fix: Handle child record insertions via bulk_insert
2023-08-25 13:57:38 +00:00
Gavin D'souza
6b1609d277
fix: Cast documents iterable to list in db_insert 2023-08-25 16:12:48 +05:30
mergify[bot]
b700da7d1d
Merge pull request #22197 from frappe/SaiFi0102-patch-1
fix(Email Inline Embed): escape regex expression
2023-08-25 07:32:14 +00:00
Saif Ur Rehman
da75b00c8c
fix(Email Inline Embed): escape regex expression 2023-08-25 11:29:58 +05:00
Gavin D'souza
c89130caf0
test: Add checks for child records bulk inserts
doc bulk_insert for "Role Profile" tables
2023-08-25 11:56:52 +05:30
Ankush Menat
0cfa95389e
fix: delete doctype after migrating (#22195) 2023-08-25 10:16:32 +05:30
Suraj Shetty
a56fa96b10
Merge pull request #22186 from cogk/fix-get-web-form-fields 2023-08-25 08:53:06 +05:30
Suraj Shetty
7951b376f2
Merge pull request #22184 from cogk/feat-grid-multiple-selection 2023-08-25 08:25:31 +05:30
Ankush Menat
81d7dc6b00
chore: increase stale window
[skip ci]
2023-08-24 23:21:30 +05:30
rohitwaghchaure
be4b2f802f
feat: added two options do_not_make_page and do_not_setup_menu for tree (#22190) 2023-08-24 22:34:36 +05:30
Corentin Forler
1c64334916 fix(webform): Retrieve layout fields too 2023-08-24 16:08:54 +02:00
Ankush Menat
3c991d86fc chore: remove whitelisting
not required
2023-08-24 19:10:03 +05:30
Corentin Forler
7d057801ee feat(grid): Extend clickable area of checkboxes 2023-08-24 15:12:21 +02:00
Corentin Forler
ebc9b10389 feat(grid): Add shift-click for selecting multiple rows 2023-08-24 15:12:21 +02:00
Sagar Vora
023897a35e chore: define ping API only once 2023-08-24 18:05:15 +05:30
xdlumertz
7ddae5d11b
fix: translation in assignments
[skip ci]
2023-08-24 17:51:36 +05:30
Dany Robert
237a6697f5
fix: add missing parameters for search_widget (#22052)
* fix: add missing parameters for search_widget

* fix: change to key word params
2023-08-24 16:57:30 +05:30
Ankush Menat
dc3f9ace5a
Merge pull request #22173 from ankush/onboarding_misc
fix: misc UX fixes
2023-08-24 12:02:34 +05:30
Ankush Menat
d3022e5388 fix: don't show report button if error is not reportable
[skip ci]
2023-08-24 11:21:45 +05:30
Ankush Menat
60615a126c fix: defer first tour until awesomebar is triggered 2023-08-24 11:01:47 +05:30
Ankush Menat
71b49ad560 fix: remove onboarding widgets from mobile 2023-08-24 10:43:55 +05:30
Ankush Menat
a9d7b99429
feat(telemetry): allow users to send session recording (#22170) 2023-08-23 20:58:07 +05:30
Ankush Menat
e4a6016f83 fix!: don't force all dependencies to be reinstalled
When you reinstall app forcefully all dependencies will also get
forcefully reinstalled. This IMO isn't required in most cases and can
even be breaking.

Anyway if required those apps can be manually force installed.
2023-08-23 18:05:10 +05:30
Ankush Menat
31bdb209ed chore: add star imports back for backward compat 2023-08-23 17:48:54 +05:30
Shariq Ansari
1434556a64
Merge pull request #22166 from shariquerik/move-connection-to-tab 2023-08-23 16:56:11 +05:30
Ankush Menat
bf8fdcf644
Merge pull request #22167 from barredterra/dropdown-style
fix: don't underline links in dropdown
2023-08-23 16:02:29 +05:30
barredterra
b9d97b5f46 fix: don't underline links in dropdown 2023-08-23 12:28:10 +02:00
Shariq Ansari
4e4e77b1e5 fix: added close message button on form message 2023-08-23 15:37:58 +05:30
Ankush Menat
74d87796af
Merge pull request #22141 from ankush/server_script_shared
refactor!: Disable server scripts by default
2023-08-23 15:19:54 +05:30
Shariq Ansari
e0944419ca fix: moved doctypes's conections to separate tab 2023-08-23 15:16:05 +05:30
Ankush Menat
56b409d069
fix: limit job count in RQ failed registry (#22162)
* fix: limit job count in RQ failed registry

* chore: remove unnecessary test

This just checks if func is called with right values, which keep
changing as things evolve.
Everything is individually tested now so need for this test.
2023-08-23 09:21:51 +00:00
Ankush Menat
1390b972a8 fix(DX): let users know that server scripts are disabled 2023-08-23 14:49:05 +05:30
Ankush Menat
6e0b522ae3 refactor!: Disable server scripts by default
- Move the config to bench level and not site level because, server
  script "threat model" requires consent from a bench owner and not
  individual site.
- While this is a breaking change which people may not like, we believe
  it's essential to improve security model of Frappe.
2023-08-23 14:49:05 +05:30
Ankush Menat
498cf04e67
Merge pull request #22126 from ankush/trace_sql_queries
feat: basic tracing using monitor trace id
2023-08-23 14:40:24 +05:30
HENRY Florian
54c36add24
chore: update fr translation (#22164)
* chore: update fr translation

* chore: update fr translation

* chore: update fr translation


[skip ci]
2023-08-23 14:20:58 +05:30
Ankush Menat
11806c37a0 feat: error logs to include trace id 2023-08-23 14:20:24 +05:30
Ankush Menat
db90d4504e fix: let web servers set monitor trace id 2023-08-23 14:11:19 +05:30
Ankush Menat
59e49d89fe feat: include Trace ID in all SQL queries 2023-08-23 13:59:24 +05:30
mergify[bot]
fe820ae8c8
Merge pull request #22142 from barredterra/abs-pymodule-path
feat(DX): return absolute path
2023-08-23 05:40:38 +00:00
Raffael Meyer
6ea739e4cf
refactor(File): explicitly import utils (#22143) 2023-08-23 11:08:22 +05:30
Ankush Menat
04a13ca97c
fix: frappe.clear_cache should drop all keys (#22156)
We are dropping some keys which are hardcoded in function.

- this over time might be out of sync with rest of the code.
- other apps cache stuff too.

Best fix: just clear everything.
2023-08-23 11:02:45 +05:30
Rutwik Hiwalkar
04c8a54900
chore: remove unused import (#22157) 2023-08-22 23:36:31 +05:30
Ankush Menat
88c5c7546f
Merge pull request #22149 from ankush/email_queue_errors
fix: don't enqueue sendmail jobs
2023-08-22 21:29:15 +05:30
Sagar Vora
82b5dfec5c
Merge pull request #22148 from resilient-tech/fix-doc-label 2023-08-22 10:03:39 +00:00
Ankush Menat
89c0c1b07b fix: don't enqueue sendmail jobs
- sendmail just creates email queue, it should be done on the fly.
- if OutgoingEmailError occurs then skip all future ones.
2023-08-22 15:25:32 +05:30
Sagar Vora
29e5ad4fca fix: set correct document label in case doc is of type str 2023-08-22 15:24:26 +05:30
barredterra
158a6f8140 refactor: use get_app_path in get_module_list 2023-08-21 17:53:47 +02:00