seitime-frappe/frappe/core
Kyra 9fe65cb809
fix(sms_settings): add support for sending data as json (#9381)
* Add support for sending JSON to SMS Settings

Many SMS gateways expect data in raw JSON and do not accept plain
form data. This change enables this by detecting a "Content-Type"
header in the parameters with a value of "application/json", and
in this case decoding the message text to unicode as expected by
the `requests` module before passing the data to the `json`
parameter.

* Update frappe/core/doctype/sms_settings/sms_settings.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

* Update frappe/core/doctype/sms_settings/sms_settings.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
2020-01-31 15:46:05 +05:30
..
doctype fix(sms_settings): add support for sending data as json (#9381) 2020-01-31 15:46:05 +05:30
page fix(background_job): use status as get_status is not accessible in html 2020-01-14 17:25:01 +05:30
report BREAKING CHANGE: remove Feedback Trigger and Feedback Rating, this was not very configurable and can now be done better with Web Forms 2019-05-13 14:18:02 +05:30
web_form Remove unwanted field in edit-profile web form (#6837) 2019-01-29 10:50:23 +05:30
__init__.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
notifications.py fix: remove notifications code 2019-10-09 16:22:57 +05:30
README.md rename Profile to User frappe/frappe#470 2014-03-11 16:14:47 +05:30
utils.py chore: Fix typo in docstrings (#8764) 2019-11-07 14:06:26 +05:30

Core module contains the models required for the basic functioning of frappe including DocType, User (user), Role and others.