Commit Graph

216 Commits

Author SHA1 Message Date
Sybren A. Stüvel 7a3a11fa07 Produce activities for task changes.
These activities do not show any details yet, so the activity stream can't
show _what_ changed in the task, just that the task changed.
2016-10-12 14:31:03 +02:00
Sybren A. Stüvel 496b5f6b32 Use the new only_for_node_type_decorator() 2016-10-12 14:31:03 +02:00
Pablo Vazquez 13eeb7d6c3 Fix alignment of tasks on Firefox 2016-10-12 12:57:39 +02:00
Sybren A. Stüvel 25a666d8d4 Removed /attract/shots, and added tooltips to sidebar buttons.
Also made the Attract button a film strip instead of "A". I like that
film strip.
2016-10-12 10:33:09 +02:00
Pablo Vazquez 4bba35f473 Temporarily hide thumbnails until they're implemented 2016-10-11 19:30:50 +02:00
Pablo Vazquez d3812ff2c7 Default width of main column to 50%
This will later be controled by draggin the col-splitter
2016-10-11 18:05:31 +02:00
Pablo Vazquez 40254f4427 Style error messages 2016-10-11 18:05:31 +02:00
Sybren A. Stüvel 13764c4c56 Temporarily disabled sidebar button until Attract is nicer to look at. 2016-10-11 18:04:48 +02:00
Sybren A. Stüvel d6ab498128 Added sidebar link to Attract projects. 2016-10-11 16:34:46 +02:00
Sybren A. Stüvel 300d31b119 Moved check is_attract_project() to AttractExtension. 2016-10-11 16:34:31 +02:00
Sybren A. Stüvel 3c2a00b086 Added "View in shot context" to task detail when viewed in task context. 2016-10-11 15:53:19 +02:00
Sybren A. Stüvel b7c6402453 Remove "create task" buttons when user has no rights to create tasks.
Has some dirty hacks to infer the permissions based on the allowed methods
on shots/project.
2016-10-11 15:36:24 +02:00
Sybren A. Stüvel 1461fd2064 Allow task & shot details only to subscribers/demos/admins 2016-10-11 15:18:54 +02:00
Sybren A. Stüvel bb5acd3dd7 Task view: Show user name instead of ID. 2016-10-11 14:44:57 +02:00
Sybren A. Stüvel cc59c029b0 Show tasks as read-only when user has no PUT access.
Still pretty rough. Most importantly, users are shown as hashes rather
than their names.
2016-10-11 14:16:30 +02:00
Sybren A. Stüvel 73f19ef29a Show task.to_dict() only when running in debug mode. 2016-10-11 14:15:37 +02:00
Sybren A. Stüvel cabac18f33 Prevent 403 when user doesn't have access enough to fetch project users. 2016-10-11 14:15:04 +02:00
Sybren A. Stüvel eafcacde36 Include shot name in task list, before the task name. 2016-10-05 14:52:50 +02:00
Sybren A. Stüvel d9a41c11b7 Added shot summary per project on /attract 2016-10-05 14:42:01 +02:00
Sybren A. Stüvel bf35b0a9b7 Show user's task on /attract 2016-10-05 11:51:28 +02:00
Sybren A. Stüvel 426635cc45 Moved some task fetching functionality into TaskManager. 2016-10-05 11:51:28 +02:00
Sybren A. Stüvel 79e0969c73 Don't use http:// >:( 2016-10-05 11:51:28 +02:00
Pablo Vazquez fd469a3889 Attract dashboard placeholder 2016-10-05 11:12:03 +02:00
Sybren A. Stüvel f61d0595bd Removed link from tasks header 2016-10-05 11:10:05 +02:00
Sybren A. Stüvel fb487e8ec0 Added /attract/<project_url> page 2016-10-05 11:08:18 +02:00
Sybren A. Stüvel cf3bc3471b Renamed modules.py to routes.py 2016-10-05 11:03:52 +02:00
Sybren A. Stüvel 75e6b39069 Added user-specific task list. 2016-10-05 10:30:10 +02:00
Sybren A. Stüvel 60c13615bf Moved stuff that always needs to happen on 'task open' into task_open(). 2016-10-05 10:29:46 +02:00
Sybren A. Stüvel 917ccd7f3f Removed the link and shot count from the 'Shots' header 2016-10-05 10:28:44 +02:00
Sybren A. Stüvel a4668c45d8 Scroll all the way to the top when opening a shot/task.
This way the status bar is in view too, which is essential when loading
fails for some reason.
2016-10-04 16:11:19 +02:00
Sybren A. Stüvel b39e3d431d Give shot list white background.
This improves display when the shot list is longer than the window.
2016-10-04 16:10:56 +02:00
Sybren A. Stüvel b1196e4036 Some more task tweaks, now task creation works again
... my previous commit broke it (much enthusiasm checking for undefined)
2016-10-04 15:35:42 +02:00
Sybren A. Stüvel 2fd7ae7927 Some task creation fixes 2016-10-04 15:21:59 +02:00
Sybren A. Stüvel de72e6c471 Show that shot names can only be updated from Blender 2016-10-04 15:15:50 +02:00
Sybren A. Stüvel e76d016d2c Nicer presentation of shot details 2016-10-04 15:15:36 +02:00
Sybren A. Stüvel 5e6762ff1a Renamed attract-form to attract-box, and added with-status class.
The with-status class enables the status-coloured thick border at the top.
The rename from 'form' to 'box' was made to allow non-form contents too.
2016-10-04 15:15:12 +02:00
Sybren A. Stüvel 45bff7a77e Include shot status in CSS class 2016-10-04 14:39:04 +02:00
Sybren A. Stüvel f4ae005252 Reopen tasks & shots after editing 2016-10-04 14:37:58 +02:00
Sybren A. Stüvel a9ed5e0b19 Added parameter checking for undefined 2016-10-04 14:37:50 +02:00
Sybren A. Stüvel dcf503c66a Removed project_url from parameters in favour of ProjectUtils 2016-10-04 14:37:39 +02:00
Sybren A. Stüvel fe70ee1ce1 Default task name to task type 2016-10-04 14:28:21 +02:00
Sybren A. Stüvel 785e35434d Update status bar before/after loading shot/task 2016-10-04 14:26:37 +02:00
Sybren A. Stüvel 932fad9161 Properly handle errors opening tasks/shots. 2016-10-04 14:24:27 +02:00
Sybren A. Stüvel 91abe917cd Using patch to edit shots from web-frontend. 2016-10-04 14:16:58 +02:00
Sybren A. Stüvel 459ba6c89f Fixed button type 2016-10-04 14:16:35 +02:00
Sybren A. Stüvel 3bba5be7ec Validator error: missing space between attributes 2016-10-04 14:16:25 +02:00
Sybren A. Stüvel 341d07bbe3 py.test: run with -x (stop at first error) and --ff (failed test first) 2016-10-04 12:01:09 +02:00
Sybren A. Stüvel 97fde17d93 Have node_setattr delete keys when the value to set is None.
Note that this looks at the value directly; when using {'key': None} as
value, it is not None and thus will be set. This thus is NOT a way to
be 100% sure there are no None values.
2016-10-04 12:00:52 +02:00
Sybren A. Stüvel 88c20bf341 Allow creation of shots without status. 2016-09-30 12:54:44 +02:00
Pablo Vazquez b1783fb801 Fix overlay of add-task button 2016-09-30 11:41:13 +02:00