Commit graph

32507 commits

Author SHA1 Message Date
Suraj Shetty
85f6f47edc Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-08 11:27:42 +05:30
Suraj Shetty
00b6a6729d ci: Use right parallel test runner command
- Also, fix coverage & coveralls setup
2021-05-07 21:59:58 +05:30
Suraj Shetty
2c54549677 feat: Make parallel test independent of test orchestrator 2021-05-07 21:58:43 +05:30
Leela vadlamudi
9d3b993b71
Merge pull request #13144 from ankush/test_create_app
test: add unittest for creating new app using boilerplate
2021-05-07 13:39:24 +05:30
Leela vadlamudi
2b758a61b4
Merge pull request #13096 from shariquerik/duplicate-standard-notification-fix
fix: Allow to duplicate standard notification
2021-05-07 11:45:22 +05:30
Suraj Shetty
d61bb8c3cc
Merge pull request #13155 from frappe/surajshetty3416-patch-1
fix: Typo
2021-05-07 11:41:32 +05:30
Suraj Shetty
a2bb92f6a4
fix: Typo 2021-05-07 11:40:42 +05:30
Suraj Shetty
eac9a1e4a1
Merge pull request #13153 from surajshetty3416/fix-style-7th-may 2021-05-07 11:04:06 +05:30
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
Ankush Menat
e9a3569bf7
test: check if created python files are parsable 2021-05-07 10:34:46 +05:30
Ankush Menat
835ed181b5
test: delete created test_app in tearDownClass 2021-05-07 10:34:17 +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
Ankush Menat
4210299ab4
test: add test for creating new app 2021-05-06 19:26:14 +05:30
Ankush Menat
c48a8e933f
fix: remove six.moves.input and use builtin.input
reason: py2 support no longer required and six makes mocking/testing
complicated.
2021-05-06 19:26:06 +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
Suraj Shetty
5ccccf104d chore: Track before test time 2021-05-06 17:39:19 +05:30
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
Suraj Shetty
3e7b48438c chore: Debug 2021-05-06 15:12:08 +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
Suraj Shetty
b64ca5eb2f test: Fix dependency 2021-05-06 14:52:51 +05:30
Suraj Shetty
ba88b2cdb9 fix: Handle exception 2021-05-06 14:52:32 +05:30
Suraj Shetty
aab2aca089 ci: Enable coveralls 2021-05-06 14:52:00 +05:30
Suraj Shetty
c1ea512b3a feat: Indicate slow tests 2021-05-06 14:51:27 +05:30
Suraj Shetty
aaadb71e79 perf: Make saving of System Settings faster 2021-05-06 14:49:40 +05:30
Suraj Shetty
8875848355 perf(test): Reduce token expiry wait time for test
- Also, reduce lock_interval
2021-05-06 14:49:19 +05:30
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