blender-cloud.git
2 months agoFixed copy-paste bug in remoteip.conf master production
Sybren A. Stüvel [Fri, 17 Apr 2020 13:15:16 +0000 (15:15 +0200)]
Fixed copy-paste bug in remoteip.conf

2 months agoFixed typo in Dockerfile
Sybren A. Stüvel [Fri, 17 Apr 2020 12:09:43 +0000 (14:09 +0200)]
Fixed typo in Dockerfile

2 months agoApache: enabled & configured mod_remoteip
Sybren A. Stüvel [Fri, 17 Apr 2020 09:38:37 +0000 (11:38 +0200)]
Apache: enabled & configured mod_remoteip

This module makes it possible to do access control & logging based on
client's real IP address, rather than the internal IP address of HaProxy.

2 months agoHomepage: Fix project name
Francesco Siddi [Fri, 10 Apr 2020 08:09:53 +0000 (10:09 +0200)]
Homepage: Fix project name

From workshop to workflow

3 months agoToS: Update base pricing
Francesco Siddi [Thu, 9 Apr 2020 18:08:51 +0000 (20:08 +0200)]
ToS: Update base pricing

Closes T74691.

3 months agoToS: Update Blender Institute Address
Francesco Siddi [Thu, 9 Apr 2020 18:08:07 +0000 (20:08 +0200)]
ToS: Update Blender Institute Address

3 months agoHomepage: Update banners
Francesco Siddi [Thu, 9 Apr 2020 18:02:03 +0000 (20:02 +0200)]
Homepage: Update banners

3 months agoUpdate package-lock.json
Francesco Siddi [Sun, 5 Apr 2020 21:28:52 +0000 (23:28 +0200)]
Update package-lock.json

3 months agoDeploy: Add redirect for coffee-run and settlers
Francesco Siddi [Sun, 5 Apr 2020 21:28:29 +0000 (23:28 +0200)]
Deploy: Add redirect for coffee-run and settlers

3 months agoConfigured Poetry to not use virtualenvs in `./.venv`
Sybren A. Stüvel [Thu, 19 Mar 2020 16:42:45 +0000 (17:42 +0100)]
Configured Poetry to not use virtualenvs in `./.venv`

Having a virtualenv in `.venv` is very convenient because many tools
automatically pick up on it. However, this then also happens during the
construction of the Docker images, which subsequently breaks.

Until a proper fix is found, it's easiest to just put the virtualenv
outside of the project.

7 months agoUpdate pages with assets featuring latest content
Francesco Siddi [Thu, 14 Nov 2019 11:12:50 +0000 (12:12 +0100)]
Update pages with assets featuring latest content

7 months agoAdd /design-system endpoint
Francesco Siddi [Wed, 13 Nov 2019 17:47:28 +0000 (18:47 +0100)]
Add /design-system endpoint

This is where the representation of the design system will reside.
When the application runs in production (with DEBUG = False) the url
will return 404.

7 months agoTweak to gulp all command
Francesco Siddi [Wed, 13 Nov 2019 09:43:25 +0000 (10:43 +0100)]
Tweak to gulp all command

First run gulp in pillar and other dependencies, then run gulp in the
current repo.

11 months agoUI Libraries Template: Wrong link to characters project.
Pablo Vazquez [Fri, 26 Jul 2019 10:27:32 +0000 (12:27 +0200)]
UI Libraries Template: Wrong link to characters project.

Thanks @kednar for the report!

12 months agoFix link in HDRi section
Francesco Siddi [Thu, 20 Jun 2019 17:41:04 +0000 (19:41 +0200)]
Fix link in HDRi section

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

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

13 months 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

13 months 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

13 months 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

13 months 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()

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

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

13 months 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

13 months 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

13 months 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

13 months 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

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

13 months 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

13 months 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

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

13 months 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

13 months 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.

13 months 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`.

13 months 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

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

14 months 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).

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

Broke in 468fc8575106183b0eac64da5b334d3b9e0e1167

14 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.

14 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

14 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

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

14 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.

14 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.

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

14 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).

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

14 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.

14 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

14 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

14 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.

14 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.

14 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.

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

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

14 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.

14 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.

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

14 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.

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

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

14 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

14 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.

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

14 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.

14 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.

14 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.

15 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.

15 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.

15 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.

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

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

15 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!

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

15 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.

15 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.

15 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

15 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

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

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

15 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.

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

15 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.

15 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.

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

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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

15 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!

15 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.

15 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.

15 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.

15 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.

15 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

15 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.