Commit graph

39275 commits

Author SHA1 Message Date
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
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
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
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
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
Himanshu
c6e2ce3e42
Merge branch 'develop' into merge_translated_doctypes 2022-08-09 09:50:31 +01:00
Himanshu
b6281ffef6
chore: linter fixes 2022-08-09 09:49:21 +01:00
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
phot0n
0614c4098c chore: remove example email id field from email domain 2022-08-09 13:34:48 +05:30
phot0n
d5aa898151 chore: remove unnecessary autoname controller hook 2022-08-09 13:34:33 +05:30
phot0n
9fee012389 chore: remove unnecessary refresh event from email domain 2022-08-09 13:34:31 +05:30
phot0n
b31b99aaca fix(ux): email domain doctype 2022-08-09 13:34:11 +05:30
Sagar Vora
7a19d65ea4 chore: improve docstring 2022-08-09 12:14:26 +05:30
Sagar Vora
7129d6128f chore: lazier import; improved docstrings 2022-08-09 11:50:15 +05:30
Himanshu
1aa3f75d4c
feat: custom __link_options (#17699)
* feat: custom __link_optins

* chore: linter fixes

* test: add ui test for custom link option
2022-08-09 11:20:13 +05:30
hrwx
d9c3c03522 chore: set middle name as _Test User for admin 2022-08-08 22:06:59 +01:00
Himanshu
dffe396f1c
Merge branch 'develop' into merge_translated_doctypes 2022-08-08 16:21:02 +01:00
Ankush Menat
b263d7a724 fix: ignore forms without docs in realtime events 2022-08-08 19:30:08 +05:30
Ankush Menat
679e846707 fix: dont pass doc to tooltip formatter on reportview
This just doesn't exist. Also filtering doc by value makes no sense,
it's bound to be incorrect or misleading.
2022-08-08 19:30:08 +05:30
Faris Ansari
cafd2c920d fix(sanitize-html): allow all data-* attrs 2022-08-08 18:36:54 +05:30
Suraj Shetty
60b0f0d3aa
Merge pull request #17753 from frappe/remove-emoji-from-doctype 2022-08-08 17:51:21 +05:30
Suraj Shetty
6ef41e03e3 revert: Remove emoji from doctype
Use colored text instead
2022-08-08 17:10:34 +05:30