-
51a51e5782
sync_project_groups: also support identifying user by user ID
Sybren A. Stüvel
2016-07-06 12:55:40 +02:00
-
2be94bd504
Reformat
Sybren A. Stüvel
2016-07-06 12:50:07 +02:00
-
5b60dad831
Added script to add users to admin groups of projects they created.
Sybren A. Stüvel
2016-07-06 12:49:51 +02:00
-
57e2f01153
Bug fix: users loose their project groups after getting role.
Sybren A. Stüvel
2016-07-06 12:35:16 +02:00
-
40b29d7d40
Send Blinker signal when user roles change due to a PUT on the user.
Sybren A. Stüvel
2016-07-06 11:53:26 +02:00
-
3a33475efc
Refactored blender_id.validate_create_user()
Sybren A. Stüvel
2016-07-06 11:53:10 +02:00
-
91238aacb7
Managing home project permissions when granting/revoking subscriber/demo role.
Sybren A. Stüvel
2016-07-06 11:05:24 +02:00
-
4b1b02318b
Explicitly pass the application path to Git.
Sybren A. Stüvel
2016-07-05 13:05:47 +02:00
-
def1a3d080
Send the Git revision to Bugsnag
Sybren A. Stüvel
2016-07-05 13:01:19 +02:00
-
dda0e2c868
When creating user from BlenderID, full_name defaults to username.
Sybren A. Stüvel
2016-07-05 12:36:32 +02:00
-
8a0fa8afd6
Log error when unable to create new user in mongodb.
Sybren A. Stüvel
2016-07-04 13:19:02 +02:00
-
7e85b32fc7
Gracefully handle missing node types when validating custom fields.
Sybren A. Stüvel
2016-07-04 12:36:49 +02:00
-
b507216d23
Increased log level for dynamic property validation errors
Sybren A. Stüvel
2016-06-30 18:38:57 +02:00
-
27d6289f17
Fixed KeyError in user_has_role()
Sybren A. Stüvel
2016-06-30 18:10:11 +02:00
-
1cd201dc89
Fix encoding issue in mng.py sync_role_groups
Sybren A. Stüvel
2016-06-30 17:48:13 +02:00
-
387cee227a
Set default picture on image asset and texture nodes.
Sybren A. Stüvel
2016-06-30 11:55:36 +02:00
-
c3e9d43838
Also deduct asset node content type on POST.
Sybren A. Stüvel
2016-06-30 11:55:20 +02:00
-
45a5019ba4
Embed project id/name/url in latest assets
Sybren A. Stüvel
2016-06-30 11:00:25 +02:00
-
b601644cca
Update parent node's _updated when updating/creating an asset
Sybren A. Stüvel
2016-06-29 16:44:00 +02:00
-
3bb0e588d8
Fixed unittests for disabled AB-testing
Sybren A. Stüvel
2016-06-29 16:43:41 +02:00
-
1e404351b0
Allow uploading files by any logged-in user, regardless of role
Sybren A. Stüvel
2016-06-29 15:33:56 +02:00
-
c9337b8d15
Taken out AB-testing for home project.
Sybren A. Stüvel
2016-06-29 11:54:58 +02:00
-
4c73f98047
Revert "Tiny typo in comment (iff instead of if)"
Sybren A. Stüvel
2016-06-28 15:11:11 +02:00
-
5355e4e359
Tiny typo in comment (iff instead of if)
Pablo Vazquez
2016-06-28 15:07:56 +02:00
-
5a4d98b352
Include parent in the projection for latest_assets
Pablo Vazquez
2016-06-28 15:07:21 +02:00
-
036d7a1b1e
Removed some superfluous debug logging.
Sybren A. Stüvel
2016-06-28 15:01:11 +02:00
-
57cf9a3547
Prevent home project without URL.
Sybren A. Stüvel
2016-06-28 15:01:02 +02:00
-
d652e6435d
Removed "pastebin" from home project descriptions.
Sybren A. Stüvel
2016-06-28 15:00:38 +02:00
-
18c7ca17e9
Allow Blender Sync access to non-subscribers.
Sybren A. Stüvel
2016-06-28 14:25:13 +02:00
-
5e506abac9
AB-testing for home project
Sybren A. Stüvel
2016-06-24 14:32:12 +02:00
-
e557443b85
PEP8 formatting
Sybren A. Stüvel
2016-06-24 14:20:43 +02:00
-
e442c6671b
Separated role-checking from enforcing those roles.
Sybren A. Stüvel
2016-06-24 14:20:32 +02:00
-
1513649cd8
Added function for None-safe fetching of user ID.
Sybren A. Stüvel
2016-06-16 17:20:38 +02:00
-
83618a5639
Home project: allow comment nodes
Sybren A. Stüvel
2016-06-15 14:13:02 +02:00
-
1a48c37bd6
Allow resuscitation of deleted home projects.
Sybren A. Stüvel
2016-06-15 15:07:18 +02:00
-
ba28f2ac3b
Home project: allow comment nodes
Sybren A. Stüvel
2016-06-15 14:13:02 +02:00
-
a104f54fb0
Force URL of home projects to 'home'
Sybren A. Stüvel
2016-06-15 14:12:53 +02:00
-
8dc4ac0db7
Allow project creation when GCS fails.
Sybren A. Stüvel
2016-06-15 14:12:40 +02:00
-
9ed73eb7dd
Home project: allow projections.
Sybren A. Stüvel
2016-06-15 13:40:11 +02:00
-
bcadfcd6f5
Debug log when returned projects are filtered out due to permissions.
Sybren A. Stüvel
2016-06-15 13:02:01 +02:00
-
ba79a30846
Removed an assumption that project creator is project owner.
Sybren A. Stüvel
2016-06-15 13:01:43 +02:00
-
b4faf2245e
Home project: create it when user tries to GET it.
Sybren A. Stüvel
2016-06-14 13:26:53 +02:00
-
3980133100
Moved creation of standard groups in unittests
Sybren A. Stüvel
2016-06-15 13:08:45 +02:00
-
3094a09fec
PEP8 formatting
Sybren A. Stüvel
2016-06-14 11:15:27 +02:00
-
ee95abb62a
Make zencoder and algolia optional packages
Francesco Siddi
2016-06-26 20:02:41 +02:00
-
9e6bd9c219
Fixed bug in status check in update_file_name
Sybren A. Stüvel
2016-06-15 15:59:36 +02:00
-
82cf88ee49
Slight simplification of node form valdation, and better logging.
Sybren A. Stüvel
2016-06-15 15:59:20 +02:00
-
a17bb969f9
Fixed bug in sync_role_groups
Sybren A. Stüvel
2016-06-15 14:11:54 +02:00
-
d4bed9543f
Tiny badger service fixes
Sybren A. Stüvel
2016-06-15 10:09:58 +02:00
-
de35ebf56f
Retry a few times when POSTing to BlenderID fails.
Sybren A. Stüvel
2016-06-15 10:09:46 +02:00
-
36a2e028d4
Added sync_role_groups management command.
Sybren A. Stüvel
2016-06-14 16:41:37 +02:00
-
ba1f8a4101
Badger service: also manage group membership
Sybren A. Stüvel
2016-06-14 15:39:22 +02:00
-
ec7b3159ac
Made a.m.blender_cloud a module directory
Sybren A. Stüvel
2016-06-14 11:34:07 +02:00
-
57e07db972
Prevent set(None) call
Sybren A. Stüvel
2016-06-14 09:45:20 +02:00
-
08fceeffc0
Added management command to find duplicate users, based on their BlenderID
Sybren A. Stüvel
2016-06-09 17:19:46 +02:00
-
79661c6a32
Added script for backing up the live MongoDB.
Sybren A. Stüvel
2016-06-08 11:55:22 +02:00
-
f82000aa33
Added refresh_project_permissions management command
Sybren A. Stüvel
2016-06-08 11:33:12 +02:00
-
bd6079ae4c
Use central definition of default admin group permissions
Sybren A. Stüvel
2016-06-08 11:21:31 +02:00
-
4a0bbb23bb
Fixed broken import
Sybren A. Stüvel
2016-06-08 11:21:15 +02:00
-
ccfc1a663d
Badger service: handle missing data
Sybren A. Stüvel
2016-06-06 18:19:43 +02:00
-
222d9efc89
Implemented badger service endpoint
Sybren A. Stüvel
2016-05-30 15:42:57 +02:00
-
4aa44c42c8
Nicer local token generation.
Sybren A. Stüvel
2016-06-01 14:18:00 +02:00
-
3a06e02b4d
We're not using httpretty any more
Sybren A. Stüvel
2016-06-06 16:22:50 +02:00
-
8d5683c7a2
Remove unneeded etag check on user update
Francesco Siddi
2016-06-01 11:26:18 +02:00
-
0daaefdcc3
Retry with unique username both on PUT and POST.
Sybren A. Stüvel
2016-06-01 10:33:01 +02:00
-
fb020ae4b4
Added unit test for refreshing links upon fetching a file document.
Sybren A. Stüvel
2016-05-31 17:56:24 +02:00
-
8761dd1b91
Convert images to RGB before thumbnailing and writing as JPEG.
Sybren A. Stüvel
2016-05-31 14:44:23 +02:00
-
c5985a3060
Even more logging to figure out why PUT/POST to user goes wrong.
Sybren A. Stüvel
2016-05-31 14:14:33 +02:00
-
5276d960d6
Added some extra logging to find source of 'username not unique' errors.
Sybren A. Stüvel
2016-05-31 13:37:39 +02:00
-
84d297a3bd
Fixed issue uploading small files.
Sybren A. Stüvel
2016-05-30 16:47:33 +02:00
-
e242701ed0
Try creating a new unique username a few times, before giving up.
Sybren A. Stüvel
2016-05-30 15:42:11 +02:00
-
9775c821af
Fixed unit test
Sybren A. Stüvel
2016-05-30 14:32:53 +02:00
-
a5288bd35c
Don't overwrite fullname from B'ID upon login.
Sybren A. Stüvel
2016-05-30 11:41:39 +02:00
-
23946b1e3a
After Zencoder has finished, force update of the links on next file request.
Sybren A. Stüvel
2016-05-27 16:32:52 +02:00
-
dd90fafad4
Refuse to generate None links, fall back to '' instead.
Sybren A. Stüvel
2016-05-27 16:32:32 +02:00
-
c13ba86323
Ignore .coverage files/dirs everywhere.
Sybren A. Stüvel
2016-05-27 16:21:23 +02:00
-
c6e191365b
Solved issue with video uploading.
Sybren A. Stüvel
2016-05-27 16:21:03 +02:00
-
f6721c76cc
Lowered log level for "unauthenticated access" message
Sybren A. Stüvel
2016-05-24 11:50:49 +02:00
-
17902eb730
Bumped Werkzeug to 0.11.10, this fixes our memory issue.
Sybren A. Stüvel
2016-05-24 11:38:09 +02:00
-
f98b2a09ca
Allow a user to remove themselves from any project they're in.
Sybren A. Stüvel
2016-05-24 11:18:56 +02:00
-
fc4dfd3964
Prevent creation of superfluous user while testing
Sybren A. Stüvel
2016-05-24 11:18:28 +02:00
-
2b29ec8ed6
Bumped version of Werkzeug to solve the memory error with large uploads.
Sybren A. Stüvel
2016-05-24 10:49:36 +02:00
-
f03f00163a
Added generator for node types of all projects.
Sybren A. Stüvel
2016-05-23 16:50:43 +02:00
-
cf3de95ce1
Removed is_tileable from texture variations.
Sybren A. Stüvel
2016-05-23 16:10:25 +02:00
-
f1e58d7285
Fixed unittest
Sybren A. Stüvel
2016-05-23 15:21:56 +02:00
-
8ff10828c6
Cache (project_id, node_type_name) -> project mapping per request.
Sybren A. Stüvel
2016-05-23 15:18:23 +02:00
-
75738efc0d
Added "runserver_profile" management command.
Sybren A. Stüvel
2016-05-23 15:17:16 +02:00
-
71db836d41
Increased default page size to 250.
Sybren A. Stüvel
2016-05-23 14:40:16 +02:00
-
1c39b4fcd7
Increased PAGINATION_LIMIT to 250.
Sybren A. Stüvel
2016-05-23 14:10:28 +02:00
-
291a0b393e
Added /users/me endpoint to get info about the current user.
Sybren A. Stüvel
2016-05-23 12:43:54 +02:00
-
a6f7250eb3
Richer configuration of logging module through config{,_local}.py.
Sybren A. Stüvel
2016-05-23 12:05:56 +02:00
-
06ffffa044
Only import bugsnag if we're going to use it.
Sybren A. Stüvel
2016-05-23 12:05:35 +02:00
-
4f509951a7
Reduced the GCloud resumable upload threshold 5 MiB → 100 KiB
Sybren A. Stüvel
2016-05-17 09:51:33 +02:00
-
41a278c4f0
Removed size parameter from blob.upload_to_file() to prevent mem error
Sybren A. Stüvel
2016-05-13 17:40:37 +02:00
-
193d7cef5e
Added missing role for create_file_doc
Sybren A. Stüvel
2016-05-17 10:14:00 +02:00
-
858a7b4bfb
Delete expired authentication tokens from MongoDB.
Sybren A. Stüvel
2016-05-23 11:42:35 +02:00
-
0caa2df964
Handle server-side pagination in /bcloud/texture-libraries
Sybren A. Stüvel
2016-05-20 13:03:43 +02:00
-
e0b7bcb6b7
Fix renaming file without variations.
Sybren A. Stüvel
2016-05-20 11:57:10 +02:00
-
b77f7564b1
Fixed private but shared projects not showing up in /bcloud/texture-libraries
Sybren A. Stüvel
2016-05-20 11:53:25 +02:00
-
401e3a3b36
Fixed empty license_{notes,type} properties to {} instead of ''.
Sybren A. Stüvel
2016-05-20 11:28:54 +02:00