Commit graph

30 commits

Author SHA1 Message Date
j
12f3901c9a py3 filter->list(filter 2017-02-16 14:24:51 +01:00
j
bfcf25e240 fold clips 2017-01-20 13:00:04 +01:00
j
1468ddbecb towards supporting python 2 and 3
- use absolute_imports
- make use of six.moves
- use exec instead of execfile
- use list(dict) instead if dict.keys()
2016-08-25 18:34:36 +02:00
j
e9863c238e always use get_operator, avoid case-insensitive match if possible 2016-06-30 11:28:09 +02:00
j
5b545e6e43 layer first 2016-06-30 02:42:24 +02:00
j
051a3578b4 inline django 1.9 version of ox.django 2016-02-20 10:41:23 +00:00
j
1cc795995d user.get_profile()->user.profile 2016-02-19 22:06:11 +05:30
eaa07b1ccb ClipManager: match annotation layer case-sensitively (fixes #2832)
The case must be correct anyway for the layer to be found in
settings.CONFIG['layers']. Running this:

    Q(annotation__layer__iexact='foo') &
    Q(annotation__findvalue__icontains='bar')

compiles to

    upper(layer) = upper('foo') and
    ...

which can't use the case-sensitive annotation_annotation_layer index.
This:

    Q(annotation__layer__exact='foo') &
    Q(annotation__findvalue__icontains='bar')

can. (It still can't use the findvalue_like index, though! The other
option is to add indices on upper(layer) and upper(findvalue)
[varchar_pattern_ops].)
2015-09-14 14:13:06 +02:00
da1ad5b9c1 ClipManager.filter_annotations: fix 'opterator' typo (fixes #2832) 2015-09-14 14:11:40 +02:00
j
16f1dbca93 fix findClips for layers no in clipLayers 2014-11-17 14:12:29 +00:00
j
3232ce6989 rename Item.itemId to Item.public_id 2014-09-19 12:26:46 +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
81cef44d19 dont save clip/sequence ids in db 2012-06-18 16:36:04 +02:00
j
9da8c75f70 dont fail if clipLayers is missing 2012-04-02 17:33:09 +02:00
j
950b6533b0 tweak clip table 2012-03-22 22:33:42 +01:00
j
69cbee4bd5 only return visible clips. fixes #625 2012-03-10 00:55:45 +01:00
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
28a577d69f use annotation find value 2011-12-26 21:05:39 +05:30
j
b6f5b45154 one more Q() 2011-11-10 12:09:43 +01:00
j
ba186ffd10 avoid division by 0 2011-11-07 12:09:38 +01:00
j
0feace7a8b decode_id 2011-11-06 20:36:35 +01:00
j
df9fc699ff remove layer of indirection 2011-11-02 15:06:34 +01:00
j
47685b87fe add layer flags to clips to avoid slow join with annotation/layer tables 2011-11-02 12:57:10 +01:00
j
aed064d7f2 distinct makes clip queries slow 2011-10-14 00:59:57 +02:00
j
26e9bb90a2 more user backend 2011-10-03 18:09:11 +02:00
j
72db2e188d user stats 2011-10-03 13:52:16 +02:00
j
e2436aa7c3 find in layer 2011-10-03 13:29:10 +02:00
j
a333e6b1b0 add clip manager 2011-10-02 20:18:42 +02:00