Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-04 | Return None in load_json_from_redis when the item doesn't exist | zsloan | |
For some reason that isn't clear to me yet, a logged-in user session ID was set even when a user wasn't logged in, causing the user session code to attempt to fetch user information for a non-existent user ID | |||
2021-10-28 | Remove the use of '@deprecated' | BonfaceKilz | |
This causes noisy logging. | |||
2021-10-25 | utility: redis_tools: Remove dead functions | BonfaceKilz | |
2021-10-25 | Mark `get_resource_info` as deprecated | BonfaceKilz | |
2021-10-04 | Changed get_user_groups to pull both the ID and details in the for loop from ↵ | zsloan | |
group_list by using group_list.items() | |||
2021-09-10 | Removed encoding, since it's apparently not needed since the Python 3 ↵ | zsloan | |
switchover (and was causing there to be no matches between user IDs and groups) | |||
2021-06-15 | Fix issue where column values were used as str instead of bytes; pretty sure ↵ | zsloan | |
this was introduced by Python3 | |||
2021-04-30 | autopep8: Fix E501 | BonfaceKilz | |
2021-03-16 | Fixed encoding in load_json_from_redis to account for the first that column ↵ | zsloan | |
values are sometimes stored as bytes and sometimes as strings | |||
2021-03-16 | Fixed encoding to make get_user_groups work properly, since the user IDs for ↵ | zsloan | |
groups in Redis are stored as strings | |||
2021-02-18 | Remove the deocde since it was throwing an error | zsloan | |
2021-02-17 | Fixed error caused by user IDs being encoded as bytes | zsloan | |
2020-11-02 | Created function for encoding the column value as bytes when fetching from ↵ | zsloan | |
the JSON-formatted string pulled from Redis (since this was needed after the Python 3 switchover) * 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 | |||
2020-09-26 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-09-18 | Apply pep8 formatting | BonfaceKilz | |
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-08-31 | Fixed issue that was causing updating resource default privileges to not | zsloan | |
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). | |||
2020-08-26 | Remove "from __future__ import new_feature" statements | BonfaceKilz | |
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future> | |||
2020-07-22 | It should add new resources to Redis automatically now | zsloan | |
2020-07-06 | Fixed some of the logic with how traits are authenticated to avoid situation ↵ | zsloan | |
where a trait is authenticated twice | |||
2020-06-24 | Temporary partial fix to issue of resources without info; need to add ↵ | zsloan | |
something that automatically inserts resources with default privileges | |||
2020-06-17 | A user's id is now set as a parameter if it doesn't already existauthentication_test | zsloan | |
2020-06-17 | Adding all the authentication stuff | zsloan | |
2020-06-05 | Commiting other current group/resource management code, plus the new files | zsloan | |
2020-06-04 | Really should have split this into many more commits: | zsloan | |
- 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 | |||
2020-05-28 | Added lines calling proxy for publish datasets + added some resource redis ↵ | zsloan | |
queries and a missing import for the hmac functions | |||
2020-05-12 | Added change for F2s in r/qtl and fixed minor issue in save_user in redis_tools | zsloan | |
2020-05-07 | Committing current progress on group manager + a minor fix in dataset.py | zsloan | |
2020-05-06 | Commiting a few minor changes plus returning rqtl_mapping.py to the same as ↵ | zsloan | |
on testing branch before merging Danny's changes and testing them | |||
2020-02-12 | Fixed issue that broke some logins with the new redis user code | zsloan | |
2020-01-23 | Forgot to commit new file containing Redis functions | zsloan | |