aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2021-10-28Fix typoBonfaceKilz
2021-10-28Rename metadata edit endpointsBonfaceKilz
2021-10-28Default to an empty string if a session_id is emptyBonfaceKilz
"user_id" is jumbled up; it's either bytes or plain strings. This correctly parses it.
2021-10-28edit_phenotype.html: Update form element for submitting POST dataBonfaceKilz
2021-10-28metadata_edits: Add "POST /<dataset_id>/traits/<name>/update"BonfaceKilz
2021-10-28show_trait_details.html: Use new acccess roles in templateBonfaceKilz
2021-10-28show_trait_details.html: Use new link for managing privilegesBonfaceKilz
2021-10-28show_trait_details.html: Update html links for editing metadataBonfaceKilz
2021-10-28Make DataRole and AdminRole available to all jinja templatesBonfaceKilz
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