aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-25Add "GN2_PROXY" as a configurable optionBonfaceKilz
2021-10-25scripts: resource: Add value for "admin" when updating resourcesBonfaceKilz
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-25scripts: resource.py: Add shebangBonfaceKilz
2021-10-25scripts: group.py: Add extra optional arg to specify uidBonfaceKilz
2021-10-25scripts: group.py: Add shebangBonfaceKilz
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.
2021-10-25Add test-cases for `get_user_membership`BonfaceKilz
2021-10-25Mark `get_resource_info` as deprecatedBonfaceKilz
2021-10-25Add default setting for REDIS_URLBonfaceKilz
2021-10-25Move markdown_routes to api/markdownBonfaceKilz
All new API definitions should be migrated to "wqflask/ api"
2021-10-25api: correlation: Delete unused importsBonfaceKilz
2021-10-25api: correlation: Delete unused loggerBonfaceKilz
2021-10-22Include the admin privilege for the 'editors' group, since it wasn't being ↵zsloan
set before (which caused some problems)
2021-10-22Fix line pulling GN3_LOCAL_URL from settingszsloan
2021-10-22Replace hardcoded GN proxy URLs in trait.py with one pulled from settingszsloan
2021-10-22Replace hardcoded GN proxy URL in decorators.py with one pulled from settingszsloan
2021-10-22Replace hardcoded GN proxy URLs with one pulled from settingszsloan
2021-10-22Replace hardcoded GN3 RQTL URLzsloan
2021-10-22Added proxy and local GN3 URLs in tools.py (which should be set in the ↵zsloan
settings file)
2021-10-22Add NSF awardPjotr Prins
2021-10-22Updated funding and creditsPjotr Prins
2021-10-22Possible fix for the weird inconsistent correlation key error for strain ↵zsloan
BXD073bxBXD077F1
2021-10-19Fixes issue with the bytes encoding being included in the string for ↵zsloan
ProbeSet trait descriptions on the search result page