Commit Graph

20 Commits

Author SHA1 Message Date
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
3925c044d5 Added task deletion. GUI still ugly, though. 2016-09-23 13:58:14 +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
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
0f95c01172 Added editing of shots 2016-09-21 17:39:48 +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
cbb6100084 Added unittest for edit_task 2016-09-21 15:19:17 +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
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
5abfad4d0d Made unittests work again.
- ignore node_modules
- rename attract_server → attract
- removed your mother
2016-09-07 10:06:16 +02:00
2f5e99205a Renamed attract_server → attract 2016-09-07 10:04:31 +02:00
a89e98c556 Properly handle SVN connection/client errors.
This requires my fork of the SVN library, until pull request #43 is merged
upstream: https://github.com/dsoprea/PySvn/pull/43
2016-08-31 16:42:21 +02:00
8b618c3ecb SVN log messages can be None. 2016-08-31 15:59:45 +02:00
268a40092e SVN doesn't like requesting logs for non-existent revisions
If revisions 1-130 exist, it errors at "svn log -r 1:250", so we can't
reliably give a last number. Easiest solution is to just forego per-batch
processing, and fetch all the unseen entries in one go.
2016-08-31 15:59:27 +02:00
0c9b31c4b4 Added SVN logging observer.
It isn't triggered by anything yet. When the observer is called, it uses
Blinker to send out a signal for every [T12345] marker it sees in the
first line of each commit log. Those signals aren't connected to anything
yet.

NOTE: this requires the 'svn' Python module , which is a wrapper for the
'svn' commandline client. This client needs to be installed on our docker
when we deploy.
2016-08-31 14:31:45 +02:00
cf0e6f85de Renamed TestPillarServer to PillarTestServer 2016-08-31 11:32:29 +02:00
06d64ec6df Added unit test 2016-07-29 17:43:58 +02:00