* fix: don't render result if grid_rows is undefined and fix truncate_rows
* fix: change page length to 50
* fix: grid pagination ui test
* fix: confirm before deleting all child table rows
* Allow setting db port on install
* Allow setting db port on install
* Allow full db config on creating site
* bug fix
* bug fix
* Escape character
* Update frappe/commands/site.py
allow only integer argument
Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>
* Update frappe/database/db_manager.py
No need to escape integer variable
Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>
* cast port to integer to surpress pymysql error
* cast port to string to surpress pymysql error
* Removed type casting
* fix: change leaderboard timespan options and add select from date option
* fix: leaderboard timespan options grouping and add quarter_start and quarter_end to datetime.js
* fix: codacy
* fix: add last month
* fix: reverted currency formatting
* ux: added description for currency's number format
* It doesn't have any effect on how the currency is formatted.
* fix: revert json changes in currency master
fixes issue where patch fails with:
frappe.exceptions.ValidationError: Too many writes in one request. Please send smaller requests
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
fixes issues with class objects other than str
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 281, in receive
communication = self.insert_communication(msg, args=args)
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 338, in insert_communication
email = Email(raw)
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 372, in __init__
self.parse()
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 393, in parse
self.process_part(part)
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 445, in process_part
self.text_content += self.get_payload(part)
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 489, in get_payload
charset = self.get_charset(part)
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 484, in get_charset
charset = chardet.detect(frappe.safe_encode(part))['encoding']
File "/home/frappe/frappe-bench/env/lib/python3.6/site-packages/chardet/__init__.py", line 34, in detect
'{0}'.format(type(byte_str)))
TypeError: Expected object of type bytes or bytearray, got: <class 'email.message.Message'>
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
currently there is no way to invalidate reset_password_key on updating
password through the user settings. so whenever the user sets a new
password we'll invalidate the reset_password_key, so that existing links
to reset user passwords cannot be used.
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
job.status has been replaced with job.get_status() in the latest release (1.0)
https://github.com/rq/rq/releases/tag/v1.0
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>