seitime-frappe/frappe/tests
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
..
data [fix] email encoding issues, fixes frappe/erpnext#7145 2017-01-30 12:57:12 +05:30
ui Social login refactor (#4519) 2018-01-03 14:57:16 +05:30
__init__.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_api.py [test] dont run test_insert_many in travis 2017-07-12 12:57:35 +05:30
test_assign.py [Fixes] flag value fixes 2015-11-02 15:23:16 +05:30
test_bot.py [fix] test_bot.py 2016-12-31 13:30:38 +05:30
test_client.py [hotfix] throw DoesNotExistError if doctype is not available on Delete api (#4013) 2017-09-01 09:16:32 +05:30
test_db.py Pure Python MySQL instead mysqlclient (with Python C API) (#4280) 2017-11-06 16:42:01 +05:30
test_db_query.py fixed between filters (#4497) 2017-11-15 13:57:53 +05:30
test_defaults.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_document.py [Fix] Auto increment of series not working if series has multiple dot(.) (#3661) 2017-07-12 17:06:37 +05:30
test_document_locks.py File Based Locking at Document Level (#2374) 2016-11-25 16:14:00 +05:30
test_domainification.py Save domain settings to create related custom fields for already enabled domain (#4378) 2017-10-27 15:26:02 +05:30
test_dynamic_links.py [refactor] [optimize] dynamic links on deletion 2016-03-10 15:14:44 +05:30
test_email.py More Python 3 compatibility Frappe test fixes (#4321) 2017-10-17 17:45:49 +05:30
test_exporter_fixtures.py New data import (#4601) 2017-12-15 12:17:24 +05:30
test_filemanager.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_fmt_money.py Fix fmt_money tests 2017-08-17 11:51:35 +05:30
test_form_load.py [enhance] custom perms 2017-01-11 17:34:55 +05:30
test_frappeoauth2client.py Social login refactor (#4519) 2018-01-03 14:57:16 +05:30
test_geo_ip.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_global_search.py Fixed test cases 2017-04-22 15:42:56 +05:30
test_goal.py C3 to Charts (#4228) 2017-10-17 12:02:39 +05:30
test_hooks.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
test_password.py Password Strength Policy Enhancement (#3194) 2017-05-08 16:10:12 +05:30
test_patches.py [test] check patch names 2017-04-13 13:36:33 +05:30
test_permissions.py [refactor] a better set-only-once implementation with child tables (#4475) 2017-11-13 17:17:20 +05:30
test_scheduler.py Cron like events scheduler (#4339) 2017-10-27 14:48:48 +05:30
test_seen.py [fix] [test] test_seen.py 2016-03-25 17:42:13 +05:30
test_translation.py [cache] fix for website, default, meta, etc 2015-05-08 18:04:13 +05:30
test_twofactor.py Merge pull request #4023 from schilgod/develop 2017-09-14 11:23:16 +05:30
test_utils.py fix codacy 2017-08-17 12:50:15 +05:30
test_website.py [tests] added basic tests for page and generator 2016-06-27 11:50:04 +05:30