Commit graph

244 commits

Author SHA1 Message Date
j
90a49b2a4d ui.onload -> user.script, fixes #2697 2015-02-21 10:32:48 +00:00
rolux
8c64ccb50f getSpan: lowest page is 1; typo 2015-02-05 07:41:06 +00:00
rolux
6bb5b4b5ce getSpan: parse document spans 2015-02-05 11:45:37 +05:30
rolux
79ebfcc5e3 revert 4769 2015-02-05 11:12:09 +05:30
j
8a2408ff7e include page in url of pdf documents 2015-02-04 15:42:16 +05:30
j
1be9bb04a8 only check for status changes if item has files 2015-02-04 08:29:08 +00:00
j
3c8d7a90c8 dont check render status while upload is running 2015-02-03 09:56:18 +05:30
j
0485a95b2f fix parsing url parsing of id/annotation, closes #2635 2014-12-26 12:03:42 +00:00
rolux
0803046030 fix infinite loop in pandora.clickLinks if is an Ox.Element 2014-12-15 20:05:26 +00:00
j
5840e3bd76 only reload if pandora..editPanel exists 2014-11-21 17:01:01 +00:00
j
7e5b46a5f0 use void 0 2014-11-21 16:52:09 +00:00
j
ee76256bae only use paste index if editPanel is loaded 2014-11-21 16:50:11 +00:00
j
fb5a5c5cf7 add itemTitleKeys to config and move getItemTitle to its own file, use everywhere title strings are used 2014-11-21 14:26:50 +00:00
rolux
e30af55053 typo 2014-11-20 21:33:05 +00:00
rolux
f57a2afa47 fix createLinks 2014-11-20 21:32:42 +00:00
rolux
33d05f0cab typo 2014-11-20 21:25:49 +00:00
rolux
93b3d73398 fix createLinks 2014-11-20 21:25:04 +00:00
rolux
8cb557738b fix createLinks (image links etc.) 2014-11-20 21:20:59 +00:00
rolux
08f7b1856c update pandora.getPart 2014-11-20 13:37:02 +00:00
rolux
1e3fa3c98e fix #2559 (extra history entry added when resolving annotation id breaks back button) 2014-11-15 14:13:42 +00:00
j
9b8a9b4ebe censored empty subtitles 2014-10-06 14:54:54 +02:00
j
93964086ea subtitles is undefined 2014-10-06 14:45:03 +02:00
rolux
3a764b38f9 Ox -> Ox.UI 2014-09-26 14:30:51 +02:00
rolux
bd190b4695 SCROLLBAR_SIZE -> UI.SCROLLBAR_SIZE 2014-09-26 14:12:25 +02:00
rolux
b1353bad96 remove pandora.hasFocusedInput (use Ox.Focus.focusedElementIsInput); Ox.UI -> Ox 2014-09-25 18:50:44 +02:00
j
d568821c3f one more focusedElement 2014-09-24 00:34:20 +02:00
rolux
57bc6af6f4 cosmetic changes 2014-09-23 23:56:59 +02:00
j
3ab0e4ba1e use SplitPanel.toggleElement 2014-09-22 16:55:12 +02:00
j
dbac45f7ac fix tv subtitles 2014-09-16 13:30:53 +02:00
j
8aa95d35f2 pass subtitlesDefaultTrack and resolution in editor 2014-09-16 13:07:09 +02:00
j
09f30b3c5a subtitles in edits 2014-09-13 23:59:23 +02:00
j
0af1b545d1 fix tv, fix censored 2014-09-13 22:18:46 +01:00
j
35c9ce73cc options.subtitles still needed in tv mode 2014-09-12 20:11:50 +01:00
j
2cb1873e51 use site language as audioTrack if possible 2014-07-24 19:35:25 +02:00
j
afae94a1be pass audioTrack, expand languages before passing 2014-07-24 19:21:57 +02:00
j
32719a212c pass languages and audio track to player 2014-07-23 17:45:39 +02:00
j
d6b5fa6993 check if video is done while in a view that might benefit from it: info or video view 2014-04-11 18:32:17 +00:00
j
614e7f0d09 store on-load script on server (ui.onload), fixes #1850 2014-04-09 15:44:28 +00:00
j
e4e7fb87b1 only use enabled languages 2014-04-01 14:23:33 +00:00
j
da77fa00d9 dont open mailto: links via /url=, fixes #2349 2014-03-03 20:08:55 +00:00
rolux
c6afcafbdd fix #319 (remove annotation font size) 2014-02-18 06:33:24 +00:00
j
63621399af Fix New Smart Edit from Results/Selection 2014-02-17 13:39:04 +00:00
j
668368ea35 keep list/edit/text settings on rename, fixes #1264 and #2228 2014-02-17 12:59:32 +00:00
rolux
642c5e2288 add draganddroppause to list of events that are not logged 2014-02-17 09:20:45 +00:00
j
e8e4639dce wrap more strings 2014-02-14 15:23:59 +00:00
rolux
da53817a20 fix var name 2014-02-14 05:47:27 +00:00
j
cd0284a15c wrap more strings 2014-02-13 16:24:52 +00:00
rolux
cc5ee75564 fix #2302 (Regression: Using find in Manage Favorite/Featured breaks layout) 2014-02-13 15:53:26 +00:00
rolux
9595b2555d utils: use getPasteIndex 2014-02-12 14:55:15 +00:00
rolux
671ef01245 update pandora.getItemIdAndPosition 2014-02-12 12:27:41 +00:00
rolux
d4a206a41a isClipView/isVideoView: if no arguments are present, take into account ui.section 2014-02-12 13:39:01 +05:30
rolux
0477a67f5a fix #2265 (Can't set edit to private if it has subscribers) 2014-02-10 14:04:02 +05:30
rolux
0cc7e70090 don't truncate 'all edits' text 2014-02-09 12:37:33 +00:00
rolux
bd72abae6e getSort: only return one sort object (otherwise, multiple comma-separated keys will appear in the URL) 2014-02-09 09:16:33 +00:00
rolux
8cb86ab9c2 add pandora.getSort, some refactoring, allow for caching url parsing related requests, if possible 2014-02-09 06:38:18 +00:00
rolux
8652d2e230 display clip count in list of edits 2014-02-08 17:34:12 +00:00
rolux
56995b8dd7 fix #2229 (Duplicating a featured list/edit should not produce a featured item) 2014-02-08 16:07:49 +00:00
rolux
50d122f54b fix bugs related to 'New Edit from Selection' 2014-02-07 08:07:45 +00:00
rolux
de8c824c2b always enable 'New Edit from Selection' in edit section, use editPanel.getSelectedClips 2014-02-07 06:41:43 +00:00
rolux
53a3d37d74 handle creating edit from items section 2014-02-06 14:54:24 +00:00
j
2dd0fae7d9 pass clip id with videos 2014-02-06 14:23:29 +00:00
rolux
fa1f78cb9a remove print statement 2014-02-05 13:52:57 +00:00
rolux
faf6917d4b addEdit + addList = addFolderItem 2014-02-05 13:37:59 +00:00
j
d5f697415f send annotation id not annotatoin id + clip id, fixes #2180 2014-02-04 11:15:29 +00:00
j
1702b37877 use the right index while adding clips to an edit 2014-02-03 12:50:17 +00:00
rolux
f8890ed015 add placeholders for empty folders, fixes #250 2014-02-03 08:58:23 +00:00
rolux
c8413345b9 fix a bug in getListData 2014-02-03 10:31:43 +05:30
rolux
e881cdb18a remove leading 'List'/'Text'/'Edit' from document.title 2014-02-03 09:51:09 +05:30
rolux
c0c642bea5 document.title: remove username from list/edit/text 2014-02-03 09:21:14 +05:30
rolux
7e40b3ab02 include 'All Movies' in document.title 2014-02-03 09:17:55 +05:30
j
a7d11d04f2 cross domain canvas is hard 2014-02-02 19:50:33 +00:00
rolux
7838120a92 fix #2118 (document.title: '– sitename' should come last) 2014-02-02 18:39:01 +00:00
j
cf0ee0d34d remove debug Ox.print 2014-02-02 18:29:47 +00:00
j
57503c7eb5 include clip conditions from smart lists in clip queries, fixes #2134 2014-02-02 12:45:10 +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
j
f933a984e2 show sidebar after adding list, fixes #2144 2014-02-02 01:18:28 +05:30
j
b346be26d0 Various Document fixes 2014-01-20 11:13:07 +00:00
rolux
a49c0ec276 add missing semicolons 2014-01-18 00:49:50 +00:00
j
880aa60945 inital version of document urls 2014-01-17 13:49:11 +00:00
rolux
837471c50a don't log mousewheel event, fixes #1993 2014-01-07 14:01:29 +00:00
rolux
886794e4a3 cosmetic changes 2013-12-29 17:33:42 +05:30
j
1ac95407f8 hotfix for embedded links, pandora.isEmbeddableView needs to be fixed 2013-12-24 06:52:27 +00:00
j
941c4f9759 dont use window.top, throws security exception 2013-12-23 14:51:46 +00:00
j
d19050756f use window.top.open to fix links inside iframes 2013-12-23 14:13:32 +00:00
j
d74a264a6a use direct download for private items. Torrents only work if item is public 2013-11-18 09:52:44 +00:00
j
dca703a4ee allow data-name attribute in texts and use for navigation 2013-11-10 22:01:25 +00:00
rolux
119f85d76e parse text spans 2013-11-08 17:28:35 +00:00
rolux
82fa80a4f9 fix getting subtitlesLayer 2013-10-22 17:42:35 +00:00
rolux
e18ea23a75 make subtitlesLayer part of object returned by getVideoOptions 2013-10-22 17:49:20 +02:00
rolux
55bc138775 fix #1909 (that.resize -> that.resizeElement) 2013-10-22 15:57:35 +02:00
j
f3c9d7b7af add option to have direct download instead of torrent 2013-09-14 14:09:37 +00:00
j
377acbb7eb dont use undefine variable 2013-09-10 17:31:20 +02:00
j
e1760e7b50 get[section], fixes #1834 2013-08-26 17:05:49 +00:00
j
58081e1f16 fix text resize, edit title/redirect 2013-08-17 16:32:33 +02:00
rolux
1e10fb5967 use Ox.decodeURI/Ox.decodeURIComponent 2013-08-14 18:54:06 +00:00
rolux
d474bdbee8 cosmetic changes 2013-08-11 07:31:29 +00:00
rolux
19ab463eca floor -> ceil (avoid black gaps on large edit timeline) 2013-08-10 14:29:32 +00:00
rolux
c4f3666601 fix #1797 (canvas width has to be < 32,768) 2013-08-10 14:24:06 +00:00
rolux
93ef9d9f6a make clip edit part of history 2013-08-09 18:36:02 +00:00
rolux
620890389d properly mutate history after adding clips 2013-08-09 17:14:30 +00:00
rolux
ca75a1dc94 rewrite history on join and split (added items will have new ids) 2013-08-09 16:42:41 +00:00
rolux
c6aaacdf90 fix clip drag & drop 2013-08-09 14:35:59 +00:00
rolux
e7cbb9cf82 add some support for undo/redo join/split; fix type test 2013-08-09 13:45:09 +00:00
rolux
04eff288dd history: add split and join 2013-08-09 12:53:36 +00:00
rolux
08325ab399 don't insert at index -1 2013-08-08 17:08:59 +00:00
rolux
086682548f fix (some) copy & paste bugs in edits 2013-08-08 17:04:21 +00:00
rolux
83dbe50894 fix (some) copy & paste bugs in edits 2013-08-08 15:51:57 +00:00
rolux
8236c1c4fa cosmetic changes 2013-08-08 14:44:59 +00:00
rolux
d1ab4beb36 handle preferences part; add pandora.setTheme 2013-08-08 11:01:23 +00:00
rolux
8f5abd2cc1 in main menu, bind to history events 2013-08-06 19:07:46 +00:00
rolux
f342e9ec84 cosmetic changes 2013-08-04 18:05:56 +00:00
rolux
6117438fbe default locale is default user locale (no need for separate config property); fix typo in default description 2013-08-04 14:37:35 +00:00
rolux
d0ab48cdbc history: always store items per target (i.e. always wrap in array) 2013-08-04 11:47:01 +00:00
rolux
ce8ea1361f fix move calls 2013-08-04 11:38:31 +00:00
rolux
268fb559d9 fix getType test 2013-08-04 11:30:02 +00:00
rolux
ea52a2c46f fix getType test, fix typo 2013-08-04 11:27:52 +00:00
rolux
ba5f39bac5 handle undo/redo for (partially or fully) unsuccessful copy/paste/move operations 2013-08-04 11:20:46 +00:00
rolux
9942e4aa16 fix #1749 (don't create a new history entry when renaming a list) 2013-08-03 19:35:29 +00:00
rolux
acd70661d9 use same code path for document.title and item title in toolbar 2013-08-03 17:38:33 +00:00
rolux
d73dc8eb52 no director is empty array, not falsy 2013-08-03 17:30:24 +00:00
rolux
d5e36b6296 update document.title for items 2013-08-03 17:18:21 +00:00
rolux
8275fb69a1 in document.title, use mdash as separator 2013-08-03 16:32:21 +00:00
rolux
d25368b6b6 update undo/redo menu text 2013-08-03 14:54:46 +00:00
rolux
d8e6e18855 handle undo copy when copy target is the current list 2013-08-03 14:39:39 +00:00
rolux
c35445f498 add timeout before reloading list after undo/redo 2013-08-03 14:35:28 +00:00
rolux
2c78b2fadf first update lists, then reload list 2013-08-03 14:28:43 +00:00
rolux
7fc6fbc14a remove print statement 2013-08-03 14:27:50 +00:00
rolux
1cfdd81dca first update lists, then reload list 2013-08-03 14:27:22 +00:00
rolux
7f5eb4d1b5 fix list item count update after undo/redo 2013-08-03 14:20:14 +00:00
rolux
decb6ba0c2 fix list item count update after undo/redo 2013-08-03 14:18:29 +00:00
rolux
9045cefa1a typo 2013-08-03 14:15:51 +00:00
rolux
64c1658937 remove print statement 2013-08-03 14:14:58 +00:00
rolux
ce1eb4d262 remove print statement 2013-08-03 14:12:51 +00:00
rolux
9fee13dd68 add pandora.doHistory, pandora.redoHistory and pandora.undoHistory; use history in drag & drop 2013-08-03 14:02:32 +00:00
rolux
22c0813a9b utils: add isVideoView ('video' is a video view, not a clips view); don't throw when calling getListData on load 2013-08-02 15:07:54 +00:00
rolux
b0ecc8b077 make cancelling requests and clearing cache part of appPanel.reload 2013-07-29 08:46:55 +00:00
rolux
f20b48d50a avoid JS error on application reload 2013-07-22 13:14:58 +00:00
rolux
197c5ca9ff during drag clip to edit, left panel section != ui.section, so pass section to utility functions (resizeFolders, getFoldersWidth, getFoldersHeight, getInfoHeight, getAllItemsTitle) 2013-07-18 10:42:16 +00:00
rolux
0872435c91 add drag & drop to clip list in grid view 2013-07-18 09:52:38 +00:00
rolux
5e3e4de939 update wording of message when trying to drag & remove clips from a list in item view 2013-07-18 08:13:47 +00:00
rolux
069cfc155d fix preview in 'always show site poster' mode 2013-07-17 14:12:05 +00:00
j
5489823a61 dont set default locale in user.ui and use first browser locale by default if available and fall back to site default after that, fixes #1578; load locale from unjoined json files in debug mode 2013-07-17 10:24:22 +00:00
j
24afe66c75 merge pandora.enableDragAndDrop and -pandora.enableDragAndDropClip 2013-07-16 14:04:21 +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/utils.js (Browse further)