Commit graph

703 commits

Author SHA1 Message Date
Revant Nandgaonkar
0fb703ae9d fix: sider issues
(cherry picked from commit 72fbcac70c)
2021-04-29 14:14:30 +00:00
Revant Nandgaonkar
c75eb8933f feat: OAuth 2 openid-configuration and introspect_token endpoint
(cherry picked from commit 4e8b00ba1f)
2021-04-29 14:14:30 +00:00
Revant Nandgaonkar
dfd5651dbe refactor: improve oauthlib implementation
implement openid provider
implement PKCE
improve errors

(cherry picked from commit 96d6971ee4)
2021-04-29 14:14:30 +00:00
Deepesh Garg
a7c8b93430 fix: Delete doc afer use 2021-04-12 22:05:09 +05:30
Deepesh Garg
a0fa3d0fd5 Merge branch 'develop' of https://github.com/frappe/frappe into if_owner_per_check_url 2021-04-12 21:24:19 +05:30
Deepesh Garg
14c67cb244 fix: Test to check if_owner perm on delete 2021-04-12 19:48:47 +05:30
Deepesh Garg
d3c363a8f4 fix: Do not delete blog post 2021-04-11 12:42:37 +05:30
Deepesh Garg
dce4f62ff3 fix: Do not reset blog post perm 2021-04-11 10:27:44 +05:30
Deepesh Garg
a4c973a549 fix: Update users for test 2021-04-11 10:26:07 +05:30
Deepesh Garg
7b929fa72c fix: Update blog category 2021-04-10 23:05:08 +05:30
Deepesh Garg
cb27653da1 fix: Test case for if_owner perm with getdoc 2021-04-10 22:34:12 +05:30
Suraj Shetty
efba586054
Merge branch 'develop' into remove-password 2021-04-02 09:46:57 +05:30
Faris Ansari
0fc2016b22 test: for password unset 2021-04-01 17:55:08 +05:30
Suraj Shetty
7124e49473
Merge branch 'develop' into whitelist-methods 2021-03-31 20:42:37 +05:30
Leela vadlamudi
4ef7f11751
Merge pull request #12729 from leela/code-cleanup
refactor: Code cleanup and attempt tracker for 2FA
2021-03-31 19:06:44 +05:30
leela
8fcb97ae31 test: OTP atempt tracker tests 2021-03-31 13:38:46 +05:30
Rushabh Mehta
337bdc976c fix(reportview): test 2021-03-30 18:35:44 +05:30
Sagar Vora
6de2dfe2d9 test: remove unused import 2021-03-30 15:35:32 +05:30
Sagar Vora
3324f005b7 test: use frappe.local.attr instead of frappe.attr 2021-03-30 15:34:56 +05:30
Sagar Vora
528a7b0f30 test: add test to ensure run_doc_method works as expected 2021-03-30 15:08:05 +05:30
Walstan Baptista
a15e1a7d59
test: sort folders and files before running tests for consistency (#12689)
* fix: sorted folders list befor adding tests

* fix: sort files as well

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: remove unnecessary cstr

* fix: minor code quality change

* test: use unique `user_email` in `TestAuth`

* test: Use unique username for auth test

* test: Delete DocType Doc A completely after test is done

* test: Fix permission issue & typo in test cases

Co-authored-by: Sagar Vora <sagar@resilient.tech>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-03-26 12:33:46 +00:00
Prssanna Desai
fffb3ce1a8
Merge pull request #12217 from prssanna/permlevel-fix 2021-03-25 14:35:32 +05:30
Leela vadlamudi
2984026035
fix: Login with username fails (#12658)
With the recent refactoring we missed to include username check in auth
flow. Added test cases along with the fix.
2021-03-24 21:18:37 +05:30
prssanna
4ba7819363 test: test field level permissions before role permission is defined 2021-03-24 12:38:42 +05:30
leela
b22f53e74b test: basic authentication test is added 2021-03-22 19:17:57 +05:30
prssanna
2b2f7a7d93 test: fix relative_time_filters ui test 2021-03-18 16:09:17 +05:30
Sagar Vora
7c239fe084 test: reduce chance of failure by stricter comparison 2021-03-17 01:41:03 +05:30
Suraj Shetty
7c05fd2a17 test: Wait for enqueued job to execute 2021-03-10 10:29:07 +05:30
Rohan Bansal
a94a55212b Merge remote-tracking branch 'upstream/develop' into feat-remove-failed-queue 2021-03-09 15:20:52 +05:30
leela
0fb2d330c9 test: Fix rate limiting reset password test 2021-03-09 14:03:00 +05:30
leela
14b3d344a5 test: Testcase for rate_limit decorator 2021-03-09 13:53:00 +05:30
leela
6e5e0890f3 refactor: Cleaned authentication logic
Auth flow is changed to use login attempt tracker.
2021-02-22 21:11:18 +05:30
leela
49317ce045 refactor: Track login attempts of a user
Existing login attempt tracker is a set of funcions those are not easy
to understand. Created a tracker class that handles all tracker logic and provides
useful methods to access.

Testcases added for the same.
2021-02-22 21:08:33 +05:30
Suraj Shetty
b0081e7b37
Merge branch 'develop' into feat-remove-failed-queue 2021-02-22 11:33:25 +05:30
Gavin D'souza
6c4da1f228 Merge branch 'develop' of github.com:frappe/frappe into mv-custom-script-client-script 2021-02-19 15:37:37 +05:30
Rohan Bansal
446f5785a5 test: add tests for removing failed jobs 2021-02-15 15:23:19 +05:30
Faris Ansari
b181b69894 feat: Set default site using FRAPPE_SITE env var
Default site can now be set using the environment variable FRAPPE_SITE
An attempt to deprecate the use of currentsite.txt
2021-02-04 22:19:39 +05:30
Gavin D'souza
79cb3f0596 feat: Rename "Custom Script" to "Client Script"
* Remove postfix "-Client" from ClientScript.autoname
2021-02-04 14:06:09 +05:30
Suraj Shetty
ce379bc200 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-28 19:56:54 +05:30
Suraj Shetty
6f774d6d0c
fix: Check for fieldlevel permission for report query (#12163)
Co-authored-by: Prssanna Desai <prssud@gmail.com>
2021-01-28 17:14:47 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Sagar Vora
f35e8045d9 feat: set CORS headers based on allow_cors site config 2021-01-09 14:55:55 +05:30
Rushabh Mehta
c93368b242 fix(minor): merge develop 2021-01-08 14:35:55 +05:30
Rushabh Mehta
b5b3d5a920
Merge pull request #12165 from resilient-tech/perf-get_controller
perf: revert to using global instead of frappe.cache for 75% reduction in call time
2021-01-08 14:33:28 +05:30
Sagar Vora
34ad0cf331 fix: introduce frappe.controllers; clear global if cache is cleared; replace old references 2021-01-07 10:57:08 +05:30
Sagar Vora
213744aa49
test: fix test_money_in_words (#12166) 2021-01-06 17:34:48 +05:30
Sagar Vora
bc305dab10 test: fix test_override_doctype_class by resetting cached values 2021-01-06 16:59:40 +05:30
mergify[bot]
2fd50e1202
Merge pull request #11912 from conncampbell/Read-Only-Grid-Field
fix: Read-only table has read-only form fields.
2021-01-04 09:32:11 +00:00
Rushabh Mehta
864956e30f fix(minor): homepage for frappe and tests 2021-01-01 18:03:06 +05:30
Prssanna Desai
dc8d6a99d3
Merge pull request #11202 from Monogramm/feat/map-develop 2020-12-29 17:25:41 +05:30