Commit graph

4642 commits

Author SHA1 Message Date
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
Gavin D'souza
fe4702553c chore: Add typing 2022-08-12 12:53:24 +05:30
hrwx
b01929405d refactor: translatable doctypes 2022-08-05 21:38:10 +01:00
Gavin D'souza
65273ee828 Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests 2022-08-05 11:38:55 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Gavin D'souza
2933a06e80 Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests 2022-08-03 16:37:38 +05:30
Ankush Menat
2746ac6aea
Merge pull request #17719 from gavindsouza/trim-fat
chore: Minified DocType JSON notation from old verbose notation
2022-08-03 14:05:46 +05:30
Gavin D'souza
85e3ee9403 chore: Minified DocType JSON notation from old verbose notation 2022-08-03 12:22:03 +05:30
Gavin D'souza
750618ca7c fix: Re-raise original exception from tenacity's retry 2022-08-03 12:01:12 +05:30
Sagar Vora
61ec026712 refactor: improve frappe.only_for 2022-08-01 22:10:25 +00:00
Ankush Menat
2e85a49fd2
refactor: remove test doctype from core (#17598)
This was commited by mistake, instead of using the test doctype, create
it on demand for tests.
2022-08-01 19:05:13 +05:30
Shariq Ansari
c478673367
fix: allow to import time field (#17677) 2022-08-01 14:50:40 +05:30
gavin
c8749b2ddd
Merge pull request #17516 from ChillarAnand/file
fix: Check for file url before validating remote file
2022-07-28 15:53:52 +05:30
phot0n
a1ffcb37ee chore: remove payments fields from edit_profile, request_data & request_to_delete_data webforms 2022-07-26 23:17:05 +05:30
phot0n
f3473b059e chore: remove payment gateway and integration request doctype 2022-07-26 15:11:56 +05:30
mergify[bot]
249e647fc4
Merge pull request #17592 from nabinhait/notify-mentions
feat: Enable mentions and notify users from any text field
2022-07-23 14:12:38 +00:00
Shadrak Gurupnor
c38f79edd6
style: Fix import order 2022-07-23 19:23:05 +05:30
mergify[bot]
b718bfe6b8
Merge pull request #17482 from ChillarAnand/cleanup
refactor!: Removed parse package
2022-07-23 06:44:22 +00:00
Nabin Hait
ad1de51b0d
Merge branch 'develop' into notify-mentions 2022-07-22 17:39:58 +05:30
Ankush Menat
0f83e9e944
fix: correct import path
Co-authored-by: gavin <gavin18d@gmail.com>
2022-07-22 16:24:02 +05:30
Ankush Menat
e35671203c refactor: simplify virtual doctype example 2022-07-22 16:15:16 +05:30
Ankush Menat
d83712d553 feat: delete support for virtual doctypes from desk 2022-07-22 15:42:04 +05:30
Ankush Menat
4c877258f0 test: add tests for virtual doctype desk interactions 2022-07-22 15:34:54 +05:30
Nabin Hait
53c22b0493 feat: Enable mentions and notify users from any text field 2022-07-22 15:26:37 +05:30
gavin
7eb7ec2663
Merge branch 'develop' into cleanup 2022-07-22 15:10:34 +05:30
Gavin D'souza
9dba593a6e refactor: Add typing + comprehensions for readability 2022-07-22 15:09:39 +05:30
Gavin D'souza
ad90923801 test(communication): Add test for handling duplicate email signatures 2022-07-22 14:59:47 +05:30
Ankush Menat
e8efd64dbc refactor!: better API contracts for virtual doctype
Current APIs implement class methods as instance method, which is
problamamtic while implementing methods. E.g. If load_from_db doesn't
like empty docname then all class method will stop working.

This change while breaking is essential for usability of virtual
doctype.
2022-07-22 14:26:02 +05:30
Ankush Menat
b8d56eaefb chore: remove test doctypes from prod 2022-07-22 14:25:49 +05:30
Ankush Menat
e88bc35cae refactor: move is_virtual_doctype to relevant file 2022-07-22 14:25:48 +05:30
Shridhar
b2203893a1 fix: do not fetch comments from parent for virtual doctype 2022-07-22 14:25:48 +05:30
Ankush Menat
10da1622f4 fix: form view broken for virtual doctype 2022-07-22 14:25:48 +05:30
Sagar Vora
85a3837b14
fix: ensure 2FA patch sets parent only for 2FA keys (#17575)
* fix: ensure 2FA patch sets parent only for 2FA keys

* fix: try to rebuild defaults

* fix: set other app defaults as well

* fix: set POS profile defaults

* fix: exists params

* chore: remove unnecessary change

* fix: handle case where POS Profile doesnt exist

* chore: move erpnext code to erpnext
2022-07-21 13:04:47 +05:30
Ankush Menat
8a8f0a1c79
fix: replace incorrect validation on doctype links (#17561) 2022-07-20 17:51:45 +05:30
Suraj Shetty
8f48c4d943 fix: No need to check for permssion again while attaching a file 2022-07-20 08:24:49 +05:30
Ankush Menat
066d5a4245
Merge pull request #17528 from phot0n/mis-fixes-goauth
fix: misc fixes (google oauth)
2022-07-19 15:55:24 +05:30
Shariq Ansari
a50e0ffa08
refactor: Webform (#17232) 2022-07-19 15:52:15 +05:30
Ritwik Puri
0414d05ece
Merge pull request #17522 from phot0n/fix-page-not-created
fix: add default system manager role when changing from child to non-child table doctype
2022-07-18 18:17:03 +05:30
Ankush Menat
29c855b028
fix: db.get_value -> db.get_single_value (#17531)
db.get_value for singles returns string type always, this is confusing
behaviour, db.get_single_value should be used instead.

semgrep rule: https://github.com/frappe/semgrep-rules/pull/16
2022-07-18 15:10:49 +05:30
phot0n
1fd47f1c10 chore: remove unused no_remaining field from email account doctype 2022-07-18 10:53:27 +05:30
phot0n
404e9ab4e6 minor: add auto fetch for updating used_oauth field in User Email doctype
(when added a user email manually)
2022-07-18 10:53:27 +05:30
chillaranand
d7bb903212 refactor: Removed parse package 2022-07-18 09:43:03 +05:30
phot0n
ddbbc0ef8d fix: add default system manager role when changing from child to non-child table doctype 2022-07-15 19:16:14 +05:30
chillaranand
2e577aa64e fix: Check for file url before validating remote file 2022-07-14 19:15:02 +05:30
Suraj Shetty
bdb36f4c2d
Merge pull request #17515 from surajshetty3416/fix-inbound-notification-receivers
fix: Do not relay email to standard users
2022-07-14 18:32:45 +05:30
Suraj Shetty
0a41c4051c fix: Do not relay email to standard users
Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
2022-07-14 18:01:47 +05:30
Shariq Ansari
a8f86abbd8
refactor: Replaced blog's feedback with comment's comment_type='Like' (#17479) 2022-07-14 14:09:00 +05:30
Ankush Menat
99d3fe3893 fix(dark theme): background color on version page 2022-07-13 20:30:07 +05:30
uepselon
2791066bb2
fix: allow System Manager to reset OTP secret
* squashed: Change Admin based OTP reset to role based reset (System Manager)

* fix: show `Reset OTP Secret` button only if applicable

* chore: flatten code, use `only_for` API

Co-authored-by: Leonard Goertz <leonard.goertz@noventive.com>
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-07-13 19:35:41 +05:30
phot0n
da33f6e6d8 fix: remove fetch-from from user email for used_oauth 2022-07-13 12:05:46 +05:30