Commit Graph

312 Commits

Author SHA1 Message Date
4bba35f473 Temporarily hide thumbnails until they're implemented 2016-10-11 19:30:50 +02:00
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
40254f4427 Style error messages 2016-10-11 18:05:31 +02:00
13764c4c56 Temporarily disabled sidebar button until Attract is nicer to look at. 2016-10-11 18:04:48 +02:00
d6ab498128 Added sidebar link to Attract projects. 2016-10-11 16:34:46 +02:00
300d31b119 Moved check is_attract_project() to AttractExtension. 2016-10-11 16:34:31 +02:00
3c2a00b086 Added "View in shot context" to task detail when viewed in task context. 2016-10-11 15:53:19 +02:00
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
1461fd2064 Allow task & shot details only to subscribers/demos/admins 2016-10-11 15:18:54 +02:00
bb5acd3dd7 Task view: Show user name instead of ID. 2016-10-11 14:44:57 +02:00
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
73f19ef29a Show task.to_dict() only when running in debug mode. 2016-10-11 14:15:37 +02:00
cabac18f33 Prevent 403 when user doesn't have access enough to fetch project users. 2016-10-11 14:15:04 +02:00
eafcacde36 Include shot name in task list, before the task name. 2016-10-05 14:52:50 +02:00
d9a41c11b7 Added shot summary per project on /attract 2016-10-05 14:42:01 +02:00
bf35b0a9b7 Show user's task on /attract 2016-10-05 11:51:28 +02:00
426635cc45 Moved some task fetching functionality into TaskManager. 2016-10-05 11:51:28 +02:00
79e0969c73 Don't use http:// >:( 2016-10-05 11:51:28 +02:00
fd469a3889 Attract dashboard placeholder 2016-10-05 11:12:03 +02:00
f61d0595bd Removed link from tasks header 2016-10-05 11:10:05 +02:00
fb487e8ec0 Added /attract/<project_url> page 2016-10-05 11:08:18 +02:00
cf3bc3471b Renamed modules.py to routes.py 2016-10-05 11:03:52 +02:00
75e6b39069 Added user-specific task list. 2016-10-05 10:30:10 +02:00
60c13615bf Moved stuff that always needs to happen on 'task open' into task_open(). 2016-10-05 10:29:46 +02:00
917ccd7f3f Removed the link and shot count from the 'Shots' header 2016-10-05 10:28:44 +02:00
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
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
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
2fd7ae7927 Some task creation fixes 2016-10-04 15:21:59 +02:00
de72e6c471 Show that shot names can only be updated from Blender 2016-10-04 15:15:50 +02:00
e76d016d2c Nicer presentation of shot details 2016-10-04 15:15:36 +02:00
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
45bff7a77e Include shot status in CSS class 2016-10-04 14:39:04 +02:00
f4ae005252 Reopen tasks & shots after editing 2016-10-04 14:37:58 +02:00
a9ed5e0b19 Added parameter checking for undefined 2016-10-04 14:37:50 +02:00
dcf503c66a Removed project_url from parameters in favour of ProjectUtils 2016-10-04 14:37:39 +02:00
fe70ee1ce1 Default task name to task type 2016-10-04 14:28:21 +02:00
785e35434d Update status bar before/after loading shot/task 2016-10-04 14:26:37 +02:00
932fad9161 Properly handle errors opening tasks/shots. 2016-10-04 14:24:27 +02:00
91abe917cd Using patch to edit shots from web-frontend. 2016-10-04 14:16:58 +02:00
459ba6c89f Fixed button type 2016-10-04 14:16:35 +02:00
3bba5be7ec Validator error: missing space between attributes 2016-10-04 14:16:25 +02:00
341d07bbe3 py.test: run with -x (stop at first error) and --ff (failed test first) 2016-10-04 12:01:09 +02:00
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
88c20bf341 Allow creation of shots without status. 2016-09-30 12:54:44 +02:00
b1783fb801 Fix overlay of add-task button 2016-09-30 11:41:13 +02:00
55a0f4a42e Don't rely on 3rd party placeholder image service.
The grey one-pixel placeholder.jpg is only 160 bytes anyway.
2016-09-29 18:52:53 +02:00
c4c21dea0f RSync for real 2016-09-29 18:52:30 +02:00
6817da77aa Use darker colors for status indicators 2016-09-29 17:30:39 +02:00
ba217f2496 Style empty lists 2016-09-29 17:29:15 +02:00