Commit graph

32469 commits

Author SHA1 Message Date
Suraj Shetty
db3e04d2c4 Merge branch 'develop' of https://github.com/frappe/frappe into fix-style-7th-may 2021-05-07 10:49:00 +05:30
Leela vadlamudi
4743a04a8e
Merge pull request #13121 from frappe/repr_doctype
feat(DX): Add simple __repr__ for DocTypes
2021-05-07 10:12:56 +05:30
Suraj Shetty
4fb545fb8c fix: Quill Table border color 2021-05-07 09:30:59 +05:30
Suraj Shetty
5fabd51a03 fix: Summary Item width 2021-05-07 09:30:31 +05:30
Leela vadlamudi
5e9c176927
Merge pull request #13131 from leela/use-getfullargspec
refactor: replace inspect.getargspec with getfullargspec
2021-05-07 08:03:51 +05:30
Leela vadlamudi
d1a2ebb13e
Merge pull request #13122 from leela/sending-email-refactoring-1
refactor: Send mail functionality
2021-05-07 07:46:48 +05:30
leela
72ca7e9753 refactor: remove six dependency 2021-05-07 07:42:04 +05:30
leela
6c85c36630 refactor: Remove deprecated inspect.getargspec
Replace deprecated inspect.getargspec with inspect.getfullargspec.
* inspect.getargspec does not support kw only args aswell as type
annotations.
* replace with inspect.getfullargspec, that supports kw only args.
2021-05-07 07:42:01 +05:30
mergify[bot]
525fb8068b
Merge pull request #13147 from ankush/assertEquals_deprecation
chore: replace assertEquals with alias assertEqual
2021-05-07 01:23:09 +00:00
Ankush Menat
7933b9c825
chore: replace assertNotEquals with assertNotEqual 2021-05-06 21:23:04 +05:30
Ankush Menat
a077466b1e
chore: replace assertEquals with alias assertEqual
`assertEquals` has been deprecated, while not fully removed it will
still keep giving warnings in tests / CI.

ref: https://docs.python.org/3/library/unittest.html#deprecated-aliases
2021-05-06 21:16:22 +05:30
Nabin Hait
e22288ec8d fix: Fixed merge conflict 2021-05-06 19:16:55 +05:30
Nabin Hait
10c8e3430c Merge branch 'version-13-pre-release' into version-13 2021-05-06 19:15:43 +05:30
Nabin Hait
abc49ef960 bumped to version 13.2.1 2021-05-06 19:35:43 +05:50
mergify[bot]
09bbc44e12
Merge pull request #13140 from ankush/hooks_format
fix: hook format for user_data_fields
2021-05-06 11:38:50 +00:00
Nabin Hait
a280547c22
perf: Performance enhancement on creation of custom fields from setup wizard (#13139) 2021-05-06 17:05:55 +05:30
gavin
e9d6378e5c
Merge pull request #13129 from gavindsouza/misc-fixes-py3
fix: Misc fixes
2021-05-06 16:54:24 +05:30
Ankush Menat
2548bca187
fix: hook format for user_data_fields 2021-05-06 16:48:59 +05:30
mergify[bot]
585b123bd7
Merge pull request #13134 from ankush/hooks_template_fixes
fix: missing comma and uncommented code in hooks.py template
2021-05-06 09:32:55 +00:00
Ankush Menat
9e39249059
fix: comment user_data_fields and fix structure 2021-05-06 14:01:56 +05:30
Ankush Menat
aba315daf8
fix: missing comma in hooks template 2021-05-06 14:01:39 +05:30
Suraj Shetty
8d491348a3
Merge branch 'develop' into repr_doctype 2021-05-06 12:45:01 +05:30
Faten Elhariry
e4744724a0
fix: RTL styling (#13107)
Co-authored-by: unknown <Administrator@DESKTOP-TKAA1PU.mans.edu.eg>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-06 11:37:54 +05:30
leela
59bfc12da6 refactor: Cleaned Email Queue sendmail functionality
* Sending mail works independently
* You can send a mail by calling Queue_doc.send()
* Used context manager to track exceptions while sending mails
2021-05-06 10:08:50 +05:30
leela
5de39e468e refactor: Add Email Account link into Email Queue 2021-05-06 10:08:50 +05:30
Ankush Menat
adbf267212
feat(DX): Add __repr__ and __str__ for DocTypes
- Show doctype and name
- if docstatus != 0, show docstatus
- if child doctype, show parent
2021-05-05 19:45:33 +05:30
Gavin D'souza
0ad122421d fix: Don't hide warnings unnecessarily 2021-05-05 18:51:51 +05:30
Gavin D'souza
e1c69cecca chore: Update usages of inspect getargspec
Deprecated since version 3.0: Use getfullargspec() for an updated API that is usually a drop-in replacement, but also correctly handles function annotations and keyword-only parameters.

ref: https://docs.python.org/3/library/inspect.html#inspect.getargspec
2021-05-05 18:31:26 +05:30
mergify[bot]
aad9189e1e
Merge pull request #13102 from gavindsouza/show-config-enhancements
refactor(CLI): Show config
2021-05-05 12:30:43 +00:00
gavin
7ad99349d9
Merge pull request #13120 from gavindsouza/pddr-levy
perf(PDDR): Replace filter_by like with full text filter
2021-05-05 17:38:54 +05:30
Gavin D'souza
bf9fcb3ff6 chore(cli): Add pending deprecation warning
* Add PDW for --as-dict in command set-config
* Move all top level imports inside each util to optimize imports for
  CLI
* Set always show filter for DeprecationWarning, PendingDeprecationWarning via frappe module
2021-05-05 15:33:44 +05:30
Gavin D'souza
8cd6b520ed refactor(minor): Bench set-config
* Replace --as-dict with a more apt --parse
* Fixed styling
* Renamed variables
2021-05-05 13:37:09 +05:30
Leela vadlamudi
3875004d7e
Merge pull request #13057 from leela/email-refactoring
refactor: Email Module - 1
2021-05-05 11:45:04 +05:30
Gavin D'souza
86d6eb51a6 perf: Replace filter_by like with full text filter
* Remove like %email%  in where clause
* Add fallback for all dict getattrs to owner
2021-05-05 11:38:15 +05:30
mergify[bot]
c3f473c451
Merge pull request #12965 from resilient-tech/allow-scroll
fix(UI): dont disable dialog scroll on focusing a Link/Autocomplete field
2021-05-05 05:31:43 +00:00
mergify[bot]
6632a224ae
Merge pull request #13095 from deepeshgarg007/duration_field_export
fix: Error while exporting reports with duration field
2021-05-05 04:16:07 +00:00
Gavin D'souza
73ff84da8e chore: Drop redundant command auto-deploy 2021-05-04 18:10:31 +05:30
Gavin D'souza
3c1b6c66d9 fix(bench-console): Show only apps in namespace 2021-05-04 18:09:53 +05:30
Gavin D'souza
bcbc0d0a7c fix: Show complete frappe.conf including common conf 2021-05-04 18:08:21 +05:30
Gavin D'souza
3b34474f8d test: Add tests for bench show-config 2021-05-04 13:24:43 +05:30
mergify[bot]
d0fbc17261
Merge pull request #13098 from resilient-tech/fix-translate-error
fix(setup): do not show messsage when exception is handled
2021-05-04 05:24:43 +00:00
mergify[bot]
ea85308321
Merge pull request #13101 from shariquerik/patch-upadte-notification-channel
fix: Patch Update Notification channel
2021-05-04 05:13:11 +00:00
mergify[bot]
52a3f2f5df
Merge pull request #13103 from ankush/clean_boilerplate
chore: remove py2 specific code from boilerplate
2021-05-04 05:09:00 +00:00
mergify[bot]
7247099450
Merge pull request #13099 from resilient-tech/fix-reloader
fix: disable reloading files in `__pycache__` directory
2021-05-04 05:06:33 +00:00
mergify[bot]
c2be57ed9c
Merge pull request #12898 from NagariaHussain/feat-url-validation-option
feat: URL option for Data fieldtype
2021-05-03 18:10:08 +00:00
Hussain Nagaria
098b68fc20 fix: Make URL regexp scheme agnostic 2021-05-03 23:23:17 +05:30
Ankush Menat
a617348a79
chore: remove py2 specific code from boilerplate 2021-05-03 20:11:00 +05:30
shariquerik
d8d133e6c3 fix: sider fix 2021-05-03 19:48:52 +05:30
Gavin D'souza
991965fe6b fix: Format JSON outputs better 2021-05-03 19:48:50 +05:30
shariquerik
3c322c1298 fix: Patch Update Notification channel
git status
2021-05-03 19:35:21 +05:30