mergify[bot]
1df33cbfcf
Merge pull request #15975 from resilient-tech/fix-limit-without-filter
...
fix: limit without filter
2022-02-15 13:40:56 +00:00
mergify[bot]
b47a299f30
Merge pull request #15927 from gavindsouza/test_api-refactor
...
refactor: API Testing Suite
2022-02-15 12:23:56 +00:00
mergify[bot]
c961ea856b
Merge pull request #15931 from nextchamp-saqib/fix-load-more-btn
...
fix: load more button loads only 20 records at a time
2022-02-15 11:12:13 +00:00
gavin
f5afe4fd4a
Merge pull request #15972 from gavindsouza/virtual-docfield-fixes-0
...
fix(Virtual DocField): Misc fixes
2022-02-15 14:01:59 +05:30
Shariq Ansari
0ffd0d6c68
Merge branch 'fix-load-more-btn' of https://github.com/nextchamp-saqib/frappe into fix-load-more-btn
2022-02-15 13:49:18 +05:30
Shariq Ansari
81f4e2b009
test: UI test for list/report view paging
2022-02-15 13:47:20 +05:30
Pruthvi Patel
7ce9f1eaa1
fix: limit without filter
2022-02-15 13:06:55 +05:30
Gavin D'souza
a403934265
test(fix): Generate Note to ensure at least one exists
...
ref: Failing Postgres CI on https://github.com/frappe/frappe/runs/5186523978?check_suite_focus=true
2022-02-15 12:03:26 +05:30
Saqib Ansari
9e6889fc6d
Merge branch 'develop' of https://github.com/frappe/frappe into link_title_refactor
2022-02-15 10:12:52 +05:30
Ankush Menat
c38d1f8a25
Merge pull request #15906 from ankush/ignore_duplicates_db
...
feat(db/pg): ability to ignore pk collision
2022-02-14 18:58:07 +05:30
Suraj Shetty
abec0d8664
Merge branch 'develop' into link_title_refactor
2022-02-14 11:03:55 +05:30
mergify[bot]
04bf47f117
Merge pull request #14593 from gavindsouza/dynamic-docfields
...
feat: Virtual DocFields
2022-02-14 05:31:35 +00:00
Saqib Ansari
027fa61963
Merge branch 'develop' of https://github.com/frappe/frappe into link_title_refactor
2022-02-12 13:39:28 +05:30
Saqib Ansari
92aee42cf7
test: link titles are added to the doctype on getdoc
2022-02-12 13:01:35 +05:30
Saqib Ansari
de76ef6518
test: doctypes are added to link_title_map in boot_info
2022-02-12 13:01:06 +05:30
Gavin D'souza
19504d3908
test: Add tests for auth & run_method
2022-02-11 15:25:29 +05:30
Gavin D'souza
8b01c04a75
chore: Add type hints
2022-02-11 13:18:24 +05:30
Gavin D'souza
ced22e30f0
fix(test_api): Don't suppress debug query
2022-02-11 11:47:31 +05:30
Gavin D'souza
0a47cc0dcd
fix(test): Make requests to the QSGI app in separate threads
...
Did this to mimic how requests are handled in dev/prod servers - new
thread for new request ;)
2022-02-11 00:36:29 +05:30
Suraj Shetty
4fa20f862a
Merge pull request #15757 from nextchamp-saqib/fix-form-tour
2022-02-10 11:25:36 +05:30
Gavin D'souza
b264d67b9f
test(fix): Retain data apart from test_api tests
...
The tests in the TestResourceAPI Case destroy and re-build locals. This
may cause loss of data and make other tests flaky
2022-02-10 01:43:51 +05:30
Gavin D'souza
08279e30c9
fix: Use cls to specify class attrs and self for instance's
2022-02-10 01:31:08 +05:30
Gavin D'souza
7b4580d693
test(fix): Use FrappeAPITestCase for Method APIs case
2022-02-09 22:36:07 +05:30
Gavin D'souza
188373b1eb
refactor(test): Frappe REST Test Suite
...
* Use Werkzeug Test Client instead of requests
This change should start tracking coverage for the `api` module.
Committing to ensure state maintainence will not be necessary.
* Refactor get_test_client to reset locals on each request
* Separate FrappeAPITestCase to enable formation of a generic API testing engine.
2022-02-09 17:02:40 +05:30
Ankush Menat
d3f768fef9
feat(db/pg): ability to ignore pk colission
2022-02-09 16:25:36 +05:30
Rucha Mahabal
240665940f
fix: remove redundant test record deletions and resetting
2022-02-09 11:01:05 +05:30
Rucha Mahabal
78e606bd0f
Merge branch 'develop' into fix-naming-validation
2022-02-09 10:52:24 +05:30
Gavin D'souza
0482f1362a
Merge branch 'develop' of github.com:frappe/frappe into dynamic-docfields
2022-02-08 16:50:58 +05:30
kamaljohnson
cb25d894b4
refactor: code cleanup
2022-02-08 12:54:51 +05:30
kamaljohnson
84501c663e
fix: use new mocked_inbound_mail in test_email
...
- remove in_test block from production code
2022-02-08 08:33:09 +05:30
phot0n
266e1f95ed
chore: adding back idx column
...
This is needed for ordering in display of links as it keeps
track of the clicks on a particular link item
2022-02-07 16:40:01 +05:30
phot0n
f64b0eee46
test: child table creation and transitioning
2022-02-07 15:12:43 +05:30
phot0n
b31f3c24f6
refactor: remove parent, parenttype, parentfield, idx columns from non-child table doctypes
...
* feat: add parent, parenttype, idx, parentfield columns to doctypes when transitioning from normal -> child table
* fix: remove parent, parenttype, parentfield, idx from DocType DocType
2022-02-07 15:12:37 +05:30
Mohammad Hasnain Mohsin Rajan
4ff86e1d63
revert: "refactor: set amended docname to original docname" ( #15867 )
...
* Revert: "refactor: set amended docname to original docname"
80d111baf2 .
* test: test if amended doc has different name
2022-02-04 17:22:18 +05:30
Raffael Meyer
89922bae90
feat: utility methods for docstatus ( #15515 )
...
* feat: utility methods for docstatus
* refactor: use utility method for doctsatus
* refactor: enum for docstatus
* refactor: docstatus as property
* fix: set docstatus
* feat: docstatus extends int class
* test: docstatus of BaseDocument
* refactor: occurrences of docstatus
* fix: typo
* refactor: move docstatus to a separate file
* test: docstatus
* fix: sider
2022-02-04 07:41:25 +00:00
Suraj Shetty
ed048b97ea
Merge pull request #15847 from gavindsouza/timeutils-fixes
2022-02-03 16:31:32 +05:30
saxenabhishek
680eea0751
test: string values inside qb objects
...
case inside update queries needs a recursive call param wrapper got lost
2022-02-03 12:43:25 +05:30
Gavin D'souza
1b7fa5e180
fix(test): Update test according to API behaviour
2022-02-02 20:22:43 +05:30
Gavin D'souza
2b4cb2e1c7
test: Add tests for get_time, get_timedelta
2022-02-02 19:45:10 +05:30
Ankush Menat
5c17f9ad79
Merge pull request #15661 from gavindsouza/thumbnail-for-images
...
fix: Thumbnail for external images (from URL)
2022-02-02 12:21:06 +05:30
mergify[bot]
819202f5da
Merge pull request #15560 from gavindsouza/set_value-refactor
...
refactor: frappe.db.set_value
2022-02-02 06:41:58 +00:00
Gavin D'souza
8165cd2802
test: Add test for docfield.options virtual df usage
2022-02-01 19:00:10 +05:30
Gavin D'souza
bd89a9de86
Merge branch 'develop' of github.com:frappe/frappe into dynamic-docfields
2022-02-01 18:14:58 +05:30
mergify[bot]
e43cf12941
Merge pull request #15821 from ankush/missing_email
...
fix: communication missing from form timeline
2022-02-01 08:30:04 +00:00
Faris Ansari
8018923365
Merge pull request #15784 from netchampfaris/fix-request-args-transformation
...
fix!: remove unnecessary array transformation in request args
2022-02-01 13:48:47 +05:30
Faris Ansari
7ef9a2554c
test: web request with array values as params
2022-02-01 13:16:16 +05:30
Ankush Menat
3af8debbad
test: docinfo
2022-02-01 11:58:38 +05:30
Ankush Menat
da8c07d8fa
test: commented out lines in patches.txt ( #15818 )
2022-01-31 22:00:24 +05:30
Saqib Ansari
bd8ac90286
fix(ux): show report button on too many writes error ( #15614 )
...
* feat: log errors on too many writes to ease debugging
* fix(ux): extract and show which app/file/function caused too many writes
* fix: postgres error checking assumes exception is postgres exception
* fix: better default for skipping frames
Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.
* fix: postgres error checking assumes exception is postgres exception
* fix: better default for skipping frames
Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.
* refactor: show Report button instead of logging
* revert: unnecessary new functionality
* test: assert exact exception
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-01-31 18:57:32 +05:30
Rucha Mahabal
62331fcba3
test: validation for no name specified
2022-01-31 13:49:37 +05:30