Commit graph

2444 commits

Author SHA1 Message Date
j
bf1dde53d6 fix ignoring media files without instances 2015-03-23 11:27:34 +05:30
j
15e2f1e844 exit on error 2015-03-20 05:31:05 +00:00
9ac5dc7ba9 [PATCH] Fix find()'s docs on nested subconditions
The documentation says that you need to write (P & Q) | R
like this:

{
    'conditions': [
        {
            'query': {
                'conditions': [P, Q],
                'operator': '&'
            }
        },
        R
    ],
    'operator': '|'
}

but actually you need to omit the { 'query': ... } wrapping the
subclause. Including it crashes parseCondition() at:

    v = condition['value']

for the obvious reason.
2015-03-05 14:17:02 +05:30
j
1ed91da4e0 fix import 2015-02-26 06:07:18 +00:00
j
deda6252f1 keep entity annotation find/sort values in sync with entities 2015-02-26 06:04:16 +00:00
j
7377de62f7 remove all sessions of user on signout, fixes #2700 2015-02-25 18:17:35 +00:00
j
90a49b2a4d ui.onload -> user.script, fixes #2697 2015-02-21 10:32:48 +00:00
j
441cb9892a allow updates of file metadata for files with info 2015-02-21 15:35:01 +05:30
j
6693bfcd0f return document or 404 no 500 2015-02-20 15:13:23 +00:00
j
2a63a3b300 dont include null values in lookup 2015-02-16 16:12:44 +00:00
j
484b33e39d add option to return item keys in findAnnotation 2015-02-16 16:10:45 +00:00
j
2e246dd06e cleanup 2015-02-16 16:02:18 +00:00
j
7ae02d5678 implement lookup 2015-02-16 16:00:26 +00:00
j
a2e23739b8 return id in response, fixes #2058 2015-02-14 18:29:58 +00:00
j
f144a020ec typo 2015-02-13 17:32:12 +00:00
j
f7bbcf027a fix findvalue for entity annotations 2015-02-13 15:22:14 +00:00
j
ccfaa7db4a add entity/document relation 2015-02-13 11:06:09 +00:00
j
f680d8613e make sure sortvalue is lowercase, fixes #2667 2015-02-06 12:12:32 +00:00
j
b5212f2662 add leading word matches, fixes #2663 2015-02-06 15:16:41 +05:30
j
ad8db3a293 return html value for entities 2015-02-06 15:11:19 +05:30
j
d492619be6 entity names are only unique by type 2015-02-06 12:42:19 +05:30
j
c1066ad7f1 user agent might not be set 2015-02-06 11:08:10 +05:30
j
243c1958c1 dont import empty subtitles 2015-02-06 10:57:14 +05:30
j
ed5bc510a9 ignore subtitles with in > out 2015-02-05 18:29:18 +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
j
809486b43c cropped thumbnails of image documents 2015-02-05 08:08:28 +00:00
j
9273d7b3ba make subtitles in/out/value unique before importing 2015-02-04 15:56:37 +05:30
j
9a3c24b2ab only call update_timeline once during first import, adds empty clips twice otherwise 2015-02-04 15:10:51 +05:30
j
4ed0d56f4f add mkv cues to audio only files to fix seeking in firefox 2015-02-04 00:09:22 +05:30
j
28e8676f33 add ui.part.entities to config 2015-02-03 23:20:35 +05:30
j
437391caf9 load info from stream in file has no info 2015-02-03 23:20:16 +05:30
j
83393ee385 name must be unicode 2015-02-03 18:44:05 +01:00
j
f1f9c7369b fix default itemview for existing lists 2015-01-29 08:54:27 +00:00
j
bb1f17e241 fix default list view 2015-01-29 14:10:32 +05:30
j
5810efbc4a limit canEditFeatured* to staff/admin 2015-01-25 11:23:32 +05:30
j
5347c2e619 dont fail if condition does not have a value 2015-01-24 16:00:24 +05:30
j
708e6e5b2c fixx add movie 2015-01-24 15:49:57 +05:30
j
5dc7564b4f make init_db less verbose 2015-01-19 18:03:10 +00:00
j
bf65abae55 turn database initialization into a manage.py command 2015-01-19 16:34:21 +01:00
j
6cd2eaf93a extract some information about currently running encoding jobs 2015-01-08 17:01:03 +01:00
j
e1bc418e0c use one version of ffmpeg for all tasks, remove avconv dependency, fixes #2606 2015-01-05 16:07:55 +00: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
24f81cdeae add item as valid key for findAnnotations 2014-12-28 11:39:08 +01:00
j
f1db36dd26 dont fail with no added annotations 2014-12-23 15:21:05 +00:00
j
3b8abd7d23 fix editing annotation in/out 2014-12-26 13:00:54 +00:00
j
6741ae85e6 add default values for entities to conifg.*.json 2014-12-26 12:43:49 +00:00
j
913599697e entities can be empty 2014-12-26 12:19:36 +00:00
j
139a5e3722 handle cut issues 2014-12-23 12:49:59 +00:00
rolux
ca197eafaf update config docs 2014-12-23 12:38:22 +00:00
j
6662872225 remove unused import 2014-12-23 11:28:42 +00:00
rolux
2e3d828b08 config bug 2014-12-23 11:27:05 +00:00
j
4c582c14b5 better related name 2014-12-22 14:29:30 +00:00
j
dc1cd6e410 remove videoprefix from config, defined by backend 2014-12-22 10:51:13 +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
ebcd419854 rename api, sortName->getSortName; add getSortTitle: fixes #2605 2014-12-22 10:29:27 +00:00
rolux
0be16d93a6 config docs (wording) 2014-12-21 14:51:42 +00:00
rolux
90173cce4b add example entity to default config 2014-12-21 14:47:47 +00:00
rolux
ea1a94e9e4 update api docs (omissions, wording, typos) 2014-12-21 13:03:49 +00:00
rolux
0f1ecec5b5 update api docs (find) 2014-12-21 12:46:35 +00:00
rolux
8f8fab9522 update config docs (reload vs restart) 2014-12-21 11:59:58 +00:00
rolux
2ba41cd89d update confic docs (minor changes) 2014-12-21 11:53:29 +00:00
rolux
1e3daf4b33 update confic docs ('random' item key, 'additionalSort') 2014-12-21 11:44:35 +00:00
rolux
0dd956e231 update api docs ('my groups' query) 2014-12-21 11:34:41 +00:00
rolux
07e35a8ab2 update config docs (enums, 'My Videos' list) 2014-12-21 11:31:17 +00:00
rolux
f77c1174a3 minor config update 2014-12-20 20:15:42 +00:00
rolux
ab892a78a8 config docs, minor update 2014-12-20 20:09:37 +00:00
rolux
1f39230989 config docs, minor update 2014-12-20 19:54:57 +00:00
rolux
f200672295 config docs, minor update 2014-12-20 19:51:46 +00:00
rolux
4ff0c41c64 more config documentation 2014-12-20 19:34:28 +00:00
rolux
724839c28b api docs (wording) 2014-12-20 17:36:38 +00:00
rolux
07b7900788 fix a bug in 'find' documentation 2014-12-20 17:35:23 +00:00
rolux
0367076f8f update config documentation 2014-12-20 16:55:19 +00:00
rolux
869d3f548e update config documentation 2014-12-20 16:39:24 +00:00
rolux
d5643722bc update config documentation 2014-12-20 16:32:36 +00:00
rolux
98cc4c5f9a minor change 2014-12-19 19:36:34 +00:00
j
f56218e33a dont fail if /api/upload is called without the right arguments, render api page: fixes #2611 2014-12-19 16:02:32 +00:00
rolux
31c3cc908b cosmetics 2014-12-19 15:49:16 +00:00
rolux
23ea99734d add missing link in docs 2014-12-19 15:47:15 +00:00
rolux
3d1c816950 cosmetics 2014-12-19 15:37:00 +00:00
rolux
3950213960 update api docs 2014-12-19 15:31:57 +00:00
rolux
cada20f904 update api docs 2014-12-19 15:05:08 +00:00
rolux
5ac0c04d37 update api docs 2014-12-19 13:20:53 +00:00
rolux
4a084d8405 update api docs 2014-12-19 12:59:10 +00:00
rolux
1ddc23b9f3 update api docs 2014-12-18 22:16:37 +00:00
j
0e425c6df1 dont create torrent file if torrents are disabled 2014-12-18 21:46:18 +00:00
rolux
74772171c2 cosmetic changes 2014-12-18 20:59:49 +00:00
rolux
bd2d9f2e57 update api docs 2014-12-18 20:56:28 +00:00
rolux
6bd001a10a update api docs 2014-12-18 20:16:41 +00:00
rolux
0a56268b92 update api docs 2014-12-18 19:26:37 +00:00
rolux
ec508dd6b7 update api docs 2014-12-18 18:43:35 +00:00
j
3088beb5bc layer 2014-12-18 18:26:34 +00:00
rolux
7cfdf7b8db update api docs 2014-12-18 18:18:18 +00:00
j
9c28041171 fix edit call (changelog) 2014-12-18 17:39:48 +00:00
rolux
8fd99ac1be update api docs 2014-12-18 16:39:47 +00:00
rolux
b78cc2c3f0 update api docs 2014-12-18 14:51:35 +00:00
rolux
51ad1475e0 update api docs 2014-12-18 13:49:51 +00:00
rolux
f38d3441a0 typo 2014-12-18 13:40:41 +00:00
rolux
cf836ec172 add api docs 2014-12-18 13:38:20 +00:00
j
beca371b43 handle unknown entities. 2014-12-17 19:20:00 +00:00
j
a1008f87c9 findChangeLogs is bound to canManageUsers 2014-12-17 14:01:06 +00:00
j
ed7c5b8a6d its created not date. 2014-12-17 13:56:45 +00:00
j
9e9bf30c42 add new changelog and call add_changelog all over the place 2014-12-17 13:45:46 +00:00
j
3aa9f19d31 use entity name as filter value 2014-12-16 19:42:41 +00:00
j
34506d5b99 entity sort name 2014-12-16 17:44:05 +00:00
j
50fcb08a86 pass type 2014-12-16 16:45:35 +00:00
j
901bd37e90 resolve entity to name, get_by_name for add/edit annotation api calls 2014-12-16 16:39:45 +00:00
j
536834a03c use name sort for entities if sortType is person 2014-12-16 15:46:04 +00:00
j
15fb864d74 get entity by id after all 2014-12-16 15:21:24 +00:00
j
61bf668957 only return name, leading matches first 2014-12-16 14:59:53 +00:00
j
d52dc11b4c get entity by name 2014-12-16 14:59:21 +00:00
j
44ae4db25a rename error log api, fixes #2591 2014-12-16 13:44:42 +00:00
j
2f154aa610 add basic changelog api 2014-12-16 13:44:27 +00:00
j
3946875188 chnage editEntities argument names, fixes #2594 2014-12-16 13:36:37 +00:00
j
cfa89206fe add autocompleteEntities 2014-12-01 19:25:01 +01:00
j
290994fceb update config for all sites 2014-12-01 18:13:17 +01:00
j
c0e665eb67 only match sections at top level 2014-12-01 18:12:22 +01:00
rolux
ea21bde560 merge config changes (documentation) 2014-12-01 17:36:48 +01:00
j
73f5a4cb10 more entity defaults 2014-12-01 17:23:11 +01:00
j
8acfd57d10 dont expect video in file info 2014-11-29 14:40:56 +01:00
j
581d927a22 value can be capability 2014-11-29 14:16:53 +01:00
j
b01ec5ffef add canManageEntities to config.0xdb.jsonc 2014-11-29 13:32:02 +01:00
j
35d978d4c2 migrate celery settings to BROKER_URL 2014-11-26 21:03:27 +01:00
j
9c967c7ac4 update pdf.js to v1.0.907 2014-11-24 00:56:52 +01:00
j
613faa2e3b update poster ratio saving poster, fixes #2517 2014-11-21 18:58:42 +00:00
rolux
cd4002d005 padma/indiancinema config: format duration as HH:MM:SS 2014-11-21 18:23:23 +00:00
j
b8b91592b5 always include empty annotations 2014-11-21 16:24:49 +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
j
a9091db9ef clip_qs 2014-11-21 14:15:42 +00:00
j
c9fa0c78cd add missing imports 2014-11-20 18:30:12 +00:00
j
e98b97842e send 404 not 500 if document does not exist 2014-11-20 13:24:43 +00:00
j
b7ab390425 towards entity layer 2014-11-20 13:20:48 +00:00
j
1571ff4e2e add default canManageEntities 2014-11-20 13:19:33 +00:00
j
c6bd95050a typo 2014-11-20 12:41:41 +00:00
j
60a7beeb23 add user 2014-11-19 19:21:42 +00:00
j
97d8344822 turn <br> into space 2014-11-19 16:54:45 +00:00
rolux
3fa5fa76e9 add 'entities' entry to help 2014-11-19 16:05:23 +00:00
j
2627bff48f space 2014-11-18 18:27:13 +00:00
j
55f9f8b82b typo 2014-11-18 18:21:41 +00:00
j
80ce81ac67 add entities backend 2014-11-18 18:16:28 +00:00
rolux
e5d5ccd7b9 update api docs 2014-11-18 16:19:50 +00:00
rolux
e4842e023e update api docs 2014-11-18 15:57:16 +00:00
rolux
acee02f368 update api docs 2014-11-18 15:45:41 +00:00
j
928cc11663 wrap annotation updates into transactions 2014-11-18 14:55:21 +00:00
j
86ab36c6a6 dont fail without cuts 2014-11-18 14:54:41 +00:00
j
d6c10eb377 add getAnnotation, fixes #2572 2014-11-17 19:56:27 +00:00
j
1ac959623e fix #2570 2014-11-17 16:56:53 +00:00
j
25d794e803 create clips for all annotations 2014-11-17 16:56:30 +00:00
j
16f1dbca93 fix findClips for layers no in clipLayers 2014-11-17 14:12:29 +00:00
j
5a971909d0 dont reload config by default. 2014-11-16 20:41:12 +00:00
j
bf6c12ae0f use ffmpeg > 2.1 for mp4 frames if settings.FFMPEG is defined, fixes #2549 2014-11-16 20:34:55 +00:00
j
a8c1b8385a rebuild poster if itemKey with poster: true is changed 2014-11-16 18:25:54 +00:00
j
51b82ad91d dont try to extract frames from audio files 2014-11-16 14:16:42 +00:00
j
f7f1e6cd78 add itemKey value/map and filterMap options 2014-11-16 13:54:08 +00:00
j
000912dd51 use actuall stream extension in torrents 2014-11-16 12:04:19 +00:00
j
573f034df2 wrap get_frame into transaction to avoid postgres error 2014-11-16 11:23:02 +00:00
rolux
9e5fea2d06 start to improve API docs 2014-11-15 18:39:16 +00:00
j
2a3062e029 fix melt scaling 2014-11-14 23:00:19 +00:00
j
d9a5a75a04 dont call external api if no external api is defined 2014-11-14 20:23:25 +00:00
j
9dcd961fff height must be integer 2014-11-14 17:17:15 +00:00
j
a56428620a dont try to extract frames from audio 2014-11-14 14:05:45 +00:00
j
8cb776eb51 compute edit duration more efficiently 2014-11-10 11:39:38 +01:00
j
e084766e69 add mange command to restart encodes after crash or ctl restart 2014-11-09 14:10:51 +00:00
j
fb32ec7d96 encode to tmp name and rename once done 2014-11-04 15:38:00 +02:00
j
62b07fcc8e handle unicode usernames/titles 2014-11-04 15:04:07 +02:00
j
02333c2ad0 canManageTitlesAndNames 2014-11-04 12:36:27 +02:00
j
d12121d229 more thumbnail cleanups 2014-11-01 18:09:33 +02:00
j
f4779195a2 fix pdf ratio 2014-11-01 15:42:16 +02:00
j
563bbd5b0e set filesystem_encoding while creating torrent 2014-10-29 01:44:29 +01:00
j
ef44a4f213 filters values can only be strings. strip tags 2014-10-28 11:27:57 +00:00
j
d6513d4570 return item id, exclude empty annotations 2014-10-26 17:44:36 +00:00
j
e95c9011e7 fix multilanguage resolution 2014-10-24 10:32:16 +01:00
j
cddf742efd partTitle->part_title, fixes #2515 2014-10-17 17:49:01 +02:00
j
91897832be dont try to escpe numbers 2014-10-17 17:04:47 +02:00
j
1f9e252ffb use ox.makedirs 2014-10-16 21:59:38 +02:00
j
d599781d50 allow users to only edit there own groups 2014-10-15 09:45:11 +00:00
j
ef0aca6acb allow users to edit groups but only show there groups, disable other groups to not allow removing them 2014-10-15 09:34:27 +00:00
j
aacc712869 only parse avconv major version 2014-10-10 15:58:54 +02:00
j
4c35340f38 add manage.py update_config_documentation 2014-10-08 17:55:55 +02:00
j
de8f9b7cd9 descriptions can contain quotes 2014-10-07 12:15:45 +02:00
j
f97acf8e2f only look at media files for languages 2014-10-06 14:51:53 +02:00
j
ce8803d100 dont use local ffmpeg if format is not webm 2014-10-06 10:14:39 +00:00
j
e4c6a671a6 fix mp4 encoding in ubuntu 14.04 2014-10-06 10:54:20 +02:00
j
ceb507020b data is passed to api functions now 2014-10-06 08:26:43 +00:00
j
c076579300 only get file if we have a chunk 2014-10-05 14:58:53 +02:00
j
991ef93876 totals admin: true -> capability, fixes #2504 2014-10-02 20:08:38 +02:00
j
dd2fca85a4 move sendReferrer into site, fixes #2505 2014-10-02 19:57:30 +02:00
j
a894a39c4d more groups api 2014-10-01 15:56:16 +02:00
j
bb8bef991f set h264 level to 3.0 (most compatible) 2014-09-30 14:00:40 +00:00
j
76960b4020 fix upload 2014-09-30 13:13:40 +00:00
j
c5fcb813e9 editGroup 2014-09-30 15:12:21 +02:00
j
80fdfb5e38 fix public_id migration for new installs 2014-09-30 13:01:29 +00:00
j
ed0a1acef2 fix typo 2014-09-30 14:43:01 +02:00
j
511858804a add Find: Group to Manage Users, #1878 2014-09-30 14:26:14 +02:00
j
3cdb0e23cc new api calls: getGroups/addGroup/removeGroup 2014-09-30 14:11:55 +02:00
j
7eb30d9776 load width/height into db after saving frame 2014-09-28 14:02:53 +00:00
j
76bbe09a05 cache frame width/height in db 2014-09-28 10:16:25 +00:00
j
4f9ed09ca1 serialize sitemap only once 2014-09-28 10:15:17 +00:00
j
decbf70027 remove unused variables 2014-09-27 19:44:23 +02:00