Age | Commit message (Collapse) | Author |
|
|
|
* wqflask/base/trait.py: Remove python2 codecs.BOM_UTF8 methods.
* wqflask/wqflask/search_results.py: Remove utf-8 decode method on string.
|
|
Mysqldb's escape returns a binary string. Use utils.db_tools which adds an extra
step of converting the binary string to a string.
|
|
* wqflask/base/data_set.py: Delete "create_in_clause", and "mescape" which are
defined in "utility.db_tools"
|
|
|
|
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
* wqflask/base/GeneralObject.py: "__cmp__" is no longer used in python3. See:
<https://stackoverflow.com/questions/8276983/why-cant-i-use-the-method-cmp-in-python-3-as-for-python-2>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
|
|
datasets
* wqflask/base/data_set.py - Added fetchone() to g.db.execute() which is
what was causing the error
|
|
Run:
```
2to3-3.8 -f imports -w . && \
2to3-3.8 -f imports2 -w .
```
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-imports> and
<https://docs.python.org/2/library/2to3.html#2to3fixer-imports2>
|
|
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
|
|
* wqflask/base/trait.py: Remove unused imports
* wqflask/db/call.py (Bench): Add urllib2 fallback for python2
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
Run `2to3-3.8 -f idioms -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
* wqflask/base/trait.py: See
<https://docs.python.org/2/library/2to3.html#2to3fixer-repr>
|
|
Run `2to3-3.8 -f raise -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-raise>
|
|
Run `2to3-3.8 -f itertools -w . && 2to3-3.8 -f itertools_imports -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools_imports>
and <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools>
|
|
Run `2to3-3.8 -f dict -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and
<https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list>
|
|
* wqflask/base/webqtlCaseData.py (webqtlCaseData):
- Remove obsolete 'Object' from Class inheritance
- Replace 'str' with 'case_data_string' variable- it collides with python in-builts
- Use pythonic 'is Not None' form
- Remove redundancy in 'if' forms
- Update copyright header
|
|
* wqflask/base/data_set.py (Dataset):
- Add set_dataset_key
- Remove __call__ method
|
|
* wqflask/base/data_set.py (DatasetType): Use object's redis instance
|
|
|
|
Build/add tests
|
|
|
|
* wqflask/base/GeneralObject.py(__getattr__): remove if statement that is
unreachable
|
|
* wqflask/base/data_set.py(DatasetType):
- Rename Redis instance to r to avoid confusion and name collisions
- Inject the redis instance into Dataset_Types class to make it easier to test
- Rename Dataset_Types class to DatasetType class
|
|
* wqflask/base/data_set.py: Apply autopep-8
|
|
* wqflask/base/GeneralObject.py: Replace tabs with 4 spaces
|
|
|
|
|
|
|
|
|
|
|
|
figure out the real solution to that issue
|
|
where a trait is authenticated twice
|
|
|
|
something that automatically inserts resources with default privileges
|
|
correlation or mapping
|
|
and also simplified the check_owner_or_admin function a little
|
|
|
|
|
|
|
|
|
|
- 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
|
|
queries and a missing import for the hmac functions
|
|
though later I need to go through and redo a bunch of CSS stuff
|
|
|
|
|