Commit graph

39284 commits

Author SHA1 Message Date
Ankush Menat
0686097de2
fix: get single doc using client.get (#17817) 2022-08-13 14:38:06 +05:30
Ankush Menat
8cdb8298e2
ci: include v14 in patch test (#17807) 2022-08-12 19:27:24 +05:30
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
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
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
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
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
Ankush Menat
b46ea3eb0b ci: concurrency group per even types
refer: https://github.com/frappe/erpnext/pull/31806
2022-08-09 17:07:51 +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
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
phot0n
f6c8c927d8 feat(minor): add connection link to email accounts in email domain 2022-08-09 14:49:00 +05:30
Ankush Menat
42debec094
Merge pull request #17756 from netchampfaris/sanitize-html-allow-data-attrs
fix(sanitize-html): allow all data-* attrs
2022-08-09 14:48:13 +05:30
Ankush Menat
28fc208b51 test: sanitize_html attributes behaviour 2022-08-09 14:47:18 +05:30
Gavin D'souza
ca1291f924 refactor: modules.utils
* indent de-indented is_virtual code block
* add typing, revert previous breaking changes
2022-08-09 13:39:23 +05:30
phot0n
dfbe25e1a2 refactor(minor): move out email domain validations to different methods
* used Timed mixins for incoming server validation to emulate things as close to email account
2022-08-09 13:35:02 +05:30
phot0n
ff0899e458 fix: consistent fieldnames and keep port alongside server field 2022-08-09 13:35:02 +05:30
phot0n
515fafd9a5 chore: add headline for letting users know about how email domain sets attributes 2022-08-09 13:34:59 +05:30