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
c99bb8f41d
Fixed bug when calling task_open().
2016-09-22 09:26:30 +02:00
fb6fa299f1
Move Tasks JS to layout, since we use it everywhere
2016-09-21 19:40:04 +02:00
7d64e8bf4e
CSS: Move tasks into _tasks
2016-09-21 19:40:04 +02:00
578f698240
Minor style tweaks to Tasks
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
44540631e3
Use Select2 for assigning users to tasks
2016-09-21 16:43:59 +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
6bac8f481f
Tasks: No need to check for project at all!
2016-09-21 15:33:14 +02:00
26926274b9
Check if we are in a project for tasks index
2016-09-21 15:28:19 +02:00
cbb6100084
Added unittest for edit_task
2016-09-21 15:19:17 +02:00
ba916412b6
Use responseText for fail error
2016-09-21 15:14:49 +02:00
964ff40bca
Fix layout
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
4035d89ced
Using new layout for shots
2016-09-21 15:12: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
d3625c3524
Ignore built css files
2016-09-21 14:16:04 +02:00
d30cc144c1
Fix layout
2016-09-21 14:15:25 +02:00
2ddee224c2
Don't cache style compiling
2016-09-21 14:12:16 +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
9035d2f6a4
Added 'gulp' script, which does an 'npm install' when needed.
...
It then runs 'gulp' and 'gulp watch'.
2016-09-20 15:38:11 +02:00
b7cad397a8
Ensure that Eve accepts our extension settings.
2016-09-20 15:28:10 +02:00
a5599cf56a
Fixed interference between consecutive unit tests
2016-09-20 15:28:10 +02:00
6066362a9b
Allow setting SVN URL from setup_for_attract CLI command
2016-09-20 15:28:10 +02:00
8145d698bd
Gulp: Avoid re-building unchanged files by caching the results
2016-09-20 15:13:25 +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
2a1982fd45
Nicer task list
2016-09-07 15:35:01 +02:00
3c09586349
Added async task loading
2016-09-07 15:08:49 +02:00