* Add button to delete user permissions in bulk
* Show no records deleted the delete count is 0
* Return this from show of dialog to make it chainable
* Add test for clear user permissions function
* Fix test
* Format code
* Reset the user
* Remove rollback from test
* Move clear user permission button to menu
* fix: Translations
* Allow user to access list even if there is only a docperm with if owner enabled
* Add test to check if user gets access to the list
- User should be able to access list even if the user has only
role for which docperm is created with if_owner check
* Remove commented code
* Add code to test build match condition
* Fix typo
* Make quotes consistent
* Reorganize
* Fix test
- Add user permission for record created during test
* Reset session user as admin
* Fix a year dependent test
- Remove hardcoded year from test
* fix(login): redirect user from login page if already logged in
the user should not be able to access the login page if a user session already exists. closes#6500.
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(test-website): fix website test
what is the point in writing tests if they don't really work/function as intended?
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(regex): do not replace '\' in rules
that defeats the entire purpose of creating rules, wtf?
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* fix(test_website): change user using set_user()
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* redirect: prefix string with r to escape string literals
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* [Feature] Format Autoname
- Generate autoname by replacing all instances of braced params
- Independent of remaining string or separators.
- Remove autoname Concatenate option
* [autoname] add test for format autoname
* Doctype search in foreign language
* List comprehension slightly faster
* Remove obsolete comment
* Remove trailing whitespace
* Test case for address and contact query
* Refactor search and add tests
* Travis test debug
* Remove debug print
* Search limit removal for untranslated docs and tests refactor
* Remove old comments
* Test modification for Travis
* remove unused import
* Correct Role doctype
* refactored code to add support in filters to get descendant or ancestor for tree type documents
* added semicolon and comments to imporve code quality
* refactored code to add not ancestor and not descendants of filters
* added test cases for ancestors of and descendants of
* Translate labels
* [email] remove style from email so it does not mess up desk
* [fix] tests
* [fix] image parsing, #savedbyatestcase
* [fix] timeout issues in test
* [fix] timeout issues in test
* token based authentication
* authentication
Basic base64encode(api_key:api_secret)
token api_key:api_secret
* test added
Validation: only user with system manager can generate the keys
* codacy issues fixed
* token based authentication
* authentication
Basic base64encode(api_key:api_secret)
token api_key:api_secret
* test added
Validation: only user with system manager can generate the keys
* codacy issues fixed
* use frappe.safe_encode
* base64 encode use frappe.safe_encode
* set frappe.local.form_dict after setting user
* removed test
* removed unused imports
* test for python 3
* Update user.js
* [user.py] throw correct error
* Update user.py