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
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
fe70ee1ce1
Default task name to task type
2016-10-04 14:28:21 +02:00
91abe917cd
Using patch to edit shots from web-frontend.
2016-10-04 14:16:58 +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
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
883f8b02ef
Added .keep file to keep attract/static/assets/js/generated/
2016-09-29 16:58:58 +02:00
2819f86e10
Some SVN 0.3.43 interface changes.
2016-09-29 16:28:41 +02:00
58cca450b3
Use dropdown for copy to clipboard/delete tasks
2016-09-29 12:57:01 +02:00
4c4489a890
Concatenate all general js files into tutti.js
2016-09-29 12:22:53 +02:00
b5964864a5
Use clipboardjs to copy shot ID to clipboard
...
Using Zeno Rocha's clipboardjs
https://zenorocha.github.io/clipboard.js
2016-09-28 17:34:53 +02:00
968399ba7a
Small jQuery plugin for resizing panels
...
Still doesn't save the size, since we want to save this in the user. Which is not implemented yet.
2016-09-28 16:58:14 +02:00
0b723f3fc9
Order shots by their cut-in timestamp.
2016-09-27 16:58:26 +02:00
0eb51a2804
Moved attrs_extra to Pillar.
...
Requires Pillar revision 407aefb9ada8b8d627e29ca14d8ddd9bc758a70f
2016-09-27 13:01:04 +02:00
6ea22dfcce
Fix missing update of task type on task saving
2016-09-23 19:39:14 +02:00
052344af26
Create Shot workflow
...
Still needs update on the list
2016-09-23 19:38:57 +02:00
5f3bab95e2
Copy to clipboard for shots
2016-09-23 18:07:28 +02:00
13c67e3ab8
Allow limited PATCHing of shots from Blender and Web.
...
Soon PATCH should become the only way in which shots are edited, so
we should possibly remove PUT permissions.
2016-09-23 17:19:26 +02:00
56567532ff
Use Pillar's new node_type_utils to set node type permissions.
...
This separates the mechanism of setting the policy from the actual
policy itself.
2016-09-23 17:19:26 +02:00
5c94fb5f9c
Redefined some properties of node type 'attract_shot'.
2016-09-23 17:19:26 +02:00
6fa0604b07
Refactor task_open/shot_open into item_open
...
Also renamed task-details div to item-details div. Much nicer and generic.
Thanks a lot to Dr. Sybren for the code review and unlimited support <3
2016-09-23 14:53:03 +02:00
3925c044d5
Added task deletion. GUI still ugly, though.
2016-09-23 13:58:14 +02:00
971b8e6392
Fix for task creation
2016-09-23 13:47:47 +02:00
314156ca1e
ReferenceError'ised two more JS throw statements
2016-09-23 11:50:02 +02:00
b3f4e8f7eb
Nicer js check
2016-09-23 10:45:31 +02:00
e6e03125f7
Made shot and task links real links with JS click handlers.
...
This allows "open in new window", while still using XHR for regular clicks.
2016-09-23 10:44:27 +02:00
78111968ab
Added project URL to body dataset.
...
This can be accessed using ProjectUtils.projectUrl(), requires Pillar
91e3ec659f68.
2016-09-23 10:44:27 +02:00
72a25434ea
Stricter parameter checking in JavaScript.
2016-09-23 10:43:18 +02:00
498e1d5ecc
Added etag checking when saving tasks & shots. Still a bit rough.
...
Needs nicer user interface stuff for explaining what's going on.
2016-09-23 09:36:27 +02:00
cb24b313d0
Add shot status indicator on the left
2016-09-22 21:26:56 +02:00
1b4cd09281
Added 'type' to options when saving form, for status-bar details
...
Also fixed the title of the header. It was removing the status-bar when setting "Shot details"
2016-09-22 17:46:17 +02:00
0767463ead
Added /attract/<project_url>/shots/<shot-id> endpoint
2016-09-22 17:25:55 +02:00
f1dc2b2d06
Renamed /attract/<project_url>/shots/with-task/<task-id> endpoint
2016-09-22 17:25:07 +02:00
5c4499658c
Allow calling a @attract_project_view()-decorated function efficiently.
...
@attract_project_view() now checks to see if you're passing an SDK
resource as the first parameter. In that case it assumes you know what
you're doing and simply passes all parameters as-is.
2016-09-22 17:25:07 +02:00
85c7908ac6
Shots view: set task as active when selecting it
2016-09-22 17:09:43 +02:00
e2db647c20
Tweaks to flash-on/off
2016-09-22 16:43:19 +02:00
a786fc3b3d
Some tweaks for shot editing
2016-09-22 15:44:24 +02:00
b5d335672e
Added shot editing.
2016-09-22 15:29:18 +02:00
d8824eeb63
Fixed issue saving tasks.
...
The Eve hook that added 'parent_info' caused this issue, as the validation
fails when saving a document that contains this. The easiest fix was to
prefix it with an underscore, so that the SDK automatically strips it
before saving.
2016-09-22 15:29:11 +02:00
8a360c0cda
Moved shot-related code to a new attract.shots package
2016-09-22 14:21:55 +02:00
066fc91780
Added parent info to retrieved task nodes.
...
Added an Eve hook that adds {'parent_info: {'node_type': 'type',
'name': '...'}} to returned task nodes.
2016-09-22 14:09:32 +02:00
7dee8f7c44
Moved task stuff into a new attract.tasks package
2016-09-22 11:48:37 +02:00
c45613b5fa
Added /attract/<project_url>/shots/with-task/<task-id> endpoint
2016-09-22 11:32:04 +02:00
1e72d0425e
Missed one $(task) → $task
2016-09-22 11:24:45 +02:00
6f4a5e17fa
Shot list: show updated task name in shot list after editing task.
2016-09-22 11:08:56 +02:00