2e0ba4c6cd
test_sdk: load BlenderDesktopLogo.png from the correct path
2016-08-23 14:32:59 +02:00
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
f3bf380bb7
current_user.is_authenticated is a function, and thus should be called.
2016-08-23 14:09:20 +02:00
27eee380d2
Missing pillar-font
2016-08-23 13:56:35 +02:00
57620fd49a
Added some more documentation for refresh_backend_links mgmt cmd
2016-08-23 12:57:49 +02:00
becf7e6381
manage.py refresh_backend_links: properly set up logging
2016-08-23 12:06:59 +02:00
c440465cf1
Removed pillar.manage_extra module.
...
It's no longer used, and empty.
2016-08-23 12:05:19 +02:00
25fb4ce842
Fix scrollbars on project_tree
...
(brought from pillar-web)
2016-08-22 23:12:56 +02:00
9c59b06ab9
Use boolean to define if button-rounded mixin is filled or not
...
Fix to blog
2016-08-22 23:04:06 +02:00
bd9ce3182d
Typo: Create*
2016-08-22 12:31:12 +02:00
4398d250a7
Fix broken upload widgets on posts
2016-08-19 11:47:06 +02:00
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
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
c79c39c9e5
Explicitly use certificate chain.
2016-08-05 15:42:57 +02:00
84e48631d4
Document return type
2016-08-04 15:02:54 +02:00
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
b70af6a0be
Little logging bugfix
2016-07-29 17:41:12 +02:00
81b5483294
Include git and vim in docker images
2016-07-29 11:35:19 +02:00
ed863447cf
Comment rating: fixed bug where new ratings weren't returned on no-op.
2016-07-28 12:08:40 +02:00
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
6a7d25cec7
Using PATCH to do comment rating.
2016-07-27 17:18:58 +02:00
63a78440a1
Added mini-framework for PATCH handlers per node type.
2016-07-27 16:58:24 +02:00
14ec0feec4
Moved nodes.py to its own Python module
2016-07-27 15:30:20 +02:00
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
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
fbf7dd9596
deploy.sh: swapped restart & notification of Bugsnag
2016-07-27 11:58:02 +02:00
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
2124e4335d
refresh_links_for_backend: more consistent messages
2016-07-27 11:17:37 +02:00
9aa11e47c5
refresh_links_for_backend: properly handle deleted projects.
2016-07-27 11:14:24 +02:00
82c89b0c97
refresh_backend_links: nicer message when aborted with Ctrl+C
2016-07-27 11:10:38 +02:00
de36f1727a
refresh_links_for_backend: handle more malformed cases and exceptions
2016-07-27 11:06:02 +02:00
943697fcd2
refresh_links_for_backend: gracefully handle project-less files.
2016-07-27 10:50:40 +02:00
ece498a636
refresh_backend_links: added some CLI options.
2016-07-27 10:45:07 +02:00
a319720b8a
refresh_links_for_backend: skip files with non-existing projects.
2016-07-27 10:44:45 +02:00
862fcbf147
restore-db.sh: drop existing collections before restoring.
2016-07-26 17:23:09 +02:00
2d72c96a45
Sort HDRi files by their image file size.
2016-07-26 17:22:07 +02:00
a549934060
Gracefully handle file documents without backend property.
2016-07-26 17:20:17 +02:00
83bad3d88d
Don't fetch entire project just to fetch a node type.
...
The query can probably be made more specific by including the node type
beforehand, and only fetching that.
2016-07-26 17:20:03 +02:00
336ba7d6fe
Attachments: don't always generate new links.
...
Instead, we now just use file_storage.ensure_valid_link(), which takes
link expiry into account.
2016-07-26 13:37:27 +02:00
3b6fa6ef27
Slight code optimisation
2016-07-26 13:36:59 +02:00
8d8f5068e1
Store GCS client on global level
...
Without this, every query to the GCS would have to re-establish a TCP/IP
connection and perform an OAuth handshake.
2016-07-26 12:17:38 +02:00
d261b7b64c
Added restore-db.sh, which restores a MongoDB dump to the local database.
2016-07-26 12:13:50 +02:00
e2fbb41de1
Added hdri_sort(project_url) management command.
...
The command sorts all HDRi nodes in the given project by image width,
smallest first.
2016-07-22 17:44:59 +02:00
50652d98ea
PEP8 formatting
2016-07-22 17:44:35 +02:00
1601a81291
Fixed issue when user has no roles
2016-07-22 10:38:05 +02:00
684c24cbaf
Handle case where activity cannot be found.
2016-07-21 17:00:06 +02:00
03a041b96e
Some logging to try and track down upload problem.
2016-07-21 15:42:39 +02:00
cd967749de
Revert "Use threading when generating links & renaming files at GCS."
...
This reverts commit 2fc89a728de6e8b02800fcae69dd09b62a0c1293.
2016-07-21 14:22:29 +02:00
2fc89a728d
Use threading when generating links & renaming files at GCS.
...
Once we move to Python 3.5 we should replace this with asyncio, so we have
more control over the total number of threads we spawn.
2016-07-21 14:11:53 +02:00
d46eed7a34
Add radiance-hdr mimetype
2016-07-21 11:50:53 +02:00