* start of tests
* rfc compliant emails for frappe.
* fix for deepsource
* fix length of strings.
* fix bug that I'm not sure where it came from?
* codacy and deepsource issues trying to keep them happy
* take a punt in the dark
* fix: use SMTPUTF8 instead of SMTP and other minor fixes
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* 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
fixes issues with token being wrongly passed as the owner, instead of
current session user (ie. frappe.session.user), which in turn causes the
following issue:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
response = frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 61, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1042, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/chat/doctype/chat_room/chat_room.py", line 203, in create
room.save(ignore_permissions = True)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 272, in save
return self._save(*args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 295, in _save
self.insert()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 223, in insert
self._validate_links()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 756, in _validate_links
frappe.LinkValidationError)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 364, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 350, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 316, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find Owner: 0a4d6eb7763ef2065f44ece0653d829a1ba189f753562ab9ac261620
also fixes issue where the chat rooms do not load because of wrongly
passed parameters
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* 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