| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- (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',
- title: '${downspeed}, ${upspeed} - ${title}',
- titleRefreshInterval: 5000,
- browserNotification: false,
- rpcAlias: '',
- rpcHost: '',
- rpcPort: '6800',
- rpcInterface: 'jsonrpc',
- protocol: 'http',
- httpMethod: 'POST',
- secret: '',
- extendRpcServers: [],
- globalStatRefreshInterval: 1000,
- downloadTaskRefreshInterval: 1000,
- rpcListDisplayOrder: 'recentlyUsed',
- afterCreatingNewTask: 'task-list',
- removeOldTaskAfterRetrying: false,
- afterRetryingTask: 'task-list-downloading',
- displayOrder: 'default:asc',
- fileListDisplayOrder: 'default:asc',
- peerListDisplayOrder: 'default:asc'
- });
- }());
|