Commit graph

43 commits

Author SHA1 Message Date
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
rolux
afd97d1bd1 renamed video panels 2013-10-22 16:45:39 +02:00
j
f3c9d7b7af add option to have direct download instead of torrent 2013-09-14 14:09:37 +00:00
rolux
5b3d4608ea fix annotations panel tooltip 2013-08-08 17:48:52 +00:00
rolux
74f3d190f2 when deselecting annotation, set it to empty string, not undefined 2013-08-06 10:37:53 +00:00
rolux
ba4f94df5b editor view: pass/receive loop 2013-08-06 09:55:22 +00:00
rolux
cf378611c8 instantiate Ox.Clipboard as pandora.clipboard; use pandora.clipboard 2013-08-03 15:01:47 +00:00
rolux
42a397d84a store clipboard clips as strings 2013-08-02 19:38:18 +00:00
rolux
bcf9d37930 remove player/editor/timeline losefocus handlers (opening the item menu will make them lose focus), add gainfocus handler to browser; correct definition of canCut; enable mainMenu.replaceItemMenu 2013-08-02 17:01:24 +00:00
rolux
6521488412 when player, editor, timeline or cliplist gains or loses focus, update item menu 2013-08-02 16:01:50 +00:00
j
a9b7738aa8 move js files from js/pandora to js, fixes #1366 2013-07-16 12:15:05 +00:00
Renamed from static/js/pandora/editor.js (Browse further)