Commit Graph

548 Commits

Author SHA1 Message Date
1071915f27 Gulp fix for NodeJS 10 2019-01-04 14:21:27 +01:00
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
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
27caff7e6e Docker: added little list of Redis database numbers we're using 2018-12-04 11:30:48 +01:00
63d25d1dca Fix broken thumbnail in Blog index 2018-11-23 14:56:57 +01:00
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
76a707e5bf Gulp: Watch for changes in both blender-cloud and pillar folders. 2018-11-20 19:19:22 +01:00
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
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
1a49b24f8e Blog Bug fix: Unable to render blog before first post 2018-10-23 15:09:02 +02:00
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
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
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
670c600382 Organizations: Added null check to properly render new Organizations 2018-10-04 15:48:26 +02:00
f2207bc4d4 Asset list item: Don't show user.full_name in latest and random assets 2018-10-04 12:30:05 +02:00
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
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
2a8a109d83 Homepage: Update sidebar image for Spring 2018-10-03 11:14:11 +02:00
35b1106ccc Tagged Asset: Added metadata
Video duration, Project link and pretty date
2018-09-26 11:29:15 +02:00
1f326b2728 Asset: Fix video progress not filling up correctly 2018-09-25 12:19:22 +02:00
ccb3187c17 Assets: Fix video progress not showing 2018-09-24 13:32:08 +02:00
734a8db145 Index collection: use gradient on header 2018-09-21 16:56:01 +02:00
82c6c30a0a Tweaks to featured item in index collection 2018-09-21 16:52:21 +02:00
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
3de73ac35e CSS: Use bootstrap variable for button roundness 2018-09-21 16:14:58 +02:00
97c549de08 Project Landing: cleanup unused classes 2018-09-21 12:19:48 +02:00
b5ff89f4ca Node details: Center only on landing 2018-09-21 12:10:44 +02:00
ef8bd8d22b Use node.properties.status instead of node.status 2018-09-20 19:04:43 +02:00
4ff52a8af0 Add post status to posts query for homepage 2018-09-20 19:03:57 +02:00
218ba3831c Navigation: add Art Gallery to the libraries nav 2018-09-20 18:13:41 +02:00
a753f29ccc Navigation: Add Learn and Libraries to homepage nav
Also remove Courses, Workshops
2018-09-20 18:11:26 +02:00
1a7be4b565 Navigation: Move links in the main dropdown to their own macros
So they can be easily re-used in other templates.
2018-09-20 16:37:02 +02:00
765f36261a Blog: Remove unused macro 2018-09-20 16:36:00 +02:00
bce054d47d Tagged Assets: Set the loading bar when loading images 2018-09-20 15:27:41 +02:00
89ea34724b Tagged Assets: Initial 8, load 8 more 2018-09-20 15:27:22 +02:00
7983a7b038 Use loadingBar utility. 2018-09-20 15:20:58 +02:00
7ba8ff7580 New templates for /learn and /libraries 2018-09-20 15:00:10 +02:00
fd1db5d2e0 Production: make asset title a link 2018-09-20 13:17:50 +02:00
205e34289f Blog: show status if not published 2018-09-20 13:01:57 +02:00
e7190f09dc Landing: Center text 2018-09-20 12:14:47 +02:00
7e61d218b9 Navigation: Blender Cloud -> Homepage 2018-09-20 12:07:08 +02:00
12936c80ea Navigation: Remove Blog entry 2018-09-20 12:06:57 +02:00
dcac1317bf Rename secondary_navigation to navigation_project
And move to _navigation.pug with the other navigations macros.
2018-09-20 12:06:43 +02:00
afa0c96156 Navigation: add custom nav for services 2018-09-19 19:34:49 +02:00
012eaaef11 Production: Load 4 assets, load 4 more 2018-09-19 19:34:07 +02:00
54e4e76945 Footer: Production lessons
Also move Art Gallery to Libraries
2018-09-19 19:06:52 +02:00
6cbd5ca369 Improve asset building process
After running ./gulp for every project, we delete node_modules.
2018-09-19 16:57:07 +02:00
690b35bab1 Add more tags to NODE_TAGS 2018-09-19 16:15:31 +02:00
356e4705b3 Add digital-painting to NODE_TAGS 2018-09-19 15:53:56 +02:00
748190d15b Fix jumbotron in index collection 2018-09-19 15:50:03 +02:00