1f3d699a0c
Ran 2to3 on pillar/api/utils/storage.py
2017-03-22 15:49:52 +01:00
0eb2f17624
Raise exception on not-implemented methods, instead of just pass'ing
2017-03-22 15:49:52 +01:00
47eba6786a
Renamed 'file_in_storage' to 'blob'
2017-03-22 15:49:52 +01:00
ec1db0a725
Groups view: Background gradient gray doesn't look good
2017-03-22 15:49:51 +01:00
04a235ca12
Larger image for collections header
2017-03-22 15:49:51 +01:00
5b59d6b6b1
Slightly bigger thumbnail size for posts in homepage
2017-03-22 15:49:51 +01:00
0e6bdf9467
Update CSS caches
2017-03-22 15:49:51 +01:00
6d1f81b26a
Minor tweaks to homepage listing
...
Thumbnails are now slightly larger (22px wider), and did some rearrangement
2017-03-22 15:49:51 +01:00
a000176db9
Tweaks to group listing
...
Non-square thumbnails, always display icon type
2017-03-22 15:49:51 +01:00
9f49140230
Video Player: Vertical volume slider and loop by default
2017-03-22 15:49:51 +01:00
8934eb8b8d
Fix for crash on extension blueprints loading
...
It the extension was registered with url_prefix=None, we set url_prefix to empty string so it can be added to blueprint.url_prefix.
2017-03-22 15:49:51 +01:00
26f8a3fec7
Synced dev requirements with Pillar Python SDK
2017-03-22 15:49:51 +01:00
49500570d4
Added missing redis requirement
2017-03-22 15:49:51 +01:00
b2b3e8acf1
Fixed version conflict with pillarsdk dev requirements
2017-03-22 15:49:51 +01:00
67bce48de8
Auto-install -e pillar
...
It uses ../pillar instead of . so that it is a valid path from blender-cloud as well.
2017-03-22 15:49:51 +01:00
3d1c8625a3
Remove redundant requirement
...
It is already defined in requirements.txt in pillar-python-sdk.
2017-03-22 15:49:51 +01:00
41600f208e
Remove Linux venv specific dependencies
...
Was giving install error on macOS.
2017-03-22 15:49:51 +01:00
ef6e76f153
Upgraded development requirements to speed up code coverage recording
...
Removed requests from requirements.txt file, because it's already a req
of pillar-python-sdk.
2017-03-22 15:49:51 +01:00
ae5009c9ef
Python 3.6: Fixed issue with gravatar function
...
Hashing of string object doesn't work. Also added a deprecation warning
that pillar.api.utils.gravatar should be used; pillar.web.utils.gravatar
is just a copy.
2017-03-22 15:49:51 +01:00
dcdcd99393
Python 3.6 compatibility: random bits & bcrypt
...
Switched from Sybren's RSA library to the new stdlib module 'secrets' to
generate secret tokens. This also means that the rsa library was demoted
to secondary requirement.
2017-03-22 15:49:51 +01:00
2e41c074b5
Python 3.6 compatibility: bytes vs strings stuff
...
These changes mostly revolve around the change in ObjectId constructor
when running on Python 3.6. Where on 2.7 the constructor would accept
12- and 24-byte strings, now only 12-byte bytes and 24-character strings
are accepted. Good thing, but required some changes in our code.
Other changes include hashing of strings, which isn't supported, so they
are converted to bytes first, and sometimes converted back afterwards.
2017-03-22 15:49:51 +01:00
c2206e6b27
Python 3.6 compatibility: Prevent comparison with None
2017-03-22 15:49:51 +01:00
c58d616bfc
Don't run failed unittests first.
...
This can cause false positives when the failure was caused by inter-test
interference.
2017-03-22 15:49:51 +01:00
fb25e3e03f
Fixup of syntax error introduced by 2to3
2017-03-22 15:49:51 +01:00
16b2b119fd
Referring to Pillar Python SDK requirements
...
This forces us to remove common requirements from Pillar's requirements.txt
file (which is a good thing).
2017-03-22 15:49:51 +01:00
4e138d38a1
Removed no longer compatibility thingy for Python 3
2017-03-22 15:49:51 +01:00
bced6cae68
Ran 2to3 on unittests, same sort of manual fixups as before
2017-03-22 15:49:51 +01:00
e0c525389f
Renamed static.py to staticfile.py
...
Python 3 supports 'namespace packages', and thus can see a directory
without __init__.py as something importable. This caused a name conflict,
since there were both the file static.py and the dir static.
2017-03-22 15:49:51 +01:00
663627358f
Ran 2to3 on pillar + some manual fixups
...
The 'manual fixups' are:
- incorrect use of dict.items() where dict.iteritems() was meant; this
results in list(dict.items()), which I changed to dict.items().
- removal of 'from __future__ import' lines, which 2to3 changes into
empty lines; I removed the empty lines.
2017-03-22 15:49:51 +01:00
10b3318419
Added development requirements to requirements-dev.txt
...
In this commit (and the previous ones on requirements files) I haven't
changed the package versions. Upgrading our dependencies is for another
time.
2017-03-22 15:49:51 +01:00
c2c19bd6f3
Removed development requirements and unused secondary requirements.
2017-03-22 15:49:51 +01:00
1266d4b5d9
Made requirements.txt py36-compatible
...
Some packages had to be removed; they are deployment-specific anyway,
and may not even be needed any more.
I've also added some secondary requirements that weren't specified yet.
The next steps will be to split into runtime and development requirements.
2017-03-22 15:49:51 +01:00
e6fb64621f
Introducing GOOGLE_SITE_VERIFICATION
...
Used for cross-verification on various Google sites (eg. YouTube) . By default it is not rendered in the pages.
2017-03-21 15:45:36 +01:00
fde50f6525
Groups view: Background gradient gray doesn't look good
2017-03-20 18:07:13 +01:00
f19be0ae17
Larger image for collections header
2017-03-20 16:00:37 +01:00
b70bc07a75
Slightly bigger thumbnail size for posts in homepage
2017-03-20 15:54:36 +01:00
508a28aeae
Update CSS caches
2017-03-17 18:05:12 +01:00
ba5923044a
Minor tweaks to homepage listing
...
Thumbnails are now slightly larger (22px wider), and did some rearrangement
2017-03-17 18:03:06 +01:00
c52bfd2236
Tweaks to group listing
...
Non-square thumbnails, always display icon type
2017-03-17 16:53:05 +01:00
bfb5f4f44e
Video Player: Vertical volume slider and loop by default
2017-03-13 17:11:27 +01:00
1eb1cd7b64
Fix for crash on extension blueprints loading
...
It the extension was registered with url_prefix=None, we set url_prefix to empty string so it can be added to blueprint.url_prefix.
2017-03-12 18:46:08 +01:00
9abdd1ee90
Synced dev requirements with Pillar Python SDK
2017-03-09 10:18:19 +01:00
db98c681a2
Added missing redis requirement
2017-03-08 17:16:44 +01:00
a7cd515fdb
Fixed version conflict with pillarsdk dev requirements
2017-03-08 17:06:55 +01:00
7967b80ab3
Auto-install -e pillar
...
It uses ../pillar instead of . so that it is a valid path from blender-cloud as well.
2017-03-07 14:25:56 +01:00
4e36ea5aae
Remove redundant requirement
...
It is already defined in requirements.txt in pillar-python-sdk.
2017-03-07 12:50:03 +01:00
47ca614ea3
Remove Linux venv specific dependencies
...
Was giving install error on macOS.
2017-03-07 12:49:17 +01:00
662f1276d2
Upgraded development requirements to speed up code coverage recording
...
Removed requests from requirements.txt file, because it's already a req
of pillar-python-sdk.
2017-03-03 14:53:44 +01:00
a0a8257df0
Python 3.6: Fixed issue with gravatar function
...
Hashing of string object doesn't work. Also added a deprecation warning
that pillar.api.utils.gravatar should be used; pillar.web.utils.gravatar
is just a copy.
2017-03-03 14:42:13 +01:00
3fe9472d27
Python 3.6 compatibility: random bits & bcrypt
...
Switched from Sybren's RSA library to the new stdlib module 'secrets' to
generate secret tokens. This also means that the rsa library was demoted
to secondary requirement.
2017-03-03 14:16:29 +01:00