Deepesh Garg
cd9b07b3bb
test: Add test case for docfield length property update
2021-08-21 19:07:44 +05:30
Deepesh Garg
80be431478
Merge branch 'develop' of https://github.com/frappe/frappe into custom_doctype_length
2021-08-21 18:33:21 +05:30
Faris Ansari
399629da45
fix(ux): Disable button while executing script
...
- page.set_action will now pass the btn in the handler callback
2021-08-21 13:47:42 +05:30
Suraj Shetty
5587ab5a91
style: Fix liinter warnings
2021-08-20 23:54:42 +05:30
Suraj Shetty
9e4c8cc28e
chore: Remove commented text
2021-08-20 23:35:55 +05:30
Suraj Shetty
6f72e79f1a
test: Add more assertions for reset password
2021-08-20 22:35:01 +05:30
Suraj Shetty
9781fb758f
fix: Rate limiter to allow kwargs
2021-08-20 22:06:50 +05:30
gavin
d3f3df2ce1
Merge pull request #13984 from gavindsouza/newsletter-unset-autocommit
...
fix: Revert auto_commit after frappe.sendmail
2021-08-20 16:23:48 +05:30
gavin
3198ab8249
Merge pull request #13985 from gavindsouza/use-db_delete
...
refactor(minor): Use frappe.db.delete instead of frappe.db.sql queries
2021-08-20 16:21:13 +05:30
mergify[bot]
163568a0d4
Merge pull request #13868 from resilient-tech/feat-autoreloader-for-ipython
...
feat: autoreload for IPython
2021-08-20 07:39:13 +00:00
Komal-Saraf0609
de3050cd81
test: Corrected selectors and shorten them
...
(Using the added testing-library)
2021-08-20 12:47:51 +05:30
Suraj Shetty
988544427b
Merge pull request #13987 from surajshetty3416/fix-grid-data-input
2021-08-20 12:42:43 +05:30
Komal-Saraf0609
415279279a
Merge branch 'frappe:develop' into dashboard-links
2021-08-20 12:41:39 +05:30
Gavin D'souza
ed6533f737
fix: Use cast in favour of cast_fieldtype
...
Use newly introduced casting util for Python-Frappe types mapping
2021-08-20 12:37:15 +05:30
Gavin D'souza
a2cb9be7a4
feat: frappe.utils.data.cast
...
Cast the value to the Python native object of the Frappe fieldtype provided. If value is None, the first/lowest value of the `fieldtype` will be returned.
Mapping of Python types => Frappe types:
* float => ("Currency", "Float", "Percent")
* int => ("Int", "Check")
* datetime.datetime => ("Datetime",)
* datetime.date => ("Date",)
* datetime.time => ("Time",)
Deprecate frappe.utils.data.cast_fieldtype in favour of new util cast
which handles types "better"
2021-08-20 12:35:24 +05:30
Suraj Shetty
70f9f77df8
fix: Handle exception
2021-08-20 12:16:55 +05:30
Gavin D'souza
cb034e4c52
fix: Consistent return types in cast_fieldtype
...
Note: BREAKING CHANGE
2021-08-20 12:08:39 +05:30
Suraj Shetty
7103ec1b6c
Merge branch 'develop' into feat-autoreloader-for-ipython
2021-08-20 11:51:58 +05:30
Pruthvi Patel
09868c26a9
feat: add --autoreload flag
2021-08-20 11:41:41 +05:30
Gavin D'souza
623998c787
fix(db): Cast single dt field only if value is truthy
2021-08-20 11:05:03 +05:30
Suraj Shetty
ebcb3618cf
style: Add missing semicolons
2021-08-20 10:23:49 +05:30
Suraj Shetty
ff552d5d1d
perf: Reduce debounce delay
2021-08-20 10:02:44 +05:30
Suraj Shetty
32148cadc5
fix: Avoid input events for controls in grid
2021-08-20 09:58:23 +05:30
Suraj Shetty
228253289f
fix: Only select active numeric field after layout refresh
2021-08-20 09:55:26 +05:30
Suraj Shetty
0262210d1f
Merge branch 'develop' of https://github.com/frappe/frappe into core-test-coverage-1
2021-08-19 22:04:50 +05:30
Suraj Shetty
d92724dfba
test: Fix typo
2021-08-19 22:04:23 +05:30
Suraj Shetty
ed41602526
test: Add more assersions and minor refactor
2021-08-19 21:43:43 +05:30
Suraj Shetty
3acab8a7c7
test: Add test cases for unzip functionality
2021-08-19 21:40:12 +05:30
Suraj Shetty
36f698f0f8
fix: Unzip functionality
2021-08-19 21:38:57 +05:30
Komal-Saraf0609
f53622d21e
test: Deleted the file email_testing.js
2021-08-19 21:10:08 +05:30
Komal-Saraf0609
a8846d52df
test: Fixed sider issues
2021-08-19 21:04:02 +05:30
Komal-Saraf0609
533b0147b2
test: Fixed sider issues
2021-08-19 20:58:12 +05:30
Komal-Saraf0609
52e0f289c4
test: Corrected selector and shorten them
2021-08-19 20:52:35 +05:30
Gavin D'souza
b8f28fd28b
test(todo): Use doc.meta instead of doctype form
2021-08-19 20:47:27 +05:30
Komal-Saraf0609
96a1e57783
Merge branch 'frappe:develop' into folder-navigation
2021-08-19 20:44:14 +05:30
Komal-Saraf0609
8a6b8a5348
test: corrected selectors and shorten them
...
(using the newly added API's)
2021-08-19 20:41:31 +05:30
Komal-Saraf0609
3b2c76c52f
test: corrected the selectors and shorten them
...
(using the newly added API's)
2021-08-19 20:39:29 +05:30
Gavin D'souza
380e9e7c08
fix(test): Add missing comma
2021-08-19 20:30:13 +05:30
Komal-Saraf0609
f047a5517d
test: corrected the selectors and shorten them
...
(using the newly added API's)
2021-08-19 20:24:03 +05:30
Komal-Saraf0609
9fce3c6094
test: Added test cases for Email testing
2021-08-19 20:15:21 +05:30
Komal-Saraf0609
a881e85cb3
test: Fixed sider issues
2021-08-19 20:15:21 +05:30
Komal-Saraf0609
b7e42fdc91
test: Added test cases for folder navigation and checking if the nested folder contains the added file
2021-08-19 20:15:20 +05:30
Gavin D'souza
4df118906f
fix: Run test skipped earlier due to missing indent
2021-08-19 20:10:11 +05:30
Gavin D'souza
32c6cf1c44
refactor(misc): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the pending modules that had relatively easier
DELETE statements.
2021-08-19 19:53:16 +05:30
Gavin D'souza
ebc220db39
refactor(tests): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the tests written under the doctype specific
tests
2021-08-19 19:50:48 +05:30
Gavin D'souza
c00a5003f4
refactor(tests): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql
;)
This commit focuses on the frappe.tests module
2021-08-19 19:48:42 +05:30
Suraj Shetty
07906594e3
test: Fix failing test
2021-08-19 19:33:37 +05:30
Gavin D'souza
6b789ec53a
fix: Revert auto_commit after frappe.sendmail
2021-08-19 18:44:36 +05:30
Suraj Shetty
133be72dfd
fix: Do frappe.db.commit() only for GET request
2021-08-19 18:21:40 +05:30
mergify[bot]
4cbf2c40e6
Merge pull request #13958 from ankush/pw_reset
...
fix: broken template in password reset
2021-08-19 12:46:29 +00:00