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
Gavin D'souza
5bd5eb8911
chore: moved set_request function to frappe.utils
2019-11-13 14:09:46 +05:30
Chinmay D. Pai
2bdcdf5dcf
fix: decode non-ascii characters for formataddr
...
formataddr[1] by default encodes non-ascii characters to `=?utf-8?q`, which needs to be decoded to a human-readable string format. using decode_header and make_header we can decode the string back to human-readable format.
before:
In [1]: formataddr(("Tèst", "notifications@erpnext.com"))
Out[1]: '=?utf-8?b?VMOoc3Q=?= <notifications@erpnext.com>'
after:
In [2]: make_header(decode_header(formataddr(("Tèst", "notifications@erpnext.com"))))
Out[2]: 'Tèst <notifications@erpnext.com>'
references:
[1]: https://docs.python.org/3/library/email.utils.html#email.utils.formataddr
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2019-10-29 16:22:25 +05:30
Faris Ansari
b973a5d101
fix: Process data in batches
2019-09-29 22:41:29 +05:30
Himanshu Warekar
cfbfc24398
fix: 'NoneType' object has no attribute 'get'
2019-09-20 16:16:57 +05:30
Faris Ansari
1389300115
fix: bench run-ui-tests command ( #7844 )
...
* fix: bench run-ui-tests command
BREAKING CHANGE
This replaces the old run-ui-tests command which used selenium to run
UI tests with Cypress.
Usage:
bench --site [sitename] run-ui-tests [app]
bench --site [sitename] run-ui-tests [app] --headless
* fix: Include adminPassword from site_config
* fix: string formatting
2019-07-05 15:30:59 +05:30
Sahil Khan
0eb9fc5eec
fix(sync_site): syntax error
2019-05-09 14:52:37 +05:30
Sahil Khan
42fc641fd9
feat(sync_site): sync site via central agent
2019-05-09 14:22:47 +05:30
Frappe Bot
bd2e410a02
Merge branch 'master' into develop
2019-03-23 07:23:54 +00:00
scmmishra
349132f392
fix: Proxied validate_email_add
2019-03-22 15:00:16 +05:30
Suraj Shetty
26197ee29e
Merge pull request #6878 from Mangesh-Khairnar/privacy-data
...
Feature: Personal data download and deletion
2019-03-15 18:36:10 +05:30
Suraj Shetty
fbf67b78b1
Move get_safe_filters to frappe.utils
2019-03-11 19:41:50 +05:30
Mangesh-Khairnar
e2e9f4213b
Merge branch 'develop' into privacy-data
2019-03-08 20:56:00 +05:30
Mangesh-Khairnar
d47ef3a17a
refactor: change validate_email_add to validate_email_address
2019-03-07 19:06:27 +05:30
Anurag Mishra
cd191439fd
feat: Document subscription ( #6745 )
2019-03-07 14:06:22 +05:30
Aditya Hase
fc48597694
fix(prepared-report): Python 2 compatibility fix
...
gzip.compress and gzip.decompress were introduced in Python 3.2
Added gzip_compress and gzip_decompress to frappe.utils to add this functionality
to both Python 2 and 3
2018-12-06 16:01:41 +05:30
Saurabh
371d7f87a9
[enhance] in get_app_info return application branch and branch version if exists
2018-09-06 17:41:26 +05:30
Faris Ansari
60f9e2c973
Add utility frappe.utils.md_to_html
...
- Replace all occurences of manual imports with this utility
- Also enable extras
- fenced-code-blocks
- tables with class 'table table-bordered'
- header-ids
2018-08-05 18:19:25 +05:30
Nabin Hait
854b068ee9
Fixed merge conflict
2018-07-31 13:15:15 +05:30
Ameya Shenoy
92f288bc2f
added 2 fucntions to frappe.utils ( #5877 )
...
* added 2 fucntions to frappe.utils
- get_db_count: to get the db count of any DocType
- call: a wrapper for frappe.call
* Update __init__.py
2018-07-27 11:55:58 +05:30
ci2014
0a9192d791
Use email instead of user name for building exclude list from thread_notify ( #5502 )
...
* Update email.py
* Get the correct Email Address for Administrator
Get the correct Email Address for the Administrator User as well. I see no reason why.
2018-05-22 11:44:34 +05:30
Achilles Rasquinha
0fc518ace4
python 3 fixes
2018-03-31 18:15:43 +05:30
Achilles Rasquinha
062c7fa283
fixed codacy
2018-03-29 11:06:48 +05:30
Achilles Rasquinha
05ad109bcb
cast singles fieldtype
2018-03-29 09:56:44 +05:30
Suraj Shetty
1202ff1fdb
List view bulk edit option ( #5107 )
...
* added actions button for bulk operations
also included bulk edit option
* page html refactor and added show/hide action option
* copy field object to avoid mutation
* commonify update method and other refactor
* fixed bug with progress bar level and minor fix with 'value' field display
* fixed frappe/erpnext#13063
* commonify field control method and removed unwanted code
* separate method for submit and cancel
* [minor] msgprint change
* refresh list on complete
* requested changes and refactor
* codacy fix
* code formatting, changed var name
* conflict fix
* description option for progress dialog
* extracted bulk operations to a separate file
* Refactor
commonified redundant method
get_json -> parse_json
* rename change_df -> replace_field
2018-03-05 11:02:50 +05:30
Faris Ansari
2fc96e1419
Remember columns state for each user ( #5102 )
...
* Remember columns state for each user
* Chart
* python 3 fix
* Toggle message refactor, Tree structure DataTable update
2018-03-05 11:02:23 +05:30
Zlash65
5f068f7e4f
accented characters are valid names
2017-09-14 14:20:50 +05:30
Rushabh Mehta
4d7a7faa5b
Merge pull request #3906 from adityahase/fix-basestring
...
Replaced all instances of basestring with six.string_types
2017-08-11 12:57:07 +05:30
Aditya Hase
769338f136
Replaced all instances of basestring with six.string_types
2017-08-11 00:10:11 +05:30
Aditya Hase
5313c2b2fe
Use string.ascii_letters instead of string.letters
2017-08-10 23:59:34 +05:30
Aditya Hase
9d7d384a63
Replaced urllib.quote imports with six.moves.urllib.parse.quote ( #3837 )
2017-08-02 17:09:16 +05:30
Aditya Hase
e6bd1e4995
Replaced all instances of 'unicode' with 'six.text_type' ( #3825 )
2017-08-02 16:57:39 +05:30
Ayush Shukla
e2de37b090
Email parse addr fix. ( #3371 )
...
* Added name fix
* Removed print
* Changed method name
* Added test case for name
* Codacy fix
* Codacy Exception fix
2017-06-07 15:49:27 +05:30
Ayush Shukla
7ff1985257
Email praseaddr fix, fixes frappe/issues#3004 ( #3345 )
...
* email_parse address fix
* travis check for email-parseaddr
* email parseaddr fix
* fixes
* Added test case
* minor change
* Added few email_ids
* condition change
2017-05-19 15:50:21 +05:30
tundebabzy
6fbe20caaa
Except and raise statement python 3 compatible style ( #3216 )
...
* changes exception and raise statements to python 3 style
* changes except statement to python 3 style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* adds six.reraise to fix python 3 style raise statements with traceback
* fixes indentation
2017-05-11 10:51:59 +05:30
tundebabzy
7b41d7e5eb
Python 3 compatible print statements ( #3199 )
...
* changes print statements in file to python 3 compatible style using `__future__`
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* changes deprecated md5 module to hashlib
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
Nabin Hait
7fe50c885a
Merge branch 'master' into develop
2017-03-09 14:59:02 +05:30
Rushabh Mehta
8a83a9bfed
[fix] fix html5lib compatibility issue
2017-03-09 13:20:40 +05:30
Nabin Hait
b9d79fbb82
Minor fix
2017-03-06 17:33:49 +05:30
Rushabh Mehta
0af6de61bf
[fix] email validate
2017-02-07 15:02:04 +05:30
Rushabh Mehta
53f12a8b75
[fix] email validate
2017-02-07 14:31:41 +05:30
Rushabh Mehta
5bc3473184
[minor] cleanups, allow comma in email validation
2017-02-07 14:01:18 +05:30
krnkris
dc527f12cd
Update __init.py__ to master ( #2641 )
...
It is stable now only issue is the emoji use
2017-01-30 15:20:49 +05:30