No description
Find a file
Revant Nandgaonkar 02aa7b6f41 Social login refactor (#4519)
* Added DocType Social Login Key

WIP for https://github.com/frappe/frappe/issues/4496
added basic fields
after_insert add provider_username and provider_userid fields on User dt
on_trash deletes added fields on User dt

* Added field to store fontawesome icon for provider

* [Patch] Social Login Keys to Social Login Key

* [Patch] Social Login Keys to Social Login Key

* Social Login Key generates boilerplate

* patch fixed for social_login_refactor

* removed patch-not working

* use social login keys to initiate flow

* Login page shows Social Login Key

* show login via if base_url present

* removed boilerplate generator

* Multiple Changes

fix zxcvbn import in password_strength.py
use of child table instead of additional fields on user dt to store username and userid

* Fetched Template on Client JS

* Frappe social login template working

* Added Social Login Key Templates

* Codacy fixes and validate social login key urls

* [Patch] Social Login Keys (untested)

* [Fix] Patch refactor social login keys

* [Fix] Patch refactor_social_login_keys manually tested

* Refactor OAuth 2.0 related changes for Social Login Key

* [Fix] Patch refactor social login keys

* Test - Adding Frappe Social Login Key

* Social Login Key Tests

check added child table entry on user for provider frappe
it also checks if userid is created

* [WIP] Office 365 Social Login Key Template

* [Fix] Social Login - Redirect URL

* [Test] Single sign-on icons for added provider

* [Fix] Codacy Errors

* [Fix] Social Login Key Form JS

* Docs Added for Social Login Key

* [Fix] Patch Refactor Social Login Keys

* Handle different icon types

Handle different icon types (image, icon, emoji) with just icon field

* Move the login methods to a new py file

frappe.integrations.oauth2_logins added
copied whitelisted guest oauth2 redirect endpoints from login.py
removing the functions from login.py will break backward compatibility

* Social Login Key Form Changes

Moved Enable field to top
Fields which are not editable are collapsed

* [Fix] Codacy Errors

* Corrected Docs, sync.py

* [Docs] Adding a social login provider

* [Fix] set frappe userid from User Social Login

* [Fix] frappe userid in oauth.py

* removed icon_type

* Use frappe.utils.is_image
2018-01-03 14:57:16 +05:30
.github updated README.md, we need better readmes 2017-09-25 21:41:40 +05:30
ci add my_config patch to travis 2014-10-12 18:54:44 +05:30
frappe Social login refactor (#4519) 2018-01-03 14:57:16 +05:30
test_sites [refactor] Language is now a doctype (#2003) 2016-08-23 16:38:03 +05:30
.eslintignore Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
.eslintrc New ListView 💥 + DataTable (#4577) 2017-12-27 11:24:25 +05:30
.gitignore [MIN] added the Babel Object Rest Plugin (#4589) 2017-12-12 12:37:54 +05:30
.travis.yml Chrome Driver Issue 2017-12-07 16:23:59 +05:30
__init__.py Add New Currency - XCD (#4660) 2017-12-25 13:39:48 +05:30
attributions.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
CONTRIBUTING.md [fix] contributing 2017-04-29 17:50:05 +05:30
hooks.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
ISSUE_TEMPLATE.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
LICENSE updated LICENSE, helps to index 2017-09-25 21:51:25 +05:30
Makefile added a Makefile for faster dev, and clean command to remove eggs, wheels, builds, dist - anything that clutters devspace 2017-09-25 19:33:54 +05:30
MANIFEST.in Fixed manifest and website 2014-06-09 13:21:57 +05:30
package.json [MIN] added the Babel Object Rest Plugin (#4589) 2017-12-12 12:37:54 +05:30
README.md Pure Python MySQL instead mysqlclient (with Python C API) (#4280) 2017-11-06 16:42:01 +05:30
requirements.txt remove psycop from requirements (#4562) 2017-12-01 12:06:15 +05:30
setup.py fixed codacy 2017-09-26 10:03:19 +05:30
socketio.js remove socketio logs 2017-12-29 10:38:48 +05:30

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext

Table of Contents

Installation

Install via Frappé Bench

Contributing

  1. Pull Request Requirements
  2. Translations

Website

For details and documentation, see the website https://frappe.io

License

This repository has been released under the MIT License.