blender-cloud.git
4 hours agoFix link in HDRi section master
Francesco Siddi [Thu, 20 Jun 2019 17:41:04 +0000 (19:41 +0200)]
Fix link in HDRi section

10 days agoFix T65655
Francesco Siddi [Mon, 10 Jun 2019 15:51:55 +0000 (17:51 +0200)]
Fix T65655

2 weeks agoRe-locked dependencies production
Sybren A. Stüvel [Fri, 31 May 2019 12:23:41 +0000 (14:23 +0200)]
Re-locked dependencies

2 weeks agoRender avatar of current user using Vue.js
Sybren A. Stüvel [Fri, 31 May 2019 10:28:04 +0000 (12:28 +0200)]
Render avatar of current user using Vue.js

Requires Pillar 47474ac936ffb1d179161c8a3cac5d20e6005659

2 weeks agoUpgraded Gulp 3.9 → 4.0 and removed gulp-livereload
Sybren A. Stüvel [Fri, 31 May 2019 10:27:35 +0000 (12:27 +0200)]
Upgraded Gulp 3.9 → 4.0 and removed gulp-livereload

3 weeks agoFixed deprecation warning from WTForms
Sybren A. Stüvel [Wed, 29 May 2019 14:40:29 +0000 (16:40 +0200)]
Fixed deprecation warning from WTForms

3 weeks agoMongoDB: fixed deprecation warnings
Sybren A. Stüvel [Tue, 28 May 2019 14:35:28 +0000 (16:35 +0200)]
MongoDB: fixed deprecation warnings

- collection.count() → either counting the result or using count_documents()
- collection.update() → replaced by update_one()

3 weeks agoUnitTest.assertEquals → assertEqual
Sybren A. Stüvel [Tue, 28 May 2019 14:26:39 +0000 (16:26 +0200)]
UnitTest.assertEquals → assertEqual

3 weeks agoRe-locked dependencies
Sybren A. Stüvel [Thu, 23 May 2019 13:50:50 +0000 (15:50 +0200)]
Re-locked dependencies

3 weeks agoWebhook: Update users' avatars with Celery task when changed on Blender ID
Sybren A. Stüvel [Tue, 28 May 2019 14:10:49 +0000 (16:10 +0200)]
Webhook: Update users' avatars with Celery task when changed on Blender ID

3 weeks agoDocker-compose: Upgraded Mongo 3.4.2 → 3.4 (so latest micro in 3.4.x)
Sybren A. Stüvel [Fri, 17 May 2019 13:39:37 +0000 (15:39 +0200)]
Docker-compose: Upgraded Mongo 3.4.2 → 3.4 (so latest micro in 3.4.x)

This currently upgrades to 3.4.20

3 weeks agoDocker-compose: upgraded Redis 3.2.8 → 5.0
Sybren A. Stüvel [Fri, 17 May 2019 13:39:05 +0000 (15:39 +0200)]
Docker-compose: upgraded Redis 3.2.8 → 5.0

3 weeks agoRe-locked dependencies after Pillar updated deps
Sybren A. Stüvel [Tue, 14 May 2019 12:43:22 +0000 (14:43 +0200)]
Re-locked dependencies after Pillar updated deps

4 weeks agoRe-locked dependencies
Sybren A. Stüvel [Thu, 23 May 2019 11:54:59 +0000 (13:54 +0200)]
Re-locked dependencies

4 weeks agoWerkzeug update 0.15.2 → 0.15.4
Sybren A. Stüvel [Wed, 22 May 2019 08:33:23 +0000 (10:33 +0200)]
Werkzeug update 0.15.2 → 0.15.4

5 weeks agoAdded little note about rerunning `poetry update` after dependencies changed
Sybren A. Stüvel [Tue, 14 May 2019 10:02:14 +0000 (12:02 +0200)]
Added little note about rerunning `poetry update` after dependencies changed

5 weeks agoRe-locked dependencies
Sybren A. Stüvel [Tue, 14 May 2019 09:34:38 +0000 (11:34 +0200)]
Re-locked dependencies

5 weeks agoREADME: documented use of Poetry
Sybren A. Stüvel [Fri, 10 May 2019 13:20:34 +0000 (15:20 +0200)]
README: documented use of Poetry

5 weeks agoDocker: use variables instead of hard-coded stuff
Sybren A. Stüvel [Fri, 10 May 2019 12:46:59 +0000 (14:46 +0200)]
Docker: use variables instead of hard-coded stuff

WHEELHOUSE: since we're defining the variable we might as well use it.
DOCKER_IMAGE_NAME: introduced to prevent duplications of the name, and to
    add a little confirmation message when the script is done.

5 weeks agoStaging: be more selective about which branch of pillar-python-sdk to use
Sybren A. Stüvel [Fri, 10 May 2019 12:19:44 +0000 (14:19 +0200)]
Staging: be more selective about which branch of pillar-python-sdk to use

Because pillar-python-sdk doesn't have a `production` branch, it was always
using `master`. Now it's only using `master` if `STAGING_BRANCH`=`production`.

5 weeks agoPoetry'ising the docker stuff
Sybren A. Stüvel [Fri, 26 Apr 2019 13:49:36 +0000 (15:49 +0200)]
Poetry'ising the docker stuff

5 weeks agoMoved to Poetry
Sybren A. Stüvel [Fri, 26 Apr 2019 10:48:15 +0000 (12:48 +0200)]
Moved to Poetry

6 weeks agoBuild our own HAproxy docker image
Sybren A. Stüvel [Thu, 9 May 2019 12:12:02 +0000 (14:12 +0200)]
Build our own HAproxy docker image

The HAproxy docker image we were using is no longer maintained (hasn't been
for years), but is built upon Alpine Linux which has a big security leak:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0782

The security leak is fixed in this build of the docker image, but we should
move to something else (lke Træfik).

7 weeks agoFixed unittest
Sybren A. Stüvel [Fri, 26 Apr 2019 10:53:26 +0000 (12:53 +0200)]
Fixed unittest

Broke in 468fc8575106183b0eac64da5b334d3b9e0e1167

2 months agoUse 16_9 picture for project thumbnail
Francesco Siddi [Fri, 19 Apr 2019 11:00:04 +0000 (13:00 +0200)]
Use 16_9 picture for project thumbnail

This allows us to use picture_header as an actual header from now on.

2 months agoUse absolute url of Open Graph image links
Francesco Siddi [Fri, 19 Apr 2019 10:54:22 +0000 (12:54 +0200)]
Use absolute url of Open Graph image links

2 months agoUse _opengraph macro in landing.pug
Francesco Siddi [Fri, 19 Apr 2019 10:53:58 +0000 (12:53 +0200)]
Use _opengraph macro in landing.pug

2 months agoImprove readability of _opengraph macro
Francesco Siddi [Fri, 19 Apr 2019 10:53:24 +0000 (12:53 +0200)]
Improve readability of _opengraph macro

2 months agoRemove 16_9 image from extension props
Francesco Siddi [Fri, 19 Apr 2019 10:52:47 +0000 (12:52 +0200)]
Remove 16_9 image from extension props

This property is now available on Project level.

2 months agoRename project_type to category in Project
Francesco Siddi [Fri, 19 Apr 2019 09:13:31 +0000 (11:13 +0200)]
Rename project_type to category in Project

Requires renaming custom_props.cloud.project_type fields to
custom_props.cloud.category in all documents of the projects
collection.

2 months agoDisplay field description if available
Francesco Siddi [Fri, 19 Apr 2019 08:43:38 +0000 (10:43 +0200)]
Display field description if available

2 months agoRemove unneeded if statement
Francesco Siddi [Fri, 19 Apr 2019 08:43:16 +0000 (10:43 +0200)]
Remove unneeded if statement

When rendering this template we do not provide the hidden_fields
list (this code was partially copied from project edit.pug).

2 months agoFix typo
Francesco Siddi [Fri, 19 Apr 2019 08:06:15 +0000 (10:06 +0200)]
Fix typo

2 months agoUI Footer: Add link to Films.
Pablo Vazquez [Thu, 18 Apr 2019 13:33:38 +0000 (15:33 +0200)]
UI Footer: Add link to Films.

2 months agoUI Footer: Rename links to sections.
Pablo Vazquez [Thu, 18 Apr 2019 13:32:47 +0000 (15:32 +0200)]
UI Footer: Rename links to sections.

LEARN -> TRAINING
RESOURCES -> CLOUD

2 months agoUI Footer: Fix link to YouTube
Pablo Vazquez [Thu, 18 Apr 2019 13:32:26 +0000 (15:32 +0200)]
UI Footer: Fix link to YouTube

2 months agoServices: Use 16_9 image for opengraph.
Pablo Vazquez [Thu, 18 Apr 2019 12:45:55 +0000 (14:45 +0200)]
Services: Use 16_9 image for opengraph.

2 months agoUI Homepage: Three cards for featured projects.
Pablo Vazquez [Mon, 15 Apr 2019 10:46:31 +0000 (12:46 +0200)]
UI Homepage: Three cards for featured projects.

2 months agoUI Learn: swap thumbnails and link to asset/project in courses and worshops.
Pablo Vazquez [Fri, 12 Apr 2019 15:32:35 +0000 (17:32 +0200)]
UI Learn: swap thumbnails and link to asset/project in courses and worshops.

2 months agoUI Learn: tweak in wording.
Pablo Vazquez [Fri, 12 Apr 2019 15:31:52 +0000 (17:31 +0200)]
UI Learn: tweak in wording.

2 months agoUI Learn: Minor layout adjustment.
Pablo Vazquez [Fri, 12 Apr 2019 15:31:38 +0000 (17:31 +0200)]
UI Learn: Minor layout adjustment.

2 months agoUI Learn: add quick links to 3 items per category.
Pablo Vazquez [Fri, 12 Apr 2019 15:31:11 +0000 (17:31 +0200)]
UI Learn: add quick links to 3 items per category.

2 months agoUI Libraries: swap thumbnail and link to asset.
Pablo Vazquez [Fri, 12 Apr 2019 15:30:27 +0000 (17:30 +0200)]
UI Libraries: swap thumbnail and link to asset.

2 months agoLibraries: cleanup leftover.
Pablo Vazquez [Fri, 12 Apr 2019 15:29:54 +0000 (17:29 +0200)]
Libraries: cleanup leftover.

2 months agoUI Libraries: Remove hand-on section.
Pablo Vazquez [Fri, 12 Apr 2019 15:29:17 +0000 (17:29 +0200)]
UI Libraries: Remove hand-on section.

2 months agoUI Libraries: Layout adjustments.
Pablo Vazquez [Fri, 12 Apr 2019 15:29:04 +0000 (17:29 +0200)]
UI Libraries: Layout adjustments.

2 months agoUI Libraries: wording tweaks.
Pablo Vazquez [Fri, 12 Apr 2019 15:28:41 +0000 (17:28 +0200)]
UI Libraries: wording tweaks.

2 months agoUI Libraries: Swap Textures for HDR Images
Pablo Vazquez [Fri, 12 Apr 2019 15:28:19 +0000 (17:28 +0200)]
UI Libraries: Swap Textures for HDR Images

2 months agoUI Libraries: Add quick links to 3 items.
Pablo Vazquez [Fri, 12 Apr 2019 15:27:28 +0000 (17:27 +0200)]
UI Libraries: Add quick links to 3 items.

2 months agoLibraries: cleanup unused scripts.
Pablo Vazquez [Fri, 12 Apr 2019 15:24:21 +0000 (17:24 +0200)]
Libraries: cleanup unused scripts.

2 months agoUI: Layout adjustments to category_list components.
Pablo Vazquez [Fri, 12 Apr 2019 15:22:55 +0000 (17:22 +0200)]
UI: Layout adjustments to category_list components.

2 months agoUtility for marking the first item on a list as 'new'.
Pablo Vazquez [Fri, 12 Apr 2019 15:21:47 +0000 (17:21 +0200)]
Utility for marking the first item on a list as 'new'.

The span element of the first child will include a 'new' label on it.

Usage: add the class 'list-first-new' to a list.

2 months agoNew images for gallery, training, and libraries.
Pablo Vazquez [Fri, 12 Apr 2019 15:17:59 +0000 (17:17 +0200)]
New images for gallery, training, and libraries.

2 months agoHomepage: increase random featured assets to six.
Pablo Vazquez [Wed, 10 Apr 2019 15:19:31 +0000 (17:19 +0200)]
Homepage: increase random featured assets to six.

2 months agoHomepage: bring back two column homepage, only on XL screens.
Pablo Vazquez [Wed, 10 Apr 2019 15:19:17 +0000 (17:19 +0200)]
Homepage: bring back two column homepage, only on XL screens.

2 months agoHomepage: sass file for homepage styling.
Pablo Vazquez [Wed, 10 Apr 2019 15:18:23 +0000 (17:18 +0200)]
Homepage: sass file for homepage styling.

2 months agoRemove whitespace
Francesco Siddi [Mon, 8 Apr 2019 14:43:52 +0000 (16:43 +0200)]
Remove whitespace

2 months agoRemove whitespace
Francesco Siddi [Mon, 8 Apr 2019 14:43:29 +0000 (16:43 +0200)]
Remove whitespace

2 months agoUI Landing: Fix alignment on Firefox.
Pablo Vazquez [Thu, 4 Apr 2019 16:48:07 +0000 (18:48 +0200)]
UI Landing: Fix alignment on Firefox.

Thanks Ines for the report!

2 months agoFront-page update
Francesco Siddi [Thu, 4 Apr 2019 14:47:39 +0000 (16:47 +0200)]
Front-page update

2 months agoUI Landing: padding on browse button.
Pablo Vazquez [Thu, 4 Apr 2019 14:41:07 +0000 (16:41 +0200)]
UI Landing: padding on browse button.

2 months agoUI Landing: Use 16 by 9 image for opengraph.
Pablo Vazquez [Thu, 4 Apr 2019 14:40:53 +0000 (16:40 +0200)]
UI Landing: Use 16 by 9 image for opengraph.

2 months agoAdd navigation and extension links to /browse
Francesco Siddi [Thu, 4 Apr 2019 13:31:52 +0000 (15:31 +0200)]
Add navigation and extension links to /browse

2 months agoShow only groups and assets in browse endpoint
Francesco Siddi [Thu, 4 Apr 2019 13:31:28 +0000 (15:31 +0200)]
Show only groups and assets in browse endpoint

2 months agoUI Landing: Style tweaks
Pablo Vazquez [Thu, 4 Apr 2019 12:20:19 +0000 (14:20 +0200)]
UI Landing: Style tweaks

2 months agoUI Landing: Timeline -> Project Timeline
Pablo Vazquez [Thu, 4 Apr 2019 12:20:09 +0000 (14:20 +0200)]
UI Landing: Timeline -> Project Timeline

2 months agoUI Landing: Jumbotron padding tweak and mobile.
Pablo Vazquez [Thu, 4 Apr 2019 12:19:52 +0000 (14:19 +0200)]
UI Landing: Jumbotron padding tweak and mobile.

2 months agoUI: Rename 'Explore' to 'Browse'
Pablo Vazquez [Thu, 4 Apr 2019 12:19:36 +0000 (14:19 +0200)]
UI: Rename 'Explore' to 'Browse'

2 months agoCast empty string value in form_field to None
Francesco Siddi [Thu, 4 Apr 2019 11:09:53 +0000 (13:09 +0200)]
Cast empty string value in form_field to None

For FilmProjectForm, when no value is specified we want to save it
as None in the project document.

2 months agoFix for exception in /open-movies
Francesco Siddi [Thu, 4 Apr 2019 09:47:23 +0000 (11:47 +0200)]
Fix for exception in /open-movies

When extension_props.cloud.poster was set to empty string, we would
try to get file anyway and we would set the has_poster has_poster
convenience attribute to true. This would lead to an exception when
trying to access the poster file object in the template.

2 months agoUI Browse: Remove description.
Pablo Vazquez [Thu, 4 Apr 2019 00:03:53 +0000 (02:03 +0200)]
UI Browse: Remove description.

2 months agoFix in is_cloud_project
Francesco Siddi [Wed, 3 Apr 2019 22:50:35 +0000 (00:50 +0200)]
Fix in is_cloud_project

Handle missing extension_props attribute.

2 months agoIntroducing top level browsing
Francesco Siddi [Wed, 3 Apr 2019 22:27:09 +0000 (00:27 +0200)]
Introducing top level browsing

We introduce a new /p/<project_url>/browse endpoint, which allows to
see all top-level nodes of a project.

2 months agoDo not show hidden pages in project landing
Francesco Siddi [Wed, 3 Apr 2019 18:41:43 +0000 (20:41 +0200)]
Do not show hidden pages in project landing

2 months agoUI Landing: alt name on image.
Pablo Vazquez [Wed, 3 Apr 2019 22:26:38 +0000 (00:26 +0200)]
UI Landing: alt name on image.

2 months agoUI Landing: Link icon, text and Explore button to project_explore_url.
Pablo Vazquez [Wed, 3 Apr 2019 21:44:37 +0000 (23:44 +0200)]
UI Landing: Link icon, text and Explore button to project_explore_url.

To be replaced with the actual 'explore' endpoint.

2 months agoUI Landing: padding and column size adjustments.
Pablo Vazquez [Wed, 3 Apr 2019 21:40:13 +0000 (23:40 +0200)]
UI Landing: padding and column size adjustments.

2 months agoUI Landing: open video_url in the page overlay.
Pablo Vazquez [Wed, 3 Apr 2019 21:39:53 +0000 (23:39 +0200)]
UI Landing: open video_url in the page overlay.

2 months agoCleanup: remove unused font-pillar.css link.
Pablo Vazquez [Wed, 3 Apr 2019 21:10:33 +0000 (23:10 +0200)]
Cleanup: remove unused font-pillar.css link.

They are built inside project-main.sass now

2 months agoLayout Template: Introducing announcements.
Pablo Vazquez [Wed, 3 Apr 2019 20:54:00 +0000 (22:54 +0200)]
Layout Template: Introducing announcements.

Used for non-subscribers (current_user without .has-cap('subscriber'),
to give a friendly reminder about cool promos!

2 months agoconfig_local: Example for announcements to non-subscribers.
Pablo Vazquez [Wed, 3 Apr 2019 20:50:37 +0000 (22:50 +0200)]
config_local: Example for announcements to non-subscribers.

2 months agoFix for exception
Francesco Siddi [Wed, 3 Apr 2019 15:36:27 +0000 (17:36 +0200)]
Fix for exception

Check that ‘extension_props’ exists in project before looking for
EXTENSION_NAME.

2 months agoOverride /p/<project_url>
Francesco Siddi [Wed, 3 Apr 2019 15:00:28 +0000 (17:00 +0200)]
Override /p/<project_url>

By overriding this Pillar endpoint, we allow more control over how
the landing page of a project is rendered, based on the presence
of the ‘cloud’ extension property.

2 months agoUI Landing: Show logo and watch url if any.
Pablo Vazquez [Wed, 3 Apr 2019 14:59:14 +0000 (16:59 +0200)]
UI Landing: Show logo and watch url if any.

2 months agoUse poster file as preview for film projects
Francesco Siddi [Wed, 3 Apr 2019 14:43:48 +0000 (16:43 +0200)]
Use poster file as preview for film projects

2 months agoIntroducing setup_for_film functionality
Francesco Siddi [Wed, 3 Apr 2019 13:54:37 +0000 (15:54 +0200)]
Introducing setup_for_film functionality

It is now possible, only for user with admin capability, to setup a
project as ‘film’. This action can be performed via CLI using
./manage.py cloud setup_for_film <project_url> or via the web
interface in the Cloud settings area.
Setting up a project for film creates a number of extension props
under the ‘cloud’ key. Such properties are listed in the
cloud_extension_props variable in setup.py.

At this moment the functionality exists for a very specific purpose:
improving the presentation of public Film projects in the Blender
Cloud. It can be further extended to improve the presentation of
Training and Libraries later on.

2 months agoUI Production: use same header and opengraph as other collections.
Pablo Vazquez [Wed, 3 Apr 2019 13:48:38 +0000 (15:48 +0200)]
UI Production: use same header and opengraph as other collections.

2 months agoUI Libraries: Fix wrong URL for characters project.
Pablo Vazquez [Wed, 3 Apr 2019 13:47:59 +0000 (15:47 +0200)]
UI Libraries: Fix wrong URL for characters project.

2 months agoTemplates: Add opengraph to collections.
Pablo Vazquez [Wed, 3 Apr 2019 13:43:53 +0000 (15:43 +0200)]
Templates: Add opengraph to collections.

2 months agoCleanup. One line for block page_title.
Pablo Vazquez [Wed, 3 Apr 2019 13:43:01 +0000 (15:43 +0200)]
Cleanup. One line for block page_title.

2 months agoCleanup: Unused mixin include.
Pablo Vazquez [Wed, 3 Apr 2019 13:42:37 +0000 (15:42 +0200)]
Cleanup: Unused mixin include.

2 months agoCleanup: Remove URL from category_list_header component.
Pablo Vazquez [Wed, 3 Apr 2019 13:33:04 +0000 (15:33 +0200)]
Cleanup: Remove URL from category_list_header component.

2 months agoCleanup: Remove unused components mixin.
Pablo Vazquez [Wed, 3 Apr 2019 13:32:32 +0000 (15:32 +0200)]
Cleanup: Remove unused components mixin.

2 months agoUI: Tweaks to descriptions in Learn.
Pablo Vazquez [Wed, 3 Apr 2019 13:31:38 +0000 (15:31 +0200)]
UI: Tweaks to descriptions in Learn.

2 months agoUI: Tweaks to descriptions in Libraries.
Pablo Vazquez [Wed, 3 Apr 2019 13:31:14 +0000 (15:31 +0200)]
UI: Tweaks to descriptions in Libraries.

2 months agoUI: Tweaks to descriptions in Index Collection.
Pablo Vazquez [Wed, 3 Apr 2019 13:30:46 +0000 (15:30 +0200)]
UI: Tweaks to descriptions in Index Collection.

2 months agoPug Components: category_list_item component.
Pablo Vazquez [Wed, 3 Apr 2019 13:29:14 +0000 (15:29 +0200)]
Pug Components: category_list_item component.

Taken from Pillar. Used in Libraries, Training, etc.

2 months agoUI Films: minor style tweaks.
Pablo Vazquez [Wed, 3 Apr 2019 13:03:47 +0000 (15:03 +0200)]
UI Films: minor style tweaks.

2 months agoUI Landing: Align header to top.
Pablo Vazquez [Wed, 3 Apr 2019 13:03:27 +0000 (15:03 +0200)]
UI Landing: Align header to top.

2 months agoUI Films: use variable for project URL.
Pablo Vazquez [Wed, 3 Apr 2019 13:03:18 +0000 (15:03 +0200)]
UI Films: use variable for project URL.

Instead of building url_for() many times.