Commit graph

3095 commits

Author SHA1 Message Date
j
e1967e96bc fix pdf zoom 2016-04-04 15:50:07 +02:00
j
1bff4aa0e9 avoid storing invalid poster frames, only show videos with video 2016-04-01 16:40:20 +02:00
j
42ac4a88b8 Only show Find: Entity if config defines entites
Followup to 9a4c24
2016-03-05 14:49:51 +05:30
9a4c24cdb4 Support searching documents by entities 2016-03-04 12:41:41 +00:00
340277db1a Raise Error.stackTraceLimit, if it exists (fixes #2894) 2016-03-03 18:15:37 +05:30
7d99950942 Only setInterval once to animate the loading icon (fixes #2888)
(On Chrome, at least,) window.onload() is called once by hand, and once
by the browser. This ends up calling setInterval() twice. When
stopAnimation() is called later, only the second interval is cleared; so
the first one keeps firing forever. Mostly harmless but unnecessary.

Only the first hunk of this patch is really needed, but making
startAnimation() / stopAnimation() idempotent can't hurt.
2016-03-03 18:08:46 +05:30
j
76d000b42b typo 2016-03-03 15:03:06 +05:30
j
6f7b57fc37 add uid42, fixes #2886 2016-02-20 15:53:35 +00:00
j
11924fcb0d Rename api.taskStatus to api.getTaskStatus
still register api.taskStatus since its used
in pandora_client and other scripts.

fixes #2600 and fixes #2859
2016-02-20 18:35:26 +05:30
e47c652ad0 clipList: handle smart lists with no conditions (fixes #2884)
I have a smart list which has no conditions (ie matches all items). This
breaks "View as Clips" when the list is selected because:

    pandora.api.getList({id: "wjt:Everything"}) -> {
        // ...
        data: {
            // ...
            query: {}
        }
    }

so result.data.query.conditions is undefined.
2016-02-20 18:15:40 +05:30
j
b121b58a86 support caching local files, lookup by oshash 2016-02-14 00:32:14 +05:30
rlx
5a72bf2d48 typo 2016-01-21 19:09:55 +05:30
rlx
cbadc5ed89 fix dialog text for users who are not logged in 2016-01-21 18:32:53 +05:30
rlx
46852d9e4d fix doubleclick-to-scroll-to-top in list view 2016-01-21 12:52:32 +05:30
j
c7515517da remove persona support 2016-01-12 14:04:34 +05:30
j
e05774ed96 typo 2016-01-03 10:46:36 +05:30
j
a4b492136b use Blob url for annotation export 2015-12-25 19:22:50 +05:30
j
d42f6646a5 throttle progress during upload to 1s 2015-11-29 14:13:44 +01:00
j
63f3063c95 only update items count if list is visible 2015-11-23 15:52:47 +01:00
j
9be454dfba make sure videoPreview is up to date 2015-11-10 16:08:00 +01:00
j
d96f98e4cf use utc time for dates 2015-10-31 14:49:15 +01:00
j
ed0f4de0ee show other cached resolutions while caching item 2015-10-28 13:50:29 +01:00
j
54b7c4be9a update dimensions replacing documents, add modified to image urls to get latest version 2015-10-26 16:10:12 +01:00
j
6f9fb06da3 Replace Document, still some cache issues, fixes #2855 2015-10-25 22:08:13 +01:00
j
08496a228e also use shift 1 to shift 7 to switch between list views 2015-10-22 12:22:43 +01:00
j
1d4c544d5f only show data/media view in menu if canSeeExtraItemViews 2015-10-22 11:31:37 +02:00
j
086fce31ea dont fail on infoView id array data is string 2015-10-20 18:21:18 +01:00
j
b14f729768 compute nameKeys, listKeys from config 2015-10-20 18:13:38 +01:00
j
cc9464082f use shift-[1-0] to switch between item views, fixes #2837 2015-10-13 09:10:48 +01:00
j
36ebdf0a1c fix copy of selected annotation via menu 2015-10-06 10:05:54 +03:00
j
7c630ca0b1 inline functoin only gets called once. fixes #2841 2015-10-05 12:53:11 +02:00
j
e761ee692d fix copy clip 2015-10-04 18:13:06 +01:00
j
82549c5d7a copy/paste clips in list order not in selection order 2015-10-04 16:27:48 +01:00
j
9eae0a0762 pass index to split/join to keep position 2015-10-04 16:09:51 +01:00
j
b20a655fa8 fix copy/copyadd/delete of clips via menu 2015-10-04 14:18:29 +01:00
j
2a55bd3eec edit paste only supports clips 2015-10-04 11:11:44 +02:00
j
f790b039da local variable, remove duplicate code 2015-09-22 10:32:02 +01:00
j
1ce1ca7d89 poster keys 2015-09-21 18:31:44 +01:00
j
8bb7ae436f dont fail if layer does not exist 2015-09-20 17:50:23 +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
j
41b50ccdb8 add canPlayClips flag to annotation layers and use those layers to limit playback to clips 2015-08-27 11:27:27 +02:00
5418613023 embedTimeline: fix subtitles (fixes #2823) 2015-08-07 13:42:20 +02:00
4c0652e683 errorlogsDialog: fix searching text (fixes #2819) 2015-07-22 21:37:04 +02:00
j
d3c3378267 add default video ratio for audio files 2015-06-29 09:10:12 +01: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
5cc23093ef keys might be undefined 2015-05-25 12:51:11 +00:00
j
e063cc7020 use empty string if value is undefined or null, fixes #2790 2015-05-23 18:02:24 +02:00
j
4705e33ef1 only enable menu entries if user has permission to edit/upload 2015-05-23 13:10:25 +02:00
j
5da83f6f6d don't return empty string for undefined values, handle in context browser 2015-05-23 15:11:18 +05:30
j
d4a7ec0e0c now that we have js tracebacks, also open dialog for js errors, fixes #2756 2015-05-20 11:47:04 +01:00
0e4c49729b window.onerror: log stack to server if available
Firefox >= 31 and Chrome >= ~August 2013 pass the Error object as the
5th parameter to window.onerror.

https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
https://code.google.com/p/chromium/issues/detail?id=147127
2015-05-20 12:44:31 +02:00
j
4deb4daad3 typo in length check, fix cancel button before stating upload 2015-05-19 23:10:30 +02:00
j
380185efd4 more places where year might not exist, fixes #2778 2015-05-19 17:47:20 +05:30
j
09c3c4b959 also fallback to date in context browser, fixes #2777 2015-05-19 14:47:47 +05:30
j
1da7135e38 use ui.videoSubtitles for enableSubtitles 2015-05-18 11:51:11 +02:00
j
dd234d9c65 only enabale subtitles is enabled in ui settings 2015-05-18 11:43:30 +02:00
j
8439d56339 use Ox.sort 2015-05-15 13:45:04 +02:00
j
cf10d98d50 check if alternative title has countries 2015-05-04 10:55:47 +02:00
rolux
6e4b902def cleanup 2015-04-29 14:07:52 +02:00
rolux
bafad0a5c7 cleanup 2015-04-29 13:41:17 +02:00
rolux
fdcd525bd6 cleanup 2015-04-29 13:25:31 +02:00
j
86a1d96484 button cleanup, fixes #2765 2015-04-26 16:55:39 +02:00
j
9197591bb6 tune smart clip queries 2015-04-25 16:13:42 +02:00
j
8abed26dc9 make sure alternative names are unique too, also fixes #2754 2015-04-23 17:20:00 +05:30
j
5455ec8875 name might be in use, update form with value from backend 2015-04-23 16:44:06 +05:30
rolux
c6c2a425cc cleanup 2015-04-20 10:13:56 +02:00
rolux
02552f3f83 cleanup; wording 2015-04-19 11:09:12 +02:00
rolux
016240b6f8 don't steal focus 2015-04-17 17:14:41 +01:00
j
8f181b7b51 refine 2015-04-17 17:05:09 +01:00
rolux
baaae8ac5c add license infrastructure 2015-04-17 16:42:52 +01:00
j
a869c7a89a extend findEntities to support entity keys and * 2015-04-17 11:17:12 +01:00
j
1a9da2d5fa typo 2015-04-16 21:09:40 +01:00
j
e851dcabfb entities are not links 2015-04-16 20:02:31 +00:00
j
785e14082c subtitlesOffset in tv 2015-04-16 19:27:51 +05:30
rolux
808348e4a2 keyboard shortcuts end at '9' 2015-04-15 18:27:06 +01: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
589959886b typo 2015-04-12 21:24:22 +02:00
j
b92f0c1bd0 chrome only show the first 100 enties in a folder, use more nested folders and move existing files into folders 2015-04-12 21:23:04 +02:00
j
8ef5d6908b show number of cached items in status bar. 2015-04-11 23:29:30 +02:00
j
295ddddf41 use moveTo callbacks 2015-04-11 23:18:55 +02:00
j
71bdf09e8b sort by path. includes part and allows editing part 2015-04-11 23:04:39 +02:00
j
30645c0ea0 default added sort 2015-04-11 14:42:29 +02:00
j
aa8a7de312 use HEAD to get file size, only rename once all parts are downloaded 2015-04-11 14:41:50 +02:00
j
5032d95958 update size if it changes, i.e. multipart with multipart videos 2015-04-11 14:38:07 +02:00
j
abb894636b remove debug 2015-04-11 14:33:58 +02:00
j
3784123704 sort by added 2015-04-11 14:31:47 +02:00
j
b5286499e0 advance next block by response size instead of requested size 2015-04-11 13:38:56 +02:00
j
122342db11 ignore partial downloads in list, cleanup partials 2015-04-11 12:39:19 +02:00
j
d8e23fe6d1 fix cached urls after download is finished 2015-04-11 12:31:36 +02:00
j
a8a4191f1a dont re-download cached parts for multipart items 2015-04-11 12:13:41 +02:00
j
c743ad7a71 log move error 2015-04-11 00:40:32 +02:00
j
2ae32cc2f0 fix starting new download 2015-04-10 23:27:34 +02:00
j
065d35c2b2 fix last success call 2015-04-09 19:42:18 +02:00
j
04e46763f1 remove unused variable 2015-04-09 15:51:13 +02:00
j
82a6caf4ac store stream in chunks and continue existing partial downloads if they exist 2015-04-09 15:45:30 +02:00
j
a4e0d78d54 more things can not exist on resize 2015-04-08 13:43:20 +02:00
j
ca63fa7b93 avoid some errors resetting asiftv 2015-04-08 13:33:00 +02:00
j
14bc488420 fs: also make downloading next part async 2015-04-03 11:31:21 +02:00
j
12adaf062a sort clips after delete, fixes #2718 2015-04-02 13:56:00 +02:00