Commit Graph

157 Commits

Author SHA1 Message Date
ed55a73d04 VideoJS: Upgrade and stuff
* Upgrade to the latest stable version 6.2.8
* Move JS files to blender-cloud
* Introducing Hotkeys support (a'la YouTube)
* Introducing Loop button (and a way to easily add new buttons)
* Fix Analytics plugin to work with the VideoJS 6
* Minor style tweaks to work with the latest update
2017-10-24 12:49:39 +02:00
4f3fc91c0a VideoJS: Upgrade and stuff
* Upgrade to the latest stable version 6.2.8
* Move JS files to blender-cloud
* Introducing Hotkeys support (a'la YouTube)
* Introducing Loop button (and a way to easily add new buttons)
* Minor style tweaks to work with the latest update
2017-10-24 12:38:11 +02:00
68c7a88fed Use the nifty new DocumentTitleAPI to update notification count
and page titles when browsing assets.

This removes the need for updateTitle()
2017-10-05 15:29:30 +02:00
1bf2a87726 Use a the updateTitle() function to update page titles 2017-10-02 19:48:37 +02:00
d3cd6a884e Use toastr notifications instead of statusBarSet() 2017-10-02 19:31:52 +02:00
ddc52b969e Make it possible for node types to have a 'custom view'
This 'custom view' means that the URL to view the node (as returned by
url_for_node(…)) cannot be loaded via XHR and embedded in the project
viewer, but should rather be used as the actual browser URL instead.

Currently only blogs use this.
2017-09-29 10:45:29 +02:00
f311dbbe30 Fix fluid headers on video 2017-09-21 19:04:55 +02:00
ebe3118f79 Project home video should not have vjs-fluid, it already is fluid 2017-09-20 16:35:19 +02:00
6af0cd2be8 Don't show "Create a project" button to non-subscribers, and make btn clickable 2017-09-18 13:51:31 +02:00
53ac29cfd1 Project: Show edit button in sidebar
So we can access it from everywhere and not only from project home
2017-09-17 20:11:13 +02:00
06dd24bcf9 Project Edit: Node types editing embedded 2017-09-04 16:19:17 +02:00
6a4f571b05 Organizations list styling 2017-08-31 16:35:31 +02:00
b6bd40f956 Theatre View: backdrop block not needed anymore 2017-08-30 15:34:13 +02:00
811236cff4 Migrate Jade to Pug template engine
Jade templates engine has been renamed to Pug.

We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00
add2538655 Prevent JS error by sync-loading jquery.autocomplete….js 2017-08-25 12:03:52 +02:00
ff1b14d980 Project sharing: Simplified user selection JS code. 2017-08-25 12:03:52 +02:00
575a7ed1a7 Introduced role-based capability system.
It's still rather limited and hard-coded, but it works.
2017-08-18 14:47:42 +02:00
9aa73c5306 Moved project index_collection to blender-cloud repo 2017-07-26 16:52:05 +02:00
e430b2b9a1 Update url_for from main.join to cloud.join
This text should be moved to Blender Cloud.
2017-07-16 01:00:24 +02:00
4fd193ba2b Use (eek) the current_user_is_subscriber var injected by the BCloud extension 2017-06-14 16:26:57 +02:00
10e14e8c24 Project Edit: tweak to node types 2017-06-09 17:57:20 +02:00
6f7aa86e8b Project Edit: Set container size and header width 2017-06-09 17:57:01 +02:00
93087f7fa9 Project Edit: Use folder icon for sidebar instead of tree 2017-06-09 14:58:19 +02:00
41bc4b6a6f Project Edit: Nicer listing for node_type 2017-06-09 14:58:05 +02:00
5ce78a2fb3 Create <p> tag, do not use existing tags 2017-06-07 18:59:46 +02:00
d67f65019e Escape HTML when displaying search results 2017-05-31 17:14:17 +02:00
f953f1e51b Moved common Jade code for project edit pages into projects/edit_layout.jade 2017-05-31 10:35:49 +02:00
12a8a34bdc Fixed JS injection vulnerability.
JavaScript in the user's full name or username was executed when adding
that user to a project.
2017-05-24 16:32:05 +02:00
2ba52e2467 Allow extensions to have a project settings page. 2017-05-24 15:48:27 +02:00
abcb0c27a0 Remove Agent 327 special content lock 2017-05-15 11:55:43 +02:00
49895805e3 Display project description in instead of summary 2017-04-07 09:02:08 +02:00
4c704c8cda Pipe description & content of featured nodes through markdown 2017-03-30 09:23:59 +02:00
6f9feea8a9 Locally hosting jstree, instead of linking to cloudflare.
Should speed up the site, and remove a possible point of failure.

This also upgrades JSTree to the latest version (3.3.3).
2017-03-29 16:57:26 +02:00
6001f1936c Tweak to utm_source handling 2017-03-24 17:14:29 +01:00
46c019a758 Add support for utm_source 2017-03-24 11:47:12 +01:00
04a235ca12 Larger image for collections header 2017-03-22 15:49:51 +01:00
0e6bdf9467 Update CSS caches 2017-03-22 15:49:51 +01:00
6765276519 Introducing attachments fixes for blog posts and assets.
Requires migration of attachments schema using
python manage.py maintenance upgrade_attachment_schema --all
2017-02-21 18:08:42 +01:00
0a86ad357f Analytics for videojs 2017-02-08 16:27:52 +01:00
02f736dcc4 Hide missing summaries on projects homepage 2017-02-08 15:27:20 +01:00
d8eae2c44b Fix OG crash on projects without picture_header 2017-02-08 15:26:56 +01:00
c98cd82b3f OpenGraph: Check if we have a description/post content 2017-02-08 14:48:55 +01:00
69b3e06b1c Use project picture as fallback if og_picture/node is undefined 2017-02-07 18:03:35 +01:00
7b9fef2fc8 Update caches 2017-02-06 14:44:05 +01:00
528887b1a6 Unify Twitter cards and Open Graph data 2017-02-06 14:37:53 +01:00
ae38bec218 Fix project header videos 2017-02-06 12:07:05 +01:00
3ef0bf6761 Typo 2017-02-02 18:08:21 +01:00
1e56ca5227 Only load videojs when there are sources, and minor style tweaks 2017-02-02 18:05:30 +01:00
b8ad0cd18f Update cache version 2017-02-02 17:40:32 +01:00
e049ab0a08 Fire videojs via js 2017-02-02 17:40:04 +01:00