Commit Graph

569 Commits

Author SHA1 Message Date
Pablo Vazquez 269daa0d43 UI Navigation: Padding adjustment. 2019-03-27 12:55:08 +01:00
Pablo Vazquez 39516e63cc UI Navigation: Cleanup (adding comments). 2019-03-27 12:54:54 +01:00
Pablo Vazquez 84881743ef UI Navigation: Category title 'Open Projects' rename to 'Films' 2019-03-27 12:54:10 +01:00
Pablo Vazquez e975492869 UI Navigation: Link to project category.
Without it, going from one project to another in the same category (like
going from Textures library to HDRI) is cumbersome, having to go always
through the homepage first.
2019-03-27 12:53:27 +01:00
Pablo Vazquez 78e1c728fa UI Landing: Cleanup 2019-03-27 12:36:39 +01:00
Pablo Vazquez be18dfb985 UI Landing: Margin top of project description. 2019-03-27 12:35:58 +01:00
Pablo Vazquez 8797b18754 UI Landing: Cleanup, remove unused attribute. 2019-03-27 12:34:44 +01:00
Pablo Vazquez 727ba3fd58 UI Landing: Simplify javascript code for overlay. 2019-03-27 12:34:11 +01:00
Pablo Vazquez a369c04b38 UI Landing: Remove project name and gallery title. 2019-03-27 12:31:51 +01:00
Pablo Vazquez fad5f803e8 UI Landing: Fade header to background color. 2019-03-27 12:18:15 +01:00
Pablo Vazquez 143cd27c55 UI Landing: Use dark background. 2019-03-27 12:17:15 +01:00
Pablo Vazquez 2f854ebeee UI Landing: Replace Blog updates with Timeline. 2019-03-27 12:14:24 +01:00
Pablo Vazquez 6fa3af50cf UI Landing: Show link to project edit. 2019-03-27 12:13:36 +01:00
Pablo Vazquez 1fd2443bd7 UI Landing: Show project name and summary in header. 2019-03-27 12:12:59 +01:00
Sybren A. Stüvel c5f8add5f5 Made it easier to rebuild the Docker image after someone else built it
Because we only pushed the final image to Docker Hub, it was impossible to
pull the base image someone else created and "quickly" build a new deploy
image.

Now the deploy scripts push (some) of the intermediate images as well,
making it possible to pull them later. I've added `build-pull.sh` and
`full-pull.sh` to perform this pull and built up from the pulled images.
2019-03-13 15:47:12 +01:00
Francesco Siddi a8e5d593ac Address concern rBC6cbd5ca369ed
Improvements to the deployment script.
2019-02-13 12:12:36 +01:00
Sybren A. Stüvel fc986b0ab6 Renamed docker/4_run/deploy to docker/4_run/staging
"Staging" covers the meaning of what is actually happening better than
"deploy". I want to keep "deploy" for actually deploying onto a production
server.
2019-02-13 10:39:18 +01:00
Tobias Johansson b7b6543043 Navigation: Unified cloud navigation
* Removed main drop down menu
* Added "My cloud" to user menu
* Attract/Flamenco is found under Production Tools menu
* Attract/Flamenco has the same navigation as its project
2019-02-07 14:45:55 +01:00
Tobias Johansson d32c44e50c Navigation: Unified cloud navigation
Welcome page was missing Blender cloud logo
2019-02-06 11:42:39 +01:00
Tobias Johansson 369161e29f Navigation: Unified cloud navigation
* Removed main drop down menu
* Added "My cloud" to user menu
* Attract/Flamenco is found under Production Tools menu
* Attract/Flamenco has the same navigation as its project
2019-02-06 10:31:36 +01:00
Sybren A. Stüvel 3cd55e2a83 Added two scripts to make deployment a bit easier 2019-02-06 09:34:55 +01:00
Sybren A. Stüvel 1071915f27 Gulp fix for NodeJS 10 2019-01-04 14:21:27 +01:00
Tobias Johansson 5f9406edd2 Vue Comments: Comments ported to Vue + DnD fileupload
* Drag and drop files to comment editor to add a file attachment
* Using Vue to render comments

Since comments now has attachments we need to update the schemas
./manage.py maintenance replace_pillar_node_type_schemas
2018-12-12 11:45:46 +01:00
Sybren A. Stüvel 5bf1693d5b Removed RabbitMQ docker container from docker-compose.yml
Now that Celery switched to using Redis as broker, we no longer need
RabbitMQ. Celery has been running on Redis for a while now and it all seems
fine, so it's time to wave the Rabbit goodbye.
2018-12-04 17:57:49 +01:00
Sybren A. Stüvel 27caff7e6e Docker: added little list of Redis database numbers we're using 2018-12-04 11:30:48 +01:00
Pablo Vazquez 63d25d1dca Fix broken thumbnail in Blog index 2018-11-23 14:56:57 +01:00
Tobias Johansson 2950a4347a Quick-Search: Added Quick-search in the topbar
Changed how and what we store in elastic to unify it with how we store
things in mongodb so we can have more generic javascript code
to render the data.

Elastic changes:
  Added:
  Node.project.url

  Altered to store id instead of url
  Node.picture

  Made Post searchable

./manage.py elastic reset_index
./manage.py elastic reindex

Thanks to Pablo and Sybren
2018-11-22 15:31:52 +01:00
Pablo Vazquez 76a707e5bf Gulp: Watch for changes in both blender-cloud and pillar folders. 2018-11-20 19:19:22 +01:00
Tobias Johansson 5218bd17e3 Project-Timeline: Introduced timeline on projects
Limited to projects of category assets and film for now.
2018-11-20 16:29:01 +01:00
Tobias Johansson 37fe235d47 Lazy Home: Lazy load latest blog posts and assets and group by week and
project.

Javascript tutti.js and timeline.js is needed, and then the following to
init the timeline:

$('.timeline')
    .timeline({
        url: '/api/timeline'
    });

# Javascript Notes:
## ES6 transpile:
* Files in src/scripts/js/es6/common will be transpiled from
modern es6 js to old es5 js, and then added to tutti.js
* Files in src/scripts/js/es6/individual will be transpiled from
modern es6 js to old es5 js to individual module files
## JS Testing
* Added the Jest test framework to write javascript tests.
* `npm test` will run all the javascript tests

Thanks to Sybren for reviewing
2018-11-12 12:57:24 +01:00
Tobias Johansson 1a49b24f8e Blog Bug fix: Unable to render blog before first post 2018-10-23 15:09:02 +02:00
Tobias Johansson 0b2a3c99ce Loading bar: Introduced two event listeners on window 'pillar:workStart' and 'pillar:workStop' that (de)activates the loading bar.
Reason:
* To decouple code
* Have the loading bar active until whole page stopped working
* Have local loading info

Usage:
$.('.myClass')
   .on('pillar:workStart', function(){
    ... do stuff locally while loading ...
    })
   .on('pillar:workStop', function(){
   ... stop do stuff locally while loading ...
   })

$.('.myClass .mySubClass').trigger('pillar:workStart')
... do stuff ...
$.('.myClass .mySubClass').trigger('pillar:workStop')
2018-10-23 13:57:02 +02:00
Sybren A. Stüvel a674de4db5 Remove CELERY_BEAT_SCHEDULE from config_local
CELERY_BEAT_SCHEDULE shouldn't need any changes in config_local for
production; the default should be production-ready.
2018-10-10 14:58:52 +02:00
Tobias Johansson d2815acd80 Free assets: Assets should not be advertised as free if the user is a logged in subscriber. 2018-10-04 17:44:08 +02:00
Tobias Johansson 670c600382 Organizations: Added null check to properly render new Organizations 2018-10-04 15:48:26 +02:00
Tobias Johansson f2207bc4d4 Asset list item: Don't show user.full_name in latest and random assets 2018-10-04 12:30:05 +02:00
Tobias Johansson a9848c3fad Random asset bug fix: If 2 assets from the same project where returned, the second one would get a corrupt url 2018-10-04 10:11:38 +02:00
Tobias Johansson c81711de53 Video Duration: The duration of a video is now shown on thumbnails and bellow the video player
Asset nodes now have a new field called "properties.duration_seconds". This holds a copy of the duration stored on the referenced video file and stays in sync using eve hooks.

To migrate existing duration times from files to nodes you need to run the following:
./manage.py maintenance reconcile_node_video_duration -ag

There are 2 more maintenance commands to be used to determine if there are any missing durations in either files or nodes:
find_video_files_without_duration
find_video_nodes_without_duration

FFProbe is now used to detect what duration a video file has.

Reviewed by Sybren.
2018-10-03 18:30:40 +02:00
Pablo Vazquez 2a8a109d83 Homepage: Update sidebar image for Spring 2018-10-03 11:14:11 +02:00
Tobias Johansson 35b1106ccc Tagged Asset: Added metadata
Video duration, Project link and pretty date
2018-09-26 11:29:15 +02:00
Tobias Johansson 1f326b2728 Asset: Fix video progress not filling up correctly 2018-09-25 12:19:22 +02:00
Pablo Vazquez ccb3187c17 Assets: Fix video progress not showing 2018-09-24 13:32:08 +02:00
Pablo Vazquez 734a8db145 Index collection: use gradient on header 2018-09-21 16:56:01 +02:00
Pablo Vazquez 82c6c30a0a Tweaks to featured item in index collection 2018-09-21 16:52:21 +02:00
Pablo Vazquez 594af19b2b Main dropdown tweaks for responsive.
Most of the changes are done in Pillar, in 0_navbar.js (part of tutti).
2018-09-21 16:19:13 +02:00
Pablo Vazquez 3de73ac35e CSS: Use bootstrap variable for button roundness 2018-09-21 16:14:58 +02:00
Pablo Vazquez 97c549de08 Project Landing: cleanup unused classes 2018-09-21 12:19:48 +02:00
Pablo Vazquez b5ff89f4ca Node details: Center only on landing 2018-09-21 12:10:44 +02:00
Francesco Siddi ef8bd8d22b Use node.properties.status instead of node.status 2018-09-20 19:04:43 +02:00
Francesco Siddi 4ff52a8af0 Add post status to posts query for homepage 2018-09-20 19:03:57 +02:00