Commit graph

39313 commits

Author SHA1 Message Date
Ankush Menat
5007adb2b2
Merge branch 'develop' into stable_coverage_submission 2022-08-13 23:22:03 +05:30
Ankush Menat
4bbe6e52ee
Merge pull request #17821 from resilient-tech/fix-client-get-2
fix: default `filters` to `undefined` instead of `null`
2022-08-13 23:21:47 +05:30
Ankush Menat
c5a514055e ci: dont fail silently and wait for coverage 2022-08-13 22:50:22 +05:30
Ankush Menat
936c073d23 Revert "ci: Only upload server-side coverage report if .py files are changed"
partially reverts this PR https://github.com/frappe/frappe/pull/16048

This is causing random fluctations.
2022-08-13 21:30:42 +05:30
Ankush Menat
eab85fc291 ci: stablilize coverage tracking 2022-08-13 21:30:40 +05:30
mergify[bot]
21a45dab1c
Merge pull request #17741 from hrwX/merge_translated_doctypes
refactor: translatable doctypes
2022-08-13 12:21:32 +00:00
Raffael Meyer
a7633738ea
Merge branch 'develop' into merge_translated_doctypes 2022-08-13 14:03:32 +02:00
mergify[bot]
096cd9a46e
Merge pull request #17816 from resilient-tech/fix-df-mutation
fix: dont mutate `df` when creating custom fields
2022-08-13 11:06:03 +00:00
Sagar Vora
7545bf2219 fix: default filters to undefined instead of null 2022-08-13 14:53:41 +05:30
Ankush Menat
0686097de2
fix: get single doc using client.get (#17817) 2022-08-13 14:38:06 +05:30
Sagar Vora
e3d581afdf fix: dont mutate df when creating custom fields 2022-08-13 12:57:03 +05:30
hrwx
42a3fe0fa2 chore: remove untranslated matching 2022-08-12 17:04:37 +01:00
Himanshu
fc325a57ff
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 16:51:29 +01:00
Ankush Menat
8cdb8298e2
ci: include v14 in patch test (#17807) 2022-08-12 19:27:24 +05:30
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
gavin
bfef20752a
Merge pull request #17810 from gavindsouza/cov-tests-2
test: Update coverage exclusions
2022-08-12 13:39:07 +05:30
Gavin D'souza
96ed06f1f3 test: Add test for config module 2022-08-12 12:54:00 +05:30
Gavin D'souza
fe4702553c chore: Add typing 2022-08-12 12:53:24 +05:30
Gavin D'souza
91a47c2602 fix: Deprecate setup help database APIs
APIs have been unused since ~v4/6? Don't see any need to keep them in.
2022-08-12 12:52:19 +05:30
Gavin D'souza
a84a67482f fix: Exclude 'tested' files from coverage 2022-08-12 12:50:31 +05:30
gavin
93216fc542
Merge pull request #17804 from gavindsouza/cov-tests
test: Added tests for missing utils
2022-08-12 11:02:46 +05:30
Gavin D'souza
fca29b8f19 test: Add tests for Identicon & gravatar utils 2022-08-11 23:53:21 +05:30
Gavin D'souza
a428c73a90 refactor: Itenticon
* Use later updated library code (fixes bug) from existing vendored dependency
* Update attributions.md
* Simplify usage in get_gravatar
2022-08-11 23:53:21 +05:30
Gavin D'souza
3968c32fa9 test: Add test for lazy_import 2022-08-11 23:53:21 +05:30
Gavin D'souza
605e5a3010 refactor: make_random
* Simplify logic
* Add typing
2022-08-11 23:53:21 +05:30
Gavin D'souza
8d19a815b3 refactor: bench_helper
* Walrus operators ftw
* Pathlib to reduce verbose path joins crie
* Added typing for sanity
2022-08-11 23:53:21 +05:30
Gavin D'souza
0b15f8f9db test: Add tests for make_random module 2022-08-11 23:53:21 +05:30
Gavin D'souza
cfba07df07 test: Add test for bench_helper module 2022-08-11 23:53:21 +05:30
Shariq Ansari
14bcd977b5
feat: Webform Success Page and some customization options (#17790) 2022-08-11 21:18:51 +05:30
Himanshu
1bdfd0176a
Merge branch 'develop' into merge_translated_doctypes 2022-08-11 13:50:11 +01:00
Himanshu
2aa140d4c3
chore: set correct translation for ui tests
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2022-08-11 13:47:21 +01:00
mergify[bot]
aa313896e4
Merge pull request #17801 from nabinhait/installer-fix
fix: init only existing single doctypes
2022-08-11 11:56:20 +00:00
Nabin Hait
395caebd5a fix: init only existing single doctypes 2022-08-11 17:10:55 +05:30
mergify[bot]
f9c23393e5
Merge pull request #17620 from alyf-de/fix-js-perm
fix: pass doc to get_perm
2022-08-11 11:01:33 +00:00
Raffael Meyer
8d535115a0
Merge branch 'develop' into fix-js-perm 2022-08-11 12:57:40 +02:00
Ankush Menat
3cf36c9616
ci: remove duplicate checks from mergify 2022-08-11 13:13:57 +05:30
Ernesto Ruiz
ec2bcda440
feat: add button in calendar view list to show calendar (#17778)
* feat: add button in calendar view list to show calendar

* style: format JS

* chore: linting

Co-authored-by: gavin <gavin18d@gmail.com>
2022-08-11 13:10:30 +05:30
Himanshu
608e8d7b46
Merge branch 'develop' into merge_translated_doctypes 2022-08-10 22:44:11 +01:00
Shariq Ansari
f51948934f
fix(patch): update multi step webform's Section Break fields to Page Break (#17797) 2022-08-11 02:45:26 +05:30
Himanshu
e68aac866f
Merge branch 'develop' into merge_translated_doctypes 2022-08-10 18:49:04 +01:00
P-Godfroid
62420f78ae
fix: update append_to misleading message in email account (#17718)
* chore: remove append_to field from email domain doctype

* minor: add incoming and outgoing server fields to list view

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
2022-08-10 21:50:00 +05:30
Ankush Menat
ec84b807b3
Merge pull request #17792 from gavindsouza/log-mogrified-query-mariadb
fix(mariadb): Log mogrified query
2022-08-10 21:38:31 +05:30
Gavin D'souza
73994e3b46 refactor(minor): PY310+ API Usages 2022-08-10 19:34:52 +05:30
Gavin D'souza
22f79d735b fix: raise ImplicitCommitError instead of bare exception 2022-08-10 18:45:17 +05:30
Gavin D'souza
b13298d69c fix(db): Log mogrified queries
Prior to this, queries passed to `frappe.db.sql` with values looked like:

"SELECT `defkey`,`defvalue` FROM `tabDefaultValue` WHERE `parent`=%(param1)s ORDER BY `creation`"

Now, they'll look "normal" or built like:

"SELECT `defkey`,`defvalue` FROM `tabDefaultValue` WHERE `parent`='__global' ORDER BY `creation`"
2022-08-10 18:31:44 +05:30
Shariq Ansari
cfb56688e9
refactor: Multi Step Web Form (#17783) 2022-08-10 18:05:20 +05:30
Himanshu
85467b3e96
Merge branch 'develop' into merge_translated_doctypes 2022-08-09 15:16:49 +01:00
Ankush Menat
cadbf91c58
Merge pull request #17774 from ankush/lazy_images_xss
refactor!: drop lazy loading utility
2022-08-09 18:50:52 +05:30
Ankush Menat
5d4e1e66b8 refactor!: drop lazy loading utility
Browsers now natively support this with `lazy` attribute.
2022-08-09 18:15:14 +05:30
Ankush Menat
ce164d59e3 fix: limit allowed attributes for lazy images
Co-Authored-by: Sagar Vora <sagar@resilient.tech>
2022-08-09 17:59:45 +05:30