aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/redis_tools.py
AgeCommit message (Expand)Author
2021-10-25utility: redis_tools: Remove dead functionsBonfaceKilz
2021-10-25Mark `get_resource_info` as deprecatedBonfaceKilz
2021-10-04Changed get_user_groups to pull both the ID and details in the for loop from ...zsloan
2021-09-10Removed encoding, since it's apparently not needed since the Python 3 switcho...zsloan
2021-06-15Fix issue where column values were used as str instead of bytes; pretty sure ...zsloan
2021-04-30autopep8: Fix E501BonfaceKilz
2021-03-16Fixed encoding in load_json_from_redis to account for the first that column v...zsloan
2021-03-16Fixed encoding to make get_user_groups work properly, since the user IDs for ...zsloan
2021-02-18Remove the deocde since it was throwing an errorzsloan
2021-02-17Fixed error caused by user IDs being encoded as byteszsloan
2020-11-02Created function for encoding the column value as bytes when fetching from th......* wqflask/utility/redis_tools.py - Created function load_json_from_redis that encodes the key (column_value) when fetching a value from the JSON pulled from Redis zsloan
2020-09-26Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-09-18Apply pep8 formattingBonfaceKilz
2020-09-17Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-08-31Fixed issue that was causing updating resource default privileges to not...work * wqflask/utility/redis_tools.py - There was an issue where resources wouldn't be updated if they already existed. This is because the code didn't yet account for the "update" tag (that is meant to give the option of preventing updating resources when running the script to enter all resources into Redis). I changed the logic to add a resource if "update" is True or the resource doesn't already exist (so it won't if update is False and the resource exists). zsloan
2020-08-26Remove "from __future__ import new_feature" statements...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future> BonfaceKilz
2020-07-22It should add new resources to Redis automatically nowzsloan
2020-07-06Fixed some of the logic with how traits are authenticated to avoid situation ...zsloan
2020-06-24Temporary partial fix to issue of resources without info; need to add somethi...zsloan
2020-06-17A user's id is now set as a parameter if it doesn't already existauthentication_testzsloan
2020-06-17Adding all the authentication stuffzsloan
2020-06-05Commiting other current group/resource management code, plus the new fileszsloan
2020-06-04Really should have split this into many more commits:...- Now use proxy to pull trait data and hide traits/results that the user doesn't have view permission for - Created a factory method for creating trait ob so it can return None when user doesn't have view permissions (this is why such a large number of files are changed) - Added metadata to permutation export - Added current group management code - Added fixed password verification e-mail code zsloan
2020-05-28Added lines calling proxy for publish datasets + added some resource redis qu...zsloan
2020-05-12Added change for F2s in r/qtl and fixed minor issue in save_user in redis_toolszsloan
2020-05-07Committing current progress on group manager + a minor fix in dataset.pyzsloan
2020-05-06Commiting a few minor changes plus returning rqtl_mapping.py to the same as o...zsloan
2020-02-12Fixed issue that broke some logins with the new redis user codezsloan
2020-01-23Forgot to commit new file containing Redis functionszsloan