Commit graph

186 commits

Author SHA1 Message Date
Abhishek Balam
f4e4fc98f9 fix: remove unnecessary schemes and minor changes 2021-05-02 00:32:01 +05:30
Hussain Nagaria
024e759a70 refactor: Add optional URL scheme validation 2021-05-01 00:34:19 +05:30
Hussain Nagaria
3e229e931a test: Email and URL validate functions 2021-04-30 15:37:55 +05:30
Hussain Nagaria
b965cebbd4 fix: Sider issues 2021-04-30 14:55:32 +05:30
Hussain Nagaria
9d4ee238d7 fix: Remove duplicate validation function 2021-04-30 14:52:16 +05:30
Mohammad Hussain Nagaria
465708050a
Merge branch 'develop' into feat-url-validation-option 2021-04-29 11:14:29 +05:30
Rohan Bansal
dade7ed216 refactor: fix py3 datatypes and remove references to six in oauth 2021-04-28 14:02:23 +05:30
Revant Nandgaonkar
c4a9238549 fix: remove six imports and use py3 defaults 2021-04-27 14:20:26 +05:30
Hussain Nagaria
794308cb4a feat: Open Link from read-only URL field
- Also, remove one depracated $ method
2021-04-27 11:47:09 +05:30
Revant Nandgaonkar
1f54b8b973 fix: sider issues 2021-04-26 22:56:14 +05:30
Revant Nandgaonkar
96d6971ee4 refactor: improve oauthlib implementation
implement openid provider
implement PKCE
improve errors
2021-04-26 22:56:14 +05:30
Suraj Shetty
9ca7891cf8
Merge branch 'develop' into feat-url-validation-option 2021-04-23 11:33:06 +05:30
Sagar Vora
9d3be5160f perf: low priority for backup processes 2021-04-22 12:45:46 +05:30
Hussain Nagaria
ea38895f1a fix: Sider Issues 2021-04-20 15:36:36 +05:30
Hussain Nagaria
ce2dabed78 fix: Call to translate function 2021-04-15 06:02:29 +05:30
Hussain Nagaria
82b98330fd feat: Add URL option for data type fields 2021-04-14 20:16:44 +05:30
leela
5c2bda478c Refactor(Improv): Include automated mail notifications in timeline
Notifications sent through notifications doctype are not part of
communications doctype and also not into timelines. Added these
notifications into timeline by adding docs into Communication doctype.
2021-04-05 09:45:17 +05:30
Suraj Shetty
ac7b40a7e3 fix: Do not show progress bar in CI environ 2021-03-19 18:57:31 +05:30
leela
a62cc40885 perf: Improve import template performance by 10 times
Removed nested forloop to get the performace and also using generators
to reduce memory usage.
2021-03-11 09:52:40 +05:30
Aditya Hase
bbb898cf9b
Merge branch 'develop' of https://github.com/frappe/frappe into perf-cli 2021-02-21 09:58:21 +05:30
Aditya Hase
7f0fe5e697
perf: Remove frappe.utils.identicon from import tree 2021-02-20 21:19:04 +05:30
Aditya Hase
9614886fa5
perf: Remove requests from import tree 2021-02-19 21:14:12 +05:30
Gavin D'souza
721097e47d chore: Drop deprecated code 2021-02-10 11:31:18 +05:30
Gavin D'souza
ff27940b8e refactor(utils): Update create_batch docstring, annotations 2021-02-10 11:30:34 +05:30
Gavin D'souza
3589f724af style: sort imports 2021-02-04 17:20:44 +05:30
Gavin D'souza
3ce680a5f9 Merge branch 'develop' of github.com:frappe/frappe into fix-base-path-restore 2020-12-04 18:17:59 +05:30
Gavin D'souza
1b609af8e5 fix: Handle paths relative to bench root and sites folder 2020-12-04 18:15:17 +05:30
Abhishek Balam
3676f8dc6f
Merge pull request #11720 from saurabh6790/format-email-fix
fix: validate email id before passing to formataddr
2020-12-04 17:42:53 +05:30
Abhishek Balam
d229e363b3 fix: revert cstr import added 2020-12-04 17:10:42 +05:30
Abhishek Balam
9d060f9653 fix: cstr import added 2020-12-04 17:01:55 +05:30
Suraj Shetty
13175a8bc4 fix(website): Bust cache by passing build_version to link and script sources 2020-11-09 15:54:17 +05:30
Suraj Shetty
01312889f8 refactor: Move get_build_version to utils.py 2020-11-09 15:31:49 +05:30
Saurabh
9219db4c2a fix: validate email id before passing to formataddr 2020-10-16 14:12:31 +05:30
Gavin D'souza
a94db8a5ce fix: Added human readable file size func 2020-09-28 19:13:31 +05:30
Rushabh Mehta
334ae82e52 fix(naming): added multiple rules for naming series 2020-09-21 10:28:11 +05:30
Faris Ansari
ee7d119546 fix: Escape invalid email in throw 2020-09-09 14:03:56 +05:30
Chinmay D. Pai
ff39b6ae5f
fix: email encoding issue inside email queue
email addresses get formatted incorrectly inside the email queue,
causing emails to be sent with encoded-words addresses instead of
proper, human readable email addresses. this particularly happens when
the address has special and accented characters. an example of
encoded-words address looks like:

=?utf-8?q?=C3=A1dministr=C3=A1tor?= <admin@example.com>

instead of something like:

ádministrátor <admin@example.com>

another issue that causes this is validations that strip html tags from
field when ignore_xss_filter is not set in a docfield. setting
ignore_xss_filter for the email field inside email queue fixes
this issue.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-17 16:24:31 +05:30
Gavin D'souza
52ba5c9b79 fix: Handle progress updates if command not executed via terminal 2020-06-23 12:46:26 +05:30
Gavin D'souza
064a0ae4e2 fix: update progress bar wrt terminal size 2020-06-19 12:00:45 +05:30
Gavin D'souza
f71585ec74 Merge branch 'develop' of github.com:frappe/frappe into site-wise-logging 2020-05-29 14:56:29 +05:30
Gavin D'souza
9a6151ec32 perf: memoize get_site_name function 2020-05-27 19:10:04 +05:30
Gavin D'souza
f3ccdd9ebc fix: dont convert from md if html 2020-05-20 13:18:19 +05:30
Suraj Shetty
41c5b35636 feat: Show percent complete with progress bar 2020-05-03 18:45:40 +05:30
Chinmay D. Pai
1dfa8ccbc4
feat: add name validation to data fieldtype
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-21 15:49:55 +05:30
Gavin D'souza
2c5bc5abcf fix: remove type annotations 2020-03-25 17:22:12 +05:30
Gavin D'souza
f7111e20be fix: Improper ValidationError string
returning empty string if parseaddr returns None shows " is not a valid Email Address"

eg: if 'email@' is passed as value, email.utils.parseaddr will return a
(None, None) tuple
2020-03-25 16:28:37 +05:30
Gavin D'souza
c199a3555b chore: remove deprecated validate_email_add function 2020-03-25 15:59:01 +05:30
Gavin D'souza
d199d8027a feat: added server validations for phone and email
for fieldtype "Data" and options set to "Email" or "Phone", updating
    documents will trigger data validations for email and phone numbers will be made
2020-03-25 15:29:24 +05:30
Gavin D'souza
e9a6927039 chore: fixed imports after module restructure 2019-11-29 21:08:30 +05:30
Gavin D'souza
450f5c3785 chore: moved 'get_html_for_route' to frappe.utils 2019-11-29 20:42:25 +05:30