Commit graph

37772 commits

Author SHA1 Message Date
Gavin D'souza
760974a050 style(README): Fixed inconsistent whitespaces 2022-04-28 14:52:42 +05:30
Gavin D'souza
b1effcab4b docs: Removed whitespace from Try on FC button 2022-04-28 14:52:29 +05:30
gavin
b64d10a5ee
docs(README): Add PWD button for Frappe (#16790)
Clicking on the button will take you to Play with Docker site which will
give you a new vanilla Frappe site to test and play around with for 3 hours

PWD File from https://github.com/gavindsouza/install-scripts/blob/main/frappe/pwd.yml
Related ERPNext PR: https://github.com/frappe/erpnext/pull/30817
2022-04-28 14:14:09 +05:30
Ritwik Puri
d1423f1517
test: use data fieldtype instead of int in test_fieldname_starting_with_int (#16771)
* fix(test): use data fieldtype instead of int

postgres doesn't allow using like operator on int/any non-text/varchar column
ref: https://github.com/frappe/frappe/issues/16722

* minor: updated test_fieldname_starting_with_int with child table filters
2022-04-28 13:46:09 +05:30
Rushabh Mehta
926ceb3b25
Merge pull request #16789 from nidhipurohit11/link_field
Modified condition for cypress >> Link field dropdown selection
2022-04-28 12:07:56 +05:30
Nidhi Purohit
bc5ab839da Added condition for cypress >> Link dropdown selection 2022-04-28 11:54:36 +05:30
Aditya Hase
672bd8a523
fix: Update links to Frappe Cloud (#16788) 2022-04-28 11:05:50 +05:30
Suraj Shetty
ccc82e2c4c
Merge pull request #15538 from noahjacob/phone_field_control
feat: Phone Control Type
2022-04-28 10:27:52 +05:30
Max Solanki
88992c6686
fix: console error while using TAB shortcut in grid (#16701) 2022-04-27 17:08:26 +05:30
Ankush Menat
9bec3480ed
ci: failfast in case of conflicts (#16777) 2022-04-27 14:25:45 +05:30
gavin
f4394f124a
Merge pull request #16715 from ChillarAnand/v3.11
refactor!: Remove wrapt package
2022-04-27 12:28:13 +05:30
Suraj Shetty
b9231d6d5c
Merge pull request #16774 from surajshetty3416/fix-newsletter 2022-04-27 12:06:42 +05:30
Suraj Shetty
423a0ac731
Merge pull request #16778 from saurabh6790/payment-envent-in-server-script 2022-04-27 12:04:36 +05:30
Saurabh
834706e33b chore: add missing doc event type 2022-04-27 11:45:34 +05:30
chillaranand
a9492ba5fa refactor: Remove wrapt package
Also replaced inspect.getfullargspec with inspect.signature to
preserve signature of a decorated functions.
2022-04-27 11:36:07 +05:30
Raffael Meyer
274d5e69ee
feat: add default date and time format for Germany (#16772) 2022-04-27 10:56:58 +05:30
gavin
af949bc36f
Merge pull request #16773 from alyf-de/refactor-sync-fixtures
refactor: Sync fixtures
2022-04-27 10:54:31 +05:30
Ankush Menat
b714dbb190
fix: dont throw error for a bad translation (#16769) 2022-04-27 10:49:56 +05:30
Suraj Shetty
2c4773ff44 fix(newsletter): Pass parent instead of parentfield
while getting successful recipients of a newsletter
2022-04-27 09:48:17 +05:30
barredterra
8f53a039a6 refactor: Sync fixtures 2022-04-26 23:43:07 +02:00
Tom-Finke
0334936449
fix: filters not working on "select items" dialog boxes (#16765)
* Fix: is_child_selection_enabled for multiselect dialog filter

* fix: check if field exists before fetching value

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-04-26 18:08:18 +05:30
gavin
d881fb7ab5
Merge pull request #16762 from gavindsouza/file-list-checkbox
fix(mobile): Show checkbox in file list view
2022-04-26 17:05:00 +05:30
Gavin D'souza
0551a2f1e7 fix(mobile): Show checkbox in file list view 2022-04-26 16:34:34 +05:30
gavin
085900328b
Merge pull request #16688 from phot0n/multiple_order_by
fix: support for multiple order by in add_conditions
2022-04-26 16:09:29 +05:30
Raffael Meyer
5d61482fb3
fix: Replace password with asterisks before logging (#16743) 2022-04-26 10:30:46 +00:00
Sagar Vora
224dd319e8
perf(BaseDocument): remove duplicate code (#16733) 2022-04-26 15:52:03 +05:30
Shariq Ansari
57e379ac68
fix: Newsletter unsubscribe button not working (#16756) 2022-04-26 15:48:06 +05:30
Saurabh
e2d3d1d0be
feat: provision to handle payment authorization event in server script for custom documents (#16712)
Currently, there is no provision to handle payment authorization events via server script. So it's not possible if a user wants to link payments against custom documents. 

Thus adding a provision in server script 
- Setup checkout for custom doc 
<img width="1299" alt="Screenshot 2022-03-11 at 2 44 19 PM" src="https://user-images.githubusercontent.com/3784093/157838010-989f6009-83d6-4329-92a6-bb2b6b38438b.png">

- Handle payment callback
<img width="1051" alt="Screenshot 2022-04-22 at 11 28 19 AM" src="https://user-images.githubusercontent.com/3784093/164612613-d321edb3-c7f8-4063-b809-8ae5fe46ee66.png">

## Documentation
https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script/edit?wiki_page_patch=bbed0fcd9a
2022-04-26 10:02:30 +00:00
Shadrak Gurupnor
e0c89cdc73
fix: properly validate google sheets url (#16683)
* fix: properly validate google sheets url

* fix: check for spreadsheets in path

* fix(minor): error should throw if any of the cond fails
2022-04-26 15:17:19 +05:30
gavin
5f2f387a9c
Merge pull request #16130 from gavindsouza/bg-rename_doc
feat: Async Document Renaming
2022-04-26 12:57:31 +05:30
Deepesh Garg
6424bed38a
Merge pull request #16752 from deepeshgarg007/semantic_release
chore: failing semantic release
2022-04-26 12:56:00 +05:30
Deepesh Garg
59ee952d82 chore: failing semantic release 2022-04-26 12:55:03 +05:30
Ankush Menat
fb0cd4c3a9
Merge pull request #16649 from ankush/testing_overhaul
test: better test utils
2022-04-26 12:02:06 +05:30
Ankush Menat
da32a2615e
Merge pull request #16741 from phot0n/remove-null-tabseries-pg
fix: remove default null definition for name column in tabSeries for postgres
2022-04-26 10:08:27 +05:30
phot0n
4418c03237 fix: remove default null definition for name column in tabSeries
for postgres
2022-04-25 20:13:10 +05:30
Ankush Menat
20fc654648
Merge pull request #16615 from ankush/fix/ux_kb_driven_animations
fix: avoid animating "Jump to field" and escape to blur
2022-04-25 18:41:26 +05:30
Suraj Shetty
dc60d7d7f0
Merge branch 'develop' into fix/ux_kb_driven_animations 2022-04-25 18:17:38 +05:30
Nikhil Kothari
2767ea9d25
feat: more color options for form alerts (#16729)
* Added green and orange color options for message
2022-04-25 15:07:04 +05:30
Suraj Shetty
eb92acfbf3
Merge pull request #16718 from shariquerik/flaky-ui-test-3 2022-04-25 11:15:29 +05:30
Faris Ansari
5f68716303
Merge pull request #16730 from netchampfaris/client-insert
fix(client): better validation for child insert
2022-04-25 08:40:40 +05:30
Faris Ansari
95816f0340 fix: better validation for child insert 2022-04-24 10:38:58 +05:30
Ankush Menat
1fa60ba3e7 test: explicitly start transaction
Postgres for some reason is going in autocommit mode if transaction
isn't started with BEGIN... will fix it separately.
2022-04-23 13:08:02 +05:30
Sagar Vora
fa7ea4bce8
perf(BaseDocument): ~50% faster as_dict (#16549)
Co-authored-by: Pruthvi Patel <pruthvipatel145@gmail.com>
2022-04-23 09:01:20 +05:30
Ankush Menat
7274014b3b test: improve FrappeTestCase
- discard state after test finishes
- add assertDocumentEqual for quick document check
- add commit "watcher" to find commits during tests
- add tests for tests. who watches the watchmen?
2022-04-22 19:47:54 +05:30
Ankush Menat
8a0a5c54da test!: dont autocommit on test object recreation 2022-04-22 19:47:54 +05:30
Ankush Menat
f748ae85fc fix: set docstatus to 0 if None present 2022-04-22 19:47:54 +05:30
Ankush Menat
6ac1d95584 test: fix badly written tests 2022-04-22 19:47:54 +05:30
Shariq Ansari
042f98bcc5
fix: Workspace Miscellaneous fixes (#16578) 2022-04-22 18:00:44 +05:30
Shariq Ansari
d558f16e71 test: fixed flaky test for form, timeline_email 2022-04-22 17:43:20 +05:30
Shariq Ansari
ff6f4c93c3
Merge branch 'develop' into flaky-ui-test-3 2022-04-22 17:14:33 +05:30