Commit graph

46 commits

Author SHA1 Message Date
Ameya Shenoy
de6fc02509 indentation fix 43941d4 (#4944) 2018-01-31 13:10:11 +05:30
Ritesh Shrivastav
43941d40d7 Provision to print a complex object for all 'bench execute' commands (#4908) 2018-01-31 11:25:01 +05:30
Achilles Rasquinha
473d3eb6be Fixes for Python 3 (#4940)
* Fixed dict_keys and lists

* [FIX] config.get keys must be list

* [FIX] pickle all objects

* [FIX] get versions in unicode

* [FIX] get log versions

* debugging

* Fixed commit ID reference

* Fixed branch reference

* Fixed doc keys to list

* [LOG] test log

* [LOG] test log

* Convert iterators to list

* removed logs

* [FIX] Trial to load templates

* Fixed codacy
2018-01-31 10:51:13 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
tundebabzy
702e52e665 Change raise syntax to python 3 compatible style (#3497)
* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement

* python 3 compatible raise statement
2017-06-19 09:07:19 +05:30
Manas Solanki
0ce499e13d Configurable error traceback (#3464)
* Configurable error traceback

* Create system_settings.json
2017-06-13 15:33:08 +05:30
Rushabh Mehta
0a5df4fb4d [debug] show where permission is failing (#3264)
* [debug] show where permission is failing

* [fix] document.py
2017-05-11 11:46:47 +05:30
Manas Solanki
8bcd479831 Add binary mime type in response.py 2017-02-14 18:34:35 +05:30
Rushabh Mehta
0618b98c92 [minor] cleanup to comment update and maintenance mode page 2017-01-10 17:50:36 +05:30
Rushabh Mehta
47005e9e02 [fix] parent_website_route + '/' + page_name = route 2016-06-23 15:47:47 +05:30
Anand Doshi
6e4f16b07a [fix] use response.mimetype and response.charset instead of setting 'Content-Type' directly in response.header 2016-04-28 15:26:30 +05:30
Anand Doshi
e055ad221f [fix] Load private files having non-ascii characters when using Nginx's X-Accel-Redirect system 2016-04-22 12:45:15 +05:30
Anand Doshi
d8f24822a9 [fix] cleanup, re-org and fixes to error snapshot 2015-12-16 19:39:56 +05:30
Anand Doshi
9b85610b93 [fix] set content type of private files 2015-12-12 01:31:59 +05:30
Anand Doshi
485786e9b6 [fix] bring back content disposition in send private file 2015-12-11 11:15:25 +05:30
Anand Doshi
72761d6f3e [fix] send private file via dev server: use direct_passthrough=True for faster delivery 2015-12-10 17:16:57 +05:30
Anand Doshi
80d11cbb23 [fix] response for X-Use-X-Accel-Redirect 2015-12-10 12:19:51 +05:30
Anand Doshi
8a5addaae7 [feature] Private files. Fixes #927
- Option during upload + all new incoming email files will be private
- Paired with @rmehta
2015-12-09 14:02:14 +05:30
Anand Doshi
6084775ed0 Added CSRF token verification for desk 2015-09-21 11:41:06 +05:30
Rushabh Mehta
3932cecf85 [fixes] wiring exections for async requests 2015-07-27 18:22:50 +05:30
Rushabh Mehta
56b2317ea0 [fix] property setter for idx 2015-07-10 20:32:54 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Anand Doshi
e01a0600f1 Handle conflicting User Permission DocTypes and DocPerm translations 2014-08-27 14:52:06 +05:30
Anand Doshi
7087be6559 Fixes to print 2014-07-25 13:01:52 +05:30
Anand Doshi
6bda09db38 Removed gzip for json responses. It should be handled by http server. 2014-05-20 20:16:18 +05:30
Pratik Vyas
c5da29e16d Add provision to set http status code using frappe.local.response.http_status_code 2014-05-05 07:57:07 +05:30
Anand Doshi
56ff3cd04d Encoded headers in response 2014-04-15 17:25:57 +05:30
Rushabh Mehta
9aa3d1c53c fixes 2014-04-10 16:38:28 +05:30
Anand Doshi
1dc8111beb frappe/frappe#478 2014-04-03 11:39:14 +05:30
Rushabh Mehta
4f304cfc6a frappe/frappe#478, frappe tests pass, .txt renamed to .json 2014-03-31 17:27:12 +05:30
Anand Doshi
f1eb0dd005 Replaced doc, doc.fields frappe/frappe#478 2014-03-28 13:54:53 +05:30
Rushabh Mehta
d5d9c8c563 FormMeta, Form Load, refactored client side Model and Meta - #478 2014-03-28 11:34:40 +05:30
Pratik Vyas
36cc16f6a8 add maintainance mode 2014-03-28 00:03:44 +05:30
Anand Doshi
1f0c1c8e43 Refactored get_url, verified command and other minor fixes 2014-03-19 16:34:25 +05:30
Rushabh Mehta
caed23686c minor fixes 2014-03-18 19:21:18 +05:30
Anand Doshi
8dcb89ccfc Fixed mime type of json to application/json 2014-03-13 14:48:34 +05:30
Anand Doshi
d2f6905815 Handler response: each type of handler will create its own response 2014-03-13 13:04:25 +05:30
Anand Doshi
9eb55aa102 Fixed naming in response.py, build_response only if response.data does not exist 2014-03-12 19:27:05 +05:30
Anand Doshi
3444dd4a38 Refactored handler, catch exceptions, response codes and build response from app.py 2014-03-12 19:04:22 +05:30
Anand Doshi
77cf148a08 hook: doctype_js:DOCTYPE, fixes in scheduler 2014-03-10 18:56:28 +05:30
Anand Doshi
1b496fa712 Raise Forbidden if backup download is not allowed, verbose is default in cli.py 2014-03-07 14:01:34 +05:30
Pratik Vyas
be715d277b move download_backup to frappe.utils.response 2014-03-07 00:56:50 +05:30
Anand Doshi
e34b1f687e Fixes in DB Query, Number Appending to Name 2014-03-05 18:15:02 +05:30
Anand Doshi
55d2ea9d73 oAuth: Redirect System User to /app 2014-03-03 23:09:07 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30