Commit graph

954 commits

Author SHA1 Message Date
Aradhya
7faa843e97 feat: Added distinct in get_value 2021-12-17 15:01:24 +05:30
Aradhya
e1360a3770 test: Added tests for distinct in get values 2021-12-17 13:45:57 +05:30
Suraj Shetty
e8ced74901
Merge branch 'develop' into aks-feat-sanitise_qb_2 2021-12-12 10:16:26 +05:30
saxenabhishek
07ee1bdc0c test: ConstantColumn 2021-12-10 12:30:19 +05:30
saxenabhishek
aa855afe08 test: test for patches through walk 2021-12-06 14:32:58 +05:30
Aradhya
e862ae83da fix: fixed list of Field objects as fields in get_values
tests: added test for list of field objects
2021-12-03 14:24:19 +05:30
Suraj Shetty
615db9b55e style: Fix sider alerts 2021-11-28 09:44:05 +05:30
Suraj Shetty
63f318cbd1
Merge branch 'develop' into refactor-linked-with 2021-11-28 09:37:30 +05:30
mergify[bot]
55103a92e6
Merge pull request #14987 from Aradhya-Tripathi/at/queries
refactor: moving raw queries to frappe ORM
2021-11-26 16:20:04 +00:00
Gavin D'souza
0657524888 refactor: Retire color in favour of click.secho
* Add type hints for Command test suite
* Remove support utils - dead code
2021-11-25 12:49:43 +05:30
mergify[bot]
a6e3d3ab08
Merge pull request #14555 from ankush/diffview
feat: diffview for client/server scripts
2021-11-24 01:45:53 +00:00
Aradhya
59f54aa60c refactor: changed default_ordering to keep_default_ordering 2021-11-23 15:26:15 +05:30
Aradhya
9ccf467acb fix: fixed no order arg in converted queries 2021-11-23 13:30:42 +05:30
mergify[bot]
41fc11f0bf
Merge pull request #14514 from dgerhardt/naming-series-calendar-week
feat: add consecutive calendar week (WW) for naming series
2021-11-23 05:54:20 +00:00
ritwik
5cfe3ad946
feat: add no-git option in make-app command and boilerplate generation (#15028) 2021-11-23 04:11:06 +00:00
mergify[bot]
48be7257f9
Merge pull request #15017 from ankush/event_data_type
fix: change Event subject data type from Data to Text
2021-11-22 04:18:37 +00:00
Daniel Gerhardt
16dca0b1c1 feat: add consecutive calendar week (WW) for naming series
The calendar week is based on ISO 8601 but behaves slightly different
for the first and last days of a year to ensure consecutiveness:

* If the first days of a year would be in week 53 then 00 is used
  instead.
* if the last days of a year would be in week 01 then 53 is used
  instead.

Closes #14413
2021-11-18 17:52:36 +01:00
Aradhya
d37aa55607 fix: fixed merged conflicts 2021-11-18 18:13:10 +05:30
mergify[bot]
a59c37465f
Merge pull request #14967 from Aradhya-Tripathi/at/fixes
fix: fixed list filters in get_values
2021-11-18 12:05:58 +00:00
Ankush Menat
abebd29ef4 test: fix expected failing test 2021-11-18 17:16:20 +05:30
Ankush Menat
3ee9c0492a
test: print view should not show warning/errors (#14972) 2021-11-17 19:40:38 +05:30
Aradhya
a3c992bce4 fix: fixed order in get_values tests 2021-11-16 23:41:23 +05:30
Aradhya-Tripathi
41f285b13e feat: Added test cases for get values 2021-11-14 21:46:06 +05:30
Ankush Menat
18ba79222c test: unit tests for diff.py utils 2021-11-09 18:40:51 +05:30
Aradhya-Tripathi
97f85c88e2 feat: Added tests for Criterion objects in get_value 2021-11-08 15:57:06 +05:30
Suraj Shetty
3b276df7c1
Merge branch 'develop' into refactor-linked-with 2021-11-03 11:13:53 +05:30
Gavin D'souza
9be8a0895d Merge branch 'develop' into between-formatting 2021-10-29 13:13:55 +05:30
mergify[bot]
80345e4206
Merge pull request #14526 from surajshetty3416/fix-has-permission-for-child-doc
fix: Check parent permission while doing `has_permission` for child
2021-10-28 10:08:50 +00:00
Suraj Shetty
4e6ea8fdbd fix: Docstring of has_permission & made error title translatable
- doctype -> DocType
- fixed other typo
2021-10-28 15:25:45 +05:30
Suraj Shetty
26dfdf5c11 test: Update tests 2021-10-28 11:18:36 +05:30
Gavin D'souza
c1db7649eb test: Delete from Access Log before each website test
This should fix flaky test_printview_page which fails due to name
collision while creating access log documents
2021-10-27 14:37:19 +05:30
Suraj Shetty
3b92971a8e test: Update test case 2021-10-27 13:53:08 +05:30
Suraj Shetty
64822df6ff
Merge branch 'develop' into fix-has-permission-for-child-doc 2021-10-27 13:07:44 +05:30
Suraj Shetty
68cf640545 test: Test child table permission 2021-10-27 13:00:16 +05:30
mergify[bot]
92c60983cc
Merge pull request #14463 from ankush/fuzzy_website_search
feat: allow fuzzy search in website search
2021-10-25 06:57:33 +00:00
mergify[bot]
4e3547fd08
Merge pull request #14552 from Aradhya-Tripathi/at/query/fix
fix: set_value takes for_update for pypika objects
2021-10-25 06:04:48 +00:00
Ankush Menat
56f5b3d1f3 test: make global search tests less flaky 2021-10-24 14:46:02 +05:30
Aradhya-Tripathi
d6b9781163 feat: Added test to assert lock for pypika objects 2021-10-23 15:08:28 +05:30
Gavin D'souza
f08faf151c test(website): Clear db.value_cache on tearDown 2021-10-22 18:18:14 +05:30
Mohammad Hasnain
08ac2eda0a Merge branch 'develop' into between-formatting 2021-10-20 19:37:43 +05:30
Mohammad Hasnain
d7b7afeb14 fix: format between for creation/ modified 2021-10-19 16:18:21 +05:30
Sagar Vora
5c86dc80c7
fix: if_owner constraint being applied wrongly (#14471)
* fix: `if_owner` constraint being applied wrongly

* test: check if owner on `frappe.get_list`

Co-authored-by: Pruthvi Patel <pruthvipatel145@gmail.com>
2021-10-19 15:03:17 +05:30
gavin
a52decf308
Merge pull request #14481 from saxenabhishek/aks-feat-semgrep-sql
ci: semgrep rule for db.sql
2021-10-19 13:50:03 +05:30
Gavin D'souza
a575cff8a7 fix: Retry flaky test_printview_page if errored 2021-10-19 12:35:55 +05:30
Ankush Menat
35b242fe27
test: remove app unit tests 2021-10-12 17:33:29 +05:30
Suraj Shetty
05231f97f8
Merge pull request #14424 from frappe/fix-group-by-child-table-field 2021-10-12 14:20:36 +05:30
Suraj Shetty
18df0b0f8c test: Fix test 2021-10-12 13:46:06 +05:30
Suraj Shetty
74ec9657da test: Update aggregation test 2021-10-12 13:36:30 +05:30
Suraj Shetty
8febefae9c test: Add test case to validate aggregation
- based on child table field
2021-10-12 12:05:05 +05:30
Suraj Shetty
c6538cf318
Merge branch 'develop' into discussions-single-topic 2021-10-12 11:41:04 +05:30