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
c4c6f6ccad
Task edit: Using actually saved data to update the form.
...
Instead of just copying the form data, we now use the data returned from
the server.
Also, don't use $(task + ' span.name'), just use $(task).find('span.name').
This is faster, and allows us to save $(task) in a variable to make it
even faster still.
2016-09-22 11:06:00 +02:00
62b72bfbb1
Allow task creation with parent.
...
The parent (shot_id in this case) is passed to the task creation end-point.
Also, the task type is now passed as form parameter, rather than on the
URL.
2016-09-22 10:34:51 +02:00
00da55045a
Be more defensive in parameter checking.
2016-09-22 09:27:28 +02:00
fb6fa299f1
Move Tasks JS to layout, since we use it everywhere
2016-09-21 19:40:04 +02:00
051cd88687
Ignore everything in attract/static/assets/css/
2016-09-21 17:40:39 +02:00
0f95c01172
Added editing of shots
2016-09-21 17:39:48 +02:00
4cfdf12ac7
Fixed failing test
2016-09-21 16:37:08 +02:00
d97d1183a5
Added shot overview with tasks.
...
javascript links to open or create tasks aren't implemented yet.
2016-09-21 16:35:57 +02:00
4b1a52f26e
Replace Status underscore and minor style tweaks
2016-09-21 15:47:31 +02:00
bdd6153020
Slight code readability improvement
2016-09-21 15:33:38 +02:00
ba916412b6
Use responseText for fail error
2016-09-21 15:14:49 +02:00
87f6226cf6
Pablo made a proper button to call the /create task url
2016-09-21 15:14:49 +02:00
8470efbcf1
User assignment for tasks
2016-09-21 15:14:15 +02:00
cf87602a78
Fix typos for recent changes in urls
2016-09-21 14:44:31 +02:00
010cf23d67
Started working on shots UI & management
2016-09-21 14:29:18 +02:00
486f947a90
Changed URL to /attract/<project_url>/tasks/...
...
The overall tasks index is still /attract/tasks though.
2016-09-21 14:28:14 +02:00
7b72289ddd
Removed unused imports
2016-09-21 14:27:43 +02:00
38703bf583
Tasks Index for a Project
...
Work in progress
2016-09-21 14:12:16 +02:00
5095367c2e
Create task of certain type
2016-09-21 10:35:44 +02:00
10cdf746f3
Use project properties to show shot-level task types
2016-09-20 18:01:00 +02:00
265d898ebd
FIXUP extension props
2016-09-20 18:00:22 +02:00
dfaf4e84c0
Transition to creating tasks with POST method rather than GET.
...
GET will be removed once we have a functioning button that does POST.
2016-09-20 17:40:08 +02:00
008ffa0aa4
Show error when saving task
2016-09-20 17:40:08 +02:00
eb1a972dbb
Added task types
2016-09-20 17:40:08 +02:00
959549eec0
@attract_project_view() can now also fetch & check for extension props.
2016-09-20 17:40:08 +02:00
25cfe7789c
Renamed node types attract.X → attract_X
2016-09-20 17:40:08 +02:00
6066362a9b
Allow setting SVN URL from setup_for_attract CLI command
2016-09-20 15:28:10 +02:00
44ffd7f38a
Added .keep file so the templates dir is always there
2016-09-20 12:10:55 +02:00
f853278f5a
Moved task management code from flask views to task manager.
2016-09-08 12:55:30 +02:00
52e5f4ac7e
Allow setting up projects for Attract from unittests
2016-09-08 12:54:13 +02:00
5543d75101
Editing tasks works, still needs refactoring & unittests
2016-09-08 11:24:58 +02:00
dc43b7686a
Fixed bug in CLI cmd setup_for_attract
...
It would fail when there are world permissions on the project.
2016-09-08 11:07:17 +02:00
3c09586349
Added async task loading
2016-09-07 15:08:49 +02:00
805f56d6f4
Added task creation per project and non-functional tasks-for-project view
2016-09-07 14:15:23 +02:00