Commit graph

30090 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
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
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
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 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
Nabin Hait
395caebd5a fix: init only existing single doctypes 2022-08-11 17:10:55 +05:30
Raffael Meyer
8d535115a0
Merge branch 'develop' into fix-js-perm 2022-08-11 12:57:40 +02:00
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
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
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
Ankush Menat
4c60aec7df
Merge pull request #17377 from phot0n/fix-ux-email-domain
refactor: Email Domain
2022-08-09 16:57:22 +05:30
gavin
1eec239a71
Merge pull request #16621 from gavindsouza/modules-refactor
refactor: frappe.modules
2022-08-09 16:28:10 +05:30
Raffael Meyer
769abcf4c4
fix: german translations (#17663) 2022-08-09 16:27:01 +05:30
Ankush Menat
d711c1fb7e
test: use FrappeTestCase for cleaning up state (#17768) 2022-08-09 16:26:40 +05:30
Himanshu
192aa7a9ab
chore: linter fixes 2022-08-09 11:53:21 +01:00
Himanshu
44c2a2e309
Merge branch 'develop' into merge_translated_doctypes 2022-08-09 11:50:32 +01:00
gavin
a14b38cc4e
Merge branch 'develop' into modules-refactor 2022-08-09 16:10:36 +05:30
Gavin D'souza
598359c684 test: Reset requirements for export_doc 2022-08-09 15:57:26 +05:30
phot0n
dc6be2de48 refactor: add handle_error decorator and cleanup server validations 2022-08-09 15:46:15 +05:30
Sagar Vora
c82b6e758e
Merge pull request #17681 from resilient-tech/fix-child-perm
refactor: improved child table permission check
2022-08-09 10:15:36 +00:00
mergify[bot]
cde6755aff
feat: Multilanguage sites: language selector only will show "enabled" languages and language default always will be System default (#17745) (#17766)
* feat: Select only enabled languages for "language selector", and use System Settings lang as default one

[skip ci]

(cherry picked from commit e5b8a47835d22b7834865324d30d796bb3031dd5)

Co-authored-by: Development for People <47140294+developmentforpeople@users.noreply.github.com>
2022-08-09 14:57:48 +05:30
phot0n
037746cddc feat(minor): fetch attachment_limit from get_max_file_size api 2022-08-09 14:49:18 +05:30