| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- (function () {
- 'use strict';
- angular.module('ariaNg').constant('ariaNgConstants', {
- title: 'AriaNg Native',
- appPrefix: 'AriaNg',
- optionStorageKey: 'Options',
- languageStorageKeyPrefix: 'Language',
- settingHistoryKeyPrefix: 'History',
- languagePath: 'langs',
- languageFileExtension: '.txt',
- defaultLanguage: 'en',
- defaultHost: 'localhost',
- defaultSecureProtocol: 'https',
- defaultPathSeparator: '/',
- websocketAutoReconnect: true,
- globalStatStorageCapacity: 120,
- taskStatStorageCapacity: 300,
- lazySaveTimeout: 500,
- errorTooltipDelay: 500,
- notificationInPageTimeout: 2000,
- historyMaxStoreCount: 10,
- cachedDebugLogsLimit: 100
- }).constant('ariaNgDefaultOptions', {
- language: 'en',
- theme: 'light',
- title: '${downspeed}, ${upspeed} - ${title}',
- titleRefreshInterval: 5000,
- browserNotification: false,
- rpcAlias: '',
- rpcHost: '',
- rpcPort: '6800',
- rpcInterface: 'jsonrpc',
- protocol: 'http',
- httpMethod: 'POST',
- secret: '',
- extendRpcServers: [],
- globalStatRefreshInterval: 1000,
- downloadTaskRefreshInterval: 1000,
- keyboardShortcuts: true,
- swipeGesture: true,
- dragAndDropTasks: true,
- rpcListDisplayOrder: 'recentlyUsed',
- afterCreatingNewTask: 'task-list',
- removeOldTaskAfterRetrying: false,
- confirmTaskRemoval: true,
- includePrefixWhenCopyingFromTaskDetails: true,
- showPiecesInfoInTaskDetailPage: 'le10240',
- afterRetryingTask: 'task-list-downloading',
- displayOrder: 'default:asc',
- fileListDisplayOrder: 'default:asc',
- peerListDisplayOrder: 'default:asc'
- });
- }());
|