Commit graph

841 commits

Author SHA1 Message Date
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
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
Nabin Hait
60572affbf Merge branch 'decimal-precision' of https://github.com/rmehta/frappe into rmehta-decimal-precision 2017-04-13 16:30:48 +05:30
Rushabh Mehta
a1e31ed20b [feature] set decimal precision for currency in currency settings and currency formatting will be global 2017-04-13 12:39:01 +05:30
Saurabh
91a40435b4 [fix] read apps dir if setting up global help else get installed apps from respective site 2017-04-12 20:11:54 +05:30
Rushabh Mehta
1983549833 [minor] show last commit ref in about, fixes #3048 2017-04-12 17:06:32 +05:30
Rushabh Mehta
befb3a31f0 [fix] feedback trigger on delete #2988 (#3027) 2017-04-07 13:52:28 +05:30
Faris Ansari
08da14996f Enhance multi file upload (#2912)
* Allow multiple file upload, show progress while uploading

* Enhance multi file upload

You can now upload files programmatically like
```
frappe.upload.make({
  ...
  files: fileobj_array,
  ...
})
```
No need to use `multifile_upload` method.
Multiple file upload is enabled by default on all Attach dialogs.

* Don't `allow_multiple` in data import tool

* ControlAttach don't allow_multiple

* Show files in a table view

* Narrow width for Is Private column
2017-04-07 13:37:08 +05:30
Prateeksha Singh
f2df24803c Search refactor (#2983)
* [start] basic sidebar function

* remove flicker on fetch

* use promises for global and help results

* add summary view

* single modal, sidebar keyboard selection

* Placeholder and no_results state, result render prep

* Specific empty states, results template no longer special: thus remove reset(), forum results trial

* Add loading state

* more results working

* commonify more results, added images

* All nav results in modal, with recents

* use common utils in awesome bar

* UI fixes

* Remove forum results

* frappe/erpnext#8222 frappe/erpnext#8264
2017-04-03 13:28:37 +05:30
mbauskar
54384c774f [minor] exception handling in get_app_branch if git is not initialized for app 2017-03-30 12:14:19 +05:30
pratu16x7
09bf08ca9b sanitize and trim search result description 2017-03-29 17:10:48 +05:30
Valmik
145fa3196b [fix] only show help for installed apps (#2924) 2017-03-27 11:08:54 +05:30
Saurabh
7620bb3789 Deprecate Integration Broker (#2831)
* [fix] remove razorpay from integration service

* [fix] clean-up js side integration service dependancies

* [fix] remove integration service, .py cleanup, move integration request to integration

* [fix] move oauth to integrations and deprecate integration broker

* [fix] mark services enabled and update integrations listing

* [fix] V7.1 and V7.2 integration service related pathch fixes and move payment gateway dotype to core module

* [fix] create payment gateway records if not exists

* [fix] module page for integrations

* [minor][fix] minor checks

* [fix] remove integration broker module only if not allocated to any doctype
2017-03-14 11:24:26 +05:30
pratu16x7
39e4952ccf Title case, use gs title column, exclude docstatus 2 2017-03-13 10:12:25 +05:30
Rushabh Mehta
7a735739e1 [minor] show develop_version in branch 2017-03-10 09:38:19 +05:30
pratu16x7
5a62375ee5 generic doctype check 2017-03-09 15:55:28 +05:30
pratu16x7
82c122ecea child table (__) exclusion 2017-03-09 15:54:18 +05:30
pratu16x7
1f6e2d93aa child tables not in search, diminish placeholder 2017-03-09 15:54:07 +05:30
Nabin Hait
7fe50c885a Merge branch 'master' into develop 2017-03-09 14:59:02 +05:30
Rushabh Mehta
2e1d0fe71e [minor] html_utils.py, bleach.linkify remove tokenizer 2017-03-09 14:02:26 +05:30
Rushabh Mehta
8a83a9bfed [fix] fix html5lib compatibility issue 2017-03-09 13:20:40 +05:30
Nabin Hait
0e85e30789 Merge pull request #2833 from rmehta/grid-mandatory
[fixes] mandatory css in grids, better welcome email
2017-03-09 11:04:22 +05:30
Rushabh Mehta
614098a84a [fixes] mandatory css in grids, better welcome email 2017-03-08 22:52:54 +05:30
Nabin Hait
54af579e09 Merge pull request #2823 from wshurafa/fix-query-condition-case-sensitivity
Fix query condition case sensitivity
2017-03-08 14:03:06 +05:30