Commit Graph

498 Commits

Author SHA1 Message Date
Sybren A. Stüvel c69aeb03dc Hide Attract links & project settings for non-attract-users 2017-06-15 16:26:17 +02:00
Sybren A. Stüvel 62795b4007 Removed snippet we're not going to use in the forseeable future anyway. 2017-06-15 12:50:41 +02:00
Sybren A. Stüvel 50ae411575 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.
2017-06-15 12:50:28 +02:00
Sybren A. Stüvel f4a06c3271 Declare user roles introduced by Attract 2017-06-15 11:32:05 +02:00
Sybren A. Stüvel bf9a73ff00 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.
2017-06-15 11:07:27 +02:00
Sybren A. Stüvel 9ea75c30e3 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.
2017-06-15 11:07:27 +02:00
Sybren A. Stüvel 725f93175c Added Attract project sidebar 2017-06-15 11:07:14 +02:00
Pablo Vazquez ab72357336 scrollHeaderHorizontal: don't use hardcoded class 2017-06-14 18:31:09 +02:00
Pablo Vazquez 0868449209 Lists: Fixed header should let clicks go through 2017-06-14 18:27:16 +02:00
Pablo Vazquez f6d2a477eb Lists: Don't wrap list's extra info (shots/tasks/assets count) 2017-06-14 18:27:16 +02:00
Pablo Vazquez 28edb86aeb Shots/Assets list: Fix fixed table header not resizing when adjusting col_main width 2017-06-14 18:27:16 +02:00
Pablo Vazquez c38203ba63 item_open: use toastr notification when failing 2017-06-14 18:27:16 +02:00
Pablo Vazquez 9d59aefd80 Upgrade jquery-resizable to 0.20
https://github.com/RickStrahl/jquery-resizable
2017-06-14 18:27:16 +02:00
Sybren A. Stüvel f05ad37037 Asset/shot lists: use task types from project's Attract properties 2017-06-14 15:26:09 +02:00
Pablo Vazquez 23a2a8fd64 Use menu from Pillar 2017-06-14 14:58:48 +02:00
Pablo Vazquez 12c51fb3f5 Use notifications and menus from Pillar 2017-06-09 16:33:34 +02:00
Sybren A. Stüvel a13ba17545 Fixed borked import 2017-05-31 10:49:03 +02:00
Pablo Vazquez 01973a2471 CSS Comments 2017-05-24 12:18:05 +02:00
Pablo Vazquez a1391a6d1c View task in shot context 2017-05-19 12:30:58 +02:00
Sybren A. Stüvel 30397fc12f Pass full name of SVNer account as keyword arg 2017-05-18 15:38:30 +02:00
Sybren A. Stüvel dc4cf6aecc 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.
2017-05-18 10:03:12 +02:00
Pablo Vazquez 9d302d5124 Color status select 2017-05-10 23:34:46 +02:00
Pablo Vazquez 48ad75c461 Legend for colors in stats 2017-05-10 23:34:19 +02:00
Pablo Vazquez 2a88d9c309 Color status option 2017-05-10 16:53:51 +02:00
Pablo Vazquez 19f35e6713 Always show item-status cell on shots list 2017-05-10 16:02:57 +02:00
Pablo Vazquez 025b44bfac Compile Attract styles using config, utils and base styling from Pillar
De-duplicated code, yay!
2017-05-10 15:42:08 +02:00
Francesco Siddi fc08ab2bca Import _error sass from pillar 2017-04-11 16:47:37 +02:00
Francesco Siddi b5cbbad1ba Remove processing status when loading a task fails 2017-04-11 16:47:20 +02:00
Sybren A. Stüvel b3bbb5e68b Removed illegal 'home_project' tag 2017-03-29 16:42:46 +02:00
Pablo Vazquez e45f35f6f4 Fix listing of projects that use Attract
Wrong indentation when closing the loop through projects.

Closes T51028
2017-03-29 16:28:37 +02:00
Pablo Vazquez 3efb21484a Markdown was not included 2017-03-22 14:55:39 +01:00
Sybren A. Stüvel ce00665cb2 Updated rsync_ui to deploy to different hosts 2017-03-10 09:52:58 +01:00
Sybren A. Stüvel 9376e40575 Auto-install -e attract
It uses ../attract instead of . so that it is a valid path from blender-cloud as well.
2017-03-07 14:23:49 +01:00
Sybren A. Stüvel fa306c2821 Added missing link from dev to runtime requirement 2017-03-03 15:22:35 +01:00
Sybren A. Stüvel 4e8c735f6b Python 3.6 compatibility: Applied 2to3 2017-03-03 15:08:48 +01:00
Sybren A. Stüvel cd17236428 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
2017-03-03 15:04:50 +01:00
Sybren A. Stüvel 2172500dd6 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.
last-py27
2017-03-02 17:32:11 +01:00
Sybren A. Stüvel b239ae943f Added comment to rsync_ui.sh to clarify "set -e" 2017-02-21 13:00:14 +01:00
Pablo Vazquez 76108c9c16 Style new tasks so we can identify them and avoid double-load 2017-02-14 16:16:20 +01:00
Pablo Vazquez b545288851 Fix Ctrl+Enter to save tasks/shots 2017-02-14 15:57:08 +01:00
Pablo Vazquez aa90a4433f Task-add: Use a button instead of a link, and prevent default
Avoids the issue of re-loading the page on task-add
2017-02-14 15:34:29 +01:00
Pablo Vazquez 9aaa2365cf item_open: First set item as processing, then style it as active on success 2017-02-14 15:33:44 +01:00
Sybren A. Stüvel 3ee875d761 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.
2017-02-10 11:20:48 +01:00
Francesco Siddi 173626d46e Move Attract commands into attract subcommand 2016-12-06 23:09:13 +01:00
Francesco Siddi dc6e75af7b Fix for typo 2016-12-01 13:00:03 +01:00
Francesco Siddi 0913b23e7e Fix for typo 2016-12-01 12:41:47 +01:00
Francesco Siddi d79e652c19 Add support for readlink on macOS 2016-12-01 12:23:23 +01:00
Pablo Vazquez a369451efb Refresh CSS cache 2016-11-17 15:24:19 +01:00
Pablo Vazquez 2c8e20d0c0 Fix header of shots/assets list 2016-11-17 15:12:12 +01:00
Sybren A. Stüvel 97f75a04e5 Only allow commenting when user has PUT access on the node. 2016-11-11 15:52:33 +01:00