Commit graph

887 commits

Author SHA1 Message Date
Mohammad Hasnain Mohsin Rajan
ae5cf9c32c
chore: change missing_in_backup function docstring 2021-09-12 19:09:05 +05:30
Ankush Menat
049df53cd8
Merge branch 'develop' into ci_ubuntu_latest 2021-09-12 17:05:17 +05:30
Suraj Shetty
3aa569182a Merge branch 'fix-flaky-tests-3' of https://github.com/surajshetty3416/frappe into fix-flaky-tests-3 2021-09-08 11:45:19 +05:30
Suraj Shetty
4441eb7d90 test: Fix test_request_language_resolution_with_cookie 2021-09-08 11:45:15 +05:30
Suraj Shetty
14cca39a5e
Merge branch 'develop' into fix-flaky-tests-3 2021-09-07 20:34:59 +05:30
Suraj Shetty
8e9a46fff9 test: Miscellaneous fixes to avoid flaky tests 2021-09-07 19:57:57 +05:30
Abhishek Saxena
1d02d26a2b
Merge branch 'develop' into aks-fix-postgres 2021-09-07 17:42:03 +05:30
Your Name
74d6ed32d6 test: add frappe.db.add_index 2021-09-07 17:40:55 +05:30
Ankush Menat
b33b469aff
Merge branch 'develop' into ci_ubuntu_latest 2021-09-07 13:10:56 +05:30
mergify[bot]
cea341ccf5
Merge pull request #13594 from shariquerik/custom-doctype-webform-perm
fix: Webform Permission for custom doctype
2021-09-06 17:06:13 +00:00
Rushabh Mehta
d807e3b1e2 fix(minor): fix for aggregate functions, use special query 2021-09-06 09:11:58 +05:30
Rushabh Mehta
20dea90670 feat(minor): Packages! also cleanup of DocField and other minor fixes 2021-09-05 22:01:55 +05:30
Shariq Ansari
b20e543de9 test: test hook to get website_list_context 2021-09-03 16:55:44 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Ankush Menat
c663ab7d44
test: improve test failure message 2021-08-31 22:31:50 +05:30
Gavin D'souza
8e96d8d522 test: Add tests for str fieldstypes cast 2021-08-31 12:55:31 +05:30
Gavin D'souza
be72397bca test: Add tests for frappe.utils.data.cast 2021-08-30 18:51:36 +05:30
mergify[bot]
f27d3acc1f
Merge pull request #13367 from kennethsequeira/get-frmt
feat: add number format parameter in doc.get_formatted
2021-08-30 04:33:31 +00:00
Suraj Shetty
37d3555f1e
Merge pull request #13532 from shariquerik/date-field-validation-fix
fix: datetime field form validation
2021-08-30 10:01:28 +05:30
Suraj Shetty
2150049821
Merge branch 'develop' into get-frmt 2021-08-30 09:52:49 +05:30
mergify[bot]
739ce9563c
Merge pull request #14011 from mituldavid/img-processing-changes
refactor: Image cropping and optimization
2021-08-27 07:32:06 +00:00
Suraj Shetty
30a09490b5
Merge branch 'develop' into get-frmt 2021-08-27 11:12:27 +05:30
Mohammad Hasnain Mohsin Rajan
7ab7da5c65
fix: only enabled users in mentions (#14017)
* fix: only enabled users in mentions

* Update frappe/desk/search.py

Co-authored-by: gavin <gavin18d@gmail.com>

* test: add test cases to disallow disabled in mention

* test: pass roles as single values

* style: Remove extra space and line

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: gavin <gavin18d@gmail.com>
2021-08-27 05:09:40 +00:00
Suraj Shetty
0ad1779bc7
Merge branch 'develop' into date-field-validation-fix 2021-08-27 10:31:01 +05:30
MitulDavid
23c34183f3 test: Add tests for optimize_file 2021-08-25 17:17:39 +05:30
Gavin D'souza
380e9e7c08 fix(test): Add missing comma 2021-08-19 20:30:13 +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
Gavin D'souza
bf14e1f2b1 test: Add test for patch_query_execute 2021-08-12 18:37:05 +05:30
mergify[bot]
3dc9dfe0c7
Merge pull request #13842 from netchampfaris/safe-render-off
fix: ability to disable safe_render for template pages
2021-08-12 11:54:32 +00:00
mergify[bot]
29203416ad
Merge pull request #13904 from saxenabhishek/aks-style-qb
style: split qb.table into doctype and table
2021-08-11 05:24:34 +00:00
mergify[bot]
afd69729de
Merge pull request #13835 from MitulDavid/image-processing
feat: Image cropping and optimization
2021-08-10 05:16:08 +00:00
Leela vadlamudi
40362c0ac5
Merge pull request #13861 from leela/amended-doc-naming
refactor: set amended docname to original docname
2021-08-09 17:22:55 +05:30
leela
80d111baf2 refactor: set amended docname to original docname
Currently, whenever a document is amended it's name is set
to name-X(X is a counter) when amended again and so on. In this PR,
we have postfixed all cancelled document names with '-CAN' and new
cancelled documents gets a name as original_name-CANC-X.
so that amended docs can use the original name instead of name-X.
2021-08-09 14:59:07 +05:30
MitulDavid
11eefe3eee test: Add test for image cropping and optimization UI 2021-08-08 18:09:58 +05:30
Your Name
946243d511 style: split qb.table into doctype and table 2021-08-07 03:31:35 +05:30
Mitul David
4f86cdb8f8
Merge branch 'develop' into image-processing 2021-08-06 18:45:59 +05:30
MitulDavid
14fac949af test: Add test for optimize_image utility 2021-08-06 18:43:14 +05:30
Ankush
257723cb0a
feat: PythonExpression and Python option with syntax validation for Code field types (#13707)
* feat: `PythonExpression` and `Python` options for `Code` fields

* fix: check python expressions in assignment rule

* fix: replace server script syntax validation

* fix: validate condition in workflow transition

Add PythonExpression in Options.
2021-08-06 04:10:09 +00:00
Sagar Vora
0dec1f792a test: has_permission hook should call custom methods first 2021-08-05 11:52:31 +05:30
Suraj Shetty
99a04d24d1
Merge branch 'develop' into set-password 2021-08-04 16:57:26 +05:30
Faris Ansari
47a21fb9a7 test: db.commit to release lock 2021-08-04 16:29:22 +05:30
Suraj Shetty
81cada8b6e
Merge branch 'develop' into get-frmt 2021-08-04 14:20:21 +05:30
Faris Ansari
7a34c542c1 test: safe_render 2021-08-03 12:40:48 +05:30
Faris Ansari
fbd900aaff test: for set-password and set-admin-password 2021-08-02 15:28:25 +05:30
Gavin D'souza
29706e5d14 test: Update tests as per new lang resolution 2021-07-30 19:50:38 +05:30
saxenabhishek
42dc8a180f refactor: get_table_name, run_only_if 2021-07-30 11:48:12 +05:30
saxenabhishek
7671e78487 style: minor fixes and improvements 2021-07-30 11:29:41 +05:30
saxenabhishek
9423861c34 test: for db rename, change_column_type, describe 2021-07-30 11:29:23 +05:30
saxenabhishek
639b666a0d test: for qb builder classes 2021-07-30 11:00:35 +05:30
saxenabhishek
681d0ab995 test: for qb Match and GroupConcat 2021-07-30 11:00:35 +05:30