Commit graph

106 commits

Author SHA1 Message Date
tundebabzy
bd6bea9fec edit documentation and add correct image url (#4116) 2017-09-14 11:04:40 +05:30
Rushabh Mehta
8bc72a1255 [minor] list is extensible 2017-08-02 14:54:28 +05:30
Rushabh Mehta
ece91d903c [docs] simplified docs home 2017-07-31 17:39:44 +05:30
Rushabh Mehta
590310091b [docs] remove {{docs_base_url}} 2017-07-31 16:41:19 +05:30
Rushabh Mehta
8f2b001bd0 [docs] add headings 2017-07-31 16:21:13 +05:30
Rushabh Mehta
c519122929 [docs] Build docs in an app (#3796)
* [docs] to be rendered in website

* [docs] generating-docs.md

* [fix] codacy

* [docs] minor updates

* [fix] routing
2017-07-28 11:43:16 +05:30
Prateeksha Singh
7fa8148d33 Graph additions (#3776)
* remove hardcoded height and width

* [graph] relative measures, offsets, generalise all base jobs

* Multiple datasets! (individually colored)

* [graph] Tooltips

* [graph] animate and change values

* [graph] percentage graph

* [graph] custom height, window resize refresh

* [graph] style changes

* [graph] update docs

* [graphs] make graphs.less

* [graphs] prefix classes with 'graph-', nest inside parent class
2017-07-28 11:14:33 +05:30
felixvarghese
f189829240 Allow SSL connections to a remote database server (#3742)
* Allow SSL connections to a remote database server

Add the following options in site_config.json to use ssl

- "db_ssl_ca" = "/path/to/ca/cert.pem"
- "db_ssl_cert" = "/path/to/ssl/cert.pem"
- "db_ssl_key" = "/path/to/ssl/key.pem"

The files mentioned should be stored on the App server in the location mentioned.

This commit allows for basic ssl connections. X509 is still not supported.

If the above options are not set, the connection will not use an encrypted connection, and connect normally.

* docs - Allow SSL to remote database host
2017-07-20 18:00:02 +05:30
Rushabh Mehta
5577442251 [tests] refactor tests (#3743)
* [tests] refactored client side tests

* [tests] refactored client side tests

* [tests] refactored client side tests
2017-07-19 18:09:06 +05:30
Prateeksha Singh
b602a07c7a Graphs, and target notifications (#3641)
* [sales goal] in company; graph, notifs

* cleanup notifications.js, summary and specific val in graph

* Add line graph, add goal data methods in goal.py

* [tests] targets in notification config

* [minor] type of graph as argument in parent

* Update graph docs

* remove company dependent test for notification

* [fix] test

* look for monthly history in cache

* check for cached graph data in field
2017-07-17 14:51:30 +05:30
Rushabh Mehta
25ad8ef16c Test Runner - Refactored (#3679)
* [tests] test_runner to run one JS test at a time

* [tests] test_runner to run one JS test at a time

* [test] ignore failing tests

* [test] comment test_calendar_view

* [test] add timeout

* [test] add timeout
2017-07-13 15:17:12 +05:30
Nabin Hait
698e2d8c69 Escaped success msg in web form. Fixes frappe/erpnext#9729 (#3643) 2017-07-08 13:53:00 +05:30
Frappe PR Bot
10318c3f12 [translation] translation updates (#3607) 2017-07-04 16:19:36 +05:30
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
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
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
400faa02fe Added new commands and cleanup (#2183)
Updated Cheatsheet
2016-10-24 13:13:08 +05:30