Commit graph

59 commits

Author SHA1 Message Date
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
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
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
19e955f81d [minor] catch badly formed template while building help 2016-09-01 13:17:08 +05:30
Felipe Orellana
d07e6759a1 Added junit xml reporting capability to test_runner. Added new --junit-xml-output flag to frappe run-test bench command. Updated requirements file to include xmlrunner to generate junit xml reports. (#1995) 2016-08-23 16:49:08 +05:30
Rushabh Mehta
512fc3a5c2 [feature] [api] frappe.client.insert_many 2016-08-09 11:09:31 +05:30
Anand Doshi
19ece064cd Merge pull request #1802 from anandpdoshi/password-strength
[security] test password strength
2016-06-16 18:25:14 +05:30
Anand Doshi
155d065807 [cleanup] remove celery from requirements.txt 2016-06-16 11:58:14 +05:30
Anand Doshi
f176555dd5 [security] test password strength 2016-06-15 19:22:18 +05:30
Anand Doshi
526e9ea2d7 [security] encrypt passwords that need to be retrievable, except User password which should be hashed 2016-06-13 17:18:59 +05:30
Anand Doshi
a48dd50381 [fix] with frappe.init_site, worker and schedule commands, cleanup and fixes to rq code 2016-04-13 19:28:04 +05:30
Valmik Jangla
a2ad631754 Removed / Replaced Celery related code 2016-04-11 17:39:06 +05:30
Valmik Jangla
6d0563e8ea WIP code migration from Celery to RQ 2016-04-11 17:36:27 +05:30
Anand Doshi
353e8a9d1f [fix] Sanitize form_dict and doc values to prevent XSS 2016-02-23 12:11:28 +05:30
gabtzi
b6d321a921 Added requirement for beautifulsoup4 2016-01-27 20:51:23 +05:30
Paul Belanger
a4751e1d80 Drop slugify from requirements
I could not see where this was actually needed.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-01-14 11:38:55 -05:00
Anand Doshi
e7738da5fc [fix] hotfix use https in cloning pdfkit 2015-12-09 15:12:07 +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
Rushabh Mehta
9231b9a9b8 [enhancement] added 'make_thumbnail' to File and will be saved as thumbnail_url 2015-10-07 14:28:42 +05:30
Anand Doshi
587e43c7b0 [fix] sanitize html for guest methods if guest user 2015-09-23 18:25:36 +05:30
Jesus Tinoco
f76fd58698 Watchdog version updated
Executing the 'bench init frappe-bench' command in OSX the latest version of watchdog fails. Using watchdog 0.8.0 it works properly.
2015-08-14 12:29:45 +02:00
Anand Doshi
ab2ac94d10 [minor] removed pyopenssl from requirements 2015-08-12 10:46:07 +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
Pratik Vyas
11c8e3ee67 Set multi statements to off 2015-05-13 11:15:39 +05:30
Anand Doshi
50b80c89a2 [fix] use sqlparse to ensure only one query is executed in frappe.db.sql 2015-05-12 14:30:35 -07:00
Pratik Vyas
60acd54391 Use num2words 2015-05-04 16:57:41 +05:30
Pratik Vyas
7993f8c1e8 new cli 2015-03-02 17:13:42 +05:30
Anand Doshi
0f6bf727d8 Fixes in less 2015-02-26 16:17:26 +05:30
Rushabh Mehta
494f8274ae [new-app] [minor] app pre-requisites and requirements fixes 2015-02-13 10:13:14 +05:30
Anand Doshi
b81b3fe65d Translate country info, removed some $.each 2015-02-12 19:11:57 +05:30
Rushabh Mehta
0d56458b8d [email] fixes to formatting and threading 2015-01-22 15:53:23 +05:30
Rushabh Mehta
7ae3ca289b [design] list views 2015-01-05 17:36:46 +05:30
Rushabh Mehta
cd9a34616f [style] 2014-12-26 12:51:09 +05:30
Pratik Vyas
d16d3be524 remove pytz version pinning 2014-12-24 10:19:52 +05:30
Pratik Vyas
e99e195312 Update requirements.txt 2014-10-10 17:00:33 +05:30
Anand Doshi
b8e863c90a [fix] Convert newlines to <br> for Text/Small Text, added ipython to requirements.txt 2014-08-05 11:39:17 +05:30
Anand Doshi
d6af832216 Added babel, allow script report columns and data as a list of dict 2014-07-21 11:42:46 +05:30
Rushabh Mehta
347b03f8a6 added pdf, fixes frappe/erpnext#863 2014-07-07 11:48:55 +05:30
Rushabh Mehta
eb70ed8735 removed inline styling and fancy formatting for emails 2014-06-19 17:59:36 +05:30
Rushabh Mehta
487a4fed32 started client side testing using selenium and other related and unrelated fixes 2014-04-30 19:39:35 +05:30
Anand Doshi
656a583c1f Cleanup in Celery 2014-03-06 14:54:39 +05:30
Anand Doshi
092a665806 Fixed rauth, requests requirements issue 2014-02-27 23:47:52 +05:30
Anand Doshi
e3a0c4c9a6 Fixed rauth, requests requirements issue 2014-02-27 23:09:04 +05:30
Anand Doshi
9f61571c0c Commonified OAuth v2 based login using Facebook, Google and GitHub 2014-02-27 20:40:06 +05:30
Pratik Vyas
c5c94242bb Update requirements.txt 2014-02-27 13:19:51 +05:30
Anand Doshi
8333562e1a Build and Watch without passing site argument,
Finishing touches to Google OAuth
2014-02-27 13:11:40 +05:30
Rushabh Mehta
730717e93e started google oauth integration 2014-02-25 13:55:48 +05:30
Rushabh Mehta
a3a0b5c03f added lxml dependency 2014-01-31 14:53:58 +05:30
Anand Doshi
c4ce0c869b Added requirement: inlinestyler, added html email template, expand partial links in bulk email text content 2014-01-27 14:56:24 +05:30
Nabin Hait
af041d7713 Fixed conflict while merging with develop branch 2014-01-20 17:01:01 +05:30