Commit Graph

60 Commits

Author SHA1 Message Date
j
166b566fde if user can edit metadata of item, should also be able to add annotations for that item. independent of canAddAnnotations rights 2021-06-03 16:25:56 +01:00
j
08dc8f2bea overwrite subtitlesTrack 2021-05-21 20:38:25 +01:00
j
03e85c6eef double check 2020-09-25 12:49:26 +02:00
j
09f9580e1e use new id after create 2020-09-22 14:49:44 +02:00
j
2dfe0f3ff2 queue [add|edit]Annotation calls
addAnnotation was called multiple times creating multiple annotations
editAnnotation calls might overwrite later calls depending on response
time.
2020-09-22 12:49:23 +02:00
j
9e0df969e9 pass video source to download selection 2020-02-02 15:33:56 +01:00
j
85095eda44 only use current search if its inside a layer 2019-11-01 15:22:53 +01:00
j
ae2e3e45c6 download parts and source 2019-10-31 11:16:16 +01:00
j
46fb46bf26 fix default value annotations 2019-03-12 13:44:57 +00:00
j
6b96c9b3ee 100 is the new 20 2018-11-12 11:18:41 +00:00
rolux
93c654c014 add annotation highlights 2018-10-09 18:30:38 +02:00
j
d7fa7efcbc add layer option to populate default value for new annotations 2018-10-09 16:32:35 +02:00
j
5a17f77f7a download frame, fixes #3163 2018-09-12 19:58:35 +02:00
rolux
e07bcb482e add annotation separator option 2018-09-12 18:48:18 +02:00
j
17d3114102 keep findstate 2018-08-07 17:54:32 +01:00
j
e7fce4cf26 limit highlight to current search 2018-08-07 17:13:35 +01:00
j
dbf740e55e use .editorconfig 2018-06-19 08:33:26 +02:00
j
7b2acb3bc1 update UI/URL after adding annotation, editing i/o does not work otherwise 2018-03-31 14:01:01 +05:30
j
5201341085 enable download dialog 2018-03-06 14:46:43 +05:30
j
d403125757 default download format 2017-11-14 17:13:41 +01:00
j
db2d37e2bb use pandora.hasCapability 2017-11-06 07:26:49 +02:00
j
58999918f7 use Ox.$(document|body) instead of pandora.$ui.(document|body) 2017-01-26 17:42:03 +01:00
8f3b3036df Support autocomplete from a group of layers
The idea here is to have several layers which share a set of tags. This
mirrors what we already have if several layers reference the same type
of entity. You might have config like this:

        {
            "id": "keywords",
            "title": "Keywords",
            "canAddAnnotations": {"member": true, "staff": true, "admin": true},
            "item": "Keyword",
            "overlap": true,
            "type": "string",
            "autocomplete": true,
            "autocompleteKeys": ["keywords", "minorkeywords"]
        },
        {
            "id": "minorkeywords",
            "title": "Minor Keywords",
            "canAddAnnotations": {"member": true, "staff": true, "admin": true},
            "item": "Keyword",
            "overlap": true,
            "type": "string",
            "autocomplete": true,
            "autocompleteKeys": ["keywords", "minorkeywords"]
        },

Now, adding new keywords in either bin will offer autocompletions from
the union of the two layers. The other option would be to do this on the
server side, but I thought this was a less invasive way to achieve this.
2015-09-14 21:29:02 +02:00
e55e503654 Pass entity type to autocompleteEntities, not layer id (fixes #2810)
If (for example) you have a type of entities, "participants", and a
second annotation layer for them, like this:

    {
        "id": "participantsdiscussed",
        "title": "Participants discussed",
        "type": "entity",
        "entity": "participants"
    }

then we should be passing key="participants" to autocompleteEntities
(since that is the type of entity), not key="participantsdiscussed"
(which is not a type of entities and raises an error).
2015-06-24 16:42:38 +02:00
j
e851dcabfb entities are not links 2015-04-16 20:02:31 +00:00
j
3e0bd078d0 pass autocomplete with layer, support autocomplete for leyers with filters, fixes #2736 2015-04-14 19:49:22 +01:00
j
ae55130f47 add subtitles offset, fixes #2732 2015-04-14 15:53:47 +01:00
j
ef3a7b720f pass empty result to updateAnnotation to handle invalid entity input 2015-02-06 15:11:57 +05:30
rolux
51df0ff7b7 typo 2014-12-17 15:55:35 +00:00
j
8c9b92479d autocomplateEntities 2014-12-16 14:29:55 +00:00
rolux
f3c0f8d76a pass autocomplete function to editor view 2014-12-16 13:00:23 +00:00
rolux
374296d630 SYMBOLS.SHIFT -> SYMBOLS.shift 2014-09-25 21:56:19 +02:00
rolux
058350c241 add canExportAnnotations capability 2014-09-18 17:29:50 +02:00
rolux
32733bdefa editor: pass item title to annotations export dialog 2014-09-18 17:24:38 +02:00
rolux
a9bbc86fda enable annotations export in editor 2014-09-18 16:43:48 +02:00
rolux
9408a5f986 pass item duration to import annotations dialog 2014-09-18 14:16:38 +02:00
rolux
8b69ef1e47 update importAnnotationsDialog 2014-09-17 15:10:17 +02:00
j
dbac45f7ac fix tv subtitles 2014-09-16 13:30:53 +02:00
j
d5450840ad expand language codes to language names after adding/editing annotation 2014-09-02 15:30:31 +02:00
j
afae94a1be pass audioTrack, expand languages before passing 2014-07-24 19:21:57 +02:00
rolux
18d5d15293 pass default subtitle language to player and editor 2014-07-23 15:53:37 +02:00
rolux
e05f918666 handle 'link to selection' 2014-06-06 14:19:04 +03:00
j
6b58767d31 enable Download/Import for item owners 2014-03-08 08:28:38 +00:00
j
f3cf407d0b dont select results if opening video at position, fixes #1900 2014-02-18 07:52:21 +00:00
rolux
c6afcafbdd fix #319 (remove annotation font size) 2014-02-18 06:33:24 +00:00
j
e8e4639dce wrap more strings 2014-02-14 15:23:59 +00:00
j
522af49a73 wrap image urls in pandora.getMediaURL to add option to load image from another domain 2014-02-02 11:30:25 +00:00
rolux
e7288a1f0b pass item name to video panels 2014-01-19 11:58:05 +05:30
j
d74a264a6a use direct download for private items. Torrents only work if item is public 2013-11-18 09:52:44 +00:00
rolux
024c5ca16d pass subtitlesLayer option 2013-10-22 17:42:11 +00:00