Commit graph

38381 commits

Author SHA1 Message Date
Sagar Sharma
b237c653a3
Merge branch 'develop' into fix/user-type 2022-06-13 03:00:21 -07:00
Suraj Shetty
63a5db94cf
chore: Add mergify[bot] to exception list
https://user-images.githubusercontent.com/13928957/173293263-4987c494-4524-46dd-996c-36f1ca760c68.png
According to this mergify's login id is `mergify[bot]` so am guessing this should work.
2022-06-13 12:03:39 +05:30
Suraj Shetty
b1e97c1ff4
Merge pull request #17163 from frappe/mergify/bp/develop/pr-17161
fix: Handle case where document title can be NONE (backport #17161)
2022-06-13 11:47:27 +05:30
Suraj Shetty
53a079f101 fix: doc.get_title should return empty string if title is not set
(cherry picked from commit b244c9148192362de43aa483b328709745f3be82)
2022-06-13 06:16:57 +00:00
Suraj Shetty
a4f2912fdf fix: Handle case where document title can be NONE
(cherry picked from commit 9b67fc24bc290789158f37a8f2ce10b505878792)
2022-06-13 06:16:56 +00:00
Suraj Shetty
66deca1530
Merge pull request #17153 from ankush/disable_first_version
perf: disable creating version for new docs
2022-06-13 09:36:02 +05:30
Suraj Shetty
06d1483b16
Merge pull request #17144 from ankush/details_defaul_tab 2022-06-13 08:51:47 +05:30
Suraj Shetty
53260f0b7c
Merge pull request #17136 from netchampfaris/bulk-edit-empty-values 2022-06-13 08:51:33 +05:30
Suraj Shetty
4dc8d0fb44
Merge pull request #17152 from FHenry/dev_fix_quote_in_button_name
fix: JS error in page.js when the is a quote in button translation
2022-06-13 08:07:41 +05:30
Ankush Menat
21442f5cba perf: disable creating version for new docs
Each new doc inserts a version, this contains nothing but creator and
creation time.. which is already immutable information on the original
document.

This was added for cases like data import to track from where document
got created, ref: b7dfe7969d

Fix: only add a version on creation IF creation info is present on flags
2022-06-12 18:07:55 +05:30
Ankush Menat
03f48580ef test: button with single quote in label 2022-06-12 16:24:39 +05:30
Florian HENRY
89889753e4 fix: JS error in page.js when the is a quote in button translation 2022-06-12 12:11:25 +02:00
Ritwik Puri
c157564281
fix: use doctype property instead of name for Customize Form in validate_autoincrement_autoname (#17139) 2022-06-10 22:19:38 +05:30
Ankush Menat
c2b9197624 fix: default tab fieldname conflict 2022-06-10 20:01:33 +05:30
Faris Ansari
076816a7d7 fix: Allow to set empty values in Bulk Edit
- minor UX fixes
2022-06-10 15:55:34 +05:30
Shariq Ansari
e740ad180d
test: fix for failing Data Control UI test (#17133) 2022-06-10 15:46:50 +05:30
Jannat Patel
70188934bc
fix: pick the last signup template from hook (#17118) 2022-06-10 15:00:32 +05:30
gavin
49b36cc54c
Merge pull request #17127 from gavindsouza/update-python-deps
chore(deps): Update python dependencies
2022-06-10 14:07:22 +05:30
gavin
6429a8d21c
Merge branch 'develop' into update-python-deps 2022-06-10 13:22:26 +05:30
Gavin D'souza
fc422f4a97 chore(deps): Bump Pillow from 9.0.1 to 9.1.1
Includes security fixes, API & constants deprecations

Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/index.html
2022-06-10 13:12:35 +05:30
Gavin D'souza
111ad3cc82 chore(deps): Bump requests from 2.25.1 to 2.27.1 2022-06-10 12:58:40 +05:30
Gavin D'souza
9bec09e14e chore(deps): Bump croniter from 1.0.15 to 1.3.5
changelog: https://pypi.org/project/croniter/#changelog
2022-06-10 12:57:04 +05:30
Gavin D'souza
65b011f141 chore(deps): Bump semantic-version from 2.8.5 to 2.10.0 2022-06-10 12:54:03 +05:30
Gavin D'souza
5680f458c1 chore(deps): Bump Werkzeug from 2.0.3 to 2.1.2
changelog: https://werkzeug.palletsprojects.com/en/2.1.x/changes/
2022-06-10 12:48:36 +05:30
Gavin D'souza
3d1df3525e chore(deps): Bump psutil from 5.8.0 to 5.9.1 2022-06-10 12:46:59 +05:30
Gavin D'souza
d60f228c90 chore(deps): Bump Jinja2 from 3.0.3 to 3.1.2
changelog: https://jinja.palletsprojects.com/en/3.1.x/changes/
2022-06-10 12:43:34 +05:30
Gavin D'souza
8f2bb4780a chore(deps): Bump rq from 1.8.1 to 1.10.1
Exciting improvements to rq! Cleanup & bugs that made us sccratch heads
in prod.

changelog: https://github.com/rq/rq/blob/master/CHANGES.md
2022-06-10 12:30:07 +05:30
Gavin D'souza
8fab5b96b7 chore(deps): Bump pytz from 2021.1 to 2022.1
Multiple bug fixes & IANA 2022a

* changelog: https://github.com/stub42/pytz/blob/master/tz/NEWS
* diff: https://github.com/stub42/pytz/compare/release_2021.1...release_2022.1
2022-06-10 12:15:08 +05:30
Gavin D'souza
ef0a92c849 chore(deps): Bump PyPDF2 from 1.26.0 to 2.1.0
* Updated changes in API usages
* changelog: https://github.com/py-pdf/PyPDF2/blob/main/CHANGELOG
2022-06-10 12:08:10 +05:30
Gavin D'souza
3aef47200b chore(deps): Bumped pdfkit from 0.6.1 to 1.0.0
* Updated from_string API to match latest signature
* changelog: https://github.com/JazzCore/python-pdfkit/blob/master/HISTORY.rst
2022-06-10 11:53:50 +05:30
Gavin D'souza
88f27f4af4 chore: Remove deprecated dependency_links from setup
* pdfkit dep is already being fulfilled by requirements.txt
* ref: https://stackoverflow.com/questions/12518499/pip-ignores-dependency-links-in-setup-py
2022-06-10 11:36:05 +05:30
Gavin D'souza
e7f2b7c628 chore(deps): bump faker from 8.1.4 to 13.12.1
Faker is a dev dependency installed for tests - to access the
frappe.mock API to generate paragraphs, names & emails.
2022-06-10 11:31:59 +05:30
Rushabh Mehta
7a1d5e304c
Merge pull request #17108 from rmehta/custom-formatters
feat(minor): add custom formatters for text type controls
2022-06-09 17:16:49 +05:30
Gavin D'souza
eb86a933e0 chore(deps): Bump IPython from 7.31.0 to 8.4.0
Major version includes multiple bug, security & performance fixes

changelog: https://ipython.readthedocs.io/en/stable/whatsnew/version8.html
2022-06-09 16:49:27 +05:30
Gavin D'souza
7e346933c7 fix: Cleaner error message on invalid encryption_key 2022-06-09 16:45:23 +05:30
Gavin D'souza
c67ec6c87a chore(deps): Bump cryptography from 3.4.8 to 37.0.2
changelog: https://cryptography.io/en/latest/changelog/
diff: https://github.com/pyca/cryptography/compare/3.4.8...37.0.x
2022-06-09 16:31:29 +05:30
gavin
fc9308f8ba
fix: Use same labels for standard fields throughout interfaces (#17031)
* fix(model)!: Match labels in meta & model

Labels for fields have been inconsistent. In standard filters, doc.name
would be labelled as "Name" while it's "ID" in the edit filters option.
Similarly for other fields, the same view will address the same fields
differently. This PR aims to get rid of such inconsistencies.

Changes:

* [model] Change label ID for name to 'Name'
* [meta] Match labels of owner, modified, modified_by
* [meta] Add labels for more fields - from model.js

* fix!: get_label to fetch labels as Desk does

* fix!(label): Refer to name field as 'ID' over 'Name'

* test: Use 'ID' label instead of 'Name'
2022-06-09 15:34:57 +05:30
Sagar Sharma
f989cb7de2
Merge branch 'develop' into fix/user-type 2022-06-09 02:13:09 -07:00
Shariq Ansari
f96c623b33
fix: added text editor dialog on hide action (#17117)
* fix: added text editor dialog on hide action

When we edit text editor field and close the dialog the cell in datatable is empty

* chore: bump datatable to 1.16.4
2022-06-09 14:33:08 +05:30
Rushabh Mehta
e66cd830fb fix(minor): test + tabs 2022-06-09 14:17:43 +05:30
s-aga-r
ac59087f49 fix: can't create a new User Type 2022-06-09 14:12:55 +05:30
gavin
491b5b0760
Merge pull request #17012 from gavindsouza/request-cache
feat(utils): Caching Utils
2022-06-09 13:08:11 +05:30
Ankush Menat
b3b7126f7a
fix: dont set standard fields in child doc using set_value (#17056) 2022-06-09 13:06:58 +05:30
Rushabh Mehta
da9ac52ffb fix(minor): lint 2022-06-09 12:44:47 +05:30
Gavin D'souza
54dd72b8da chore: Import sys in msgprint's namespace 2022-06-09 12:43:56 +05:30
Rushabh Mehta
e790b5e8b1 fix(minor): added UI test 2022-06-09 12:34:09 +05:30
gavin
9ce74fb6c4
Merge branch 'develop' into request-cache 2022-06-09 12:32:03 +05:30
Gavin D'souza
2e5784629b fix: Avoid possible iteration failures passing default in pop 2022-06-09 12:31:05 +05:30
gavin
41da2ba50b
Merge pull request #17123 from gavindsouza/refactor-re-fixes
fix: Regex compilation in boilerplate utils
2022-06-09 12:22:27 +05:30
Rushabh Mehta
65f5910dc3 fix(minor): missing parameter 2022-06-09 12:07:04 +05:30