Commit graph

3769 commits

Author SHA1 Message Date
Fisher Yu
872299b3f3
fix: Translate Strings (#13277) 2021-05-31 16:31:42 +05:30
Leela vadlamudi
5b3acf7fe8
Merge pull request #13307 from leela/incoming-mail-refactoring
refactor: Incoming mail refactoring
2021-05-31 10:16:58 +05:30
Suraj Shetty
df0143f948
Merge pull request #13204 from hasnain2808/allow-naming-series-update 2021-05-26 12:42:47 +05:30
hasnain2808
71604d479a chore: Merge branch 'develop' into allow-naming-series-update
:# Please enter a commit message to explain why this merge is necessary,
2021-05-26 11:30:55 +05:30
Gavin D'souza
ee8f349344 fix: Skip field name conflict validation for No value fields 2021-05-24 12:57:18 +05:30
Gavin D'souza
c90cea89cb feat(minor): Nudge for method exists for button fieldtype
This doesn't throw an exception, rather a msgprint in case the
developer isn't ready for that yet. This serves as a nudge rather than a
validation
2021-05-24 12:30:02 +05:30
Gavin D'souza
8d590eabca fix: Don't throw error for fieldtype Button conflicts 2021-05-24 11:59:55 +05:30
leela
39e6c040de test: Incoming mail tests are added 2021-05-24 09:33:11 +05:30
leela
5b96b79ed4 refactor: incoming mails 2021-05-21 18:57:18 +05:30
Mohammad Hasnain Mohsin Rajan
58400d6214
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-21 14:15:14 +05:30
Mohammad Hasnain Mohsin Rajan
fa53c47e58
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-21 11:38:57 +05:30
Mohammad Hasnain Mohsin Rajan
3f056d147d
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-21 11:38:49 +05:30
Mohammad Hasnain Mohsin Rajan
bcb4c5182f
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-21 11:38:43 +05:30
Mohammad Hasnain Mohsin Rajan
c9dc4ee441
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-21 11:38:36 +05:30
Mohammad Hasnain Mohsin Rajan
e16988b887
chore: change description 2021-05-20 20:05:58 +05:30
Mohammad Hasnain Mohsin Rajan
730bcc8c03
fix: do not explicitly commit
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-20 20:05:00 +05:30
Mohammad Hasnain Mohsin Rajan
969e2b6db9
fix: allow only system manager
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-20 20:04:40 +05:30
mergify[bot]
ed5ca19233
Merge pull request #13180 from alyf-de/fix_migrate_tree
fix: Ignore "lft" and "rgt" when importing/exporting fixtures
2021-05-20 10:56:44 +00:00
Faris Ansari
f8ca990a83 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-16 11:26:43 +05:30
Joseph Marie Alba
95bb5e5599
Python 3 issue with re
Python 3 interprets string literals as Unicode strings, and therefore \s is treated as an escaped Unicode character.

Declare your pattern as a raw string instead by prepending r
2021-05-16 05:55:35 +08:00
Mohammad Hasnain Mohsin Rajan
2e1c4650ba
Update frappe/core/doctype/document_naming_rule/document_naming_rule.js
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-13 19:54:56 +05:30
barredterra
3632a32272 fix: print warning and add comments 2021-05-13 15:59:39 +02:00
barredterra
52d78ab495 fix: don't export "lft" and "rgt" fields 2021-05-13 15:39:18 +02:00
gavin
6365037b81
Merge pull request #13145 from gavindsouza/misc-fixes-py3-1
fix: Misc fixes
2021-05-13 14:00:28 +05:30
mergify[bot]
6dd6d4c3e1
Merge pull request #13199 from rovertzxd/fix-svg-uploads
fix: svg files upload
2021-05-13 07:08:56 +00:00
Mohammad Hasnain Mohsin Rajan
90f786b0e5
chore: spaces 2021-05-13 09:57:10 +05:30
hasnain2808
ed1a9e1559 fix: do not show counter on unsaved forms 2021-05-13 09:55:27 +05:30
Roberto Murguia
ad5506453e fix: svg files upload 2021-05-12 13:55:26 -05:00
Gavin D'souza
e0be2cc535 Merge branch 'develop' into misc-fixes-py3-1 2021-05-12 21:02:26 +05:30
Mohammad Hasnain Mohsin Rajan
bb4be32751
chore: add semicolons 2021-05-12 17:15:18 +05:30
Mohammad Hasnain Mohsin Rajan
c246c82a85
fix: remove debugger 2021-05-12 17:10:35 +05:30
hasnain2808
c822c54f55 fix: allow updating naming series 2021-05-12 17:03:25 +05:30
Faris Ansari
d4b0be789f
Merge branch 'develop' into esbuild 2021-05-11 17:33:31 +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
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
Suraj Shetty
be9b18191b refactor: Resolve deprecation warnings 2021-05-11 09:50:58 +05:30
Suraj Shetty
6bf9f47a2a Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-10 20:39:10 +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
Suraj Shetty
3c4306c87a refactor: Fix regex to avoid deprecation warnings 2021-05-10 09:18:50 +05:30
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
Suraj Shetty
85f6f47edc Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-08 11:27:42 +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
Faris Ansari
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +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
72ca7e9753 refactor: remove six dependency 2021-05-07 07:42:04 +05:30
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
7a9611a6c5 fix: Py3 Compatible code
Avoid "DeprecationWarning: invalid escape sequence \W" by using raw
strings instead, If avoided for longer, these lines will throw a
SyntaxError in later Python versions
2021-05-06 19:20:56 +05:30