4927a26497
Videojs: Show endscreen with links
2018-09-14 02:59:21 +02:00
8ea0310956
Remove old videojs
2018-09-14 01:58:30 +02:00
c1958d2da7
Gulp: task to move vendor scripts
...
Only videojs at the moment.
2018-09-14 01:57:55 +02:00
030c5494a8
Cleanup: jQuery and Bootstrap are now part of tutti
...
Also remove font loading from Google, we use system fonts now.
2018-09-14 00:52:58 +02:00
462f31406a
Package.json: videojs as new dependency
...
So it's easier to keep track of the version number.
2018-09-14 00:52:58 +02:00
1a1f67cf00
Cleanup: Remove markdown js scripts
...
Pillar has its own way to convert markdown (commonmark via backend) so it
does not longer need these files.
2018-09-14 00:52:58 +02:00
8d5bdf04aa
Mixins no longer used
2018-09-13 18:10:39 +02:00
9a9d15ce47
Generate project_navigation_links
...
This function generates a list of selected links for important nodes such
as Pages and Blog. This list of links is used in the templates to provide
high level navigation of a Project.
2018-09-13 16:35:53 +02:00
c795015a3c
Remove blog and page node types from jstree
...
They will be visible in project_navigation_links (see next commit).
2018-09-13 16:35:53 +02:00
afda0062f5
Navbar: Padding for items
2018-09-12 19:00:29 +02:00
a97c8ffc93
Search: Layout and styling
2018-09-12 19:00:16 +02:00
c5fa6b9535
Sass: set project_nav-width sizes
2018-09-12 18:59:12 +02:00
2be41a7145
Show author badges on assets and comments
...
Comments layout is still broken, marked as TODO(Pablo).
2018-09-12 15:58:29 +02:00
e8fb77c39b
Badge sync: also support removal of all badges
...
Removal is stored as '' for the HTML. This way there is still the expiry
date, which means we won't repeatedly check for changes.
2018-09-12 15:29:45 +02:00
40933d51cf
Show badges to users in their profile settings
2018-09-12 15:02:19 +02:00
9a9ca1bf8b
Synchronise badges with Blender ID
...
Synchronisation is performed in the background by the Celery Beat, every
10 minutes. It has a time limit of 9 minutes to prevent multiple refresh
tasks from running at the same time.
Synchronisation is also possible with the `manage.py badges sync` CLI
command, which can sync either a single user or all users.
2018-09-12 15:02:19 +02:00
0983474e76
Store Blender ID OAuth scopes in MongoDB + request badge
scope too
...
This also changes the way we treat Blender ID tokens. Before, the Blender ID
token was discarded and a random token was generated & stored. Now the
actual Blender ID token is stored.
The Facebook and Google OAuth code still uses the old approach of generating
a new token. Not sure what the added value is, though, because once the
Django session is gone there is nothing left to authenticate the user and
thus the random token is useless anyway.
2018-09-12 15:02:19 +02:00
6bcce87bb9
Sort celery task modules alphabetically
2018-09-12 15:02:19 +02:00
1401a6168f
Always use urljoin to construct Blender ID URLs
2018-09-12 15:02:19 +02:00
85eab0c6cb
No longer hash auth tokens + store the token scopes
...
This partially reverts commit c57aefd48b10ca3cabc9df162bc32efa62a6a21e.
The code to check against hashed tokens remains, because existing tokens
should still work.
The unhashed tokens are necessary for fetching badges from Blender ID.
2018-09-12 15:02:19 +02:00
a753637e70
Thicker progress bar on cards
2018-09-11 19:45:42 +02:00
f87c7a25df
Asset: style and cleanup listing
...
Font pillar aliases for asset icons
2018-09-11 19:37:22 +02:00
3ae16d7750
Tweaks to asset listing
2018-09-11 17:45:33 +02:00
c546dd2881
Video: new macro for showing video progress
...
Import video_progress_bar from '_macros/_asset_video_progress.html'
and pass it the video and current_user.
2018-09-11 16:11:05 +02:00
48df0583ab
Layout and styling of asset groups
2018-09-11 15:16:37 +02:00
094d15116e
Video progress: fixed issue in group node view_embed when never watched video
2018-09-11 15:01:11 +02:00
534d06ca8f
Include video progress data in UserClass
...
See src/templates/nodes/custom/group/view_embed.pug for a crude example.
2018-09-11 14:06:45 +02:00
df078b395d
Video progress: skip 'only reporting when paused' when forcing report
...
This ensures that the final pause at the end of a non-looping video is
also reported.
2018-09-11 14:06:45 +02:00
5df92ca4cf
Use list-asset() mixin component for project index
2018-09-10 19:02:27 +02:00
ecace8c55b
Navbar: style tweaks
2018-09-10 17:09:37 +02:00
bcacdfb7ea
Project view: List of pages
2018-09-10 16:11:21 +02:00
d7fd90ded1
Videoplayer: Custom playback speed
2018-09-10 15:23:05 +02:00
b9268337c3
Videoplayer: Move loop functions outside of videojs()
2018-09-10 15:22:05 +02:00
9b62daec74
Search: Cleanup and minor fixes.
2018-09-10 11:56:31 +02:00
5cc5698477
Pillar Font: A couple new icons and update.
...
Also added comments on how to update this file in the future.
2018-09-10 11:55:59 +02:00
00ba98d279
Search: replace spinning loader with page-bar loader
2018-09-10 11:10:25 +02:00
e818c92d4e
Assets: License style
2018-09-07 18:17:50 +02:00
612862c048
Use bootstrap classes where possible
2018-09-07 18:13:04 +02:00
6b3f025e16
Project Edit: Cleanup and styling
2018-09-07 17:21:02 +02:00
8a90cd00e9
Pug mixin components for jumbotron, secondary navigation and more.
2018-09-07 17:20:22 +02:00
17a69b973e
Videoplayer: thicker progress bar
2018-09-07 14:55:42 +02:00
8380270128
Fixes on buttons/dropdown layout
2018-09-07 14:55:27 +02:00
35225a189d
Replace #project-loading spinning icon with a .loader-bar
2018-09-07 14:55:04 +02:00
be98a95fc0
Assets: Fix download dropdown
2018-09-07 12:27:37 +02:00
95c1f913c6
Videoplayer small improvements
...
* Disable volume change on scroll
* Add L key shortcut to toggle loop
* Minor style fixes (missing font family)
2018-09-07 11:49:34 +02:00
9bcd6cec89
Cleanup and minor tweaks for apps with a sidebar
...
Like Attract or Flamenco
2018-09-06 18:18:22 +02:00
4532c1ea39
Updated package-lock.json
2018-09-06 16:09:25 +02:00
e19dd27099
API endpoint /api/nodes/tagged/<tag>
...
This endpoint returns nodes in public projects that have the given tag.
The returned JSON is cached for 5 minutes.
2018-09-06 15:42:50 +02:00
f54e56bad8
Allow predefined tags on nodes
...
Whenever a node has a 'tags' property of type 'list' it will be handled as
if it has {'allowed': app.config['NODE_TAGS']} in the node type definition.
2018-09-06 15:42:20 +02:00
eb851ce6e1
Added some type declarations
...
I added those for a certain use that ended up not being committed, but
those declarations are useful anyway.
2018-09-06 15:42:20 +02:00