Commit graph

863 commits

Author SHA1 Message Date
samicoder
173523ce8b fix other apps command execution 2017-06-24 18:21:40 +03:00
Revant Nandgaonkar
b06f987e55 Download files using REST API and OAuth 2 Token (#3499)
* Download files using REST API and OAuth 2 Token

* Check permissions before file download via API

* Solves Codacy issues

https://www.codacy.com/app/netchampfaris/frappe/file/7377221800/issues/source?bid=4679759&fileBranchId=4768213#l364
2017-06-19 09:11:31 +05:30
tundebabzy
bbde2ec4cf rewrite use of dict.iteritems (#3498)
* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +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
Rushabh Mehta
d499ab619c [optimize] make things faster, lots of low hanging fruits fixed (#3495)
* [optimize] make things faster, lots of low hanging fruits fixed

* [fix] dont set gravatar for administrator and guest

* [fix] autocommit

* [fix] clear doctype cache
2017-06-19 09:04:25 +05:30
mbauskar
cc5f94367c Merge branch 'master' into develop 2017-06-16 11:43:05 +05:30
Prateeksha Singh
d8fb2c2c0d [fix] Enqueue syncing global search (#3455)
* [fix] Enqueue syncing global search

* make passing flags optional

* Create global_search.py
2017-06-16 11:02:22 +05:30
Makarand Bauskar
6b28e1b9e0 [hot] fixed ValueError: need more than 1 value to unpack for vnd currency (#3489) 2017-06-15 19:40:49 +05:30
mbauskar
19d46d92fc Merge branch 'master' into develop 2017-06-15 16:04:52 +05:30
Nabin Hait
85851d10d5 get correct number format info in in_words function 2017-06-15 15:36:54 +05:30
Manas Solanki
0ce499e13d Configurable error traceback (#3464)
* Configurable error traceback

* Create system_settings.json
2017-06-13 15:33:08 +05:30
Saurabh
9b8d020ace Merge branch 'master' into develop 2017-06-13 15:16:34 +05:30
almeidapaulopt
374f85bfd6 several throw translations (#3441)
* several throw translations

* small fix

* codacy fixes

* fix import _

* Create file_list.js

* Create feedback.py
2017-06-13 14:32:47 +05:30
tundebabzy
ff4c86089c Make "Amount in words" spell three decimals (#3358)
* fixes frappe/erpnext#8895

* checks for non-numeric type

* makes words translatable
2017-06-13 12:09:35 +05:30
Rushabh Mehta
4203ebdfc7 [enhance] make bench commands extensible by apps (#3457) 2017-06-12 09:15:55 +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
Nabin Hait
bd8f0c24ba Merge branch 'master' into develop 2017-06-07 12:11:35 +05:30
Makarand Bauskar
66c9dfa42c [minor] compair minimum score with zxcvbn feedback score (#3444) 2017-06-07 12:07:01 +05:30
Makarand Bauskar
c45b575a93 [minor] ignore password strength test in frappe.in_test (#3423)
* Fixed issue #frappe WN-SUP25323 for password strength error

* [hotfix] fixes in password strength test

* [hotfix] ignore password strength test in tests
2017-06-06 18:03:37 +05:30
Faris Ansari
0e04d386e4 Global Date Format Localisation (#3428)
* Global Date Format localization

* Addition of the long format

* Update method description
2017-06-05 11:49:54 +05:30
Nabin Hait
fd9108a7b3 Merge branch 'master' into develop 2017-05-24 18:37:45 +05:30
Nabin Hait
72ba2b41d5 Global search patch: Ignore checking is_website_published, if controller does not exists (#3379) 2017-05-24 17:52:01 +05:30
Ashwini Save
06208f7685 Fixed issue #frappe WN-SUP25323 for password strength error (#3380) 2017-05-24 17:51:44 +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
Ashwini Save
ae1b456498 Added “POST” method in app.py and updated csrf_token accessible from “frappe.session” (#3302) 2017-05-19 11:14:08 +05:30
Faris Ansari
f16854559d [minor] Handle string with no html tag in xlsxutils (#3332) 2017-05-18 13:39:07 +05:30
Makarand Bauskar
ae52c7a487 [minor] added error message if the encryption_key in the site_config is changed (#3326) 2017-05-18 12:08:06 +05:30
Manas Solanki
5315bea77f Data Import Tool in excel file format (#3231)
* Data Import in excel file format

* Include test case and minor fixes

* typos
2017-05-18 11:40:44 +05:30
Nabin Hait
44619bcf38 Insert records into global search table in small batches, added progress bar in patch (#3313) 2017-05-17 19:51:44 +05:30
Nabin Hait
d9c559777e Ignore single doctypes for global search 2017-05-16 16:47:11 +05:30
Nabin Hait
6cb0d6da77 Re-run global search patch (#3271) 2017-05-12 15:25:31 +05:30
Manas Solanki
bfb181333c handle the escape sequence in the html2text library (#3272) 2017-05-12 15:23:11 +05:30
Makarand Bauskar
931ef1f244 [minor] new line after install & reinstallation of new-site (#3262) 2017-05-12 15:20:47 +05:30
Nabin Hait
c1f4fc5e29 Enable Scheduler using set_value method, to avoid saving System Settings (#3268) 2017-05-11 16:03:10 +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
tundebabzy
6e29d9e925 xrange to range (#3237)
* introduces build status for local fork

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* Revert "introduces build status for local fork"

This reverts commit 61f40983d0b3c6725369171ab850a18e5c029cc4.
2017-05-11 10:55:34 +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
Rushabh Mehta
a9ec46545b [fix] socketio 2.0 (#3257) 2017-05-10 13:58:25 +05:30
Nabin Hait
901e8eaf92 minor fix global search 2017-05-04 12:01:57 +05:30
Rushabh Mehta
62f0480117 [rename] frappe.www.print to frappe.www.printview 2017-05-03 15:59:24 +05:30
mbauskar
3319257d0f [fixed] error while exporting the report in excel format 2017-05-02 14:05:39 +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
OlaAkeela
512bcd39d5 remove html tags when exporting report in excel format (#3174)
* remove html tags when exporting report in excel format

* remove html tags when export report as excel using html2text
2017-05-01 12:17:15 +05:30
Saurabh
0b2acfc4c8 [hot-fix] reset length to 140 2017-04-29 18:39:51 +05:30
Rushabh Mehta
592ac64fc1 [fix] ignore bulk update for global search 2017-04-29 17:50:05 +05:30
Rushabh Mehta
7e625f9219 [fix] escape doctype for patch 2017-04-28 15:11:47 +05:30
Nabin Hait
5882df1ca1 Optimised rebuilding global search 2017-04-22 15:42:56 +05:30
Prateeksha Singh
ea9d777238 Still more search fixes (#3054)
* [fix] awesome bar translation frappe/erpnext#8279 frappe/erpnext#8306

* [fix] frappe/erpnext#8348

* unescape and remove html entities

* ellipsify long field values

* [fix] test

* Add global search in custom field, Email Inbox searchable

* remove beautiful soup, make_field test case

* [fix] test

* Patch to update existing record in global search

* restore update_published patch

* more specific test cases

* Code descriptions for complex result ellipsifying
2017-04-19 15:47:21 +05:30
Rushabh Mehta
dd066c3c15 [revert] hide modules on basis of all 2017-04-18 12:28:22 +05:30
Rushabh Mehta
50c1efc21f [minor] added frappe.boot.user.can_be_listed_in_module 2017-04-18 11:44:22 +05:30