Commit graph

5850 commits

Author SHA1 Message Date
Ankush Menat
92b1b99452 fix: include creation/modified timestamp 2023-08-10 11:52:42 +05:30
Ankush Menat
037f58239f refactor: code cleanup and fix filters
- rename recorder.get
- move unused methods below
- fix "like" filter
- move filters out to separate function
- revert doctype change
2023-08-10 11:52:34 +05:30
Ankush Menat
f7a62bc6dd fix: Add all HTTP methods 2023-08-10 11:04:30 +05:30
Ankush Menat
3bda258784 fix: fast primary button switching 2023-08-10 10:53:58 +05:30
Ankush Menat
bc3946002d fix(DX): enable realtime refresh on recorder listview 2023-08-10 10:36:41 +05:30
gavin
453690ecc0
fix(types): Exporter unconditionally marks fields as Nullable (#21997)
* fix(types): Exporter unconditionally marks fields as Nullable

* fix: correct fieldtype names

* fix: table multi-select type annotations

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-08-10 10:18:10 +05:30
Ankush Menat
58568115a9
Merge pull request #21955 from barredterra/refactor-with-sourcery
refactor: run sourcery on all files
2023-08-10 10:11:20 +05:30
Ankush Menat
b9993a303b
Merge pull request #21898 from frappe/mergify/bp/develop/pr-21722
fix: allow connections with both internal and external links in dashboard (backport #21722)
2023-08-09 19:47:23 +05:30
marination
261fb27e38 fix: Correct value for guess_type and empty sample attachments 2023-08-09 18:13:06 +05:30
anandbaburajan
fde516b06f chore: use new_doctype for creating test doctypes 2023-08-09 16:57:32 +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
Ankush Menat
4a476217f2
Merge pull request #21971 from frappe/fix-perm-query-help
fix(ServerScript): use f-string in permission query help html
2023-08-09 16:12:24 +05:30
Suraj Shetty
c0f9e8d54f
fix: ignore_user_type can be applied by System User (#21990) 2023-08-09 16:08:14 +05:30
Ankush Menat
20c2ce8d29 fix: disable activity log global search
has millions of record that don't need to be searched
"globally"

[skip ci]
2023-08-09 15:18:50 +05:30
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
marination
ea4dbedbab fix: Use File URL to set file type as File Name is not reliable 2023-08-08 20:11:00 +05:30
Gursheen Anand
1dd07d8256 test: crud with virtual child table 2023-08-08 16:22:59 +05:30
Gursheen Anand
e484a578d0 test: allow parent and child docs of same type 2023-08-08 16:21:01 +05:30
Hussain Nagaria
60d20b4d22 fix(ServerScript): use f-string in permission query help html 2023-08-08 15:02:36 +05:30
Gursheen Anand
03637066b0 fix: filter and sort list view 2023-08-07 18:26:48 +05:30
Gursheen Anand
b33ac8e74c fix: show idx for stack trace 2023-08-07 18:25:20 +05:30
Ankush Menat
f6326b6145
fix: check before deleting prepared report (#21950) 2023-08-07 14:00:34 +05:30
Sagar Vora
b385fae2dc test: use unique IP to prevent future conflict with other tests 2023-08-07 13:49:52 +05:30
Sagar Vora
e877d926eb
test: set request_ip when testing reset_password (#21937)
* test: set `request_ip` when testing `reset_password`

* test: increase rate limit temporarily while testing `reset_password`
2023-08-07 11:37:23 +05:30
Raffael Meyer
4fae798ad1
fix: check file permission before zipping (#21934) 2023-08-06 17:21:22 +05:30
Sagar Vora
e588f2d70b
Merge pull request #21928 from resilient-tech/fix-rate-limiter 2023-08-05 17:38:08 +00:00
Sagar Vora
2b96324c31
fix: rate limit for all HTTP methods (#21929) 2023-08-05 22:32:55 +05:30
Gursheen Anand
75861fa321 fix: indicators and primary btn in listview 2023-08-05 17:40:48 +05:30
Gursheen Anand
81b5b72f00 feat: add js for rendering html fields 2023-08-05 17:36:16 +05:30
Gursheen Anand
6fc9cbcdcd feat: add html fields for stack trace and sql explain 2023-08-05 17:06:22 +05:30
Gursheen Anand
379b90550d fix: remove redundant fns from recorder request 2023-08-05 17:02:36 +05:30
Sagar Vora
773cefea69 test: specify args or kwargs instead of frappe.form_dict 2023-08-05 14:14:03 +05:30
Ankush Menat
2ed85ca9f2 refactor: check license names before sending text
File might not exist.
2023-08-05 11:15:58 +05:30
barredterra
f7384b469c refactor: add type hints to add_attachments 2023-08-04 00:53:15 +02:00
barredterra
a356e49f42 chore: update docstings 2023-08-04 00:42:48 +02:00
barredterra
617e5551e7 fix: use None as default for attachments
Instead of "[]" to avoid useless JSON parsing.
2023-08-04 00:37:05 +02:00
barredterra
8d6480df1c Merge remote-tracking branch 'upstream/develop' into refactor-attach-print 2023-08-04 00:25:09 +02:00
Gursheen Anand
75d7fcb181 feat: add child table for sql queries 2023-08-03 12:57:34 +05:30
Gursheen Anand
44c6145373 feat: add child table for recorder requests 2023-08-03 12:56:18 +05:30
Gursheen Anand
d6ab900f2a feat: allow virtual child tables 2023-08-03 11:55:19 +05:30
Raffael Meyer
fa73d5ea03
perf(dx): let developers know that they need to enable index on links (#21745)
* perf: enable indexing for dashboard links

* style: format with black

* fix: nudge index, don't enable

Many edge cases which can't be checked on-the-fly. Best to just notify
developer that they should enable indexing.

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-08-03 11:39:59 +05:30
Suraj Shetty
21b1b4bdb5
Merge branch 'develop' into attachments-access 2023-08-02 14:39:17 +05:30
Suraj Shetty
672835d7a9 fix: Show "View File" in the sidebar of file doc 2023-08-02 10:20:25 +05:30
Suraj Shetty
a7be8ccff2 Merge remote-tracking branch 'upstream' into fix-image-compression 2023-08-02 10:13:52 +05:30
Suraj Shetty
5ebe28b454 feat: Add formatter for "File Size" 2023-08-02 10:13:27 +05:30
barredterra
93fd7b25e4 test: add_attachments to communication 2023-08-01 18:46:31 +02:00
Corentin Flr
2c92043998
fix(doctype): Allow cached_property decorator in controllers (#21881) 2023-07-31 21:40:53 +05:30
David Arnold
fddd3b24f7
test: skip tests on RO app paths which require write access (#21878) 2023-07-31 12:46:23 +05:30
niraj gautam
d08ee0284d
fix: Delete module folder on Module Def deletion (#21857)
* fix: Delete module folder on Module Def deletion

* fix: Check if folder exists before removal

* fix: Make use of frappe function to delete folder

* fix: Indentation

* fix: Update linting
2023-07-31 11:39:04 +05:30
mergify[bot]
74899f510a
Merge pull request #21378 from dvdl16/feature/force-web-capture-setting
feat: setting for force web capture mode for camera uploads
2023-07-31 05:41:48 +00:00