Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-28 | Remove the use of '@deprecated' | BonfaceKilz | |
This causes noisy logging. | |||
2021-10-25 | authentication_tools: Mark `check_owner_or_admin` as deprecated | BonfaceKilz | |
Use the new auth proxy tools instead. | |||
2021-10-22 | Replace hardcoded GN proxy URLs with one pulled from settings | zsloan | |
2021-07-12 | Encode user_id as bytestring if not already bytestring to account for some ↵ | zsloan | |
user_ids being stored as different encoding | |||
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz | |
2021-03-16 | Removed unnecessary encoding of user_id from authentication_tools.py | zsloan | |
2021-02-18 | Changed authentication_tools.py to account for encoding str as bytes and ↵ | zsloan | |
dealing with the permissions response either being a list or not a list (this should be temporary until I figure out what is going on here) | |||
2020-09-17 | Apply pep8 | BonfaceKilz | |
* wqflask/base/trait.py: Apply pep8. * wqflask/utility/authentication_tools.py: Ditto. | |||
2020-09-17 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-09-16 | Apply pep8 | BonfaceKilz | |
* wqflask/utility/authentication_tools.py: Apply pep8 formatting to file. | |||
2020-09-16 | Remove unnecessary if branch | BonfaceKilz | |
* wqflask/utility/authentication_tools.py (check_resource_availability): Combine if statements into one boolean check in one if branch. | |||
2020-08-31 | Remove typo at beginning of line | BonfaceKilz | |
* wqflask/utility/authentication_tools.py: Remove accidental char at beginning of line. | |||
2020-08-31 | Merge branch 'testing' into build/python3-migration | BonfaceKilz | |
2020-08-29 | Fixed issue where exporting traits would throw an error if a dataset's | zsloan | |
group didn't have an InbredSetCode set in the DB * wqflask/utility/authentication_tools.py - Changed get_group_code to return an empty string instead of None if InbredSetCode doesn't exist for a dataset group * wqflask/wqflask/views.py - Changed zipped export filename to "export_(datetime)" instead of "collection_(datetime)" since this export can occur from both the collection page and the global search page | |||
2020-08-27 | Add check for empty group_code when adding a new resource | BonfaceKilz | |
* wqflask/utility/authentication_tools.py(add_new_resource): If group_code is "None", an error is thrown when you try to: `group_code + "_" + str(trait_id)` | |||
2020-08-26 | Remove "from __future__ import new_feature" statements | BonfaceKilz | |
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future> | |||
2020-08-19 | Make Python more idiomatic | BonfaceKilz | |
Run `2to3-3.8 -f idioms -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms> | |||
2020-07-29 | Fixed error that occured for new resources in check_admin | zsloan | |
* wqflask/utility/authentication_tools.py: the code forgot to get resource_info when a resource wasn't in Redis yet, causing an error when it was referenced, so I added a line getting the resource info (and also a couple comments for other lines related to authentication) | |||
2020-07-25 | The variable is never defined, so let's default to "none" | Pjotr Prins | |
2020-07-22 | It should add new resources to Redis automatically now | zsloan | |
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-20 | Fixed ports for proxy (though I need to add the port to global variables) ↵ | zsloan | |
and also simplified the check_owner_or_admin function a little | |||
2020-06-20 | Added some admin functionality and fixed issue with temp traits | zsloan | |
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 | |