blender-cloud.git
7 months agoWork around cryptography requiring Rust compiler master production
Anna Sirota [Thu, 18 Mar 2021 17:42:10 +0000 (18:42 +0100)]
Work around cryptography requiring Rust compiler

Pins all the build dependencies required by poetry, otherwise
poetry installs arbitrary versions of them, which leads to a wrong
version of cryptography being installed and the build failing.
Note that Cloud dependencies (pillar and the like) has to have their
build dependencies pinned in the same exact manner, for the same reason.

Pins all the runtime dependencies as well, because Cloud can only use
poetry==1.0 due to its source dependencies, so there's no
"poetry lock --no-update" and each "poetry lock" updates arbitrary packages.

9 months agoDeploy: Pin poetry version to 1.0
Francesco Siddi [Wed, 20 Jan 2021 10:08:23 +0000 (11:08 +0100)]
Deploy: Pin poetry version to 1.0

It looks like more recent versions of poetry do not handle well nested
local package deps.
https://github.com/python-poetry/poetry/issues/3098

9 months agoHandle date_deletion_requested in user-modified webhook D10139
Anna Sirota [Wed, 20 Jan 2021 09:43:11 +0000 (10:43 +0100)]
Handle date_deletion_requested in user-modified webhook D10139

15 months agoUpdate gulp-sass
Francesco Siddi [Thu, 23 Jul 2020 16:43:17 +0000 (18:43 +0200)]
Update gulp-sass

15 months agoUpdate poetry.lock
Francesco Siddi [Thu, 23 Jul 2020 16:43:01 +0000 (18:43 +0200)]
Update poetry.lock

15 months agoLearn: New featured projects
Pablo Vazquez [Thu, 23 Jul 2020 10:20:05 +0000 (12:20 +0200)]
Learn: New featured projects

15 months agoHomepage: New featured projects
Pablo Vazquez [Thu, 23 Jul 2020 10:19:37 +0000 (12:19 +0200)]
Homepage: New featured projects

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

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

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

18 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

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

Closes T74691.

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

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

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

18 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

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

23 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

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

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

2 years 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!

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

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

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

2 years 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 years 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

2 years 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

2 years 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()

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

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

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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

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

2 years 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

2 years 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.

2 years 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`.

2 years 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

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

2 years 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).

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

Broke in 468fc8575106183b0eac64da5b334d3b9e0e1167

2 years 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 years 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 years 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 years agoImprove readability of _opengraph macro
Francesco Siddi [Fri, 19 Apr 2019 10:53:24 +0000 (12:53 +0200)]
Improve readability of _opengraph macro

2 years 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 years 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 years agoDisplay field description if available
Francesco Siddi [Fri, 19 Apr 2019 08:43:38 +0000 (10:43 +0200)]
Display field description if available

2 years 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 years agoFix typo
Francesco Siddi [Fri, 19 Apr 2019 08:06:15 +0000 (10:06 +0200)]
Fix typo

2 years 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 years 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 years 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 years 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 years 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 years 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 years agoUI Learn: tweak in wording.
Pablo Vazquez [Fri, 12 Apr 2019 15:31:52 +0000 (17:31 +0200)]
UI Learn: tweak in wording.

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

2 years 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 years 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 years agoLibraries: cleanup leftover.
Pablo Vazquez [Fri, 12 Apr 2019 15:29:54 +0000 (17:29 +0200)]
Libraries: cleanup leftover.

2 years 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 years agoUI Libraries: Layout adjustments.
Pablo Vazquez [Fri, 12 Apr 2019 15:29:04 +0000 (17:29 +0200)]
UI Libraries: Layout adjustments.

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

2 years 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 years 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 years agoLibraries: cleanup unused scripts.
Pablo Vazquez [Fri, 12 Apr 2019 15:24:21 +0000 (17:24 +0200)]
Libraries: cleanup unused scripts.

2 years 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 years 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 years 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 years 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 years 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 years 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 years agoRemove whitespace
Francesco Siddi [Mon, 8 Apr 2019 14:43:52 +0000 (16:43 +0200)]
Remove whitespace

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

2 years 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 years agoFront-page update
Francesco Siddi [Thu, 4 Apr 2019 14:47:39 +0000 (16:47 +0200)]
Front-page update

2 years 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 years 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 years 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 years 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 years agoUI Landing: Style tweaks
Pablo Vazquez [Thu, 4 Apr 2019 12:20:19 +0000 (14:20 +0200)]
UI Landing: Style tweaks

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

2 years 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 years agoUI: Rename 'Explore' to 'Browse'
Pablo Vazquez [Thu, 4 Apr 2019 12:19:36 +0000 (14:19 +0200)]
UI: Rename 'Explore' to 'Browse'

2 years 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 years 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 years agoUI Browse: Remove description.
Pablo Vazquez [Thu, 4 Apr 2019 00:03:53 +0000 (02:03 +0200)]
UI Browse: Remove description.

2 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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