da1ad5b9c1
ClipManager.filter_annotations: fix 'opterator' typo ( fixes #2832 )
2015-09-14 14:11:40 +02:00
8759b569da
Cache serialized entities when fetching many annotations
...
For a scene with ~5600 annotations, of which ~3100 are entities, this
cuts fetching the scene from 12 seconds to 2 seconds.
2015-09-14 14:08:02 +02:00
eebb0b5681
Combine {Item,Clip,edit.Clip}.get_layers()
...
This has several benefits:
• Clip.get_layers() (used by smart edits) and Item.get_layers() pick up
the select_related('user') optimization added for static edits in
r5007.
• Static edits and items pick up the optimization from r4941 to select
annotations once, not once per layer.
Fetching an item with ~1000 annotations took ~1s without this patch,
~0.34s with this patch. Another item with ~6000 annotations took ~11.6s
before, ~8.6s after.
Because this block is moved out to the top:
if user and user.is_anonymous():
user = None
then, for anonymous users,
"editable": false,
is no longer included in the annotations. The old behaviour ended up
including this key in all layers listed before the first private layer
in the config, and leaving it out from later ones. So this new behaviour
is more consistent.
2015-09-14 14:06:43 +02:00
j
abf445b7f1
faster edits
2015-04-25 19:02:34 +02:00
j
083fabc208
include first annotation as annotation id for clips
2015-04-02 13:43:46 +02:00
rolux
cada20f904
update api docs
2014-12-19 15:05:08 +00:00
j
9e9bf30c42
add new changelog and call add_changelog all over the place
2014-12-17 13:45:46 +00:00
j
b8b91592b5
always include empty annotations
2014-11-21 16:24:49 +00:00
j
86ab36c6a6
dont fail without cuts
2014-11-18 14:54:41 +00:00
j
16f1dbca93
fix findClips for layers no in clipLayers
2014-11-17 14:12:29 +00:00
j
ceb507020b
data is passed to api functions now
2014-10-06 08:26:43 +00:00
j
3232ce6989
rename Item.itemId to Item.public_id
2014-09-19 12:26:46 +00:00
j
e381609b9e
remove tests, not used
2014-09-05 13:39:43 +02:00
j
b2b2649420
make smart edits return clips inline
2014-02-05 13:21:17 +00:00
j
2a708e72cf
fix html in atom feed titles
2014-01-25 09:00:52 +00:00
j
056fdb706f
dont add None, null clip results, fixes #1425
2013-07-10 14:29:23 +00:00
j
9cd9611306
use new Ox.VideoElement, add inital player to edits and view as video results view
2013-07-09 22:49:01 +00:00
j
ce16c93fb4
dont create db_index in south
2013-07-03 10:51:59 +00:00
j
4d9635ab70
dont enable fulltext index by default, only used with GIN enabled
2013-06-06 07:35:52 +00:00
j
488b5431de
avoid creating Clip multiple times
2013-03-24 12:25:09 +00:00
j
70cfee4f73
dont fail if no subtitles layer is defined
2013-03-14 07:32:59 +00:00
j
e706fbfb9b
api documentation takes and returns
2013-03-04 19:35:06 +00:00
j
661e005b78
dont expose ids of empty subtitles, fixes #1333
2013-03-02 08:57:39 +00:00
j
066d7c8588
find clip queries too
2012-11-18 20:41:18 +01:00
j
73cbde63cf
clips too
2012-11-18 20:34:43 +01:00
j
2c07dedac0
add south migrations, convert update to python
2012-11-02 13:41:41 +01:00
j
22e7dc7421
dont fail for clips < 0
2012-10-09 19:22:16 +02:00
j
6fd5adbb1d
dont fail for clips < 1 frame
2012-10-09 19:10:46 +02:00
j
8b082023e9
add some more docs for findClips
2012-06-26 13:59:27 +02:00
j
81cef44d19
dont save clip/sequence ids in db
2012-06-18 16:36:04 +02:00
j
480d6c8cf2
use 0 padded 3 digit floats in qids for clips
2012-06-16 11:26:37 +02:00
j
9da8c75f70
dont fail if clipLayers is missing
2012-04-02 17:33:09 +02:00
j
0042546d6c
print local name and ip in vm terminal, document trigram index
2012-03-30 16:57:07 +02:00
j
577afd682e
only add index flag if DB_GIN_TRGM is set
2012-03-27 13:26:51 +02:00
j
a4ac2e03d4
load subtitles async
2012-03-23 17:37:32 +01:00
j
8fac4c558d
only limit grup if needed, do not overwrite clips sort
2012-03-23 16:52:20 +01:00
j
950b6533b0
tweak clip table
2012-03-22 22:33:42 +01:00
j
8511769885
random clip sort
2012-03-22 20:40:37 +01:00
j
22c5e10672
random can be NULL for now
2012-03-21 20:39:26 +01:00
j
69cbee4bd5
only return visible clips. fixes #625
2012-03-10 00:55:45 +01:00
j
26c6987178
findvalue can be Null, clip random sort
2012-03-08 19:56:31 +01:00
j
e3b5e2a6e7
only update clip values after creation
2012-03-07 11:36:32 +01:00
j
6f9e9676cf
add additional sort conditions to clip query, fixes #631
2012-03-01 15:53:29 +01:00
j
8a4d4f029e
max length, dont fail for layer redirects
2012-02-14 19:14:54 +05:30
j
82c83c1309
keep a log of changes
2012-01-31 22:36:10 +05:30
j
16cc495fb5
store clip values in clip db, cleanup if all annotations are gone, add additionalSort
2012-01-20 23:23:21 +05:30
j
09389f84dc
only return matching annotations in findClips if query contains annotation conditions
2012-01-05 18:01:56 +05:30
j
e1989eed57
use ox.django.api instead of local copy
2012-01-04 01:48:47 +05:30
j
c8b59c34c6
text key clip lists
2011-12-30 13:30:38 +05:30
j
001fbd3ba5
clips should return default videoRatio
2011-12-30 12:14:12 +05:30