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
* [fix] sanitize fields to avoid mysql injection
* sanitize sql statements to avoid subqueries
* Added test cases
* Raise exception if mysql injection found in fields and related test-cases
* [fix] riase exception if blacklistes function or keyworkds found in fields
* Documents using tree structure now supported
* final cleanup
* remove hard coded primary button code
* fix bug in logic
* refactor to fix breaking build
* 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
* first cut
* Code refactoring, styling
* Added Sorting
* Revert query_report to use slickgrid
* cleanup
* Edit cell working
* Add regrid, remove datatable
* Add clusterize
* Update lib, fix get_checked_items
* New ReportView
* wip
* Enable editing, fix styles
* update lib
* wip
* fix refresh rows and editable cells
* Refresh list_view every 3s, decouple refreshing logic
* Report editing fixes
* Cleanup loading fields, add column then refresh list
* [wip] New List View
* [working] Render results
* ListView is now BaseList, add new ListView and GanttView
* Create new page for each ListView
* GanttView working
* CalendarView working
* KanbanView working
* Cache list_view based on page_name
* Gantt view buttons on mobile
* Add ReportView
* Refresh datatable on render
* Setup like
* [start][filters] clean up FilterList
* [filters] refactor FilterList
* [filters] minor fix
* [filters] fix remove filter
* filter utils
* more utils, remove apply
* rewrite as class, remove 'me' references
* [filter] implement on_change to decouple parent functions
* Integrate new filters with new BaseList
* Setup freeze area for ListView
* Set breadcrumbs on setup_page
* Trigger list update from events
* Setup footnote area
* Fix Kanban Board filters
* Add filters to standard filters, then filter_list
* Remove old files
* Fix ImageView
* Some more fixes for BaseList.init
* Fix order_by on load
* Report View: remember columns
* Fix for hidden filters
* Fix for delete items
* InboxView
* Shift select checkboxes
* Fix ESLint errors
* More refactoring
- Move ListMenu to Listview
- New FileView
- Ability to add custom breadcrumbs
* FileManager working
* Tags, set filters from route options
* Custom Reports Working
* List Sidebar reports
* Report Name as title
* Fix ESLint errors
* Fix UI tests
* Fix Kanban test
* Format ID column
* [fix] Kanban cards title
* Checkbox fix
* Fix Activity Page
* Update rows in Report in place
* Child Table columns in Report View
* created/moved the files
* added the model for the downloading the data
* add the file with the error data
* changes added other changes and fix codacy
* changes in the config and utils files
* fixed the test cases
* minor changes in the data keys dict
* changed the test file location
* fixed the tests
* set the route in the list view and show only erors
* minor fixes in the childtable import and log tables rendering
* Refactor Download dialog to use MultiCheck
* 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
* added PyMYSQL instead mysqlclient-python
* added pymysql import
* fixed db module import
* foxed self._conn wrapper
* updated cursor migration
* removed existent converters
* some more fixes towards API port
* modified travis
* updated doctype and revereted yml
* modified travis
* refreshed logging
* raw fix
* moved from hard coded constants to declarable instances
* moved from hard coded constants to declarable instances
* refactoring and logging
* moved to global import declaration
* fixed codacy
* unfixed codacy
* minor fix
* binary_type has a single
* deprecated alternative
* merged with latest
* fixed merge conflicts
* using deprecated alternative
* raw fix
* stupid fix
* using StringTypes instead
* brutal hack
* log
* tundebazy to the rescue
* fixed content_hash error
* frappe/database.py
* frappe/database.py
* updated database.py
* updated requirements
* updated requirements
* fixed codacy
* fixed codacy
* moved from DatabaseOperationalError to pymysql.InternalError
* moved from DatabaseOperationalError to pymysql.InternalError
* fixed codacy
* empty commit
* fixed codacy
* fixed codacy
* Added doctype Role Profile
* Set role profile for user
* Fetch roles from role profile
* Added tests, updated user.js and role_profile.py
* update_roles on add/delete moved to user controller
* added py test
* improved naming
* validate_roles method added
* [minor] style