aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2021-10-28Delete noisy loggingBonfaceKilz
2021-10-28Use new "get_user_access_roles" when showing a traitBonfaceKilz
* wqflask/wqflask/show_trait/show_trait.py (ShowTrait): Replace `check_owner_or_admin` with `get_user_access_roles` * wqflask/wqflask/views.py (show_temp_trait): Pass `user_id` as extra arg to ShowTrait. (show_trait_page): Ditto.
2021-10-28Remove debug statementBonfaceKilz
2021-10-28Get "resource-id" from query parameters instead of computing itBonfaceKilz
2021-10-28Move endpoints for viewing metadata to own moduleBonfaceKilz
2021-10-25Updated version tutorial on 10-25-21 by ACentenoArthur Centeno
2021-10-25Merge github.com:genenetwork/genenetwork2 into acentenoArthur Centeno
2021-10-25Updated version of tutorials by ACenteno on 10-25-21Arthur Centeno
2021-10-25manage_resource.html: Replace button with linkBonfaceKilz
2021-10-25Add "POST /resources/<resource_id>/change-owner" endpointBonfaceKilz
2021-10-25change_resource_owner.html: Replace "the_html" with searchResultHtmlBonfaceKilz
2021-10-25change_resource_owner.html: Replace "var" with "let"BonfaceKilz
"let" is lexically scoped.
2021-10-25change_resource_owner.html: Update endpoint for user-searchBonfaceKilz
This link has the {{ resource_id }} set because it's a required argument for the "@edit_admins_access_required" decorator
2021-10-25Add "POST /resource-management/<resource_id>/users/search"BonfaceKilz
2021-10-25Add "GET /resources/<resource_id>/change-owner" endpointBonfaceKilz
2021-10-25utility: redis_tools: Remove dead functionsBonfaceKilz
2021-10-25manage_resource.html: Update the URL for updating the ownerBonfaceKilz
2021-10-25decorators: Use the correct logic to check for edit_admins_accessBonfaceKilz
2021-10-25Update failing tests when testing `get_user_access_roles`BonfaceKilz
2021-10-25Use gn-proxy to fetch access-roles instead of looking at redisBonfaceKilz
2021-10-25Add `edit_admins_required` decoratorBonfaceKilz
2021-10-25Add "GN2_PROXY" as a configurable optionBonfaceKilz
2021-10-25Add `POST resource-management/resources/<resource-id>/make-public`BonfaceKilz
This endpoint either makes resources public or non-public by tweaking the access-masks.
2021-10-25wqflask: resource_manager: Add "resource_id" to resource dictBonfaceKilz
2021-10-25resource_manager: Use := to store embellished resource dictBonfaceKilz
2021-10-25Rename manage_resource -> view_resourceBonfaceKilz
2021-10-25manage_resource.html: Toggle the "is open to public" radio buttonsBonfaceKilz
2021-10-25wqflask: decorators: Make `edit_access_required` more genericBonfaceKilz
This now supports passing the `resource_id` directly.
2021-10-25Move access_roles enums to it's own moduleBonfaceKilz
2021-10-25wqflask: decorators: Fix type when calling hexdigest()BonfaceKilz
2021-10-25manage_resources.html: Clean up htmlBonfaceKilz
2021-10-25manage_resource: Remove column "Admin" from group permissions tableBonfaceKilz
A group does not have "admin" privileges. Instead, a user can have admin privileges over a particular group.
2021-10-25manage_resource: Add missing bootstrap "table" classBonfaceKilz
2021-10-25manage_resource.html: Remove unused stylesheetsBonfaceKilz
2021-10-25authentication_tools: Mark `check_owner_or_admin` as deprecatedBonfaceKilz
Use the new auth proxy tools instead.
2021-10-25Add "GET /resource-management/resources/<resource_id>"BonfaceKilz
2021-10-25wqflask: resource_manager: Add `add_extra_resource_metadata` methodBonfaceKilz
2021-10-25Remove dead lineBonfaceKilz
2021-10-25manage_resource.html: Display group name next to it's unique idBonfaceKilz
2021-10-25manage_resource.html: If owner owns a resource display their nameBonfaceKilz
2021-10-25manage_resource.html: Remove "flash"BonfaceKilz
2021-10-25utility.hmac: Label "hmac_creation" as deprecatedBonfaceKilz
This function is coupled to "wqflask.app", therefore requiring it's import at the module level. This may lead circular importation issues when working with blueprints.
2021-10-25decorators: Add `@login_required` decoratorBonfaceKilz
2021-10-25Remove "utility.hmac.hmac_creation" which causes circular importsBonfaceKilz
Hacky but re-implement `hmac_creation` as `create_hmac`
2021-10-25Replace "resource_id" with "resource_info" dictBonfaceKilz
This avoids calling Redis twice when fetching metadata about the resource.
2021-10-25Get a users access maskBonfaceKilz
If a user has several access roles, select the highest role.
2021-10-25Add immutable data structures for admin and data access rolesBonfaceKilz
2021-10-25resource_manager: Add OrderedEnumBonfaceKilz
Borrowed from: <https://github.com/woodruffw/ordered_enum/tree/master/src/ordered_enum>
2021-10-25resource_manager: Add `get_user_membership` methodBonfaceKilz
2021-10-25resource_manager: Delete every route & helper method in this moduleBonfaceKilz
This module is coupled to `utility.redis_tools` which needs to be deprecated. Also, the routes are created by importing `app` instead of creating a new blueprint.