Commit Graph

43 Commits

Author SHA1 Message Date
cf41599e20 Fixed authentication issues in unit tests
The tests were logging in incorrectly, which came to light due to Pillar
commit 4b5a961e1422d8e976b2bf8bb9a4f91addf9bbec.
2018-02-01 11:43:14 +01:00
0612ed15a6 Allow deletion of tasks by non-admin users. 2017-07-13 17:29:16 +02:00
4e8c735f6b Python 3.6 compatibility: Applied 2to3 2017-03-03 15:08:48 +01:00
Dalai Felinto
a9b894ed77 Implement Trim End 2016-11-10 18:55:14 +01:00
0d9ed088be Removed unused import & small test fix 2016-11-10 15:39:49 +01:00
268d1f28e3 Include commit message in SVN activity 2016-11-10 15:34:03 +01:00
72e903d192 Added AbstractAttractTest.attract property 2016-11-10 15:34:03 +01:00
497bbb8273 Editing the name of a shot/task/asset now logs the old and new name in the activity 2016-11-10 09:34:32 +01:00
3346bb1364 Reworked ShotManager into ShotAssetManager 2016-11-09 13:58:46 +01:00
88a4a2fab3 Moved attract.shots to attract.shots_and_assets
Assets are going to be pretty much the same thing as shots, with a few
different properties. Hooks and much other code can be reused.
2016-11-09 13:00:07 +01:00
2bb332c58a Moved node_setattr() to pillar.api.utils. 2016-11-09 12:49:48 +01:00
5ee3c0d54f Ensure used_in_edit is always set on new shots. 2016-11-04 16:42:42 +01:00
5f09848390 Undelete when relinking a deleted shot. 2016-11-04 13:42:17 +01:00
9ec08efc40 Don't undelete when unlinking a deleted shot. 2016-11-04 13:42:17 +01:00
c40fdb378c Allow Blender to mark shots as used/not used in edit.
NOTE: requires schema change, so be careful.
2016-11-03 18:26:33 +01:00
4d5c02c196 Usable SVN activities 2016-11-02 11:06:29 +01:00
e249f3d062 Added unittest for SVN push hook 2016-11-02 11:06:29 +01:00
bc58b6d5ac Moved Subversion stuff to its own module, and unified push & pull approaches 2016-11-02 11:06:29 +01:00
d9a41c11b7 Added shot summary per project on /attract 2016-10-05 14:42:01 +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
2819f86e10 Some SVN 0.3.43 interface changes. 2016-09-29 16:28:41 +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
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