Commit graph

107 commits

Author SHA1 Message Date
Rushabh Mehta
a975ee2af8 Merge pull request #4166 from netchampfaris/webhook-fix
[fix] webhooks cache
2017-09-25 11:35:22 +05:30
Rushabh Mehta
562d4c4979 Merge pull request #4168 from maxtorete/develop
Fixed rounding problem in stripe integration (#10645)
2017-09-25 11:34:03 +05:30
creador30
0df3335e9e [fix] dropbox upload of unicode filenames
When using Unicode filenames Dropbox backup fails with an error similar to:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u015f' in position 44: ordinal not in range(128)
This commit fixes this issue.
2017-09-24 11:12:52 +03:00
maxtorete
5f86884031 Fixed rounding problem in stripe integration (#10645) 2017-09-23 01:46:12 +02:00
Faris Ansari
0bcb4ee131 [minor] webhooks cleanups 2017-09-22 17:34:49 +05:30
Faris Ansari
1f151ee825 [fix] webhooks cache 2017-09-22 17:23:35 +05:30
Rushabh Mehta
dcaf5f98af [fix] remove prints 2017-09-21 16:47:53 +05:30
Revant Nandgaonkar
45f2ff43ad [Fix] Codacy
https://www.codacy.com/app/frappe/frappe/pullRequest?prid=900990
2017-09-20 18:52:50 +05:30
Revant Nandgaonkar
2d148c804e Webhook retry 3 times 2017-09-20 18:34:28 +05:30
Revant Nandgaonkar
1f9b1e40e3 Moved run_webhooks to webhook.py 2017-09-20 16:33:28 +05:30
Revant Nandgaonkar
e7459c7e83 Clean up 2017-09-19 16:40:17 +05:30
Revant Nandgaonkar
fadb45e369 enqueue webhook request 2017-09-18 17:10:53 +05:30
Revant Nandgaonkar
421b436803 move run webhook to Document from hooks 2017-09-18 16:32:33 +05:30
Revant Nandgaonkar
cbfbaed73e [Fix] Codacy
https://www.codacy.com/app/frappe/frappe/pullRequest?prid=900990
2017-09-14 19:25:38 +05:30
Revant Nandgaonkar
cedb309446 Cleanup and Docs for Webhooks 2017-09-14 17:26:34 +05:30
Revant Nandgaonkar
24a2656746 Only allow specified fields of doc 2017-09-14 14:16:44 +05:30
Revant Nandgaonkar
beb6318d88 Webhook Data DocType added 2017-09-14 13:24:02 +05:30
Revant Nandgaonkar
4b75ec13b3 [Fix] Codacy Errors 2017-09-10 18:30:50 +05:30
Revant Nandgaonkar
a928d7ac01 [Fix] Codacy 2017-09-10 12:03:50 +05:30
Revant Nandgaonkar
8c71042c67 [fix] Codacy errors 2017-09-10 11:49:53 +05:30
Revant Nandgaonkar
3d15e6a431 Cleanup 2017-09-10 11:09:50 +05:30
Revant Nandgaonkar
f8a1d55689 Fix and Documentation
webhook_doctype field made Mandatory in Webhook
Documentation and screenshot added
2017-09-10 10:58:33 +05:30
Revant Nandgaonkar
0b1a655da1 [Fix] filter only existing webhooks 2017-09-09 19:26:50 +05:30
Revant Nandgaonkar
d6bfa7431b Webhooks for frappe doc_events 2017-09-09 14:10:09 +05:30
Revant Nandgaonkar
69e0d4c930 Changes to Webhook DocType and Tests 2017-09-09 12:26:47 +05:30
Revant Nandgaonkar
ff8215331a [Add] Webhook DocType and Tests 2017-09-08 17:17:04 +05:30
Aditya Hase
99f17c651c Use 'in' instead of 'has_key' 2017-09-04 16:05:58 +05:30
Rushabh Mehta
e71fb55702 Merge branch 'develop' into fix-urlencode 2017-08-11 13:01:24 +05:30
Aditya Hase
e324406c8a Import six.moves.urllib.parse.urlencode instead of urllib.urlencode 2017-08-11 00:38:26 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
Aditya Hase
375dfd601d Replaced urlparse imports with six.moves.urllib.parse (#3847) 2017-08-03 11:43:28 +05:30
Aditya Hase
9d7d384a63 Replaced urllib.quote imports with six.moves.urllib.parse.quote (#3837) 2017-08-02 17:09:16 +05:30
Aditya Hase
ec9a01e3aa Replaced 'except' clause syntax (#3827) 2017-08-02 16:58:24 +05:30
Aditya Hase
774c5fd2c6 Replaced mixed usage of tabs and spaces for indents with tabs only (#3828) 2017-08-01 11:53:58 +05:30
Rushabh Mehta
aef98daae4 [add] catch errors flake8 (#3800) 2017-07-27 11:34:44 +05:30
Manas Solanki
6d35855a7b Fix for dropbox settings (#3749) 2017-07-25 11:25:28 +05:30
Revant Nandgaonkar
0fa951f893 Oauth2 tests (#3756)
* Test for oauth2 test_authorize_guest_redirect

* fix test oauth2

* [Fix] using py requests instead of werkzeug test client

* [Fix] https://www.codacy.com/app/frappe/frappe/pullRequest?prid=788942

* Test OAuth 2 Authorization Code Bearer Token flow

* [Fix] https://www.codacy.com/app/frappe/frappe/pullRequest?prid=788942
2017-07-24 11:25:05 +05:30
Saurabh
88c8df2350 [minor][fix] check for oauth1 access_key and access_secret before generating dropbox's oauth2 token (#3593) 2017-07-03 12:30:34 +05:30
Saurabh
ee13f1bc93 [fix] bypass setup_dropbox page via rest api 2017-06-20 18:39:47 +05:30
Saurabh
ec16d11ae6 generate oauth2 access token from oauth1 access token 2017-06-20 18:39:47 +05:30
Saurabh
0c6b1c4481 [fix] fixes to oauth 2 token generation for frappe cloud users 2017-06-20 18:39:47 +05:30
Saurabh
eb2611dd83 [enhance] update dropbox backup to be compatible with Dropbox V2 api 2017-06-20 18:39:46 +05:30
Saurabh
9b8d020ace Merge branch 'master' into develop 2017-06-13 15:16:34 +05:30
almeidapaulopt
b17b73c4f3 GSuite integration (#3252)
* GSuite initial commit

* GSuite initial commit

* cleanups

* exception handle

* gsuite script: add doGet

* Add GSuite integration to the upload popup

* hide dialog fields if gsuite disabled

* move gsuite code to gsuite.js from upload.js

* documentation

* change name format

* typo on GSuite

* copy paste the file .gs

* fix:don't show gsuite when creating a file in filemanager

* add version to webapp

* add webapp default url

* move webapp to html fied

* fix rebase

* fixes for codecy
2017-06-13 14:55:07 +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
Revant Nandgaonkar
5a0eb81340 [fix] OAuth2 Frappe Server URL Validation (#3397)
* [fix] OAuth2 Frappe Server URL Validation

Only request and validate the frappe_server_url if hostname is not equal to frappe_server_hostname
request.get to localhost by using hostname results into timeout

* check domains in local.conf.domains as well

* removed unused variable as per codacy
2017-06-12 16:12:49 +05:30
rohitwaghchaure
4e2749354b [fix] Refresh the page error during configuration in dropbox (#3338) 2017-05-19 11:13:47 +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
Saurabh
0943b684d3 [minor][fix] check also for dropbox_setup_via_site_config while showing Take Backup Now (#3256) 2017-05-10 14:02:25 +05:30
Rushabh Mehta
c02d5e5778 [fix] proposed for https://github.com/frappe/erpnext/issues/8423 2017-04-18 11:15:25 +05:30