Compare commits

...

4 commits

Author SHA1 Message Date
j
0b8ea2d517 space 2019-07-22 11:11:42 +02:00
j
115f05625c ignore old migrations 2019-07-22 11:11:34 +02:00
j
33b105b9b8 avoid password autocompltee 2019-07-22 11:11:25 +02:00
j
f838a6be60 default to multiple videos 2019-07-22 11:11:04 +02:00
4 changed files with 14 additions and 10 deletions

View file

@ -117,14 +117,6 @@ pandora.ui.addFilesDialog = function(options) {
) )
}); });
} else { } else {
selectItems.push({
id: 'one',
title: Ox._(
'Create one {0} with multiple parts',
[pandora.site.itemName.singular.toLowerCase()]
)
});
}
if (options.items.length > 1) { if (options.items.length > 1) {
selectItems.push({ selectItems.push({
id: 'multiple', id: 'multiple',
@ -134,6 +126,14 @@ pandora.ui.addFilesDialog = function(options) {
) )
}); });
} }
selectItems.push({
id: 'one',
title: Ox._(
'Create one {0} with multiple parts',
[pandora.site.itemName.singular.toLowerCase()]
)
});
}
var $select = Ox.Select({ var $select = Ox.Select({
items: selectItems, items: selectItems,
width: 256 width: 256

View file

@ -47,6 +47,9 @@ pandora.ui.preferencesDialog = function() {
validate: pandora.validateNewPassword, validate: pandora.validateNewPassword,
width: 320 width: 320
}) })
.attr({
autocomplete: 'new-password'
})
.bindEvent({ .bindEvent({
validate: function(data) { validate: function(data) {
data.valid && pandora.api.editPreferences({password: data.value}); data.valid && pandora.api.editPreferences({password: data.value});

View file

@ -406,7 +406,7 @@ pandora.createLinks = function($element) {
pandora.uploadDroppedFiles = function(files) { pandora.uploadDroppedFiles = function(files) {
var documentExtensions = ['pdf', /* 'epub', 'txt', */ 'png', 'gif', 'jpg']; var documentExtensions = ['pdf', /* 'epub', 'txt', */ 'png', 'gif', 'jpg'];
files = Ox.map(files, function(file) { return file}); files = Ox.map(files, function(file) { return file });
if (files.every(function(file) { if (files.every(function(file) {
var extension = file.name.split('.').pop().toLowerCase() var extension = file.name.split('.').pop().toLowerCase()

View file

@ -332,6 +332,7 @@ if __name__ == "__main__":
'-- Model missing for table: djcelery_intervalschedule\n', '-- Model missing for table: djcelery_intervalschedule\n',
'-- Model missing for table: djcelery_workerstate\n', '-- Model missing for table: djcelery_workerstate\n',
'-- Model missing for table: djcelery_taskstate\n', '-- Model missing for table: djcelery_taskstate\n',
'-- Model missing for table: south_migrationhistory\n',
'-- Model missing for table: cache\n', '-- Model missing for table: cache\n',
]: ]:
if row in diff: if row in diff: