/**
 * This is the default configuration file for the Superdesk application. By default,
 * the app will use the file with the name 'superdesk.config.js' found in the current
 * working directory, but other files may also be specified using relative paths with
 * the SUPERDESK_CONFIG environment variable or the grunt --config flag.
 */
module.exports = function(grunt) {
    return {
        bodyClass: {
            'indent-article': 1
        },

        defaultTimezone: 'Europe/Oslo',

        shortTimeFormat: 'HH:mm, DD.MM.YYYY',
        shortDateFormat: 'HH:mm, DD.MM.YYYY',
        shortWeekFormat: 'HH:mm, DD.MM.YYYY',

        startingDay: '1',

        i18n: 'no',

        view: {
            timeformat: 'HH:mm',
            dateformat: 'DD.MM.YYYY'
        },

        features: {
            preview: 1,
            customAuthoringTopbar: true,
            useTansaProofing: true,
            editFeaturedImage: false,
            hideCreatePackage: true,
            customMonitoringWidget: true,
            scanpixSearchShortcut: true,
            noTakes: true
        },

        user: {
            'sign_off_mapping': 'email'
        },

        monitoring: {
            'scheduled': true
        },

        workspace: {
            ingest: false,
            content: false,
            tasks: false,
            analytics: false
        },

        ui: {
            publishEmbargo: false,
            publishSendAdnContinue: false,
            italicAbstract: false
        },

        search_cvs: [
            {id: 'ntb_category', name:'Category', field: 'subject', list: 'category'},
            {id: 'subject', name:'Subject', field: 'subject', list: 'subject_custom'}
        ],

        search: {
            'slugline': 1,
            'headline': 1,
            'unique_name': 1,
            'story_text': 1,
            'byline': 1,
            'keywords': 0,
            'creator': 1,
            'from_desk': 1,
            'to_desk': 1
        },

        list: {
            priority: ['urgency'],
            firstLine: [
                'slugline',
                'takekey',
                'highlights',
                'headline',
                'provider',
                'update',
                'updated',
                'state',
                'versioncreated'
            ]
        },

        item_profile: {
            change_profile: 1
        },

        editor: {
            imageDragging: true
        },

        defaultRoute: '/workspace/monitoring',

        langOverride: {
            'en': {
                'ANPA Category': 'Service',
                'ANPA CATEGORY': 'SERVICE'
            }
        },

        requiredMediaMetadata: ['headline', 'description_text', 'alt_text']
    };
};

@@ -2507,24 +2507,585 @@
 nitoring',%0A%0A
+        validatorMediaMetadata: %7B%0A            headline: %7B%0A                required: true%0A            %7D,%0A            alt_text: %7B%0A                required: true%0A            %7D,%0A            description_text: %7B%0A                required: true%0A            %7D,%0A            copyrightholder: %7B%0A                required: false%0A            %7D,%0A            byline: %7B%0A                required: false%0A            %7D,%0A            usageterms: %7B%0A                required: false%0A            %7D,%0A            copyrightnotice: %7B%0A                required: false%0A            %7D%0A        %7D,%0A%0A
         lang

Fix the upload of images on NTB