209 Commits

Author SHA1 Message Date
Anna Sirota
cdf178ce43 Pin poetry deps to work around cryptography requiring Rust issue 2021-03-19 12:03:43 +01:00
04761f09c6 Use remove_private_keys() instead of popping predefined keys 2019-05-31 17:02:48 +02:00
65e0ad1ad3 Updated changelog v1.10 2019-05-31 14:20:40 +02:00
c48f5df843 Bumped version to 1.10 2019-05-31 14:20:36 +02:00
36dbf4a778 Allow PATCHing users
This is used to set the username from the settings view.
2019-05-31 14:19:24 +02:00
725510a443 Mark User.gravatar() as deprecated
We're using self-hosted avatars instead.
See `pillar.api.users.avatar.url()` in the Pillar source code instead.
2019-05-31 14:19:11 +02:00
419479608a Bumped version to 1.9 2019-05-28 16:12:32 +02:00
6bf00cd929 Bumped version to 1.9 2019-05-28 16:12:22 +02:00
29573264d2 Removed and gitignored poetry.lock
The poetry.lock files are only relevant for repeatable deployments,
and the one in this project isn't used for that (only the Blender
Cloud project file is used, and that's still there).
2019-05-23 16:23:45 +02:00
bf0c61cb90 Loosened dependencies and selected now-latest versions 2019-05-14 12:07:11 +02:00
2161dd60f0 Bumped version to 1.8 v1.8 2019-05-14 11:03:28 +02:00
e4529ed856 Updated update_version.sh to use Poetry 2019-05-10 15:17:12 +02:00
6598d520c9 Document usage of Poetry 2019-05-10 15:00:05 +02:00
577b24e32f Bumped version to 1.8dev0 2019-05-10 14:59:57 +02:00
49edc1e3ad Fix compatibility with Tox
This may require you to delete your `.tox` directory for a clean run.
2019-05-10 14:07:20 +02:00
dadc6c222d Moving to Poetry 2019-04-26 15:50:41 +02:00
cdd484b0fd Use remove_private_keys() instead of explicitly popping off certain keys last-before-poetry 2019-04-18 17:12:22 +02:00
49e7073a4b Bumped some secondary requirements
The cryptography package was getting old, and since Flamenco is going to
issue JWT tokens soon, I wanted to be up to date with security fixes.
2019-03-07 17:40:06 +01:00
37791f4acf Notifications regression: Notifications not created
Notifications for when someone posted a comment on your node
was not created.

Root cause was that default values defined in schema was not set,
resulting in activity subscriptions not being active.
There were 2 bugs preventing them to be set:
* The way the caching of markdown as html was implemented caused
  default values not to be set.
* Eve/Cerberus regression causes nested default values to fail
  https://github.com/pyeve/eve/issues/1174

Also, a 3rd bug caused nodes without a parent not to have a
subscription.

Migration scripts:
How markdown fields is cached has changed, and unused properties
of attachments has been removed.
./manage.py maintenance replace_pillar_node_type_schemas

Set the default values of activities-subscription
./manage.py maintenance fix_missing_activities_subscription_defaults
2019-02-19 14:16:28 +01:00
54de16c092 Marked 1.7.0 as released version-1.7.0 2018-09-17 18:45:26 +02:00
522356c4ff Add support (and fix bug) for Python 3.7 2018-09-17 18:44:43 +02:00
c0f46d0562 Ignore .pytest_cache 2018-08-29 14:21:45 +02:00
5913cc93dc Upgrade pyasn1 0.2.3 → 0.4.4 2018-08-29 14:21:23 +02:00
57265fb846 Added support for datetime objects in API requests. 2017-12-27 11:27:43 +01:00
242d7fc7ce Bumped version to 1.7 (but not yet released) 2017-09-19 13:44:04 +02:00
c8eec9fa9d Added pickle support for Resource classes, albeit a bit hacky.
Unpickling requires the class to be known, so we can't simply use to_dict()
to pickle and pass the dict to __init__() to unpickle. This works for the
pickled object itself (as pickle restores its type), but fails to restore
the class of subobjects, such as some_node.picture. This is why the code
now pickles each subobject too.
2017-09-19 13:43:48 +02:00
cfcaf96ac6 Removed Resource.from_dict(), it was never used and is broken in Python 3. 2017-09-19 12:25:43 +02:00
d472140bfe Upgraded cryptography package 1.8.1 → 2.0.3
This is for Windows-compatibility, addressed by @dfelinto.
2017-09-05 13:48:19 +02:00
3c3beea419 Removed some unsupported resource methods from Organizations 2017-08-31 13:45:39 +02:00
a177527e77 Project: made has_method() safe for when allowed_methods doesn't exist. 2017-06-01 09:51:10 +02:00
9e2bc8f972 Upgrade cryptography and cffi 2017-04-11 12:08:18 +02:00
1d2bb4ef8f Documented support for Python 3.6, and added warning about Python 2.7 2017-03-07 14:42:53 +01:00
d3648ae3d0 Upgraded some dev dependencies
To sync up with Pillar dependency versions. Also marked coverage as secondary dependency (because it is).
2017-03-07 14:22:50 +01:00
399d42dd97 Upgrade cryptography and pyopenssl
Fixes TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size.
2017-03-07 12:52:01 +01:00
f2b2064eba Remove Linux specific venv requirements
When installing on macOS gives errors.
2017-03-07 12:51:00 +01:00
4c358f4340 Upgraded requests library
Was needed to upgrade development requirements for Pillar.
2017-03-03 14:53:02 +01:00
c195df20f3 Reverted to cryptography 1.4
We were suffering from the same error as described on
https://github.com/burnash/gspread/issues/407
2017-03-03 14:39:39 +01:00
ca57466027 Added '-e .' to requirements-dev.txt
This saves you from doing 'pip install -e .' when setting up a new
development environment.
2017-03-03 12:24:17 +01:00
efe694381f Also test on Python 3.6 2017-03-03 12:23:45 +01:00
b4eee59417 Split requirements.txt in runtime & development
Also added secondary requirements to the files.
2017-03-03 12:19:49 +01:00
c5d0ae843f Either raise or log, not both 2017-03-03 12:19:27 +01:00
1b48b8afbd Fixed some package version conflicts between Pillar and the SDK. 2016-11-07 10:56:07 +01:00
ea33d69a8e Switched to different datetime formatting in JSON.
We now use the same format as the Pillar API.
2016-11-07 10:55:49 +01:00
fe2c36328a Use our PillarJSONEncoder for all API requests. 2016-11-07 10:41:38 +01:00
6d651bfeab Bumped version to 1.6.1 version-1.6.1 2016-11-04 12:37:43 +01:00
aac4922376 Fix crash when project has no allowed_methods property 2016-10-27 09:29:49 +02:00
d2a24d4593 Fix crash when node has no allowed_methods property 2016-10-27 09:29:34 +02:00
d5d99ec355 Added class for Activity. 2016-10-12 14:30:05 +02:00
f4010bb561 Bumped version to 1.6.0 2016-10-04 16:26:23 +02:00
2d0f92f17a Updated changelog 2016-10-04 16:25:05 +02:00