Commit graph

32532 commits

Author SHA1 Message Date
Gavin D'souza
548eb079c8 fix: Don't re-copy node_modules if public already has it
public folder already has a symlink to node_modules. So we can just
check if the realpath already exists and ignore copying it again if the
same exists
2021-05-11 20:09:21 +05:30
Gavin D'souza
82685d2545 fix: Convert multi-line translation string to single 2021-05-11 16:11:49 +05:30
Gavin D'souza
e18f080453 chore: Hide all warnings in bench console 2021-05-11 15:25:41 +05:30
Gavin D'souza
e54b1d5835 refactor: Link static assets from apps to sites/assets 2021-05-11 15:23:02 +05:30
Gavin D'souza
b5a121a1cb fix: Drop compatability code
* Use raw text for regex patterns to avoid Deprecation warnings
2021-05-11 15:19:35 +05:30
Gavin D'souza
e7d089d1cb Merge branch 'develop' of github.com:frappe/frappe into misc-fixes-py3-1 2021-05-11 13:03:56 +05:30
Gavin D'souza
134b2dcd5c chore: Remove f prefix on plain string 2021-05-11 13:02:45 +05:30
Raffael Meyer
67ceab88ff
fix: translations (#12942)
* fix: get_messages_from_include_files
* feat: include labels of navbar items
* refactor: strip -> lstrip

Co-authored-by: gavin <gavin18d@gmail.com>
2021-05-11 12:28:15 +05:30
mergify[bot]
46e4963d86
Merge pull request #13106 from sgtpepper9907/fix-row-docfields-on-webform
fix: Use docfields from options if no docfields are returned from meta
2021-05-10 18:26:06 +00:00
Suraj Shetty
cae0169881
Merge pull request #13177 from surajshetty3416/fix-save-action 2021-05-10 16:17:37 +05:30
Suraj Shetty
b31a18372a
Merge branch 'develop' into fix-save-action 2021-05-10 15:27:56 +05:30
Leela vadlamudi
2374290935
Merge pull request #13142 from shariquerik/revert-naming-fix
fix: Revert naming for custom naming series
2021-05-10 14:02:56 +05:30
gavin
a094cbee56
Merge pull request #12242 from gavindsouza/dont-call-dynamic-properties
fix: Don't evaluate dynamic properties to check if conflicts exist
2021-05-10 13:57:50 +05:30
shariquerik
9919ddff2a fix: sider fix 2021-05-10 12:56:15 +05:30
shariquerik
e0efefd9e5 refactor: Used re.search also added examples 2021-05-10 12:54:04 +05:30
Suraj Shetty
36d6d224df fix: Do not skip text in save while using shortcut 2021-05-10 12:18:37 +05:30
shariquerik
8995e8e9db refactor: remove unnecessary code 2021-05-09 06:24:20 +05:30
mergify[bot]
1c0233ccd8
Merge pull request #12993 from nextchamp-saqib/auto-repeat-dashboard-fix
fix: auto repeat schedule not rendered in the dashboard
2021-05-08 19:19:17 +00:00
Nabin Hait
fcdff6425f fix: merge conflict 2021-05-08 17:19:28 +05:30
Nabin Hait
0f64358f0b Merge branch 'version-13-pre-release' into version-13 2021-05-08 17:18:38 +05:30
Nabin Hait
0bbf7c89bf bumped to version 13.2.2 2021-05-08 17:38:38 +05:50
Suraj Shetty
579b712924
Merge pull request #13166 from frappe/mergify/bp/version-13-pre-release/pr-13098
fix(setup): do not show messsage when exception is handled (backport #13098)
2021-05-08 17:11:02 +05:30
Sagar Vora
bf33a80042 fix(setup): do not show messsage when exception is handled
(cherry picked from commit ac9fe71733)
2021-05-08 11:40:16 +00:00
gavin
c84feb16e9
fix: Avoid possible whitespace bug
* Handles semgrep warning
* Changed "" to None as a precaution against future whitespace bugs via human error

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2021-05-08 12:39:27 +05:30
shariquerik
e7552413b4 refactor: minor fix 2021-05-07 18:10:59 +05:30
Gavin D'souza
926d13e69e fix: Skip field-method conflicts validation on new docs 2021-05-07 18:02:25 +05:30
Gavin D'souza
b3af9f0c72 fix: Use raw strings for strings with \
Avoid DeprecationWarning which will turn into SyntaxError in later
Python versions
2021-05-07 17:59:20 +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
Gavin D'souza
d43046a4cb fix: any takes an iterable not multi args 2021-05-07 13:24:48 +05:30
Gavin D'souza
855efcfd59 style: Trim whitespace and remove unnecessary parenthesis 2021-05-07 12:15:32 +05:30
Gavin D'souza
1752e5b0e5 feat(cli): Show progress bar for website search index building 2021-05-07 12:14:00 +05:30
Gavin D'souza
71fe804307 fix(cli): Handle incorrect site names
Show "Site {site} does not exist!" and exit with code 1 instead of traceback
2021-05-07 12:11:37 +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
Gavin D'souza
411075424e refactor(minor): Simplify site directory generation 2021-05-06 20:54:39 +05:30