Commit Graph

405 Commits

Author SHA1 Message Date
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
37c0c23e83 Replace duplicated status-{{status}} classes for a nice Sass mixin
Set the color for a specified property
1: $property: e.g. background-color
2: $where: ':before', ' .class-name', etc.
3: $variation: 'light', 'dark', or empty
e.g. @include status-color-property(background-color, ':before', 'light')
2016-09-29 17:29:15 +02:00
e3e6657cf9 Added rsync_ui.sh 2016-09-29 17:08:25 +02:00
883f8b02ef Added .keep file to keep attract/static/assets/js/generated/ 2016-09-29 16:58:58 +02:00
5cc989cd82 Fixed JS issue. JS doesn't support default function arguments. 2016-09-29 16:52:41 +02:00
c0cc4547c2 Made ./gulp not always do "gulp watch".
Still allows "./gulp watch" though, which does "gulp && gulp watch".
Also allows for "./gulp --production", which we need during deployment.
2016-09-29 16:49:56 +02:00
3066b41058 Put generated JS into attract/static/assets/js/generated/ 2016-09-29 16:44:49 +02:00
2819f86e10 Some SVN 0.3.43 interface changes. 2016-09-29 16:28:41 +02:00