Commit graph

36316 commits

Author SHA1 Message Date
Gavin D'souza
17e970d947 fix: Add is_virtual to Custom Field
The diff for this commit is too large because the format was changed.
But essentially, only "Is Virtual" field was added. This commit was
meant to be a part of the preceeding one. It was kept separate only
because the diffs too large :')
2022-01-27 22:40:41 +05:30
Gavin D'souza
9e3e3f804a feat: Virtual DocField
Add virtual docfield through which you can make callable properties for
the controller
2022-01-27 22:38:48 +05:30
Gavin D'souza
6c83d82d14 Merge branch 'develop' of github.com:frappe/frappe into dynamic-docfields 2022-01-27 18:50:57 +05:30
mergify[bot]
315f9bbf35
Merge pull request #15752 from shariquerik/image-in-sidebar-mobile-view
fix: Show image in sidebar in mobile view
2022-01-27 10:43:30 +00:00
Suraj Shetty
e0ac23d2de
Merge pull request #15759 from surajshetty3416/fix-text-editor-style 2022-01-27 15:59:04 +05:30
Faris Ansari
be41896d60
revert: server script errors (#15758)
#15334 added a change where all exceptions are caught when a server
script is executed, which makes validation errors useless. reverting this
for now, until we find a better solution.
2022-01-27 15:37:17 +05:30
Suraj Shetty
0b2015f498 fix: Make text-editor resizable 2022-01-27 15:17:38 +05:30
Suraj Shetty
1569aa768c fix: Code block style 2022-01-27 15:12:04 +05:30
Shariq Ansari
6a4b71c75c
Merge branch 'develop' into image-in-sidebar-mobile-view 2022-01-27 13:56:58 +05:30
tundebabzy
38caf3bb22
fix(File): Handle file_path is None (#15552)
* fix: S3 automatic backup fails when the backup folder is empty

* Removed conditional that returns early when
`file_path` argument is invalid i.e `None` or empty string.

This means though that the function will throw an exception if it
receives such invalid input so devs should check their inputs before
calling the function

Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>

Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
2022-01-27 13:29:43 +05:30
Shariq Ansari
0a243defd3 fix: Show image in sidebar in mobile view for item 2022-01-27 13:28:36 +05:30
mergify[bot]
028bb9eb06
Merge pull request #15722 from hrwX/virtual_dt
feat: get_count, get_stats for virtual doctype
2022-01-27 04:39:57 +00:00
mergify[bot]
3c8898af47
Merge pull request #15744 from ankush/patch/empty_file
fix: ignore empty `patches.txt` file
2022-01-27 04:34:18 +00:00
Ankush Menat
20a1c074b5 test: all known patches.txt format parsing 2022-01-27 09:51:03 +05:30
Ankush Menat
8b30b61c3e fix: allow empty patches.txt 2022-01-27 09:34:41 +05:30
mergify[bot]
5a9074f978
Merge pull request #15740 from surajshetty3416/remove-email-salutation
fix: Remove salutation from email composer
2022-01-27 03:47:50 +00:00
Suraj Shetty
615c1d00f6
Merge branch 'develop' into remove-email-salutation 2022-01-26 18:41:36 +05:30
Ankush Menat
e5eca8232f
fix: dont auto drop manually created index on text types (#15739) 2022-01-26 17:47:30 +05:30
Rushabh Mehta
d8476de6b0
Merge pull request #15335 from shariquerik/wspace-new-design
feat: Workspace 2.0 new design 🎉
2022-01-26 15:33:55 +05:30
hrwx
dbb609bd0b chore: review changes 2022-01-26 09:12:42 +00:00
mergify[bot]
bca9205b64
Merge pull request #15707 from ruchamahabal/fix-user-type
fix(User Type): Select perms not updated for link fields in child table
2022-01-26 06:11:04 +00:00
mergify[bot]
b81879e511
Merge pull request #15568 from resilient-tech/fix-customize-form-renaming
fix(Customize Form): delete translation for renaming only if label is empty
2022-01-26 05:57:34 +00:00
mergify[bot]
3f25d1c6b2
Merge pull request #15730 from shariquerik/fix-report-view-ui-test
test: flaky report_view UI test fix
2022-01-26 05:55:12 +00:00
Ankush Menat
fd227d38f4
feat: post model-sync patches (#15351)
Ability to run a few patches after the doctype model schema is synced.

Read module-level docstring of patch_handler.py for more info.
2022-01-26 11:21:30 +05:30
Suraj Shetty
a90a9ed807 fix: Remove salutation from email
Reasons:
- It shows up only when few conditons (which are not very clear) are met. Since the behaviour is not consistent it creates unnecessary confusion
- Salutations are not configurable. Not all users want to start their email with "Dear" in which case they have to clear it first.
2022-01-26 09:33:21 +05:30
Ritwik Puri
a4f83ad253
fix: revert gateway_settings and gateway_controller as non mandatory fields in payment gateway doctype (#15729) 2022-01-26 01:42:21 +05:30
Ankush Menat
420f2be418
fix: return docs from frappe.model.sync (#15734) 2022-01-26 00:15:33 +05:30
Shariq Ansari
616d87b75e
Merge branch 'develop' into fix-report-view-ui-test 2022-01-25 19:50:36 +05:30
Shariq Ansari
73f31737cd test: flaky report_view fix 2022-01-25 19:46:51 +05:30
Shariq Ansari
19ffaf9f51
Merge branch 'develop' into wspace-new-design 2022-01-25 19:11:37 +05:30
Suraj Shetty
a3fa4273e2
Merge pull request #15724 from shariquerik/datetime-timezone-fix 2022-01-25 19:10:07 +05:30
Suraj Shetty
59be1a67d1
Merge branch 'develop' into datetime-timezone-fix 2022-01-25 18:30:33 +05:30
Suraj Shetty
befe4082b1
Merge pull request #15727 from surajshetty3416/fix-barcode-test 2022-01-25 18:30:18 +05:30
Suraj Shetty
7eaeaab8d2 test: Remove focus to avoid double focus
- Due to double focus barcode tests fails randomly
ref: https://dashboard.cypress.io/projects/92odwv/runs/25831/overview/067a8ebf-eed7-4caa-9719-59cc1b7ce5bf/video
2022-01-25 18:25:03 +05:30
Shariq Ansari
943f5af84c
Merge branch 'develop' into wspace-new-design 2022-01-25 17:19:28 +05:30
Shariq Ansari
3d6b8610d8
Merge branch 'develop' into datetime-timezone-fix 2022-01-25 17:16:51 +05:30
Shariq Ansari
8ff0a3029d test: flaky timeline_email fix 2022-01-25 17:01:38 +05:30
gavin
d78b496208
fix(Custom DocPerm): Use Link type instead of Data for parent (#15715)
* fix: Use Link type instead of Data for parent

This makes sure frappe.rename_doc updates linked doctype records

* Revert "fix: Use Link type instead of Data for parent"

This reverts commit 93b37351069df9a79f04bfa326378f09bf97700f.

* fix(rename_doc): Handle re-linking Custom DocPerm records
2022-01-25 11:14:34 +00:00
Shariq Ansari
54b3a32968 fix: get timezone in user_info 2022-01-25 16:19:49 +05:30
Shariq Ansari
3eff60f514
Merge branch 'develop' into wspace-new-design 2022-01-25 15:50:07 +05:30
hrwx
26a70e3cf1 feat: get_count, get_stats for virtual doctype 2022-01-25 10:16:28 +00:00
Suraj Shetty
6cda462293
Merge pull request #15716 from surajshetty3416/fix-cypress-rerun 2022-01-25 15:02:45 +05:30
Suraj Shetty
54196ed871
Merge branch 'develop' into fix-cypress-rerun 2022-01-25 14:28:26 +05:30
Suraj Shetty
fd5931e5a7
Merge pull request #15710 from shariquerik/fix-ui-test 2022-01-25 14:28:04 +05:30
Suraj Shetty
da5779dc43 ci: Run cypress tests on each re-run
- using $GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT to keep each re-run unique
- Previously, cypress used to just return "Run finished" (without actually re-running the test) after re-running the GA build (without updating the code). This used to give false impression that all tests are passed.
2022-01-25 13:46:18 +05:30
Suraj Shetty
fc08dffefa
Merge pull request #15709 from gavindsouza/sort-options-listviews 2022-01-25 13:16:19 +05:30
Shariq Ansari
50db829b3e
Merge branch 'develop' into fix-ui-test 2022-01-25 12:47:54 +05:30
Shariq Ansari
72352133c5 test: fixed failing multi select dialog test 2022-01-25 12:45:56 +05:30
Gavin D'souza
5742217e8e refactor(minor): SortSelector.setup_from_doctype 2022-01-25 12:22:04 +05:30
Shariq Ansari
e10068e7fc
Merge branch 'develop' into wspace-new-design 2022-01-25 12:14:45 +05:30