attract.git
2 days agoRegression after ui update: Found by sentry master production
Tobias Johansson [Wed, 13 Feb 2019 14:09:49 +0000 (15:09 +0100)]
Regression after ui update: Found by sentry

3 days agoRegression fix: Highlight selected task "dot" in shots/assets table
Tobias Johansson [Wed, 13 Feb 2019 12:03:17 +0000 (13:03 +0100)]
Regression fix: Highlight selected task "dot" in shots/assets table

Quick hack to restore functionality. Known limitations:
* A direct link to task will not highlight it
* When a new task is created it will not be highlighted
* Selected row will not be highlighted

4 days agoVue Attract: Default sort shots by cut_in_timeline_in_frames
Tobias Johansson [Tue, 12 Feb 2019 11:59:01 +0000 (12:59 +0100)]
Vue Attract: Default sort shots by cut_in_timeline_in_frames

4 days agoVue Attract: Sort/filterable table based on Vue
Tobias Johansson [Tue, 12 Feb 2019 08:08:37 +0000 (09:08 +0100)]
Vue Attract: Sort/filterable table based on Vue

Initial commit implementing sortable and filterable tables for attract
using Vue.

8 days agoNavigation: Unified cloud navigation
Tobias Johansson [Thu, 7 Feb 2019 13:45:55 +0000 (14:45 +0100)]
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

6 weeks agoGulp fix for NodeJS 10
Sybren A. Stüvel [Fri, 4 Jan 2019 13:20:46 +0000 (14:20 +0100)]
Gulp fix for NodeJS 10

2 months agoVue Comments: Comments ported to Vue + DnD fileupload
Tobias Johansson [Wed, 12 Dec 2018 10:45:47 +0000 (11:45 +0100)]
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

4 months agoUse correct permission format for gulp-chmod
Francesco Siddi [Wed, 19 Sep 2018 12:45:30 +0000 (14:45 +0200)]
Use correct permission format for gulp-chmod

5 months agoUpdate pillar hooks path to eve_hooks
Francesco Siddi [Mon, 17 Sep 2018 07:13:42 +0000 (09:13 +0200)]
Update pillar hooks path to eve_hooks

Follow naming convention.

5 months agoAttract icon in the setup for Attract button
Pablo Vazquez [Fri, 7 Sep 2018 15:15:52 +0000 (17:15 +0200)]
Attract icon in the setup for Attract button

5 months agoMinor adjustments to layout edit settings
Pablo Vazquez [Fri, 7 Sep 2018 15:05:38 +0000 (17:05 +0200)]
Minor adjustments to layout edit settings

5 months agoAttract: class name fixes
Pablo Vazquez [Thu, 6 Sep 2018 14:56:05 +0000 (16:56 +0200)]
Attract: class name fixes

To work with Bootstrap 4

5 months agoGulp: Only chmod files if in production
Pablo Vazquez [Thu, 6 Sep 2018 13:47:05 +0000 (15:47 +0200)]
Gulp: Only chmod files if in production

5 months agoGulp: fix broken path in Sass
Pablo Vazquez [Thu, 6 Sep 2018 13:42:37 +0000 (15:42 +0200)]
Gulp: fix broken path in Sass

And when defining gulp-uglify-es needs '.default' at the end.

5 months agoNPM: Upgrade dependencies.
Pablo Vazquez [Thu, 6 Sep 2018 13:35:06 +0000 (15:35 +0200)]
NPM: Upgrade dependencies.

5 months agoCSS: Build bootstrap as part of main.css
Pablo Vazquez [Thu, 6 Sep 2018 13:34:53 +0000 (15:34 +0200)]
CSS: Build bootstrap as part of main.css

5 months agoLayout: #status-bar is no longer used
Pablo Vazquez [Thu, 6 Sep 2018 13:33:36 +0000 (15:33 +0200)]
Layout: #status-bar is no longer used

We now use toastr for notifications.

5 months agoBootstrap and jQuery as NPM dependencies.
Pablo Vazquez [Thu, 6 Sep 2018 13:31:48 +0000 (15:31 +0200)]
Bootstrap and jQuery as NPM dependencies.

5 months agoFlask's RequestWrapper changed the `json()` function to a `json` property
Sybren A. Stüvel [Wed, 29 Aug 2018 12:00:57 +0000 (14:00 +0200)]
Flask's RequestWrapper changed the `json()` function to a `json` property

7 months agoDocs: Fixed repository link
Sybren A. Stüvel [Wed, 27 Jun 2018 09:16:20 +0000 (11:16 +0200)]
Docs: Fixed repository link

9 months agoFix issue with task shortcodes
Sybren A. Stüvel [Thu, 19 Apr 2018 16:00:03 +0000 (18:00 +0200)]
Fix issue with task shortcodes

Part of the code assumed shortcodes were globally unique, and another part
assumed the shortcodes are unique per project (the latter is correct).

Now the project ID is taken from the URL the Subversion hook pushes to.

9 months agoAdded CLI command to SVN doc
Sybren A. Stüvel [Wed, 18 Apr 2018 11:59:48 +0000 (13:59 +0200)]
Added CLI command to SVN doc

9 months agoDefault to python3 in hook example (the script supports 2 and 3)
Sybren A. Stüvel [Wed, 18 Apr 2018 11:53:49 +0000 (13:53 +0200)]
Default to python3 in hook example (the script supports 2 and 3)

9 months agoAdded documentation for Subversion integration
Sybren A. Stüvel [Wed, 18 Apr 2018 11:51:40 +0000 (13:51 +0200)]
Added documentation for Subversion integration

10 months agoMarkdown is no longer needed
Pablo Vazquez [Wed, 4 Apr 2018 15:03:19 +0000 (17:03 +0200)]
Markdown is no longer needed

10 months agoFix commenting
Pablo Vazquez [Wed, 4 Apr 2018 15:02:52 +0000 (17:02 +0200)]
Fix commenting

It was missing Typewatch and csrf_token

Fixes T54518

10 months agoRemove v=xxx code from static file URLs
Sybren A. Stüvel [Fri, 23 Mar 2018 16:30:14 +0000 (17:30 +0100)]
Remove v=xxx code from static file URLs

Since Pillar d560f89704e3a6f4490df57712525048c469bed2 the URls for
static files are managed differently.

12 months agoRemove rsync_ui.sh and deploy.sh
Sybren A. Stüvel [Tue, 6 Feb 2018 10:03:29 +0000 (11:03 +0100)]
Remove rsync_ui.sh and deploy.sh

Those files are no longer needed now that we deploy our source files
inside the Docker image. See Blender Cloud commit 94ef616593e85.

12 months agoSwitch from .jade to .pug templates
Francesco Siddi [Thu, 1 Feb 2018 16:01:03 +0000 (17:01 +0100)]
Switch from .jade to .pug templates

No functional change, we simply align with the preprocessing pipeline
used in Pillar.

12 months agoFixed authentication issues in unit tests
Sybren A. Stüvel [Thu, 1 Feb 2018 10:43:14 +0000 (11:43 +0100)]
Fixed authentication issues in unit tests

The tests were logging in incorrectly, which came to light due to Pillar
commit 4b5a961e1422d8e976b2bf8bb9a4f91addf9bbec.

12 months agoRemove -x as default option to py.test
Sybren A. Stüvel [Thu, 1 Feb 2018 10:42:27 +0000 (11:42 +0100)]
Remove -x as default option to py.test

12 months agoUse pillar.auth.current_user instead of flask_login.current_user
Sybren A. Stüvel [Thu, 1 Feb 2018 10:42:13 +0000 (11:42 +0100)]
Use pillar.auth.current_user instead of flask_login.current_user

12 months agoUse mass-attach of project pictures, and only when they are actually used
Sybren A. Stüvel [Wed, 31 Jan 2018 13:49:38 +0000 (14:49 +0100)]
Use mass-attach of project pictures, and only when they are actually used

12 months agoDon't do DB query to inspect current user.
Sybren A. Stüvel [Wed, 24 Jan 2018 13:57:30 +0000 (14:57 +0100)]
Don't do DB query to inspect current user.

This is especially important for IP ranges on Organizations, which can
change user roles on the fly in memory.

14 months agoAdd config_local.py to .gitignore file
Francesco Siddi [Wed, 13 Dec 2017 10:19:51 +0000 (11:19 +0100)]
Add config_local.py to .gitignore file

This is useful when setting up Attract as a standalone application.

14 months agoAdd manage.py to run Pillar commands within the Attract repo
Francesco Siddi [Wed, 13 Dec 2017 10:19:19 +0000 (11:19 +0100)]
Add manage.py to run Pillar commands within the Attract repo

This is useful when setting up Attract as a standalone application.

14 months agoSwitch from macros to blocks for navigation menus
Francesco Siddi [Wed, 13 Dec 2017 10:12:17 +0000 (11:12 +0100)]
Switch from macros to blocks for navigation menus

For more information see commit a7693aa78dcf0a0a77e113f34afa63fb4f615441 in pillar.git

14 months agoIgnore docs build result
Francesco Siddi [Mon, 11 Dec 2017 11:52:09 +0000 (12:52 +0100)]
Ignore docs build result

14 months agoIntroducing docs 📚
Francesco Siddi [Mon, 11 Dec 2017 11:49:59 +0000 (12:49 +0100)]
Introducing docs 📚

14 months agoMerge branch 'production'
Sybren A. Stüvel [Tue, 12 Dec 2017 10:15:53 +0000 (11:15 +0100)]
Merge branch 'production'

14 months agoRevert "Reverting "Removed attract-user role.""
Sybren A. Stüvel [Tue, 12 Dec 2017 10:15:47 +0000 (11:15 +0100)]
Revert "Reverting "Removed attract-user role.""

This reverts commit e84e952169784c2e8d43624c4555c0b9c6cad77f.

14 months agoAlso grant attract-use capability to subscriber/demo roles
Sybren A. Stüvel [Tue, 12 Dec 2017 10:09:33 +0000 (11:09 +0100)]
Also grant attract-use capability to subscriber/demo roles

14 months agoReverting "Removed attract-user role."
Francesco Siddi [Fri, 8 Dec 2017 16:50:24 +0000 (17:50 +0100)]
Reverting "Removed attract-user role."

Temporarily reverting b40b6dadd222c7fa7290ddca854124ff0af76223 due to an issue found in roles and capabilities.

14 months agoRemoved attract-user role.
Sybren A. Stüvel [Thu, 7 Dec 2017 16:07:53 +0000 (17:07 +0100)]
Removed attract-user role.

It's no longer used now that we're using the capabilities system.

16 months agoGulp: added 'cleanup' task that erases all gulp-generated files.
Sybren A. Stüvel [Thu, 28 Sep 2017 13:35:15 +0000 (15:35 +0200)]
Gulp: added 'cleanup' task that erases all gulp-generated files.

This runs automatically when using --production

16 months agoGulp: replaced hardcoded paths with variables.
Sybren A. Stüvel [Thu, 28 Sep 2017 13:34:28 +0000 (15:34 +0200)]
Gulp: replaced hardcoded paths with variables.

16 months agoGulp: fixed license expression
Sybren A. Stüvel [Thu, 28 Sep 2017 13:33:54 +0000 (15:33 +0200)]
Gulp: fixed license expression

16 months agoEarly reject when user is anonymous.
Sybren A. Stüvel [Mon, 18 Sep 2017 12:04:52 +0000 (14:04 +0200)]
Early reject when user is anonymous.

This cuts down on info-level log entries, and prevents some Mongo queries.

17 months agoUsing capabilities instead of roles for access control.
Sybren A. Stüvel [Thu, 24 Aug 2017 12:21:33 +0000 (14:21 +0200)]
Using capabilities instead of roles for access control.

17 months agoRemoved some unused imports
Sybren A. Stüvel [Thu, 24 Aug 2017 12:21:23 +0000 (14:21 +0200)]
Removed some unused imports

19 months agoAllow deletion of tasks by non-admin users.
Sybren A. Stüvel [Thu, 13 Jul 2017 15:17:44 +0000 (17:17 +0200)]
Allow deletion of tasks by non-admin users.

19 months agoUpdated license and url in package.json
Francesco Siddi [Thu, 13 Jul 2017 14:15:00 +0000 (16:15 +0200)]
Updated license and url in package.json

20 months agoRemember last-visited Attract project in session
Sybren A. Stüvel [Fri, 16 Jun 2017 10:02:39 +0000 (12:02 +0200)]
Remember last-visited Attract project in session

This allows us to keep rendering the "Shots" and "Assets" links in the
sidebar, even when someone navigates away from the project scope.

20 months agoFixed Attract link not showing up in sidebar
Sybren A. Stüvel [Fri, 16 Jun 2017 09:55:30 +0000 (11:55 +0200)]
Fixed Attract link not showing up in sidebar

20 months agoHide Attract links & project settings for non-attract-users
Sybren A. Stüvel [Thu, 15 Jun 2017 14:26:17 +0000 (16:26 +0200)]
Hide Attract links & project settings for non-attract-users

20 months agoRemoved snippet we're not going to use in the forseeable future anyway.
Sybren A. Stüvel [Thu, 15 Jun 2017 10:50:41 +0000 (12:50 +0200)]
Removed snippet we're not going to use in the forseeable future anyway.

20 months agoOnly users with attract-user role can use Attract
Sybren A. Stüvel [Thu, 15 Jun 2017 10:50:28 +0000 (12:50 +0200)]
Only users with attract-user role can use Attract

Subscribers without that role still have read-only access to Attract,
assuming they have access to the project at all.

NOTE: this only handles the web interface. API calls are still governed
by the nodes permission system, which doesn't currently allow these kinds
of role-based user checks.

20 months agoDeclare user roles introduced by Attract
Sybren A. Stüvel [Thu, 15 Jun 2017 09:32:05 +0000 (11:32 +0200)]
Declare user roles introduced by Attract

20 months agoFixed project property loss when setting up for Attract
Sybren A. Stüvel [Thu, 15 Jun 2017 08:34:53 +0000 (10:34 +0200)]
Fixed project property loss when setting up for Attract

This was caused by attract_project_view() not passing the full project to
the decorated function. Now you can pass full_project=True to avoid
projections at all, and get the full thing.

20 months agoAdded project settings allowing setup + editing task types.
Sybren A. Stüvel [Wed, 14 Jun 2017 15:35:14 +0000 (17:35 +0200)]
Added project settings allowing setup + editing task types.

- Attract added to Project Settings screen
- setting up project for Attract
- editing shot/asset task types

To do: add checks that the user is allowed to use Attract in the first
place.

20 months agoAdded Attract project sidebar
Sybren A. Stüvel [Wed, 14 Jun 2017 14:28:13 +0000 (16:28 +0200)]
Added Attract project sidebar

20 months agoscrollHeaderHorizontal: don't use hardcoded class
Pablo Vazquez [Wed, 14 Jun 2017 16:31:09 +0000 (18:31 +0200)]
scrollHeaderHorizontal: don't use hardcoded class

20 months agoLists: Fixed header should let clicks go through
Pablo Vazquez [Wed, 14 Jun 2017 16:27:04 +0000 (18:27 +0200)]
Lists: Fixed header should let clicks go through

20 months agoLists: Don't wrap list's extra info (shots/tasks/assets count)
Pablo Vazquez [Wed, 14 Jun 2017 16:26:46 +0000 (18:26 +0200)]
Lists: Don't wrap list's extra info (shots/tasks/assets count)

20 months agoShots/Assets list: Fix fixed table header not resizing when adjusting col_main width
Pablo Vazquez [Wed, 14 Jun 2017 16:25:49 +0000 (18:25 +0200)]
Shots/Assets list: Fix fixed table header not resizing when adjusting col_main width

20 months agoitem_open: use toastr notification when failing
Pablo Vazquez [Wed, 14 Jun 2017 16:23:16 +0000 (18:23 +0200)]
item_open: use toastr notification when failing

20 months agoUpgrade jquery-resizable to 0.20
Pablo Vazquez [Wed, 14 Jun 2017 16:22:45 +0000 (18:22 +0200)]
Upgrade jquery-resizable to 0.20

https://github.com/RickStrahl/jquery-resizable

20 months agoAsset/shot lists: use task types from project's Attract properties
Sybren A. Stüvel [Wed, 14 Jun 2017 10:27:01 +0000 (12:27 +0200)]
Asset/shot lists: use task types from project's Attract properties

20 months agoUse menu from Pillar
Pablo Vazquez [Wed, 14 Jun 2017 12:58:48 +0000 (14:58 +0200)]
Use menu from Pillar

20 months agoUse notifications and menus from Pillar
Pablo Vazquez [Fri, 9 Jun 2017 14:33:34 +0000 (16:33 +0200)]
Use notifications and menus from Pillar

20 months agoFixed borked import
Sybren A. Stüvel [Wed, 31 May 2017 08:49:03 +0000 (10:49 +0200)]
Fixed borked import

20 months agoCSS Comments
Pablo Vazquez [Wed, 24 May 2017 10:18:05 +0000 (12:18 +0200)]
CSS Comments

20 months agoView task in shot context
Pablo Vazquez [Fri, 19 May 2017 10:30:46 +0000 (12:30 +0200)]
View task in shot context

21 months agoPass full name of SVNer account as keyword arg
Sybren A. Stüvel [Thu, 18 May 2017 13:38:30 +0000 (15:38 +0200)]
Pass full name of SVNer account as keyword arg

21 months agoSet explicit name for SVNer account
Sybren A. Stüvel [Thu, 18 May 2017 08:03:06 +0000 (10:03 +0200)]
Set explicit name for SVNer account

It now includes the project ID it's created for, and the fact that it's
a SVNer account, just for easy identification.

21 months agoColor status select
Pablo Vazquez [Wed, 10 May 2017 21:34:46 +0000 (23:34 +0200)]
Color status select

21 months agoLegend for colors in stats
Pablo Vazquez [Wed, 10 May 2017 21:34:19 +0000 (23:34 +0200)]
Legend for colors in stats

21 months agoColor status option
Pablo Vazquez [Wed, 10 May 2017 14:53:51 +0000 (16:53 +0200)]
Color status option

21 months agoAlways show item-status cell on shots list
Pablo Vazquez [Wed, 10 May 2017 14:02:57 +0000 (16:02 +0200)]
Always show item-status cell on shots list

21 months agoCompile Attract styles using config, utils and base styling from Pillar
Pablo Vazquez [Wed, 10 May 2017 13:42:08 +0000 (15:42 +0200)]
Compile Attract styles using config, utils and base styling from Pillar

De-duplicated code, yay!

22 months agoImport _error sass from pillar
Francesco Siddi [Tue, 11 Apr 2017 14:47:37 +0000 (16:47 +0200)]
Import _error sass from pillar

22 months agoRemove processing status when loading a task fails
Francesco Siddi [Tue, 11 Apr 2017 14:47:20 +0000 (16:47 +0200)]
Remove processing status when loading a task fails

22 months agoRemoved illegal 'home_project' tag
Sybren A. Stüvel [Wed, 29 Mar 2017 14:42:46 +0000 (16:42 +0200)]
Removed illegal 'home_project' tag

22 months agoFix listing of projects that use Attract
Pablo Vazquez [Wed, 29 Mar 2017 14:28:37 +0000 (16:28 +0200)]
Fix listing of projects that use Attract

Wrong indentation when closing the loop through projects.

Closes T51028

22 months agoMarkdown was not included
Pablo Vazquez [Wed, 22 Mar 2017 13:55:39 +0000 (14:55 +0100)]
Markdown was not included

23 months agoUpdated rsync_ui to deploy to different hosts
Sybren A. Stüvel [Fri, 10 Mar 2017 08:52:58 +0000 (09:52 +0100)]
Updated rsync_ui to deploy to different hosts

23 months agoAuto-install -e attract
Sybren A. Stüvel [Tue, 7 Mar 2017 13:23:42 +0000 (14:23 +0100)]
Auto-install -e attract

It uses ../attract instead of . so that it is a valid path from blender-cloud as well.

23 months agoAdded missing link from dev to runtime requirement
Sybren A. Stüvel [Fri, 3 Mar 2017 14:22:35 +0000 (15:22 +0100)]
Added missing link from dev to runtime requirement

23 months agoPython 3.6 compatibility: Applied 2to3
Sybren A. Stüvel [Fri, 3 Mar 2017 14:08:48 +0000 (15:08 +0100)]
Python 3.6 compatibility: Applied 2to3

23 months agoLinked requirements to Pillar and Pillar-Python-SDK
Sybren A. Stüvel [Fri, 3 Mar 2017 14:04:50 +0000 (15:04 +0100)]
Linked requirements to Pillar and Pillar-Python-SDK

Since Pillar is not pip-installable and also not properly versioned either,
I removed the 'pillar>=2.0' requirement from setup.py

23 months agoTake pagination into account when listing tasks for all shots. last-py27
Sybren A. Stüvel [Thu, 2 Mar 2017 16:32:11 +0000 (17:32 +0100)]
Take pagination into account when listing tasks for all shots.

This is a stop-gap measure; we probably want to abstract this away into
something more reusable. Better to do that after switching to Python 3,
though.

23 months agoAdded comment to rsync_ui.sh to clarify "set -e"
Sybren A. Stüvel [Tue, 21 Feb 2017 12:00:07 +0000 (13:00 +0100)]
Added comment to rsync_ui.sh to clarify "set -e"

2 years agoStyle new tasks so we can identify them and avoid double-load
Pablo Vazquez [Tue, 14 Feb 2017 15:16:20 +0000 (16:16 +0100)]
Style new tasks so we can identify them and avoid double-load

2 years agoFix Ctrl+Enter to save tasks/shots
Pablo Vazquez [Tue, 14 Feb 2017 14:57:08 +0000 (15:57 +0100)]
Fix Ctrl+Enter to save tasks/shots

2 years agoTask-add: Use a button instead of a link, and prevent default
Pablo Vazquez [Tue, 14 Feb 2017 14:34:29 +0000 (15:34 +0100)]
Task-add: Use a button instead of a link, and prevent default

Avoids the issue of re-loading the page on task-add

2 years agoitem_open: First set item as processing, then style it as active on success
Pablo Vazquez [Tue, 14 Feb 2017 14:33:44 +0000 (15:33 +0100)]
item_open: First set item as processing, then style it as active on success

2 years agoAdded 'camera' column
Sybren A. Stüvel [Fri, 10 Feb 2017 10:20:48 +0000 (11:20 +0100)]
Added 'camera' column

Officially requested by Colin Levy by application of Camera Polish
Requisition Form 4B, signed by Colin Levy on this day at the Blender
Institute.

2 years agoMove Attract commands into attract subcommand
Francesco Siddi [Tue, 6 Dec 2016 22:09:13 +0000 (23:09 +0100)]
Move Attract commands into attract subcommand

2 years agoFix for typo
Francesco Siddi [Thu, 1 Dec 2016 12:00:03 +0000 (13:00 +0100)]
Fix for typo

2 years agoFix for typo
Francesco Siddi [Thu, 1 Dec 2016 11:41:47 +0000 (12:41 +0100)]
Fix for typo