Commit Graph

671 Commits

Author SHA1 Message Date
Pablo Vazquez 2c62bd4016 When replying, use @username only 2016-08-30 13:54:59 +02:00
Pablo Vazquez 06ed6af2a9 Use Blender Cloud add-on version from config 2016-08-30 12:17:59 +02:00
Sybren A. Stüvel 32c130ed93 Fall back to application/octet-stream when there is no content-type header 2016-08-26 17:57:52 +02:00
Sybren A. Stüvel 634b233685 mass_copy_between_backends: Also catch unexpected exceptions, and simply move on to the next file. 2016-08-26 17:50:40 +02:00
Sybren A. Stüvel eb7b875122 Copying files to other backend now works 2016-08-26 15:52:02 +02:00
Sybren A. Stüvel c4a3601939 Broken file_storage.py up into file_storage/{__init__,moving}.py 2016-08-26 15:36:34 +02:00
Francesco Siddi 225f9ae054 WIP for change file backends 2016-08-26 15:36:34 +02:00
Sybren A. Stüvel 163db3f2b8 Let generated links for 'unittest' backend actually be a valid link. 2016-08-26 15:35:18 +02:00
Sybren A. Stüvel dd6fc8bde4 generate_link: warn when GCS blob can't be found. 2016-08-26 15:34:58 +02:00
Sybren A. Stüvel ff692d287c Added 'check_cdnsun' management command.
This command performs a HEAD on each file stored at CDNSun, including its
variations. Logs missing variations and missing main files (but only when
there are no variations).
2016-08-26 14:16:05 +02:00
Sybren A. Stüvel 1fe86fa000 backup-db.sh now uses the new 'cloud' database 2016-08-24 14:50:08 +02:00
Sybren A. Stüvel 04c9c010f0 p.view_node(): check node_id for validity, before sending it to the API
This prevents a pillarsdk.exceptions.MethodNotAllowed exception, which
would result in a 500 Internal Server Error on the frontend.
2016-08-24 14:49:30 +02:00
Sybren A. Stüvel b6c623cca8 Don't import every function from pillar.web.utils individually.
Instead, just "from pillar.web import utils" and then use utils.X to
get to the util function.
2016-08-24 14:26:47 +02:00
Sybren A. Stüvel 9b2a419d9b Extra debug logging for file uploads 2016-08-24 11:33:02 +02:00
Sybren A. Stüvel d5cf3b8246 Moved TLS cert file to post() call instead of session.
Another way to make it work is to set it on the session, and explicitly
specify verify=True in the post() call.
2016-08-23 17:45:31 +02:00
Sybren A. Stüvel 0d3ed3af2c Explicitly use certificate chain. 2016-08-23 17:45:08 +02:00
Sybren A. Stüvel 751a321aa6 Document return type 2016-08-23 17:42:42 +02:00
Sybren A. Stüvel 207d821564 Override image/x-exr mimetype with application/x-exr
This prevents us from handling EXR files as images, at least until the
time when we can properly thumbnail those.
2016-08-23 17:41:56 +02:00
Sybren A. Stüvel d7b71e38e8 Don't show upvote button on own comment 2016-08-23 16:25:09 +02:00
Sybren A. Stüvel 07691db874 Check subscription status on login. 2016-08-23 16:09:47 +02:00
Sybren A. Stüvel dcbefc33ae Revert an oops in f3bf380bb7 2016-08-23 14:57:11 +02:00
Sybren A. Stüvel 751c692e6a Use urlparse.urlunsplit() to join url parts together.
This also works when there is no scheme and no hostname.
2016-08-23 14:34:15 +02:00
Sybren A. Stüvel 00a34e7e24 py.test now ignores node.js tests
There's one file node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py
which would otherwise be picked up by py.test.
2016-08-23 14:33:45 +02:00
Sybren A. Stüvel 2e0ba4c6cd test_sdk: load BlenderDesktopLogo.png from the correct path 2016-08-23 14:32:59 +02:00
Sybren A. Stüvel 9d1181330b Fix T49138: "learn more" buttons break history / back-button
The "learn more" links are now actually links, and the location is simply
set using `window.location.ref = url` instead of `window.location.replace()`.
2016-08-23 14:09:20 +02:00
Sybren A. Stüvel f3bf380bb7 current_user.is_authenticated is a function, and thus should be called. 2016-08-23 14:09:20 +02:00
Pablo Vazquez 27eee380d2 Missing pillar-font 2016-08-23 13:56:35 +02:00
Sybren A. Stüvel 57620fd49a Added some more documentation for refresh_backend_links mgmt cmd 2016-08-23 12:57:49 +02:00
Sybren A. Stüvel becf7e6381 manage.py refresh_backend_links: properly set up logging 2016-08-23 12:06:59 +02:00
Sybren A. Stüvel c440465cf1 Removed pillar.manage_extra module.
It's no longer used, and empty.
2016-08-23 12:05:19 +02:00
Pablo Vazquez 25fb4ce842 Fix scrollbars on project_tree
(brought from pillar-web)
2016-08-22 23:12:56 +02:00
Pablo Vazquez 9c59b06ab9 Use boolean to define if button-rounded mixin is filled or not
Fix to blog
2016-08-22 23:04:06 +02:00
Pablo Vazquez bd9ce3182d Typo: Create* 2016-08-22 12:31:12 +02:00
Pablo Vazquez 4398d250a7 Fix broken upload widgets on posts 2016-08-19 11:47:06 +02:00
Francesco Siddi 2c5dc34ea2 Introducing Pillar Framework
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.

Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00
Sybren A. Stüvel a5e92e1d87 Moved TLS cert file to post() call instead of session.
Another way to make it work is to set it on the session, and explicitly
specify verify=True in the post() call.
last-before-fusion
2016-08-05 16:37:33 +02:00
Sybren A. Stüvel c79c39c9e5 Explicitly use certificate chain. 2016-08-05 15:42:57 +02:00
Sybren A. Stüvel 84e48631d4 Document return type 2016-08-04 15:02:54 +02:00
Sybren A. Stüvel 3c63649ce1 Override image/x-exr mimetype with application/x-exr
This prevents us from handling EXR files as images, at least until the
time when we can properly thumbnail those.
2016-08-01 12:55:53 +02:00
Sybren A. Stüvel b70af6a0be Little logging bugfix 2016-07-29 17:41:12 +02:00
Sybren A. Stüvel 81b5483294 Include git and vim in docker images 2016-07-29 11:35:19 +02:00
Sybren A. Stüvel ed863447cf Comment rating: fixed bug where new ratings weren't returned on no-op. 2016-07-28 12:08:40 +02:00
Sybren A. Stüvel 7365fb10cd patch_comment: return new ratings in response
This way the client can show these without querying Pillar again.
2016-07-28 10:24:01 +02:00
Sybren A. Stüvel 6a7d25cec7 Using PATCH to do comment rating. 2016-07-27 17:18:58 +02:00
Sybren A. Stüvel 63a78440a1 Added mini-framework for PATCH handlers per node type. 2016-07-27 16:58:24 +02:00
Sybren A. Stüvel 14ec0feec4 Moved nodes.py to its own Python module 2016-07-27 15:30:20 +02:00
Sybren A. Stüvel 696351e9b4 Added some extra logging to find the source of a bug.
In some cases we db_user['groups'] = [u'subscriber'], which is invalid
(it should be a list of ObjectIDs), but I have no idea how it gets there.
2016-07-27 12:51:17 +02:00
Sybren A. Stüvel 1312ededfb refresh_links_for_backend: handling KeyboardInterrupt better
It now reports on the number of refreshed links before aborting.
2016-07-27 11:58:39 +02:00
Sybren A. Stüvel fbf7dd9596 deploy.sh: swapped restart & notification of Bugsnag 2016-07-27 11:58:02 +02:00
Sybren A. Stüvel 37bf9733f6 refresh_links_for_backend: lowering batch size
MongoDB will close an idle connection after 10 minutes. By lowering the
batch size, I hope we'll often request a small batch of data, therefore
avoiding the connection to be idle for too long and timing out.
2016-07-27 11:54:49 +02:00