Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-25 | Return config in app.config or None | Frederick Muriuki Muriithi | |
Update the code to return the setting already set up in the app.config dictionary if it exists or None if it does not exist. | |||
2022-07-04 | wqflask: Remove DebugToolbarExtension | BonfaceKilz | |
This functionality, at least how we use it, is already provided natively in python's pdb. Should someone need this, they can add it manually. * wqflask/runserver.py (app_config): Remove "flask_debugtoolbar" import and instantiation. * wqflask/utility/startup_config.py (app_config): Ditto. | |||
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 | |||
2022-02-18 | wqflask: Remove python pre-2.2 checks. | Arun Isaac | |
These checks are only relevant for python pre-2.2. * wqflask/utility/svg.py: Remove python pre-2.2 checks. | |||
2021-11-25 | Delete noisy logging | BonfaceKilz | |
2021-11-04 | Removes unused import | jgart | |
2021-10-28 | Remove all elasticsearch references in gn2 | BonfaceKilz | |
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 | authentication_tools: Mark `check_owner_or_admin` as deprecated | BonfaceKilz | |
Use the new auth proxy tools instead. | |||
2021-10-25 | utility.hmac: Label "hmac_creation" as deprecated | BonfaceKilz | |
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-25 | Mark `get_resource_info` as deprecated | BonfaceKilz | |
2021-10-22 | Fix line pulling GN3_LOCAL_URL from settings | zsloan | |
2021-10-22 | Replace hardcoded GN proxy URLs with one pulled from settings | zsloan | |
2021-10-22 | Added proxy and local GN3 URLs in tools.py (which should be set in the ↵ | zsloan | |
settings file) | |||
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-08-23 | Account for situations where the minimum permutation value is also above ↵ | zsloan | |
webqtlConfig.MAXLRS; previously threw an error | |||
2021-08-20 | startup_config.py: Add DebugToobarExtension for wsgi DEBUG mode | BonfaceKilz | |
* wqflask/utility/startup_config.py (app_config): Add DebugToolbarExtension | |||
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-06-17 | remove print statements | Alexander Kabui | |
2021-06-15 | Fix issue where column values were used as str instead of bytes; pretty sure ↵ | zsloan | |
this was introduced by Python3 | |||
2021-05-08 | utility: startup_config: Use python3 f-strings | BonfaceKilz | |
2021-05-08 | utility: startup_config: Break up long import statement | BonfaceKilz | |
2021-05-08 | utility: startup_config: Remove dead comments | BonfaceKilz | |
2021-05-07 | Fixed issue that caused /submit_trait page to not load properly | zsloan | |
2021-04-30 | autopep8: Run autopep8 100 times with target rules | BonfaceKilz | |
Rules used are: E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,E242, E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306, E401,E501,E70,E701,W291,W292,W293,W391,W504,E101,E11,E121, E122,E123,E124,E125,E126,E127,E128,E129,E131,E133 | |||
2021-04-30 | autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E101, E11 | BonfaceKilz | |
2021-04-30 | autopep8: Fix W504 | BonfaceKilz | |
2021-04-30 | autopep8: Fix W291, W292, W293, W391 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E70 and E701 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E501 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz | |
2021-04-30 | autopep8: Fix E20-E27 | BonfaceKilz | |
Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3 | |||
2021-04-29 | Merge branch 'testing' into Feature/Add-upload-data-forms | BonfaceKilz | |
2021-04-29 | Run `sed -i 's/(object)//g'` | BonfaceKilz | |
See: https://is.gd/pL7IJF Ran: find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/(object)//g' | |||
2021-04-23 | Apply PEP-8 | BonfaceKilz | |
2021-04-23 | Move looped sql query into one statement in "get_species_groups" | BonfaceKilz | |
It's in-efficient to have a sql query executed in a loop. As data grows, the query becomes slower. It's better to let sql handle such queries. | |||
2021-04-23 | Remove stale comments | BonfaceKilz | |
2021-04-19 | Specify only getting the first two items after splitting the trait/dataset ↵ | zsloan | |
input string | |||
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-03-16 | Removed unnecessary encoding of user_id from authentication_tools.py | zsloan | |
2021-02-18 | Remove the deocde since it was throwing an error | 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) | |||
2021-02-17 | Fixed error caused by user IDs being encoded as bytes | zsloan | |
2021-01-06 | replace vars with vars_obj which is a function name in python | Alexanderkabui | |
2020-12-18 | Added redirect_uri to the ORCID_AUTH_URL since it wasn't working due to ↵ | zsloan | |
missing this parameter | |||
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 |