Commit graph

165 commits

Author SHA1 Message Date
Rushabh Mehta
f409fd7358 [ui-tests] python is back! (#3565)
* [ui-tests] python is back!

* [minor] remove old test

* [test] dont test test_runner

* [tests] try firefox

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome 1

* [tests] try chrome 2

* [tests] try chrome 3

* [tests] try phantomJS

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] login click button

* [tests] login click button

* [tests] show log

* [test] test with start_maximized

* [test] test only login

* [travis] test another port for selenium

* [travis] try running ui tests after unittests are done

* [travis] pring body_div if fails

* [tests] complete setup wizard for frappe

* [minor] move ui tests to frappe/ui/tests

* [tests] ui tests in public and codacy fixes

* [fix] tests + eslint

* [minor] move tests to tests/ui folder and print console after print

* [fix] linting

* [tests] added documentation and better integration testing

* [promise] form triggering is now promise based

* [test]

* [test]

* [test]

* [test]

* [test] print output

* [minor] default empty in select and print console

* [cleanup] more minor fixes

* [enhance] first-cut done!

* [minor] frappe.run_serially to pass arguments while chaining
2017-07-03 11:53:00 +05:30
Sagar Vora
b919aa4b74 Organisation, adding more resources and language changes 2017-06-21 18:07:37 +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
Fahim Ali Zain TP
ceec4af9c6 Create hooks.md 2017-06-13 05:45:05 +05:30
Karan Sharma
1d0c98c265 Missing + operator
`msgprint` has a missing `+` operator, which is syntactically incorrect.
2017-06-08 11:58:04 +05:30
Ramesh
67cff23db2 Update hooks.md
added additional hooks in hook.md. on_trash, on_change and after_delete.
2017-05-25 13:07:36 +05:30
JC
343d773bb0 [documentation] fix url to generators.png (#3220)
* Update index.txt

* [documentation] fix path to png, add {next} link to next page

* [documentation] fix url to generators.png
2017-05-04 12:16:47 +05:30
JC
ea3b712461 Update index.txt (#3198) 2017-05-01 12:32:36 +05:30
JC
63b5db0054 Update generators.md (#3197)
add {next} markup missing at bottom of page
2017-05-01 12:32:02 +05:30
Ishan Loya
b310ab57de Update bench-commands-cheatsheet.md 2017-04-25 14:15:22 +05:30
tundebabzy
f070571900 Issue 3135 (#3138)
* creates new function `print_db_config` to print out ERPNext required database settings to console

* refactors `check_if_ready_for_barracuda` to make use of `print_db_config`

* adds a more explicit explanation before showing the `expected_config_for_barracuda` text

* adds MariaDB default configuration to documentation
2017-04-24 09:42:19 +05:30
Arvind Subramanian
a2a6b8ff8c removed the command as below error (#3137)
sudo python install.py  --setup-production
usage: install.py [-h] [--develop | --production] [--site SITE] [--verbose]
                  [--user USER] [--bench-branch BENCH_BRANCH]
                  [--repo-url REPO_URL]
install.py: error: unrecognized arguments: --setup-production
2017-04-24 09:40:53 +05:30
Sagar Vora
5633b448a0 Update sites.md (#2896)
Fixed broken link.
2017-03-23 14:55:18 +05:30
Sagar Vora
5521d290d6 Update bench-commands-cheatsheet.md (#2895)
Added bench set-config command and description under Development section of file.
2017-03-23 14:54:59 +05:30
Charles-Henri Decultot
12d30c87c2 Corrections of the document generation guide (#2870)
* Corrections of the document generation guide

* Update generating-docs.md
2017-03-23 14:28:30 +05:30
Revant Nandgaonkar
b3da13d86f [Docs] Updated OAuth 2 Documentation 2017-03-14 12:03:56 +05:30
Elliot Schep
3cd8be14c4 [minor] Fixed spelling mistake 2017-02-28 17:16:46 +01:00
Kanchan Chauhan
4f7628c813 [Fix] Documentation Fixes 2017-02-23 15:03:48 +05:30
KanchanChauhan
93528ffc81 [Fix] Documentation Broken Images (#2737) 2017-02-22 14:55:36 +05:30
Felipe Morato
087864965f [docs] Fix tutorial web views (#2670)
* [docs] Add images to web views tutorial. fixes #1464

* [docs] Fixes web views row overriding. #2669
2017-02-09 12:56:18 +05:30
Saurabh
954abfaa43 [document] document for frappe.call (#2304)
* [document] document for frappe.call

* [fix] documentation for frappe.call()

* Update frappe_ajax_call.md
2017-01-10 14:21:58 +05:30
KanchanChauhan
c0a685aa24 Email ID renamed to Email Address (#2541) 2017-01-05 14:55:51 +05:30
Rushabh Mehta
7dd822aeb6 [fix] loading page title from html 2016-12-21 14:51:34 +05:30
Neil Trini Lasrado
a9dfad0cb7 Update generating-docs.md
Changed bench command for documentation generation.
2016-12-14 12:12:08 +05:30
zeroheure
8f017e3a22 improve french sentences (#2445) 2016-12-13 12:59:39 +05:30
zeroheure
bc7e69c29e fix typos (#2444) 2016-12-13 12:59:08 +05:30
zeroheure
64861e6322 library means bibliothèque not librairie & fix typos (#2443) 2016-12-13 12:58:24 +05:30
DrTrills
a1588b7a53 added sudo for nginx reload. (#2438) 2016-12-12 14:35:05 +05:30
DrTrills
d921ae839c fixed directory path (#2436) 2016-12-09 15:59:32 +05:30
Léo
9aeec44087 [fix] correct french translation (#2422) 2016-12-07 11:28:40 +05:30
Rushabh Mehta
7bc7e3bc63 Upgrade Font Awesome (#2410)
* Font-Awesome V3.x to V4.x

Font-Awesome V3.x to V4.x

* Font Tidy

Font Tidy

* FA4 Upgrade - Html Js & Json

FA4 Upgrade - Html Js & Json

* Minor

Minor
2016-12-05 13:07:03 +05:30
Shreyas Patil
8cb27f8366 [Docs] Added new article to add custom button to a form (#2364) 2016-11-25 16:01:57 +05:30
clarkejj
90cffeff6e [fix] 404 File not found errors (#2326)
specify full path
https://frappe.github.io/frappe/user/en/guides/app-development/

This file name matches the old one - I am guessing this image is correct!?
frappe/docs/assets/img/script-report.png
2016-11-18 14:05:59 +05:30
clarkejj
24de8f6811 404 File not found error (#2321)
this file name causes 404 File not found error
https://frappe.github.io/frappe/user/en/bench/guides/production-setup.html

correct file name 
https://frappe.github.io/frappe/user/en/bench/guides/setup-production.html
2016-11-15 16:31:38 +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
Nagarajan
e5976c0a57 Update index.md (#2264) 2016-11-07 16:59:00 +05:30
robert schouten
92ac40df6f Update site_config.md (#2198) 2016-11-03 11:10:55 +05:30
Nabin Hait
f9f203dcb6 Fixed version conflict 2016-10-26 16:43:31 +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
Rohit Waghchaure
be0d83ed81 [Documentation] Fixed images in how to make report 2016-10-24 17:09:47 +05:30
Valmik
4faf51131f [minor] fixed links in portugese translations 2016-10-24 15:21:43 +05:30
Valmik
400faa02fe Added new commands and cleanup (#2183)
Updated Cheatsheet
2016-10-24 13:13:08 +05:30
RobertSchouten
e9f5768a8b add new hook and full list 2016-10-17 16:51:46 +08:00
Rushabh Mehta
bae97cfed4 Email Alert on any controller method (#2157)
* [docs] typo

* [email alert] now on any standard controller method

* [minor] install customizations with intall;

* [test] [fix] and truncate subject in email;

* [fix] error log seen issue
2016-10-08 11:11:36 +05:30
Douglas da Costa Pinheiro
769181ba34 Tutorial portuguese (#2125)
* add portugues opition on index

* add portugues folder

* translate app.md

* translate before.md

* translate title of app and before

* translate bench.md

* translate conclusion

* translate new-app.md

* translate setting-up-the-site.md

* translate start.md

* translate models.md

* translate roles.md

* translate doctypes.md

* translate naming-and-liking.md

* translate doctype-directory-structure.md

* translate users-and-records.md

* translate page form-client-scripting.md

* translate page controllers.md

* translate page reports.md

* translate page web-views.md

* translate page single-doctypes.md

* translate page taks-runner.md

* translate change cargo to role
2016-10-05 14:16:27 +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
nick9822
ff5c38054c Update command for Reinstall with fresh database 2016-09-28 19:11:36 +05:30
Nabin Hait
af86b15547 Merge pull request #2110 from douglasPinheiro/fix_sintax_error_on_docs
fix error
2016-09-28 16:59:31 +05:30
root
254b418879 fix error 2016-09-27 23:42:07 -03:00
Douglas da Costa Pinheiro
aaf610647d fix sintax error (#2101) 2016-09-26 18:18:58 +05:30