blender-cloud.git
6 days agoUse 16_9 picture for project thumbnail master production
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.

6 days 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

6 days 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

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

6 days 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.

6 days 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.

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

6 days 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).

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

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

7 days 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

7 days 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

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

10 days 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 weeks 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!

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

3 weeks 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.

3 weeks 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.

3 weeks 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

3 weeks 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

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

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

3 weeks 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.

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

3 weeks 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.

3 weeks 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.

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

3 weeks 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.

3 weeks 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.

3 weeks 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

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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

3 weeks 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!

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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

3 weeks 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.

3 weeks 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.

3 weeks 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.

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

3 weeks 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.

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

3 weeks 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.

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

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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.

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

3 weeks 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.

3 weeks 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.

3 weeks agoIndex Collection Template: Use header and opengraph macros.
Pablo Vazquez [Wed, 3 Apr 2019 13:02:11 +0000 (15:02 +0200)]
Index Collection Template: Use header and opengraph macros.

3 weeks agoTemplates: New template for films.
Pablo Vazquez [Wed, 3 Apr 2019 11:03:58 +0000 (13:03 +0200)]
Templates: New template for films.

3 weeks agoCSS: Add alias for pi-blender-cloud from font-pillar.
Pablo Vazquez [Wed, 3 Apr 2019 11:01:39 +0000 (13:01 +0200)]
CSS: Add alias for pi-blender-cloud from font-pillar.

3 weeks agoCSS: Include font-pillar as part of main.css
Pablo Vazquez [Wed, 3 Apr 2019 11:01:08 +0000 (13:01 +0200)]
CSS: Include font-pillar as part of main.css

3 weeks agoCSS: Include variables in project-main.sass
Pablo Vazquez [Wed, 3 Apr 2019 09:49:17 +0000 (11:49 +0200)]
CSS: Include variables in project-main.sass

3 weeks agoTemplate Libraries: Use header and opengraph macros.
Pablo Vazquez [Wed, 3 Apr 2019 09:41:42 +0000 (11:41 +0200)]
Template Libraries: Use header and opengraph macros.

3 weeks agoTemplate Learn: Use header and opengraph macros.
Pablo Vazquez [Wed, 3 Apr 2019 09:41:33 +0000 (11:41 +0200)]
Template Learn: Use header and opengraph macros.

3 weeks agoUI Landing: Use variable instead of magic number for background.
Pablo Vazquez [Wed, 3 Apr 2019 09:40:55 +0000 (11:40 +0200)]
UI Landing: Use variable instead of magic number for background.

3 weeks agoSass: Introducing variables.sass file.
Pablo Vazquez [Wed, 3 Apr 2019 09:40:01 +0000 (11:40 +0200)]
Sass: Introducing variables.sass file.

For Blender Cloud specific variables.

3 weeks agoTemplate Services: Use header and opengraph macros.
Pablo Vazquez [Wed, 3 Apr 2019 09:39:11 +0000 (11:39 +0200)]
Template Services: Use header and opengraph macros.

3 weeks agoTemplates: Introducing components.pug
Pablo Vazquez [Wed, 3 Apr 2019 09:38:27 +0000 (11:38 +0200)]
Templates: Introducing components.pug

For Blender Cloud specific components.

No need for them to be part of Pillar.

3 weeks agoTemplates: New macro for Opengraph.
Pablo Vazquez [Tue, 2 Apr 2019 17:48:51 +0000 (19:48 +0200)]
Templates: New macro for Opengraph.

To be used inside the opengraph block.

e.g
{% block og %}
  {{ opengraph(title, description, image, url) }}
{% endblock %}

3 weeks agoUI Blog: Light background color and border for edit bar.
Pablo Vazquez [Mon, 1 Apr 2019 12:57:34 +0000 (14:57 +0200)]
UI Blog: Light background color and border for edit bar.

Makes it stand out more especially when there is no image in the post.

3 weeks agoUI: Light background color for sidebar container.
Pablo Vazquez [Mon, 1 Apr 2019 12:56:59 +0000 (14:56 +0200)]
UI: Light background color for sidebar container.

3 weeks agoUI Index Collection: Match style with Training and Libraries.
Pablo Vazquez [Mon, 1 Apr 2019 10:33:47 +0000 (12:33 +0200)]
UI Index Collection: Match style with Training and Libraries.

3 weeks agoUI Homepage: Replace 'film in production' with just Spring.
Pablo Vazquez [Mon, 1 Apr 2019 10:32:49 +0000 (12:32 +0200)]
UI Homepage: Replace 'film in production' with just Spring.

Since the film is no longer in production! We are done!

3 weeks agoUI Project: Show sidebar by default.
Pablo Vazquez [Fri, 29 Mar 2019 14:46:43 +0000 (15:46 +0100)]
UI Project: Show sidebar by default.

3 weeks agoCSS Cleanup
Pablo Vazquez [Fri, 29 Mar 2019 14:37:40 +0000 (15:37 +0100)]
CSS Cleanup

An oversight. We already styled node-details-description a few lines above.

3 weeks agoUI Landing: No need to set 'landing' as title.
Pablo Vazquez [Fri, 29 Mar 2019 14:36:54 +0000 (15:36 +0100)]
UI Landing: No need to set 'landing' as title.

Just use the default since project landing is the same as project home.

3 weeks agoUI Landing: Use dark background only on project home landing page.
Pablo Vazquez [Fri, 29 Mar 2019 14:22:53 +0000 (15:22 +0100)]
UI Landing: Use dark background only on project home landing page.

3 weeks agoUI Landing: Bigger text in node description.
Pablo Vazquez [Fri, 29 Mar 2019 14:22:22 +0000 (15:22 +0100)]
UI Landing: Bigger text in node description.

3 weeks agoUI Layout: New jinja block for adding custom classes to the body.
Pablo Vazquez [Fri, 29 Mar 2019 14:22:00 +0000 (15:22 +0100)]
UI Layout: New jinja block for adding custom classes to the body.

Usage: {% block bodyclasses %}custom-class-name{% endblock %}

3 weeks agoMerge branch 'production'
Sybren A. Stüvel [Fri, 29 Mar 2019 14:27:58 +0000 (15:27 +0100)]
Merge branch 'production'

3 weeks agobuild wheels using the correct Docker image
Francesco Siddi [Fri, 29 Mar 2019 14:18:10 +0000 (15:18 +0100)]
build wheels using the correct Docker image