Commit graph

43144 commits

Author SHA1 Message Date
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
barredterra
8971709655 feat: return absolute site path 2023-08-21 17:53:10 +02:00
barredterra
41b0308951 refactor: use higher level get_app_path
It's just nicer to read; less mental load.
2023-08-21 17:15:45 +02:00
barredterra
8cfee4dfe2 feat: return absolute pymodule path 2023-08-21 17:13:35 +02:00
Raffael Meyer
8f7a4f6697
Merge pull request #21873 from blaggacao/dont-exceed-python-module-boundary 2023-08-21 17:10:27 +02:00
Raffael Meyer
8f1c083857
Revert "chore: typo" (#22139)
This reverts commit 3784ce8507.
2023-08-21 18:56:48 +05:30
ruthra kumar
08d5b59778
refactor: filter on name while fetching custom column (#22133) 2023-08-21 15:05:10 +05:30
Himanshu Shivhare
3784ce8507
chore: typo
typo fix

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-08-21 14:43:48 +05:30
Shariq Ansari
769fa08a00
Merge pull request #22134 from shariquerik/create-doctype-with-meta 2023-08-21 13:30:45 +05:30
Ankush Menat
85ca83ae45 Revert "feat: allow re-running patches in developer mode"
This reverts commit 3bbe4498a0.
2023-08-21 13:06:42 +05:30
Ankush Menat
8ddde056a0 fix: dont allow NamedExpr in safe_eval 2023-08-21 12:42:21 +05:30
Ankush Menat
fd740b780b fix: use vanilla eval 2023-08-21 12:09:45 +05:30
Ankush Menat
eede56d5df fix: dont allow writes to live objects 2023-08-21 12:04:55 +05:30
Shariq Ansari
05adc0b777 fix: Unable to create doctype using 'Copy To Clipboard' 2023-08-21 12:01:56 +05:30
Ankush Menat
1c15c556d4 test: add more safe_eval tests 2023-08-21 11:59:53 +05:30
Ankush Menat
f449262050 fix: allow dict access and unpacks 2023-08-21 11:59:53 +05:30
Ankush Menat
14b62d7ff1 fix: correct getattr implementation for safe_eval 2023-08-21 11:59:53 +05:30
Ankush Menat
3531f58b54 refactor: unify safe_exec and safe_eval code
A lot of duplication was present for this code.
2023-08-21 11:59:53 +05:30
mergify[bot]
d6d82eb581
Merge pull request #22110 from resilient-tech/perf-as_dict-2
perf: undo regression in `as_dict` performance
2023-08-21 06:10:54 +00:00
mergify[bot]
2a086cf9c6
Merge pull request #22128 from resilient-tech/unsafe-attrs-jinja
fix: disallow unsafe attrs in jinja env
2023-08-21 04:55:53 +00:00
Sagar Vora
01c269726f fix: disallow unsafe attrs in jinja 2023-08-20 22:26:19 +05:30