Skip to content

Commit

Permalink
Fixed duplicated entries
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJelicSF authored Oct 3, 2024
1 parent 121bd2c commit c8be55c
Showing 1 changed file with 0 additions and 157 deletions.
157 changes: 0 additions & 157 deletions client/superdesk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,160 +158,3 @@ module.exports = function() {
},
};
};
/**
* 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() {
return {
apps: [
'superdesk-publisher',
'superdesk-planning'
],
importApps: [
'../index',
'superdesk-publisher',
'superdesk-planning'
],

defaultRoute: '/workspace/monitoring',

publisher: {
protocol: 'https', /* http or https */
tenant: '', /* tenant - semantically subdomain, '' is allowed */
domain: 'sp-publisher.superdesk.pro', /* domain name for the publisher */
base: 'api/v2', /* api base path */

wsProtocol: 'wss', /* ws or wss (websocket); if unspecified or '' defaults to 'wss' */
wsDomain: 'sp-publisher.superdesk.pro', /* domain name (usually domain as above) */
/* e.g.: example.com, abc.example.com */
/* tenant, as above, is NOT used for websocket */
wsPath: '/ws', /* path to websocket root dir */
wsPort: '80', /* if not specified: defaults to 443 for wss, 80 for ws */
hideContentRoutesInPublishPane: false, /* hides routes of type "content" from select box in publish panes in monitoring view as well as in output control. If not specified: defaults to false */
hideCustomRoutesInPublishPane: false /* hides routes of type "custom" from select box in publish panes in monitoring view as well as in output control. If not specified: defaults to false */
},

langOverride: {
en: {
'ANPA Category': 'Category',
'ANPA CATEGORY': 'CATEGORY',
'multi-line quote': 'pullquote',
'Multi-line quote': 'Pullquote',
'Correct': 'Update',
'CORRECT': 'Update',
'Correct item': 'Update item',
'Corrected': 'Updated',
'Send Correction': 'Send update',
'Update': 'New version',
'UPDATE': 'New version',
'Update created': 'New version created',
'Unlink update': 'Unlink new version',
'Update Created': 'New version created',
'U': 'NV',
'C': 'Update',
'Spike': 'Delete',
'spike': 'delete',
'Spike Item': 'Delete item',
'Spike item': 'Delete item',
'Spiked': 'Deleted',
'Spiked Items': 'Deleted items',
'Unspike Item': 'Undelete Item',
'Unspike': 'Undelete'
}
},

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

shortTimeFormat: 'HH:mm, DD.MM.YYYY',
shortDateFormat: 'HH:mm, DD.MM.YYYY',
shortWeekFormat: 'HH:mm, DD.MM.YYYY',
startingDay: '1',
defaultTimezone: 'Europe/Prague',

editor3: { browserSpellCheck: true, },

search_cvs: [
{id: 'topics', name:'Topics', field: 'subject', list: 'topics'},
{id: 'language', name:'Language', field: 'language', list: 'languages'},
{id: 'status', name:'Status', field: 'subject', list: 'status'},
{id: 'proofreading', name:'Proofreading status', field: 'subject', list: 'proofreading'}
],

features: {
preview: 1,
swimlane: {columnsLimit: 99},
swimlane: {defaultNumberOfColumns: 4},
editor3: true,
editorHighlights: true,
noPublishOnAuthoringDesk: true,
customAuthoringTopbar: {
toDesk: true,
publish: true,
},
validatePointOfInterestForImages: true,
editorHighlights: true,
editFeaturedImage: true,
searchShortcut: true,
elasticHighlight: true,
planning: true,
autorefreshContent: true,
planning: true,
nestedItemsInOutputStage: true,
customAuthoringTopbar: {
toDesk: true,
},
},

item_profile: { change_profile: 1 },

workspace: {
planning: true,
assignments: true,
},

ui: {
italicAbstract: false,
},

list: {
priority: [
'priority',
'urgency'
],
firstLine: [
'headline',
'highlights',
'markedDesks',
'associatedItems',
'versioncreated'
],
secondLine: [
'state',
'update',
'scheduledDateTime',
'flags',
'updated',
'provider',
'desk',
'fetchedDesk',
'nestedlink',
'translations'
]
},

monitoring: {
scheduled: {
sort: {
default: { field: 'publish_schedule', order: 'asc' },
allowed_fields_to_sort: [ 'publish_schedule' ]
}
},
},
};
};

0 comments on commit c8be55c

Please sign in to comment.