Commit graph

76 commits

Author SHA1 Message Date
Aditya Hase
000d9a41b6 Use PyPDF2 instead of pyPdf 2017-08-11 00:39:24 +05:30
Rushabh Mehta
9785e925b7 [fix] for ci 2017-08-10 14:55:04 +05:30
B H Boma
dcee43f646 Settings to send Qrcode as email to user 2017-07-27 17:59:43 +01:00
ckosiegbu
3329618a14 Merge branch 'develop' into twofactor 2017-07-22 19:05:18 +01:00
Faris Ansari
db22aa1c87 Email styling using email.less (#3704)
* DRY font-family declarations

* Add email.less, inline styles using premailer

* min-width 100% for mobile email clients

* Emails without header have default 100% width (like before)

* Include email.css for all apps

* Keep !important declarations

* Add test case for inlining css

* Ignore important rules in css

* minor
2017-07-19 16:21:06 +05:30
ckosiegbu
fd3f0ced7a Include pyqrcode in requirements.txt 2017-07-16 15:28:36 +01:00
ckosiegbu
03718b9ba3 Merge branch 'develop' into twofactor 2017-07-14 12:43:41 +01:00
ckosiegbu
73d772604b Added pyotp to requirements.txt 2017-07-12 23:48:04 +01:00
Manas Solanki
b7e1060ea7 removed the xlwt and use the openpyxl for sending the auto email report in xlsx format (#3590) 2017-07-03 12:27:34 +05:30
rohitwaghchaure
1767922b8d [Fix] In words for polish lanaguage (#3577) 2017-06-28 14:38:55 +05:30
Sophat Vathana
7074d0cfe1 Update requirements.txt (#3522) 2017-06-23 18:01:25 +05:30
mbauskar
49ac5cc9e5 [minor] updated requirement for dropbox 2017-06-22 16:14:25 +05:30
tundebabzy
6a92612e45 changes mysql-python to mysqlclient for py3 support (#3301) 2017-05-19 10:35:14 +05:30
Manas Solanki
001e2d18e9 Add openpyxl in requirements 2017-02-14 18:34:35 +05:30
Nabin Hait
4cf123bd8f Fixed merge conflict 2016-11-28 14:25:11 +05:30
rohitwaghchaure
e03d56adb6 [Fix] Multiple letter head printing issue on print format (#2365) 2016-11-25 16:10:42 +05:30
Revant Nandgaonkar
a16e6a143f OpenID Connect for Frappe (#2227)
* Add field for client_secret in Oauth Client Doctype

* openid_profile endpoint in oauth2.py

* added stub methods for OpenID Connect in RequestValidator

* [Fix] using werkzeug url_fix on uri

* added 3 oidc methods in RequestValidator

* Added Frappe Section in Social Login Keys

Add section in `Social Login Keys` for fields `Frappe Client ID` and `Frappe Client Secret` and additional field Frappe OAuth 2 Server because github, facebook and google have fixed urls, Frappe server URL can change as per the hosting domain/server/company

* [Fix] accept code id_token param for oidc

* generate id_token jwt alg HS256

* Updates to OAuth 2 and OIDC

`OAuth Authorization Code` and `OAuth Bearer Token` DocType made RO
Delete Invalid Codes and Revoked Tokens periodically
generate and send `id_token` only if scope of token is `openid`

* [Fix] Periodically delete revoked tokens

* Social Logins untested

* Enabled Frappe social login

* [Docs] OpenID Connect and Frappe social login

* [Fix] Allow multiple scopes for OAuth 2

* [Docs] Added screenshot steps to configure openid and frappe social login

* saved doctype to solve merge conflict

* [fix] re-added client_secret after resolving merge conlict

* [Fix] frappe_userid and default scope
2016-11-07 22:25:11 +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
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