Commit graph

39252 commits

Author SHA1 Message Date
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
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
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
Gavin D'souza
287f33e0b1 fix(run-tests): Throw traceback with ctx variables 2022-08-08 16:06:41 +05:30
Gavin D'souza
208e33afa6 test: Add cleanup for generated files 2022-08-08 15:09:21 +05:30
gavin
90c5d4ca5b
chore: Update CODEOWNERS
[skip ci]
2022-08-08 13:25:59 +05:30
Gavin D'souza
624c308659 Merge branch 'develop' of github.com:frappe/frappe into modules-refactor 2022-08-08 12:27:11 +05:30
Ankush Menat
887d22cb1f
chore: rengerate yarn.lock (#17747)
yarn lock wasn't updated correctly in last package.json update which
causes failure during update

[skip ci]
2022-08-07 18:55:38 +05:30
Shariq Ansari
0ce7f44d45
fix: Webform Misc Fix (#17642) 2022-08-07 15:24:50 +05:30
Ernesto Ruiz
2101a2d576
chore: typo in comment on keyboard.js (#17742) 2022-08-06 13:06:42 +05:30
gavin
5385276547
Merge pull request #16748 from gavindsouza/refactor-oauth-tests
refactor: Oauth20 tests
2022-08-05 16:09:27 +05:30
gavin
2735d1c558
Merge branch 'develop' into refactor-oauth-tests 2022-08-05 15:37:41 +05:30
Gavin D'souza
e7a16135e0 fix: Setup test_client for each test 2022-08-05 15:12:52 +05:30
Gavin D'souza
7b149d4273 fix: Allow setting kwarg site for make_request test util 2022-08-05 13:54:58 +05:30
Gavin D'souza
b00ae8043f test: Set sid as client cookie instead of oauth payload 2022-08-05 12:25:04 +05:30
Sagar Vora
f9bfbfec98
perf: reduce DB calls made in get_fetch_values (#17671)
* perf: reduce DB calls made in `get_fetch_values`

* fix: ensure return value is same as before

* test: add test for `frappe.model.utils.get_fetch_values`
2022-08-05 11:52:37 +05:30
Gavin D'souza
832fbb6c85 chore: Remove dead imports 2022-08-05 11:39:39 +05:30
Gavin D'souza
65273ee828 Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests 2022-08-05 11:38:55 +05:30
Gavin D'souza
060498c3e4 test: Pass sid to requests to maintain a session 2022-08-05 10:41:13 +05:30
vishdha
9a50c30586 fix: add_user_permission with applicale_for arg set not updating in user permission 2022-08-05 00:27:38 +02:00
Ankush Menat
f6210e7c38
Merge pull request #17697 from ankush/ast_translate
feat: use babel to extract translation sources
2022-08-04 15:53:42 +05:30