Commit graph

602 commits

Author SHA1 Message Date
KanchanChauhan
267b3bb0cc [WIP] Option to align field in Print Format Builder (#2109) 2016-10-25 11:26:04 +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
Rushabh Mehta
b8b2811aa6 [minor] 2016-10-18 14:23:06 +05:30
Rushabh Mehta
ecfb630246 [minor] print format in web form 2016-10-12 14:12:41 +05:30
Rushabh Mehta
a9b1139040 [fix] [web-form] 2016-10-11 15:07:21 +05:30
Rushabh Mehta
538d8e3d2d [web-form] validate in server before saving 2016-10-11 14:26:22 +05:30
Rushabh Mehta
d2db71f8c4 [fixes] serverside validation in web form 2016-10-11 11:44:22 +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
87b3816cf4 [fixes] print format cleanup, options for alignment and print from web form (#2159)
* [fixes] print format cleanup, options for alignment and print from web form

* [print-format] select module for export
2016-10-10 16:16:52 +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
290897f849 [minor] wait for razorpay to complete the payment 2016-10-06 11:07:06 +05:30
Rushabh Mehta
4db2561a8b [fix] web form attachments 2016-10-05 17:49:28 +05:30
Rushabh Mehta
4dc37d216f [style] for web forms 2016-10-05 17:25:48 +05:30
Rushabh Mehta
930fc9a803 [fix] web form mandatory attachment before payment 2016-10-04 23:44:36 +05:30
Nabin Hait
41c3e7bb25 Fixed version conflict 2016-10-04 17:43:50 +05:30
Rushabh Mehta
7101066f1f [fixes] for razorpay 2016-10-04 16:11:16 +05:30
Faris Ansari
7bf3e4857e [fix] image size in print format 2016-10-04 13:15:19 +05:30
Rushabh Mehta
796f7b0214 [fix] web form and ctrl+enter in quick entry 2016-10-04 12:22:06 +05:30
Nabin Hait
7801912638 Fixed version conflict 2016-10-03 18:07:14 +05:30
Rushabh Mehta
e2778c350c [web-sidebar] fixes to permissions 2016-10-03 17:29:08 +05:30
Faris Ansari
78f5008f09 [fix] modern print format 2016-10-03 17:13:05 +05:30
Rushabh Mehta
9353303be6 Exporting Customizations docs and other minor fixes (#2136)
* [fix] email alert in sync

* [fixes] web form mandatory and docs for exporting customizations
2016-10-03 12:18:57 +05:30
Saurabh
25015aba96 [minor][fix] erpnext-logo on rzorpay dialogue 2016-09-30 18:23:33 +05:30
Rushabh Mehta
f0b691156a [web-form] [fixes] mandatory fixes and max attachment size 2016-09-30 18:16:20 +05:30
Nabin Hait
b2ca70a779 Fixed version conflict 2016-09-29 14:08:05 +05:30
gaurav-naik
7e57005894 Allow control over loading scripts in base.
Some control over how base scripts are loaded would be helpful. Faced issue while integrating summernote within web page.
https://github.com/summernote/summernote/issues/138

For now, we have overridden base.html in custom app.
2016-09-29 13:21:06 +05:30
Rushabh Mehta
04aaa92a75 [web-forms] style fixes 2016-09-29 12:53:40 +05:30
Rushabh Mehta
f1dd0c0bb8 [fix] web forms remove attachment 2016-09-29 12:38:46 +05:30
Rushabh Mehta
5c110bd48f [fix] date parsing and formatting in web form 2016-09-28 18:19:19 +05:30
Rushabh Mehta
bfa938ff17 [web-forms] mandatory fields must updated before payment, customize list for webform and other fixes 2016-09-28 15:08:10 +05:30
Faris Ansari
67fbcfcac5 [fix] pdf print format 2016-09-28 13:23:16 +05:30
Rushabh Mehta
7f77139774 [fix] minor date-format 2016-09-26 17:56:38 +05:30
Rushabh Mehta
cd7b7ae35b [portal] enhancement to web form, introduced int, custom menu in portal settings etc 2016-09-26 17:03:55 +05:30
Rushabh Mehta
b82808c51f [fix] web form 2016-09-24 17:45:06 +05:30
Rushabh Mehta
c9d1dc3590 [web forms] handle mandatory optional and other fixes 2016-09-24 17:33:23 +05:30
Rushabh Mehta
08ffcb4be2 [minor] web form payment section in last page 2016-09-24 16:07:26 +05:30
Rushabh Mehta
58172d6c99 [minor] new in web form should show title, not doctype 2016-09-24 15:42:18 +05:30
paurosello
92d49ba07c Translation of table headers in webforms (#2099)
Added translation for headers in web forms
2016-09-24 14:56:27 +05:30
Rushabh Mehta
2a3eb0b9cd [enhance] receive payments in web form and other fixes (#2097) 2016-09-24 14:55:35 +05:30
Rushabh Mehta
97558a5910 [fixes] [web forms] 2016-09-24 14:09:50 +05:30
Rushabh Mehta
4148cea083 [enhance] save redirect info on sign-up 2016-09-24 13:05:05 +05:30
Rushabh Mehta
bb219be281 [fixes] to web forms, child table saving, multiple save 2016-09-22 12:55:14 +05:30
Rushabh Mehta
74cb41ae71 [enhance] web form pagination frappe/shishuvan#3 (#2076)
* [enhance] web form pagination frappe/shishuvan#3

* [minor] add label in web form grid

* [minor] select module for exporting web form

* [fix] more fixes, #2057
2016-09-20 17:47:39 +05:30
Saurabh
550ea2258d [minor][fix] razorpay payment 2016-09-19 18:11:27 +05:30
Neil Trini Lasrado
e804cd56e4 Fixes for web forms (#2060) 2016-09-15 17:12:44 +05:30
Nabin Hait
c1e5e5dabe Fixed version conflict 2016-09-14 15:52:32 +05:30
Rushabh Mehta
541d8be95f [complete] auto email report 2016-09-14 12:00:52 +05:30
Rushabh Mehta
37eb4eaffc [wip] grid in web form (#2044)
* [wip] grid in web form

* [complete] webform in grid

* [minor] configurable sidebar items in web form

* [fix] tests

* [style]
2016-09-13 14:38:38 +05:30
Neil Trini Lasrado
e60c19862c Some fixes for web forms (#2043)
* moved position of desc for a field of type text in webforms

* Fixed Link field in Web Forms

* [Fix] - comments in js must be /* */
2016-09-12 16:07:36 +05:30
Rushabh Mehta
c966fb3d00 [fix] make "draft" heading for print format configurable 2016-09-12 13:00:24 +05:30