* [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
* added additional check for user permission
If the key for default is found in user permission, then the value is checked if its permitted to the user or not
* user permission check on defaults
* test case for defaults
* [fix] sanitize filters and or_filters to avoid sql injection
* add test cases for filter sanitizer
* codacy fix
* added test cases to test valid scenarios
Added frappe wrappers to math.ceil and math.floor, since they are widely
used functions. Also added their docstrings for documentation and wote
test cases. And some minor typo fixes
This is deprecated and needs to be replaced.
Use passlib to hash, store, verify and upgrade as necessary.
Includes patch to migrate existing passwords in a non-breaking way.
Fixes#5195
* [start] removing simpler user permission structure
* permission changes
removed "apply user permission" from has_permission
* test fixes and other supporting fixes
* Removed Apply user permission code
* additional check to see if user has some user permissions related to a doctype
* test fixes
* removed a test
* Permission changes
- Code to restrict access if module is blocked for user.
- [Fix] ignore user perm if applicable
* List view restrictions ui changes
* removed unwanted apply user perm code
* permission (block module fix)
* permission fix
* change user permission
user permission will not be applied if user doesn't have role permission
* removed left "apply_user_permissions" property
* add user permission help template
* perm js refactor
* ui / ux changes
restrict list view before entering view if user is not permitterd
add description for if owner check in role permission manager
* codacy fixes
* permission code fix
add controller permission check
add blocked module check in build_permission
* optimized get blocked module method