Commit graph

38 commits

Author SHA1 Message Date
Saurabh
427a97774e [path][fix] paypal integration 2016-10-31 20:20:43 +05:30
Saurabh
371d9d1f75 [minor][fix] path fixes for manual dropbox backup 2016-10-31 11:41:55 +05:30
Saurabh
6f210f9401 [fix] typo fix 2016-10-25 13:03:34 +05:30
Revant Nandgaonkar
d48b270bf5 OAuth 2 Provider for frappe (#2167)
* OAuth 2.0 Classes Added

Added oauthlib in requirement.txt
Added class WebApplicationServer for Authorization code grant and Bearer tokens.
Added class OAuthWebRequestValidator for Validating Oauth Request for Web Application

* copied code from mnt_oauth needs review

* [New] OAuth2 Doctypes and endpoints added

Integrations > OAuth Provider Settings
Integration Broker > OAuth Bearer Token
Integration Broker > OAuth Authorization Code
Integration Broker > OAuth Client
endpoints for authorize, approve, get_token, revoke_token and test_resource

* oauth2.py: renamed skipauth to skip_auth

* [Fix] Parse URL instead of storing it in settings

* [Fix] get skip_auth from OAuth Provider Settings

* Success URL format. Failure URL added. Confirmation dialog layout changed.

* Validate access token if passed during use of REST API

* OAuth Confirmation colours fixed

* Multiple Changes

Added links for OAuth under Integrations in Module list.
Updated permissions on OAuth doctypes.
Updated layout of OAuth Client doctype.

* [Docs] Integrations > How to setup OAuth

* [Docs] Integration > Using OAuth

* [Fix] get_token endpoint must to handle POST request

* [Fix] http verbs and responses for OAuth 2.0 Endpoints

* [Fix] accept oauth2 access_token from headers

* Removed unused imports from api.py
2016-10-25 10:28:32 +05:30
Saurabh
0f11170c7e [minor][fix] remove raise import error (#2186) 2016-10-24 15:29:16 +05:30
Rushabh Mehta
b8b2811aa6 [minor] 2016-10-18 14:23:06 +05:30
Rushabh Mehta
1026a48a97 [refactor] code for integration service scheduled events 2016-10-13 14:59:23 +05:30
Saurabh
93d3bf8fc3 [fix] get settings attr (#2162) 2016-10-11 11:43:46 +05:30
Saurabh
205ae26751 [fix] refactor integration services (#2087)
* [fix] refactor integration services

* [fix] patch fix

* [fix] added redirect url.

* [fix] custom redirect to and reditect message for paypal and service setup information

* [minor][fix] remove ldap dependancy from requirements
2016-10-10 17:16:21 +05:30
Rushabh Mehta
9d7ee83c5e [refactor] scheduler log is now error log and as MyISAM (commit not required) (#2152)
* [refactor] scheduler log is now error log

* [minor] new naming series

* [fix] engine

* [fix] saved by tests
2016-10-06 17:17:55 +05:30
Rushabh Mehta
43a515c677 [fix] dont check permissions for setting log 2016-10-06 12:15:22 +05:30
Rushabh Mehta
f923d66137 [minor] razorpay try 3 times to authorize 2016-10-06 11:16:49 +05:30
Rushabh Mehta
290897f849 [minor] wait for razorpay to complete the payment 2016-10-06 11:07:06 +05:30
Rushabh Mehta
7101066f1f [fixes] for razorpay 2016-10-04 16:11:16 +05:30
Saurabh
f5e97d37e4 [fix] paypal payment atrributes fix (#2132) 2016-10-02 21:02:31 +05:30
Rushabh Mehta
2a3eb0b9cd [enhance] receive payments in web form and other fixes (#2097) 2016-09-24 14:55:35 +05:30
Saurabh
8e520edba6 [fix] currency code fix for paypal payment 2016-09-22 18:21:12 +05:30
Saurabh
550ea2258d [minor][fix] razorpay payment 2016-09-19 18:11:27 +05:30
Rushabh Mehta
7166bc3e61 [translation] [fixes] frappe/erpnext#5860 and docs 2016-09-15 15:16:22 +05:30
Rushabh Mehta
2e66bd044b [docs] and other minor fixes 2016-09-15 13:55:37 +05:30
Saurabh
772d72577f [urgent][fix] handler if ldap is not setup (#2033) 2016-09-09 19:39:00 +05:30
Saurabh
18c62f0470 Integration broker (#1968)
* [enhancement] integration borker and controller

* [minor][fix] parameter naming changes

* [fix] common scheduler for integration service

* [fix] integrations

* [patch] patch to move payment gateway in Integration Service

* [fix] add payment success, cancel and failuer handling pages

* [enhancment] dropbox integration merged in integration services

* provision to add custom parameters

* [fixes] patch fix to setup dropbox settings

* [fixes] removed dropbox backup, api usage note for paypal and razorpay

* [minor][fix] deprecate service events

* [fix] return type fix for checkout urls

* [fix] add custom settings via patch for dropbox backup frequency

* [fix] remove gride editting

* [enhance] ldap based login

* [enhance] login via ldap credentails

* [commit] remove parameter table, save params as json dict
2016-09-09 11:15:18 +05:30
Rushabh Mehta
47005e9e02 [fix] parent_website_route + '/' + page_name = route 2016-06-23 15:47:47 +05:30
Rushabh Mehta
f59e6be0f4 [fix] dropbox backup can be changed if setup, fixes frappe/erpnext#5260 2016-06-08 16:54:28 +05:30
Nabin Hait
0a20b1e27e Merge branch 'master' into develop 2016-05-11 12:41:34 +05:30
Nabin Hait
883e6c8ea8 [fix] Exception handling while uploading backups to dropbox 2016-05-10 17:36:38 +05:30
Anand Doshi
a7adc7da54 Merge branch 'master' into develop 2016-04-27 15:41:34 +05:30
Anand Doshi
8373c87b75 [fix] dropbox backup - encode file path in os.stat 2016-04-25 17:54:07 +05:30
Anand Doshi
136b4523e1 [fix] save dropbox form on disabling dropbox backup 2016-03-25 11:55:12 +05:30
Anand Doshi
a79bb3cf6e [fix] Try to reconnect to dropbox if token expires. Also upgrade to oauth2. 2016-02-24 13:02:19 +05:30
Rushabh Mehta
a1886c5dc7 [minor] re-raise if dropbox fails for something other than 404 2016-02-15 15:24:09 +05:30
Anand Doshi
24ca29445b [fix] check if private folder exists before dropbox upload 2015-12-11 12:05:00 +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
f68601c003 [fix] During dropbox backup, don't take files backup, as the files are synced individually 2015-11-04 12:34:59 +05:30
Anand Doshi
ebdaaca779 [fix] dropbox backup typo and added backups under Setup > System 2015-09-28 19:37:12 +05:30
Rushabh Mehta
4e04d40d33 [cleanup] added dropbox backup 2015-09-28 19:12:35 +05:30
Anand Doshi
ad9c500863 Exported all doctypes 2015-08-27 16:45:45 +05:30
Anand Doshi
c079e27d3f Moved Backup Manager and Social Login keys to the new Integrations Module, prepared frappe for Mandrill Integration 2015-08-11 12:03:13 +05:30