forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix part of oppia#5002: Move user related variables form GLOBALS (opp…
…ia#5659) * Add UserInfoHandler * Retrieve permission related info from handler * Change docs for UserInfoHandler * Move can_create_collections from GLOBALS * Add caching to getUserInfoAsync * Move preferredSiteLAnguageCode from GLOBALS * Move username variable from GLOBALS * Move part of userIsLoggedIn variable from GLOBALS * Remove variables in base.html * Remove permission related variables from base.py values * Make userInfo into variable * Refactor admin page navbar * Revert some changes in base.py to fix tests * Fix top nav bar * Refactor CreateActivityButtonDirective * Refactor Library * Fix exploration creating error * Add loading for user info request * Rework promises * Rework imports * Add undefined state for top bar * Add UseInfo domain object * Use === instead of == * Improve UserInfo domain object * Remove default info from profile info handler * Use user info domain object everywhere * Fix admin page * Fix getUsername in admin * Fix promise waits * Fix create button showing twice * Fix linting * Change acces handler for profile * Add UserInfoHandlerTests * Add default values for create_button * Add default values * Fix linting * UserInfoFactory refactor and tests * UserInfoFactory refactor and tests
- Loading branch information
1 parent
8936be4
commit c77b54a
Showing
37 changed files
with
765 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
core/templates/dev/head/components/create_button/create_activity_button_directive.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.