Commit graph

76 commits

Author SHA1 Message Date
Shreya Shah
acdbb97ba5 Moved feed from Communication to Activity Log (#4435)
* Removed comment_type 'updated'

* New doctype activity log

* Moved feed.py to activity_log

* Updated feed gets stored in activity_log

* Activity page fetches feed from activity_log

* feed match condition change

* modified

* modified hooks.py

* modified sessions.py

* patch added

* naming in patch

* moved login, logout feed to activity_log

* changes in auth.py, hooks.py

* deleted doctype authentication_log and added test cases

* added utils.py in core

* moved some methods from communication.py to utils.py
2017-11-21 15:46:51 +05:30
shridhar
c436f965d3 Login with username
https://github.com/frappe/frappe/issues/4106
2017-09-13 14:18:31 +05:30
Aditya Hase
2403a800c0 Use absolute import for frappe.twofactor (#3915) 2017-08-11 12:56:59 +05:30
Rushabh Mehta
bc4d46a362 [fix] style and move setup to system settings 2017-08-08 14:29:22 +05:30
Rushabh Mehta
4e42ed65e1 Merge branch 'twofactor' of https://github.com/manqala/frappe into manqala-twofactor 2017-08-08 11:58:22 +05:30
Aditya Hase
9d7d384a63 Replaced urllib.quote imports with six.moves.urllib.parse.quote (#3837) 2017-08-02 17:09:16 +05:30
B H Boma
68251a6112 [WIP][Refactor] Redo twofactor code 2017-07-27 01:12:22 +01:00
B H Boma
a8b526bfd1 [WIP][Refactor] Redo twofactor code 2017-07-26 17:34:36 +01:00
ckosiegbu
97c6d74789 Updates to System Settings and login.js to allow for specification of the name of the token issuer. 2017-07-23 02:16:12 +01:00
ckosiegbu
9b4f10c204 Fixed issue with SMS sending 2017-07-23 00:27:01 +01:00
ckosiegbu
3329618a14 Merge branch 'develop' into twofactor 2017-07-22 19:05:18 +01:00
crossxcell99
6f4e39fd46 fix Email otp method queue email sending 2017-07-21 17:50:31 +01:00
crossxcell99
aa45ffcac6 fix website user login bug refactor JS 2017-07-21 14:32:04 +01:00
crossxcell99
51858021c8 refactor code fix bug 2017-07-19 14:29:30 +01:00
crossxcell99
99700fb198 check if more than one role has 2fa enabled 2017-07-18 19:03:45 +01:00
crossxcell99
f34d52fb65 Minor fix for checking successful otp login 2017-07-18 17:05:24 +01:00
B H Boma
4b84a1a572 [fix] Qrcode not visible for twofactor auth 2017-07-18 10:39:44 +01:00
crossxcell99
e4c2057acc general verification method set in system settings 2017-07-07 17:26:52 +01:00
crossxcell99
fbd8218dff fix otp method to default in User doctype 2017-07-07 12:27:29 +01:00
crossxcell99
9741ca7dcf use OTP App, SMS or Email to authenticate 2017-07-06 18:46:26 +01:00
crossxcell99
33f416801f enable 2fa from system settings 2017-06-30 18:42:55 +01:00
crossxcell99
9c144312eb show qr code for first otp login 2017-06-29 16:34:01 +01:00
crossxcell99
9771308072 Check if user role on login, return otpauth uri 2017-06-29 13:00:07 +01:00
Gaurav Naik
25a7fe8eb5 Phone based login (#3340)
* Mobile no based login.

Added Mobile No field to User doctype, unique.
Added check for searching user by mobile no in authenticate method in auth.py
Changed placeholder Email address to Email address or Mobile number in login.html

* Mobile no login option in System Settings

* Modified By to Administrator

* Update login.html
2017-05-19 15:48:13 +05:30
Makarand Bauskar
4c95e3e5ef [minor] auth log for login and logout feed (#2624)
* [minor] Authentication log for login & logout

* [minor] added test cases for authentication log
2017-01-24 14:35:52 +05:30
Nabin Hait
7b8dda7745 Update auth.py 2017-01-17 15:36:07 +05:30
mbauskar
c4c7d507a8 [minor] logout feed for activity logs 2017-01-16 15:26:09 +05:30
Rushabh Mehta
4148cea083 [enhance] save redirect info on sign-up 2016-09-24 13:05:05 +05:30
Rushabh Mehta
f91977f7da [feature] allow multiple sessions per user 2016-08-10 17:31:29 +05:30
Anand Doshi
526e9ea2d7 [security] encrypt passwords that need to be retrievable, except User password which should be hashed 2016-06-13 17:18:59 +05:30
Rushabh Mehta
d235f159bb [minor] ignore_csrf in site_config and to check for autoname in hooks even if not autoname is present 2016-05-29 23:06:51 +05:30
Anand Doshi
89589bf552 [fix] use get_lang_code in auth.py to evaluate _lang 2016-04-08 18:39:56 +05:30
Anand Doshi
8b72bbd256 [hotfix] cint for deny multiple sessions 2016-03-01 17:19:31 +05:30
Javier Wong
0565d0e0f5 [fixed] Multiple Sessions are Always Denied
Casted frappe.db.get_system_setting('deny_multiple_sessions') to int, as a string it is always evaluated as True in the conditional statement and therefore it is always treated as multiple sessions are denied.
2016-03-01 17:14:55 +08:00
Rushabh Mehta
e1ac647a13 [cleanup] system settings, added deny_multiple_sessions 2016-02-16 15:05:59 +05:30
Anand Doshi
ff773bc659 [minor] if frappe.form_dict._lang, set it as local.lang 2016-02-16 11:17:42 +05:30
Rushabh Mehta
9e2ba37823 [minor] add hook for website user home page by function 2016-01-25 15:10:44 +05:30
Rushabh Mehta
dd9d73062a [features] build multi-lingual website 2015-10-22 16:39:37 +05:30
Anand Doshi
17f911c6dc [fix] csrf for open_url_post 2015-09-25 12:55:44 +05:30
Anand Doshi
45583f30fe [hotfix] disable csrf check for mobile 2015-09-24 17:23:57 +05:30
Anand Doshi
6084775ed0 Added CSRF token verification for desk 2015-09-21 11:41:06 +05:30
Anand Doshi
37e699e67e [fix] get the first ip address in X-Forwarded-For 2015-08-13 12:43:09 +05:30
Rushabh Mehta
347284c62c [minor] fixes to auth in between reinstall and make_random 2015-07-17 15:23:59 +05:30
Anand Doshi
7fcdb93da8 [hotfix] don't set response on session resume, only set cookies 2015-07-16 13:08:57 +05:30
Anand Doshi
465fa227bc [fix] Set user-info cookies on resuming session so that user's image is rendered in website 2015-07-13 17:56:25 +05:30
Pratik Vyas
c1e6f4f1e8 [fix] Move clear_sessions to Login Manager 2015-07-01 16:46:20 +05:30
Rushabh Mehta
fc8c5ca42e [fixes] timezone 2015-05-28 16:59:56 +05:30
Nabin Hait
c187b18056 pass user to validate_hour 2015-05-18 16:51:52 +05:30
Rushabh Mehta
1dcea77fa6 [login] redirect to desk for logged in system user 2015-05-11 14:31:55 +05:30
Rushabh Mehta
e19cb47068 [fix] [hot] 2015-05-01 13:49:52 +05:30