Commit graph

3238 commits

Author SHA1 Message Date
j
b6dcccb230 toString if needed 2017-12-31 14:59:35 +01:00
j
d76c4191ce localize itemName 2017-12-27 12:26:38 +01:00
j
546f3dca10 add help.ar.html 2017-12-27 12:16:32 +01:00
j
8c25aceb67 escape find values in url 2017-11-16 17:25:52 +01:00
j
3204bc68f6 define url 2017-11-16 15:25:45 +01:00
j
d403125757 default download format 2017-11-14 17:13:41 +01:00
j
7ab94267db common header, custom background color for loading screen 2017-11-06 19:20:37 +02:00
j
db2d37e2bb use pandora.hasCapability 2017-11-06 07:26:49 +02:00
j
bf88243423 set key later 2017-10-26 12:49:57 +02:00
j
4d7c675d29 don't pass google api key, use Ox.Map.GoogleApiKey 2017-10-26 12:42:47 +02:00
j
4decc3bc8c OxJS is no longer new 2017-08-30 21:20:28 +02:00
j
50c0d67c20 call demo pan.do/ra 2017-08-30 21:20:10 +02:00
j
790b08ce77 fix media view 2017-08-30 14:16:17 +02:00
j
ee3b7a1a9a remove text section from sectionFolders, fixes #3047 2017-07-26 15:28:12 +02:00
j
a3304a29f5 decode/encode 2017-07-21 09:08:36 +02:00
j
24dbcae172 refactor media view 2017-07-20 12:36:43 +02:00
j
73b6cfc6c2 placeholder for help translations 2017-07-20 12:26:29 +02:00
j
25a9032bba fix remove from list 2017-06-09 15:25:14 +02:00
j
d6fdb4a8dd fix make private dialog 2017-06-09 13:28:36 +02:00
j
8a83ba5bb8 pass size 2017-06-09 12:33:27 +02:00
j
38341a43c6 show list on click, fixes #3031 2017-06-09 12:25:38 +02:00
j
ac1a567fa4 pass api key 2017-06-09 09:34:49 +02:00
j
eb78fe5fc1 fix date 2017-06-06 16:19:42 +02:00
j
43f1d07dbe fix selecting file without instances 2017-06-06 10:54:54 +02:00
j
5354b52193 only open selected files 2017-06-06 10:49:14 +02:00
j
307852c0c6 open part in player 2017-06-06 10:45:35 +02:00
j
462a9d8ef6 timeline cache 2017-06-06 10:06:27 +02:00
j
5d668d4595 only parse valid dates 2017-06-01 17:03:40 +02:00
j
304afad975 embed from documents 2017-06-01 17:01:55 +02:00
j
cd66553e99 one more clipSize 2017-04-18 11:22:52 +02:00
j
cb3c18e26b use ui.clipSize 2017-04-17 19:31:53 +02:00
j
4445b33718 add ui.editSidebarSize and update on resize, fixes #2716 2017-04-17 18:18:10 +02:00
j
be34383f8c expose per clip volume in edits 2017-04-15 13:45:31 +02:00
j
3a6bfa8946 format dates as dates 2017-03-04 12:05:14 +01:00
j
b92d54e68d add missing key to infoView 2017-03-03 15:29:49 +01:00
j
784bbbae73 map imdb keyword to topic 2017-03-03 12:16:34 +01:00
j
72fdc8ed4d fix sort in collection list view 2017-03-02 12:37:53 +01:00
j
812e8a8345 fix copy from document browser 2017-03-02 12:14:10 +01:00
j
0d51906dd8 renderGroup can return nothing 2017-03-01 12:51:19 +01:00
j
896b57810a fix adding video to current item 2017-03-01 12:22:00 +01:00
j
82d369e58d fix copy&paste documents to item/document via menu 2017-02-21 17:41:03 +01:00
j
2a1b4ece6b fix icon find 2017-02-20 16:54:08 +01:00
j
65c182f410 documentcollection icons 2017-02-20 16:38:23 +01:00
j
9021f6d075 fix edit dialog 2017-02-20 16:30:53 +01:00
j
64e8c1f4b2 render empty item 2017-02-18 12:18:25 +01:00
j
dceee58638 wrap capabilities check to avoid errors for out of sync clients 2017-02-17 19:25:20 +01:00
j
fde4734cd4 update menu 2017-02-15 18:14:10 +00:00
j
bd8d62d7ea clear cache 2017-02-15 19:13:18 +01:00
j
0c7b69f855 icma home 2017-02-15 19:13:04 +01:00
j
2b0f2d7b99 new home 2017-02-15 17:44:59 +00:00
j
a5dfc438d3 fix editing document title 2017-02-15 16:55:45 +00:00
j
dc5fd74d9f call home 2017-02-09 03:50:27 +00:00
j
71d72c611d home 2017-02-09 03:55:31 +01:00
j
b055b3e666 only show manage home if its used 2017-02-07 14:32:41 +01:00
j
620c8a7d96 fix document creation 2017-01-27 12:26:55 +00:00
j
385bf61084 support html in documentDialog 2017-01-27 13:19:42 +01:00
j
85c63d228f manage home dialog 2017-01-26 19:15:00 +01:00
j
3a9c269b5e some collection info 2017-01-26 18:50:52 +01:00
j
8c6d27cf39 add info button/link to document dialog 2017-01-26 18:05:13 +01:00
j
58999918f7 use Ox.$(document|body) instead of pandora.$ui.(document|body) 2017-01-26 17:42:03 +01:00
j
df60dca85f return of the document dialog at /document/<id> 2017-01-25 22:01:40 +01:00
j
b829faf5d6 use home api 2017-01-25 21:51:31 +01:00
j
b50fc23a75 icma infoview cleanup 2017-01-25 21:49:10 +01:00
j
35eb3fdc0c remove text sction from embed dialog 2017-01-25 21:48:44 +01:00
j
35a49c0fd5 plural 2017-01-25 21:47:47 +01:00
j
1bcd960566 document info 2017-01-25 21:47:20 +01:00
j
b1a570ae42 update document context browser 2017-01-25 21:46:22 +01:00
j
0db8ca6c47 document icon, fixes #2987 2017-01-25 17:42:49 +01:00
j
6e698cf32f document rightslevels 2017-01-25 16:38:38 +01:00
j
ff19404e6d more keys 2017-01-25 14:33:20 +00:00
j
bf8c99513b no access to private documents 2017-01-25 00:13:37 +01:00
j
63e8756703 singer 2017-01-24 18:40:17 +01:00
j
605081259a padding 2017-01-24 16:20:04 +01:00
j
5af3120b5a edit rightslevel 2017-01-24 16:19:55 +01:00
j
7a8c340312 new metadata 2017-01-24 14:44:31 +00:00
j
f1f541fc0b list must exist 2017-01-20 15:50:14 +01:00
j
dc9bcd396d update edit panel via keyboard 2016-11-30 11:07:38 +01:00
j
5d6c321321 update documents panel context menu 2016-11-30 11:07:38 +01:00
j
03b5937a4d fix keyboard shortcut to switch document views 2016-11-30 11:07:38 +01:00
j
5cf7c4268a get streams for clips results 2016-11-25 15:03:34 +01:00
j
3003cc2c44 list might be undefine 2016-11-19 13:55:29 +02:00
j
3428ab1fe9 fix video playback in clip list, fixes #2978 2016-11-19 13:55:19 +02:00
j
6acc7ec5f4 HD resolutions should fit 2016-11-06 16:45:58 +01:00
j
e1f35b1ec8 new documents section 2016-10-30 18:23:16 +01:00
j
a5c6c8db08 avoid page requests for multipart items with >100 parts 2016-10-28 18:18:26 +02:00
j
105e00917a use same video keys in all players 2016-10-03 12:45:52 +02:00
j
22beb05b5a use Ox.SCROLLBAR_SIZE 2016-09-25 15:22:27 +02:00
j
4338315d57 more scrollbars, but avoid horizontal 2016-09-23 23:43:28 +02:00
j
2faacac5a8 avoid audio pop 2016-09-23 23:00:04 +02:00
j
a898e2f0c4 scrollbar 2016-09-23 23:00:04 +02:00
j
ee2c59047b add itemKey.advanced if set, key does not show in findElement 2016-09-22 23:05:48 +02:00
j
59bd4fffa8 use loop 2016-09-20 01:17:22 +02:00
j
58c8def046 cleanup events 2016-09-20 01:16:16 +02:00
j
7607afd0c9 cleanup file and request references 2016-09-19 23:43:43 +02:00
j
0fccc86473 cleanup 2016-09-19 23:13:02 +02:00
j
05b9e0b942 file.size is expensive 2016-09-19 23:12:53 +02:00
j
3ce0fbfb81 getFileInfo should only fire once 2016-09-19 23:12:37 +02:00
j
0d61dcd4e0 close media exists 2016-09-19 20:36:14 +02:00
j
2869dbafab use pandora.site.importMetadata 2016-09-19 20:06:44 +02:00
j
803dcc6382 clear autocomplete after infopage edit 2016-09-15 19:15:28 +02:00
j
6c013ebc92 first version of new upload interface 2016-09-15 15:20:57 +00:00
j
3ac08aa806 make moveMedia async 2016-09-08 00:29:31 +02:00
j
4d9761a32c make update_external async 2016-09-07 20:16:25 +02:00
j
e086a93c9c fix progress, fail without file object 2016-08-31 01:30:13 +02:00
j
b3c8a61ce6 fix default infoview 2016-08-28 13:32:21 +02:00
j
e3f6f05f07 Merge branch 'master' of git.0x2620.org:/pandora 2016-08-28 13:02:29 +02:00
j
96fcefb21b add featuring on default info page, its a filter 2016-08-28 12:03:05 +02:00
j
343ab26aa4 limit progress to 1, remove domain from chunk url 2016-08-27 19:45:43 +02:00
j
e23051fe50 use list settings from args if present, fixes #2965 2016-08-25 18:32:28 +02:00
j
e1cacdb67a add task queue api 2016-08-17 14:37:59 +02:00
j
3d6d1be2e6 include oshash in video url to avoid cache issues 2016-08-13 15:36:00 +02:00
rlx
72643eb537 Merge branch 'master' of git.0x2620.org:/pandora 2016-08-13 13:57:03 +02:00
rlx
39c8b8786d add task dialog 2016-08-13 13:56:53 +02:00
rlx
ac791ebf35 cosmetic changes 2016-08-13 13:56:29 +02:00
j
8c928860e1 import url celanup
- only import first url
- pass empty string instead of undefined
- page can contain multiple videos, import as parts
2016-08-10 10:49:58 +02:00
rlx
df89abe6c2 fix import video dialog 2016-08-09 15:46:23 +02:00
rlx
c3a4b227b7 fix import video dialog 2016-08-09 15:32:40 +02:00
rlx
50af217a68 update import video dialog 2016-08-09 15:29:35 +02:00
rlx
3b4da19bd2 typo 2016-08-09 14:25:14 +02:00
rlx
be7b594524 typo 2016-08-09 14:23:46 +02:00
rlx
82cb4de1cc update import dialog layout 2016-08-09 14:22:46 +02:00
rlx
864e52acf6 update import dialog layout 2016-08-09 14:16:58 +02:00
rlx
90486ec774 update menu and config 2016-08-09 13:35:47 +02:00
rlx
8a04bb9625 fix import media dialog 2016-08-09 13:30:31 +02:00
rlx
6f979c1f9d fix import media dialog 2016-08-09 13:28:51 +02:00
rlx
92fb9e3792 fix import media dialog 2016-08-09 13:26:51 +02:00
rlx
adfaa863c3 typo 2016-08-09 13:21:00 +02:00
rlx
5ef6062613 import media dialog 2016-08-09 13:17:48 +02:00
j
9a86ddce01 include upload_date 2016-08-05 17:57:40 +02:00
j
893f2e5423 add importMediaDialog 2016-07-30 02:49:43 +02:00
j
ffe4b03a76 encode pdf url 2016-07-08 14:21:01 +05:30
92a4e77f9b
chunkupload: typo: uplaod -> upload 2016-06-28 16:14:04 +01:00
j
b010aca0a9 s/taskId/id/ 2016-06-15 15:45:51 +02:00
j
d20620a716 name can contain &, decode html first. fixes #2917 2016-05-17 15:25:18 +00: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