Commit graph

3074 commits

Author SHA1 Message Date
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
j
180854c3c9 typo 2015-04-02 13:32:24 +02:00
j
d80455cc86 edits and texts can have undefined edits/texts keys too 2015-04-02 13:18:52 +02:00
j
77270873e6 use site defaults if list setting is undefined, save per list columnWidth 2015-04-02 13:13:03 +02:00
j
8b97cd5bd7 remove debug 2015-04-02 12:01:18 +02:00
j
ea52722d9f show date instead of undefined in results grid, fixes #2727 2015-03-29 22:54:05 +05:30
j
b9220e6820 add status with used/granted disk usage 2015-03-27 22:46:52 +01:00
j
146a1ca39a use query operator from smart list for clips query, fixes #2724 2015-03-27 19:49:40 +01:00
j
3408f0d21d start next video in timeout 2015-03-26 21:02:58 +05:30
j
7b401cfe28 round duration to 3 2015-03-26 20:28:07 +05:30
j
f642c010cd add option to select a local video file 2015-03-26 15:42:53 +05:30
j
1e0147d85b typo 2015-03-26 14:57:58 +05:30
j
3d3787b802 timeout chunk requests after 5 minutes. try to avoid snap with setTimeout 2015-03-26 14:25:56 +05:30
j
1d2675ab97 VideoPlayer does not have clipSize 2015-03-24 19:26:50 +05:30
j
73c3a134a2 create UI tree if setting a nested propery if its undefined 2015-03-23 15:23:31 +05:30
j
ca25eed929 continue downloads if current download is removed 2015-03-21 13:14:01 +05:30
j
de6705a993 disable on list 2015-03-21 13:11:46 +05:30
j
d3ce9198ce fix download queue 2015-03-21 13:06:16 +05:30
j
3229c732d4 dont download same video/resolution again 2015-03-21 12:59:21 +05:30
j
71b77f6359 queue multiple cache requests 2015-03-21 12:49:53 +05:30
j
c0615911d2 remove debug output 2015-03-20 19:01:42 +05:30
j
3ced9b427d typo 2015-03-20 13:05:54 +00:00
j
5e9816e693 Add option to use Chrome's FileSystem API to cache videos explicitly 2015-03-20 13:03:05 +00:00
j
148fa81f3c avoid large getEdit call 2015-03-19 19:54:58 +05:30
j
0e187aa24c add loaded event for site scripts 2015-03-19 14:09:47 +00:00
j
0fadccfe35 make smaller getEdit calls 2015-03-19 19:36:25 +05:30
j
8afe1257ac display framerate in media view, fixes #416 2015-03-05 12:12:45 +00:00
j
58f6c9901d dont try to set non existing nested key 2015-03-04 10:18:13 +00:00
j
1022e3debf fix drag and drop from edit to edit and from clips to edit fixes #2247 2015-03-03 10:36:21 +00:00
j
5ce83cbe63 disable Manage Entities... button if no entities are defined. fixes #2704 2015-03-03 08:17:48 +00:00
rolux
e702dddd6b correct css 2015-03-02 16:05:22 +05:30
rolux
d82e87dfd5 fix #2702 (embed document icon missing if multiple documents are opened) 2015-03-02 16:04:01 +05:30
rolux
154e5343c5 update script dialog css 2015-02-21 11:04:24 +00:00
rolux
60e78fc428 fix script dialog layout 2015-02-21 10:57:50 +00:00
rolux
0e74b41d98 move text from script placeholder to div 2015-02-21 16:22:56 +05:30
rolux
b16abef44e update user script placeholder text 2015-02-21 16:19:14 +05:30
rolux
5004dfe1de onloadDialog -> scriptDialog 2015-02-21 16:13:37 +05:30
rolux
b00a3a0d19 add guards in case add/removeEventListener do not exist 2015-02-21 16:05:07 +05:30
j
90a49b2a4d ui.onload -> user.script, fixes #2697 2015-02-21 10:32:48 +00:00
rolux
fa376dd188 allow for aborting user script by pressing escape on page load 2015-02-21 16:01:52 +05:30
rolux
df7c6c6de3 fix formatting 2015-02-21 15:51:13 +05:30
rolux
8f9d8e2ce2 fix formatting 2015-02-21 15:50:15 +05:30
rolux
6aa04ca73b documents panel: focus input on select change 2015-02-21 13:05:05 +05:30
rolux
bea4eb7335 fix documents panel 2015-02-15 09:53:16 +00:00
rolux
5c3cbc0f6d fix documents panel 2015-02-14 19:55:29 +00:00
rolux
821ba813f1 typo 2015-02-14 19:53:37 +00:00
rolux
1e2e87ba84 use new array input options 2015-02-14 19:52:30 +00:00
rolux
55bcb58f4c documents panel: use isEmpty ArrayInput option 2015-02-14 19:10:16 +00:00
j
f8bb2c3efd update document/entity relation 2015-02-13 17:34:18 +00:00
rolux
173011f34e cosmetic changes 2015-02-14 15:21:05 +00:00
j
b024800974 load existing entities 2015-02-13 11:05:03 +00:00
j
0ebd50450f documents panel: add entities array input 2015-02-13 10:50:28 +00:00
rolux
d3c19e0db9 remedy for strange bitrot in api dialog 2015-02-12 18:12:10 +01:00
j
91cb09006a only update state if backend is encoding 2015-02-11 12:18:08 +00:00
rolux
afefe3de0b call 'selectEntities' on entity type switch 2015-02-10 13:47:36 +00:00
j
a351ddfe0f update entities type if changed via UI, fixes #2668 2015-02-09 17:03:54 +00:00
rolux
685353a6f0 fix #2659 (Entities dialog: Name in list doesn't update when updating name) 2015-02-06 10:43:58 +00:00
j
ef3a7b720f pass empty result to updateAnnotation to handle invalid entity input 2015-02-06 15:11:57 +05:30
rolux
e61f742d3e add id column to documents panel 2015-02-06 06:36:39 +00:00
rolux
4c59d41496 fix #2590 (layout issue with document thumbnail image) 2015-02-06 06:23:43 +00:00
j
8c39aa37d0 ignore TypeError: Attempted to assign to readonly property. 2015-02-06 11:02:19 +05:30
j
b497b44614 remove debug 2015-02-05 19:08:03 +05:30
j
87d758d997 include annotations that are span the entire in/out, fixes #2538 2015-02-05 19:04:22 +05:30
j
ea6a79cc10 always use ui.part.documents and ui.part.entities, remove ui.document/ui.entity from default config, fixes #2064 2015-02-05 15:57:37 +05:30
rolux
0fffc1f497 cosmetic changes 2015-02-05 08:18:46 +00:00
rolux
30d05f52ff update position on image viewer resize 2015-02-05 08:18:40 +00:00
rolux
df658c96fb document dialog: add embed button 2015-02-05 08:14:56 +00:00
rolux
eb68de7a44 embed document dialog: support position 2015-02-05 08:14:35 +00:00
rolux
ed2c73d732 round span values 2015-02-05 07:41:25 +00:00
rolux
8c64ccb50f getSpan: lowest page is 1; typo 2015-02-05 07:41:06 +00:00
rolux
bb67cdcdde typo 2015-02-05 07:30:56 +00:00
rolux
bd423a0829 documentDialog/UI: set object with position property 2015-02-05 07:29:08 +00:00
rolux
5eced4f160 documentDialog: remove settings, pass area, return position 2015-02-05 07:26:31 +00:00
j
ae1160b6c4 page is stored in position now 2015-02-05 06:30:22 +00:00
rolux
6bb5b4b5ce getSpan: parse document spans 2015-02-05 11:45:37 +05:30
rolux
7180f9be19 url controller: add document positions 2015-02-05 11:45:20 +05:30
rolux
79ebfcc5e3 revert 4769 2015-02-05 11:12:09 +05:30
rolux
e8f25a7072 fix #2654 (add 'id' field to document) 2015-02-05 10:18:45 +05:30
j
8a2408ff7e include page in url of pdf documents 2015-02-04 15:42:16 +05:30
j
fad6788638 load pdf at saved page 2015-02-04 15:24:16 +05:30
j
1be9bb04a8 only check for status changes if item has files 2015-02-04 08:29:08 +00:00
j
e3a686601b Firefogg 334 works again, use if installed 2015-02-04 13:23:47 +05:30
j
5d4442d2ff upload webms as stream if they look like a stream 2015-02-03 18:51:11 +00:00
j
c1e49e416f disable firefogg until it works again 2015-02-03 10:32:53 +05:30
j
3c8d7a90c8 dont check render status while upload is running 2015-02-03 09:56:18 +05:30
j
018e3d23d0 dont load pdf from main url, to avoid cross origin permissions 2015-01-24 15:50:46 +05:30
rolux
47b181d8cf users dialog: export selected emails only (if one or more users are selected) 2015-01-22 14:37:17 +05:30
j
8096bc6a20 import json should work with in/out/value too 2015-01-15 12:13:41 +01:00
j
e44703854e update video preview once encoding is done 2015-01-02 01:10:05 +01:00
j
9efd77724d add option to select default view for list in dialog and use if user has no list settings, fixes #2636 2015-01-02 00:26:04 +01:00
j
5c31e3870d also add toolbar to /edits 2014-12-26 23:16:13 +00:00
j
eb3fbfec82 add <sitename> Edits title to /edits, closes #2629 2014-12-26 23:12:54 +00:00
j
1baec5457e manage entities dialog broken if no entites are defined, disable in menu 2014-12-26 12:30:43 +00:00
j
0485a95b2f fix parsing url parsing of id/annotation, closes #2635 2014-12-26 12:03:42 +00:00
rolux
649cdbd792 wording 2014-12-23 14:52:19 +00:00
rolux
2a6ad5c040 fix #2500 (dialog size) 2014-12-23 12:48:12 +00:00
rolux
5fbb001c1b in similarClipsDialog, use getItemTitle 2014-12-23 12:01:31 +00:00
rolux
c4eb5f0bbd typo 2014-12-22 22:26:40 +00:00
rolux
b22b8c97d5 delete entitiesDialog on close 2014-12-22 22:21:59 +00:00
rolux
07fac33b9a refactoring 2014-12-22 22:21:42 +00:00
rolux
f3af1b70a0 remove site.flags, add 'flag' item key property; update 0xDB config; update filter.js 2014-12-22 10:43:23 +00:00
j
6c6693e922 api rename: getPlaceNames/getEventNames to getPlaces and getEvents, fixes #2609 2014-12-22 10:35:39 +00:00
j
ed8f8517c5 rename api: statistics->getStatistics, fixes #2603 2014-12-22 10:31:23 +00:00
j
39cdfc131b fix list for undefined values, i.e. resolution 2014-12-21 15:30:52 +00:00
rolux
8b6b23eaf5 update api dialog 2014-12-21 12:55:06 +00:00
rolux
0e21b1cd4a fix #2602 (handle annotation layers with type 'entity' in advanced find) 2014-12-19 16:10:48 +00:00
rolux
09b9b1d90e update api example 2014-12-18 19:26:22 +00:00
rolux
3024c0225b typo 2014-12-18 18:43:28 +00:00
rolux
379fb0f478 typo 2014-12-18 15:57:40 +00:00
rolux
c26628bf7f update api docs parser 2014-12-18 15:57:06 +00:00
rolux
c97fcab951 update api docs parser 2014-12-18 15:54:50 +00:00
rolux
77119b8f2e update api docs parser 2014-12-18 15:42:05 +00:00
rolux
006b19af54 update api docs parser 2014-12-18 15:35:35 +00:00
rolux
ae9e195d7d update api docs parser 2014-12-18 15:33:58 +00:00
rolux
bc47a8759e typo 2014-12-18 15:31:30 +00:00
rolux
f5520ede2a update api docs parser 2014-12-18 15:31:19 +00:00
rolux
82e611dae3 typo 2014-12-18 15:30:22 +00:00
rolux
2a93ad0908 update api docs parser 2014-12-18 15:29:41 +00:00
rolux
8cf134f988 update api docs parser 2014-12-18 15:26:09 +00:00
rolux
e43769e75d update api docs parser, remove debugging code 2014-12-18 15:23:19 +00:00
rolux
6bd1260d11 debugging 2014-12-18 14:55:48 +00:00
rolux
fb0d985533 typo 2014-12-18 14:52:13 +00:00
rolux
3a1d387dce update api docs parser 2014-12-18 14:48:57 +00:00
rolux
5c27244767 update api docs parser 2014-12-18 14:47:56 +00:00
rolux
e8d15c1a87 update api docs parser 2014-12-18 14:45:54 +00:00
rolux
3223b291ae update api docs parser 2014-12-18 14:43:11 +00:00
rolux
35ab1fe547 typo 2014-12-18 14:41:52 +00:00
rolux
8db147a557 typo 2014-12-18 14:38:05 +00:00
rolux
d94a48d910 update api docs parser 2014-12-18 14:37:23 +00:00
rolux
60dda6d3af update api docs parser 2014-12-18 14:35:01 +00:00
rolux
72830e70b8 update api docs parser 2014-12-18 14:30:06 +00:00
rolux
3f83a539e4 update api docs parser 2014-12-18 14:27:36 +00:00