- Upgraded required _Node_/_NPM_ versions (frontend build)
- Fixed some broken endpoint URLs (case sensitive)
This commit is contained in:
@@ -13,7 +13,7 @@ NAME = Pathfinder
|
||||
; Version is used for CSS/JS cache busting and is part of the URL for static resources:
|
||||
; e.g. public/js/vX.X.X/app.js
|
||||
; Syntax: String (current version)
|
||||
; Default: v2.0.0
|
||||
; Default: v2.0.0-rc.1
|
||||
VERSION = v2.0.0-rc.1
|
||||
|
||||
; Contact information [optional]
|
||||
|
||||
@@ -77,8 +77,8 @@ MAX_MEMORY = 67108864
|
||||
MAXMEMORY_POLICY = allkeys-lru
|
||||
|
||||
[REQUIREMENTS.PATH]
|
||||
NODE = 6.0
|
||||
NPM = 3.10.0
|
||||
NODE = 12.16.0
|
||||
NPM = 6.13.4
|
||||
|
||||
[REQUIREMENTS.CRON]
|
||||
CLI = 1
|
||||
|
||||
@@ -19,7 +19,7 @@ GET|POST /api/@controller/@action/@arg1 [ajax] = {{ @NAMESPACE }}\Con
|
||||
GET|POST /api/@controller/@action/@arg1/@arg2 [ajax] = {{ @NAMESPACE }}\Controller\Api\@controller->@action, 0, 512
|
||||
|
||||
; onUnload route or final map sync (@see https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon)
|
||||
POST /api/map/updateUnloadData = {{ @NAMESPACE }}\Controller\Api\map->updateUnloadData, 0, 512
|
||||
POST /api/Map/updateUnloadData = {{ @NAMESPACE }}\Controller\Api\Map->updateUnloadData, 0, 512
|
||||
|
||||
[maps]
|
||||
; REST API wildcard endpoints (not cached, throttled)
|
||||
|
||||
@@ -21,37 +21,37 @@ define([], () => {
|
||||
img: '/public/img/', // path for images
|
||||
api: '/api/rest', //ajax URL - REST API
|
||||
// user API
|
||||
getCaptcha: '/api/user/getCaptcha', // ajax URL - get captcha image
|
||||
getServerStatus: '/api/user/getEveServerStatus', // ajax URL - get EVE-Online server status
|
||||
getCookieCharacterData: '/api/user/getCookieCharacter', // ajax URL - get character data from cookie
|
||||
logIn: '/api/user/logIn', // ajax URL - login
|
||||
logout: '/api/user/logout', // ajax URL - logout
|
||||
openIngameWindow: '/api/user/openIngameWindow', // ajax URL - open inGame Window
|
||||
saveUserConfig: '/api/user/saveAccount', // ajax URL - saves/update user account
|
||||
deleteAccount: '/api/user/deleteAccount', // ajax URL - delete Account data
|
||||
getCaptcha: '/api/User/getCaptcha', // ajax URL - get captcha image
|
||||
getServerStatus: '/api/User/getEveServerStatus', // ajax URL - get EVE-Online server status
|
||||
getCookieCharacterData: '/api/User/getCookieCharacter', // ajax URL - get character data from cookie
|
||||
logIn: '/api/User/logIn', // ajax URL - login
|
||||
logout: '/api/User/logout', // ajax URL - logout
|
||||
openIngameWindow: '/api/User/openIngameWindow', // ajax URL - open inGame Window
|
||||
saveUserConfig: '/api/User/saveAccount', // ajax URL - saves/update user account
|
||||
deleteAccount: '/api/User/deleteAccount', // ajax URL - delete Account data
|
||||
// access API
|
||||
searchAccess: '/api/access/search', // ajax URL - search user/corporation/ally by name
|
||||
searchAccess: '/api/Access/search', // ajax URL - search user/corporation/ally by name
|
||||
// main config/map ping API
|
||||
initData: '/api/map/initData', // ajax URL - get static configuration data
|
||||
getAccessData: '/api/map/getAccessData', // ajax URL - get map access tokens (WebSocket)
|
||||
updateMapData: '/api/map/updateData', // ajax URL - main map update trigger
|
||||
updateUserData: '/api/map/updateUserData', // ajax URL - main map user data trigger
|
||||
updateUnloadData: '/api/map/updateUnloadData', // post URL - for my sync onUnload
|
||||
initData: '/api/Map/initData', // ajax URL - get static configuration data
|
||||
getAccessData: '/api/Map/getAccessData', // ajax URL - get map access tokens (WebSocket)
|
||||
updateMapData: '/api/Map/updateData', // ajax URL - main map update trigger
|
||||
updateUserData: '/api/Map/updateUserData', // ajax URL - main map user data trigger
|
||||
updateUnloadData: '/api/Map/updateUnloadData', // post URL - for my sync onUnload
|
||||
// map API
|
||||
importMap: '/api/map/import', // ajax URL - import map
|
||||
getMapConnectionData: '/api/map/getConnectionData', // ajax URL - get connection data
|
||||
getMapLogData: '/api/map/getLogData', // ajax URL - get logs data
|
||||
importMap: '/api/Map/import', // ajax URL - import map
|
||||
getMapConnectionData: '/api/Map/getConnectionData', // ajax URL - get connection data
|
||||
getMapLogData: '/api/Map/getLogData', // ajax URL - get logs data
|
||||
// system API
|
||||
setDestination: '/api/system/setDestination', // ajax URL - set destination
|
||||
pokeRally: '/api/system/pokeRally', // ajax URL - send rally point pokes
|
||||
setDestination: '/api/System/setDestination', // ajax URL - set destination
|
||||
pokeRally: '/api/System/pokeRally', // ajax URL - send rally point pokes
|
||||
// stats API
|
||||
getStatisticsData: '/api/statistic/getData', // ajax URL - get statistics data (activity log)
|
||||
getStatisticsData: '/api/Statistic/getData', // ajax URL - get statistics data (activity log)
|
||||
// universe API
|
||||
searchUniverseData: '/api/universe/search', // ajax URL - search universe data by category Ids
|
||||
searchUniverseSystemData: '/api/universe/systems', // ajax URL - search universe system data by name
|
||||
getConstellationData: '/api/universe/constellationData', // ajax URL - get system constellation data
|
||||
searchUniverseData: '/api/Universe/search', // ajax URL - search universe data by category Ids
|
||||
searchUniverseSystemData: '/api/Universe/systems', // ajax URL - search universe system data by name
|
||||
getConstellationData: '/api/Universe/constellationData', // ajax URL - get system constellation data
|
||||
// GitHub API
|
||||
gitHubReleases: '/api/github/releases' // ajax URL - get release info from GitHub
|
||||
gitHubReleases: '/api/GitHub/releases' // ajax URL - get release info from GitHub
|
||||
},
|
||||
breakpoints: [
|
||||
{name: 'screen-xl', width: Infinity},
|
||||
|
||||
@@ -754,6 +754,9 @@ define([
|
||||
* main init "landing" page
|
||||
*/
|
||||
$(() => {
|
||||
// passive event listener
|
||||
Util.initPassiveEvents();
|
||||
|
||||
// clear sessionStorage
|
||||
Util.clearSessionStorage();
|
||||
|
||||
|
||||
@@ -1699,7 +1699,7 @@ define([
|
||||
connectionData.mapId = mapId;
|
||||
connectionData.disableAutoScope = disableAutoScope;
|
||||
|
||||
Util.request('PUT', 'connection', [], connectionData, {
|
||||
Util.request('PUT', 'Connection', [], connectionData, {
|
||||
connection: connection,
|
||||
map: map,
|
||||
mapId: mapId,
|
||||
|
||||
@@ -135,7 +135,7 @@ define([
|
||||
// show loading animation
|
||||
dialogElement.find('[data-type="spinner"]').addClass('in');
|
||||
|
||||
Util.request('GET', 'system', systemId, {mapId: mapId, isCcpId: 1}, {dialogElement: dialogElement})
|
||||
Util.request('GET', 'System', systemId, {mapId: mapId, isCcpId: 1}, {dialogElement: dialogElement})
|
||||
.then(payload => updateDialog(payload.context.dialogElement, payload.data))
|
||||
.catch(payload => updateDialog(payload.context.dialogElement));
|
||||
};
|
||||
@@ -259,7 +259,7 @@ define([
|
||||
|
||||
this.find('.modal-content').showLoadingAnimation();
|
||||
|
||||
Util.request('PUT', 'system', [], formData, {
|
||||
Util.request('PUT', 'System', [], formData, {
|
||||
systemDialog: systemDialog,
|
||||
formElement: form,
|
||||
map: map,
|
||||
@@ -666,7 +666,7 @@ define([
|
||||
let mapContainer = $( map.getContainer() );
|
||||
let systemIds = systems.map(system => $(system).data('id'));
|
||||
|
||||
Util.request('DELETE', 'system', systemIds, {
|
||||
Util.request('DELETE', 'System', systemIds, {
|
||||
mapId: mapContainer.data('id')
|
||||
}, {
|
||||
map: map,
|
||||
|
||||
@@ -447,7 +447,7 @@ define([
|
||||
}
|
||||
|
||||
if(connectionIds.length > 0){
|
||||
Util.request('DELETE', 'connection', connectionIds, {
|
||||
Util.request('DELETE', 'Connection', connectionIds, {
|
||||
mapId: mapContainer.data('id')
|
||||
}, {
|
||||
connections: connections
|
||||
|
||||
@@ -254,7 +254,7 @@ define([
|
||||
|
||||
let renderPromises = [];
|
||||
if(requestSystemData){
|
||||
renderPromises.push(Util.request('GET', 'system', data.payload.id, {mapId: data.mapId}));
|
||||
renderPromises.push(Util.request('GET', 'System', data.payload.id, {mapId: data.mapId}));
|
||||
}
|
||||
renderPromises.push(render(dataStore));
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ define([
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
let element = $(this);
|
||||
let url = '/api/setup/' + element.attr('data-action');
|
||||
let url = '/api/Setup/' + element.attr('data-action');
|
||||
let payload = element.attr('data-payload');
|
||||
let callStartName = element.attr('data-callstart');
|
||||
let callBackName = element.attr('data-callback');
|
||||
|
||||
@@ -30,7 +30,7 @@ define([
|
||||
dialogNavigationClass: config.dialogNavigationClass,
|
||||
dialogNavLiClass: config.dialogNavigationListItemClass,
|
||||
scrollspyId: config.mapManualScrollspyId,
|
||||
pieChartClass : Init.classes.pieChart.pieChartMapCounterClass,
|
||||
pieChartClass : Init.classes.pieChart.class,
|
||||
mapCounterClass : Init.classes.pieChart.pieChartMapCounterClass
|
||||
};
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ define([
|
||||
|
||||
let method = formData.id ? 'PATCH' : 'PUT';
|
||||
|
||||
Util.request(method, 'map', formData.id, formData, {
|
||||
Util.request(method, 'Map', formData.id, formData, {
|
||||
formElement: form // for error form messages
|
||||
}, context => {
|
||||
// always do
|
||||
@@ -756,7 +756,7 @@ define([
|
||||
let dialogContent = mapDeleteDialog.find('.modal-content');
|
||||
dialogContent.showLoadingAnimation();
|
||||
|
||||
Util.request('DELETE', 'map', mapId, {}, {}).then(
|
||||
Util.request('DELETE', 'Map', mapId, {}, {}).then(
|
||||
payload => {
|
||||
Util.showNotify({title: 'Map deleted', text: 'Map: ' + mapName, type: 'success'});
|
||||
},
|
||||
|
||||
@@ -256,7 +256,7 @@ define([
|
||||
$(tableEls).showLoadingAnimation();
|
||||
}
|
||||
|
||||
return this.request('GET', 'connection', connectionIds, {
|
||||
return this.request('GET', 'Connection', connectionIds, {
|
||||
mapId: mapId,
|
||||
addData : ['signatures', 'logs'],
|
||||
// filterData : ['logs'] // do not exclude connections with NO "logs" -> sig data will be used as well
|
||||
@@ -1003,7 +1003,7 @@ define([
|
||||
|
||||
$(connectionElement.getElementsByTagName('table')).showLoadingAnimation();
|
||||
|
||||
module.request('DELETE', 'log', rowData.id, {}, {
|
||||
module.request('DELETE', 'Log', rowData.id, {}, {
|
||||
connectionElement: connectionElement
|
||||
}, module.requestAlways)
|
||||
.then(
|
||||
@@ -1025,7 +1025,7 @@ define([
|
||||
active: 1
|
||||
};
|
||||
|
||||
module.request('PATCH', 'log', rowData.id, requestData, {
|
||||
module.request('PATCH', 'Log', rowData.id, requestData, {
|
||||
connectionElement: connectionElement
|
||||
}, module.requestAlways)
|
||||
.then(
|
||||
@@ -1178,7 +1178,7 @@ define([
|
||||
|
||||
let method = formData.id ? 'PATCH' : 'PUT';
|
||||
|
||||
this.request(method, 'log', formData.id, formData, {
|
||||
this.request(method, 'Log', formData.id, formData, {
|
||||
connectionElement: connectionElement,
|
||||
formElement: form
|
||||
}, this.requestAlways)
|
||||
|
||||
@@ -654,7 +654,7 @@ define([
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
resolve(cacheEntry.value);
|
||||
}else{
|
||||
this.request('GET', 'systemThera', [], {}, this, context => {
|
||||
this.request('GET', 'SystemThera', [], {}, this, context => {
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
}).then(payload => {
|
||||
let cacheEntry = {
|
||||
|
||||
@@ -95,7 +95,7 @@ define([
|
||||
*/
|
||||
getGraphsData(){
|
||||
$(this.moduleElement).find('.' + this._config.systemGraphClass).showLoadingAnimation();
|
||||
return this.request('GET', 'systemgraph', this._systemData.id, {
|
||||
return this.request('GET', 'SystemGraph', this._systemData.id, {
|
||||
systemIds: [this._systemData.systemId]
|
||||
});
|
||||
}
|
||||
|
||||
@@ -512,7 +512,7 @@ define([
|
||||
// ... valid -> save()
|
||||
descriptionArea.showLoadingAnimation();
|
||||
|
||||
Util.request('PATCH', 'system', systemId, {
|
||||
Util.request('PATCH', 'System', systemId, {
|
||||
description: description
|
||||
}, {
|
||||
descriptionArea: descriptionArea
|
||||
|
||||
@@ -342,7 +342,7 @@ define([
|
||||
// tableApi.rows(deleteRowElement).remove().draw();
|
||||
|
||||
$(module.moduleElement).showLoadingAnimation();
|
||||
Util.request('DELETE', 'structure', rowData.id, {},
|
||||
Util.request('DELETE', 'Structure', rowData.id, {},
|
||||
{
|
||||
tableApi: tableApi
|
||||
},
|
||||
@@ -477,7 +477,7 @@ define([
|
||||
action: function(e, tableApi, node, config){
|
||||
$(module.moduleElement).showLoadingAnimation();
|
||||
|
||||
Util.request('GET', 'system', module._systemData.id, {mapId: module._systemData.mapId},
|
||||
Util.request('GET', 'System', module._systemData.id, {mapId: module._systemData.mapId},
|
||||
{
|
||||
tableApi: tableApi,
|
||||
removeMissing: true
|
||||
@@ -907,7 +907,7 @@ define([
|
||||
});
|
||||
}
|
||||
|
||||
this.request(method, 'structure', ids, data,
|
||||
this.request(method, 'Structure', ids, data,
|
||||
{
|
||||
tableApi: tableApi
|
||||
},
|
||||
@@ -1088,7 +1088,7 @@ define([
|
||||
let saveStructureData = (structureData, context) => {
|
||||
$(this.moduleElement).showLoadingAnimation();
|
||||
|
||||
this.request('POST', 'structure', [], structureData, context, () => $(this.moduleElement).hideLoadingAnimation())
|
||||
this.request('POST', 'Structure', [], structureData, context, () => $(this.moduleElement).hideLoadingAnimation())
|
||||
.then(
|
||||
payload => this.callbackUpdateTableRows(payload.context, payload.data),
|
||||
Util.handleAjaxErrorResponse
|
||||
|
||||
@@ -510,7 +510,7 @@ define([
|
||||
getRouteData(requestData, callback){
|
||||
$(this.moduleElement).showLoadingAnimation();
|
||||
|
||||
this.request('POST', 'route', [], requestData, this, context => {
|
||||
this.request('POST', 'Route', [], requestData, this, context => {
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
})
|
||||
.then(payload => payload.context[callback](payload.data.routesData))
|
||||
|
||||
@@ -345,7 +345,7 @@ define([
|
||||
let processLockPromise = null;
|
||||
|
||||
node.editable({
|
||||
url: Init.path.api + '/signaturehistory',
|
||||
url: Init.path.api + '/SignatureHistory',
|
||||
ajaxOptions: {
|
||||
processData: false,
|
||||
type: 'PUT',
|
||||
@@ -368,7 +368,7 @@ define([
|
||||
title: 'historical records',
|
||||
name: 'history',
|
||||
pk: module._systemData.id,
|
||||
source: Init.path.api + '/signaturehistory/' + module._systemData.id,
|
||||
source: Init.path.api + '/SignatureHistory/' + module._systemData.id,
|
||||
sourceOptions: {
|
||||
type: 'GET',
|
||||
data: {
|
||||
@@ -1071,7 +1071,7 @@ define([
|
||||
|
||||
// submit all xEditable fields
|
||||
formFields.editable('submit', {
|
||||
url: Init.path.api + '/signature',
|
||||
url: Init.path.api + '/Signature',
|
||||
ajaxOptions: {
|
||||
processData: false, // we need to "process" data in beforeSend()
|
||||
type: 'PUT',
|
||||
@@ -1363,7 +1363,7 @@ define([
|
||||
|
||||
Util.request(
|
||||
'POST',
|
||||
'signature',
|
||||
'Signature',
|
||||
[],
|
||||
{
|
||||
signatures: signatureData,
|
||||
@@ -1435,7 +1435,7 @@ define([
|
||||
|
||||
let processRequestPromise = tableApi.newProcess('request');
|
||||
|
||||
Util.request('DELETE', 'signature', signatureIds, data, {
|
||||
Util.request('DELETE', 'Signature', signatureIds, data, {
|
||||
tableApi: tableApi,
|
||||
processRequestPromise: processRequestPromise
|
||||
},
|
||||
@@ -3146,7 +3146,7 @@ define([
|
||||
let requestData = {};
|
||||
requestData[params.name] = params.value;
|
||||
|
||||
Util.request('PATCH', 'signature', params.pk, requestData)
|
||||
Util.request('PATCH', 'Signature', params.pk, requestData)
|
||||
.then(payload => resolve(payload.data))
|
||||
.catch(payload => reject(payload.data.jqXHR));
|
||||
}else{
|
||||
|
||||
@@ -21,37 +21,37 @@ define([], () => {
|
||||
img: '/public/img/', // path for images
|
||||
api: '/api/rest', //ajax URL - REST API
|
||||
// user API
|
||||
getCaptcha: '/api/user/getCaptcha', // ajax URL - get captcha image
|
||||
getServerStatus: '/api/user/getEveServerStatus', // ajax URL - get EVE-Online server status
|
||||
getCookieCharacterData: '/api/user/getCookieCharacter', // ajax URL - get character data from cookie
|
||||
logIn: '/api/user/logIn', // ajax URL - login
|
||||
logout: '/api/user/logout', // ajax URL - logout
|
||||
openIngameWindow: '/api/user/openIngameWindow', // ajax URL - open inGame Window
|
||||
saveUserConfig: '/api/user/saveAccount', // ajax URL - saves/update user account
|
||||
deleteAccount: '/api/user/deleteAccount', // ajax URL - delete Account data
|
||||
getCaptcha: '/api/User/getCaptcha', // ajax URL - get captcha image
|
||||
getServerStatus: '/api/User/getEveServerStatus', // ajax URL - get EVE-Online server status
|
||||
getCookieCharacterData: '/api/User/getCookieCharacter', // ajax URL - get character data from cookie
|
||||
logIn: '/api/User/logIn', // ajax URL - login
|
||||
logout: '/api/User/logout', // ajax URL - logout
|
||||
openIngameWindow: '/api/User/openIngameWindow', // ajax URL - open inGame Window
|
||||
saveUserConfig: '/api/User/saveAccount', // ajax URL - saves/update user account
|
||||
deleteAccount: '/api/User/deleteAccount', // ajax URL - delete Account data
|
||||
// access API
|
||||
searchAccess: '/api/access/search', // ajax URL - search user/corporation/ally by name
|
||||
searchAccess: '/api/Access/search', // ajax URL - search user/corporation/ally by name
|
||||
// main config/map ping API
|
||||
initData: '/api/map/initData', // ajax URL - get static configuration data
|
||||
getAccessData: '/api/map/getAccessData', // ajax URL - get map access tokens (WebSocket)
|
||||
updateMapData: '/api/map/updateData', // ajax URL - main map update trigger
|
||||
updateUserData: '/api/map/updateUserData', // ajax URL - main map user data trigger
|
||||
updateUnloadData: '/api/map/updateUnloadData', // post URL - for my sync onUnload
|
||||
initData: '/api/Map/initData', // ajax URL - get static configuration data
|
||||
getAccessData: '/api/Map/getAccessData', // ajax URL - get map access tokens (WebSocket)
|
||||
updateMapData: '/api/Map/updateData', // ajax URL - main map update trigger
|
||||
updateUserData: '/api/Map/updateUserData', // ajax URL - main map user data trigger
|
||||
updateUnloadData: '/api/Map/updateUnloadData', // post URL - for my sync onUnload
|
||||
// map API
|
||||
importMap: '/api/map/import', // ajax URL - import map
|
||||
getMapConnectionData: '/api/map/getConnectionData', // ajax URL - get connection data
|
||||
getMapLogData: '/api/map/getLogData', // ajax URL - get logs data
|
||||
importMap: '/api/Map/import', // ajax URL - import map
|
||||
getMapConnectionData: '/api/Map/getConnectionData', // ajax URL - get connection data
|
||||
getMapLogData: '/api/Map/getLogData', // ajax URL - get logs data
|
||||
// system API
|
||||
setDestination: '/api/system/setDestination', // ajax URL - set destination
|
||||
pokeRally: '/api/system/pokeRally', // ajax URL - send rally point pokes
|
||||
setDestination: '/api/System/setDestination', // ajax URL - set destination
|
||||
pokeRally: '/api/System/pokeRally', // ajax URL - send rally point pokes
|
||||
// stats API
|
||||
getStatisticsData: '/api/statistic/getData', // ajax URL - get statistics data (activity log)
|
||||
getStatisticsData: '/api/Statistic/getData', // ajax URL - get statistics data (activity log)
|
||||
// universe API
|
||||
searchUniverseData: '/api/universe/search', // ajax URL - search universe data by category Ids
|
||||
searchUniverseSystemData: '/api/universe/systems', // ajax URL - search universe system data by name
|
||||
getConstellationData: '/api/universe/constellationData', // ajax URL - get system constellation data
|
||||
searchUniverseData: '/api/Universe/search', // ajax URL - search universe data by category Ids
|
||||
searchUniverseSystemData: '/api/Universe/systems', // ajax URL - search universe system data by name
|
||||
getConstellationData: '/api/Universe/constellationData', // ajax URL - get system constellation data
|
||||
// GitHub API
|
||||
gitHubReleases: '/api/github/releases' // ajax URL - get release info from GitHub
|
||||
gitHubReleases: '/api/GitHub/releases' // ajax URL - get release info from GitHub
|
||||
},
|
||||
breakpoints: [
|
||||
{name: 'screen-xl', width: Infinity},
|
||||
|
||||
@@ -754,6 +754,9 @@ define([
|
||||
* main init "landing" page
|
||||
*/
|
||||
$(() => {
|
||||
// passive event listener
|
||||
Util.initPassiveEvents();
|
||||
|
||||
// clear sessionStorage
|
||||
Util.clearSessionStorage();
|
||||
|
||||
|
||||
@@ -1699,7 +1699,7 @@ define([
|
||||
connectionData.mapId = mapId;
|
||||
connectionData.disableAutoScope = disableAutoScope;
|
||||
|
||||
Util.request('PUT', 'connection', [], connectionData, {
|
||||
Util.request('PUT', 'Connection', [], connectionData, {
|
||||
connection: connection,
|
||||
map: map,
|
||||
mapId: mapId,
|
||||
|
||||
@@ -135,7 +135,7 @@ define([
|
||||
// show loading animation
|
||||
dialogElement.find('[data-type="spinner"]').addClass('in');
|
||||
|
||||
Util.request('GET', 'system', systemId, {mapId: mapId, isCcpId: 1}, {dialogElement: dialogElement})
|
||||
Util.request('GET', 'System', systemId, {mapId: mapId, isCcpId: 1}, {dialogElement: dialogElement})
|
||||
.then(payload => updateDialog(payload.context.dialogElement, payload.data))
|
||||
.catch(payload => updateDialog(payload.context.dialogElement));
|
||||
};
|
||||
@@ -259,7 +259,7 @@ define([
|
||||
|
||||
this.find('.modal-content').showLoadingAnimation();
|
||||
|
||||
Util.request('PUT', 'system', [], formData, {
|
||||
Util.request('PUT', 'System', [], formData, {
|
||||
systemDialog: systemDialog,
|
||||
formElement: form,
|
||||
map: map,
|
||||
@@ -666,7 +666,7 @@ define([
|
||||
let mapContainer = $( map.getContainer() );
|
||||
let systemIds = systems.map(system => $(system).data('id'));
|
||||
|
||||
Util.request('DELETE', 'system', systemIds, {
|
||||
Util.request('DELETE', 'System', systemIds, {
|
||||
mapId: mapContainer.data('id')
|
||||
}, {
|
||||
map: map,
|
||||
|
||||
@@ -447,7 +447,7 @@ define([
|
||||
}
|
||||
|
||||
if(connectionIds.length > 0){
|
||||
Util.request('DELETE', 'connection', connectionIds, {
|
||||
Util.request('DELETE', 'Connection', connectionIds, {
|
||||
mapId: mapContainer.data('id')
|
||||
}, {
|
||||
connections: connections
|
||||
|
||||
@@ -254,7 +254,7 @@ define([
|
||||
|
||||
let renderPromises = [];
|
||||
if(requestSystemData){
|
||||
renderPromises.push(Util.request('GET', 'system', data.payload.id, {mapId: data.mapId}));
|
||||
renderPromises.push(Util.request('GET', 'System', data.payload.id, {mapId: data.mapId}));
|
||||
}
|
||||
renderPromises.push(render(dataStore));
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ define([
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
let element = $(this);
|
||||
let url = '/api/setup/' + element.attr('data-action');
|
||||
let url = '/api/Setup/' + element.attr('data-action');
|
||||
let payload = element.attr('data-payload');
|
||||
let callStartName = element.attr('data-callstart');
|
||||
let callBackName = element.attr('data-callback');
|
||||
|
||||
@@ -30,7 +30,7 @@ define([
|
||||
dialogNavigationClass: config.dialogNavigationClass,
|
||||
dialogNavLiClass: config.dialogNavigationListItemClass,
|
||||
scrollspyId: config.mapManualScrollspyId,
|
||||
pieChartClass : Init.classes.pieChart.pieChartMapCounterClass,
|
||||
pieChartClass : Init.classes.pieChart.class,
|
||||
mapCounterClass : Init.classes.pieChart.pieChartMapCounterClass
|
||||
};
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ define([
|
||||
|
||||
let method = formData.id ? 'PATCH' : 'PUT';
|
||||
|
||||
Util.request(method, 'map', formData.id, formData, {
|
||||
Util.request(method, 'Map', formData.id, formData, {
|
||||
formElement: form // for error form messages
|
||||
}, context => {
|
||||
// always do
|
||||
@@ -756,7 +756,7 @@ define([
|
||||
let dialogContent = mapDeleteDialog.find('.modal-content');
|
||||
dialogContent.showLoadingAnimation();
|
||||
|
||||
Util.request('DELETE', 'map', mapId, {}, {}).then(
|
||||
Util.request('DELETE', 'Map', mapId, {}, {}).then(
|
||||
payload => {
|
||||
Util.showNotify({title: 'Map deleted', text: 'Map: ' + mapName, type: 'success'});
|
||||
},
|
||||
|
||||
@@ -256,7 +256,7 @@ define([
|
||||
$(tableEls).showLoadingAnimation();
|
||||
}
|
||||
|
||||
return this.request('GET', 'connection', connectionIds, {
|
||||
return this.request('GET', 'Connection', connectionIds, {
|
||||
mapId: mapId,
|
||||
addData : ['signatures', 'logs'],
|
||||
// filterData : ['logs'] // do not exclude connections with NO "logs" -> sig data will be used as well
|
||||
@@ -1003,7 +1003,7 @@ define([
|
||||
|
||||
$(connectionElement.getElementsByTagName('table')).showLoadingAnimation();
|
||||
|
||||
module.request('DELETE', 'log', rowData.id, {}, {
|
||||
module.request('DELETE', 'Log', rowData.id, {}, {
|
||||
connectionElement: connectionElement
|
||||
}, module.requestAlways)
|
||||
.then(
|
||||
@@ -1025,7 +1025,7 @@ define([
|
||||
active: 1
|
||||
};
|
||||
|
||||
module.request('PATCH', 'log', rowData.id, requestData, {
|
||||
module.request('PATCH', 'Log', rowData.id, requestData, {
|
||||
connectionElement: connectionElement
|
||||
}, module.requestAlways)
|
||||
.then(
|
||||
@@ -1178,7 +1178,7 @@ define([
|
||||
|
||||
let method = formData.id ? 'PATCH' : 'PUT';
|
||||
|
||||
this.request(method, 'log', formData.id, formData, {
|
||||
this.request(method, 'Log', formData.id, formData, {
|
||||
connectionElement: connectionElement,
|
||||
formElement: form
|
||||
}, this.requestAlways)
|
||||
|
||||
@@ -654,7 +654,7 @@ define([
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
resolve(cacheEntry.value);
|
||||
}else{
|
||||
this.request('GET', 'systemThera', [], {}, this, context => {
|
||||
this.request('GET', 'SystemThera', [], {}, this, context => {
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
}).then(payload => {
|
||||
let cacheEntry = {
|
||||
|
||||
@@ -95,7 +95,7 @@ define([
|
||||
*/
|
||||
getGraphsData(){
|
||||
$(this.moduleElement).find('.' + this._config.systemGraphClass).showLoadingAnimation();
|
||||
return this.request('GET', 'systemgraph', this._systemData.id, {
|
||||
return this.request('GET', 'SystemGraph', this._systemData.id, {
|
||||
systemIds: [this._systemData.systemId]
|
||||
});
|
||||
}
|
||||
|
||||
@@ -512,7 +512,7 @@ define([
|
||||
// ... valid -> save()
|
||||
descriptionArea.showLoadingAnimation();
|
||||
|
||||
Util.request('PATCH', 'system', systemId, {
|
||||
Util.request('PATCH', 'System', systemId, {
|
||||
description: description
|
||||
}, {
|
||||
descriptionArea: descriptionArea
|
||||
|
||||
@@ -342,7 +342,7 @@ define([
|
||||
// tableApi.rows(deleteRowElement).remove().draw();
|
||||
|
||||
$(module.moduleElement).showLoadingAnimation();
|
||||
Util.request('DELETE', 'structure', rowData.id, {},
|
||||
Util.request('DELETE', 'Structure', rowData.id, {},
|
||||
{
|
||||
tableApi: tableApi
|
||||
},
|
||||
@@ -477,7 +477,7 @@ define([
|
||||
action: function(e, tableApi, node, config){
|
||||
$(module.moduleElement).showLoadingAnimation();
|
||||
|
||||
Util.request('GET', 'system', module._systemData.id, {mapId: module._systemData.mapId},
|
||||
Util.request('GET', 'System', module._systemData.id, {mapId: module._systemData.mapId},
|
||||
{
|
||||
tableApi: tableApi,
|
||||
removeMissing: true
|
||||
@@ -907,7 +907,7 @@ define([
|
||||
});
|
||||
}
|
||||
|
||||
this.request(method, 'structure', ids, data,
|
||||
this.request(method, 'Structure', ids, data,
|
||||
{
|
||||
tableApi: tableApi
|
||||
},
|
||||
@@ -1088,7 +1088,7 @@ define([
|
||||
let saveStructureData = (structureData, context) => {
|
||||
$(this.moduleElement).showLoadingAnimation();
|
||||
|
||||
this.request('POST', 'structure', [], structureData, context, () => $(this.moduleElement).hideLoadingAnimation())
|
||||
this.request('POST', 'Structure', [], structureData, context, () => $(this.moduleElement).hideLoadingAnimation())
|
||||
.then(
|
||||
payload => this.callbackUpdateTableRows(payload.context, payload.data),
|
||||
Util.handleAjaxErrorResponse
|
||||
|
||||
@@ -510,7 +510,7 @@ define([
|
||||
getRouteData(requestData, callback){
|
||||
$(this.moduleElement).showLoadingAnimation();
|
||||
|
||||
this.request('POST', 'route', [], requestData, this, context => {
|
||||
this.request('POST', 'Route', [], requestData, this, context => {
|
||||
$(this.moduleElement).hideLoadingAnimation();
|
||||
})
|
||||
.then(payload => payload.context[callback](payload.data.routesData))
|
||||
|
||||
@@ -345,7 +345,7 @@ define([
|
||||
let processLockPromise = null;
|
||||
|
||||
node.editable({
|
||||
url: Init.path.api + '/signaturehistory',
|
||||
url: Init.path.api + '/SignatureHistory',
|
||||
ajaxOptions: {
|
||||
processData: false,
|
||||
type: 'PUT',
|
||||
@@ -368,7 +368,7 @@ define([
|
||||
title: 'historical records',
|
||||
name: 'history',
|
||||
pk: module._systemData.id,
|
||||
source: Init.path.api + '/signaturehistory/' + module._systemData.id,
|
||||
source: Init.path.api + '/SignatureHistory/' + module._systemData.id,
|
||||
sourceOptions: {
|
||||
type: 'GET',
|
||||
data: {
|
||||
@@ -1071,7 +1071,7 @@ define([
|
||||
|
||||
// submit all xEditable fields
|
||||
formFields.editable('submit', {
|
||||
url: Init.path.api + '/signature',
|
||||
url: Init.path.api + '/Signature',
|
||||
ajaxOptions: {
|
||||
processData: false, // we need to "process" data in beforeSend()
|
||||
type: 'PUT',
|
||||
@@ -1363,7 +1363,7 @@ define([
|
||||
|
||||
Util.request(
|
||||
'POST',
|
||||
'signature',
|
||||
'Signature',
|
||||
[],
|
||||
{
|
||||
signatures: signatureData,
|
||||
@@ -1435,7 +1435,7 @@ define([
|
||||
|
||||
let processRequestPromise = tableApi.newProcess('request');
|
||||
|
||||
Util.request('DELETE', 'signature', signatureIds, data, {
|
||||
Util.request('DELETE', 'Signature', signatureIds, data, {
|
||||
tableApi: tableApi,
|
||||
processRequestPromise: processRequestPromise
|
||||
},
|
||||
@@ -3146,7 +3146,7 @@ define([
|
||||
let requestData = {};
|
||||
requestData[params.name] = params.value;
|
||||
|
||||
Util.request('PATCH', 'signature', params.pk, requestData)
|
||||
Util.request('PATCH', 'Signature', params.pk, requestData)
|
||||
.then(payload => resolve(payload.data))
|
||||
.catch(payload => reject(payload.data.jqXHR));
|
||||
}else{
|
||||
|
||||
@@ -120,10 +120,8 @@
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<h4><i class="fas fa-history fa-fw"></i> Update counter</h4>
|
||||
<div class="pf-map-overlay" style="position: initial; display: block; padding-top: 1px; float: left; margin: 0 10px 10px 0;">
|
||||
<div class="{{pieChartClass}} {{mapCounterClass}}" data-percent="40">
|
||||
<span style="position: absolute; line-height: 30px; margin-left: 10px;">4</span>
|
||||
</div>
|
||||
<div class="pf-map-overlay" style="position: initial; display: block; float: left; margin: 0 10px 0 0;">
|
||||
<div class="{{pieChartClass}} {{mapCounterClass}}" data-percent="40"></div>
|
||||
</div>
|
||||
<p>
|
||||
The <em>"Update counter"</em> starts counting backwards during map interaction. While the counter is active, no data is pushed to server.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="row text-center">
|
||||
<div class="col-xs-12 col-md-8 col-md-offset-2 pf-landing-pricing-panel">
|
||||
<div class="col-xs-12 col-md-9 col-md-offset-1 pf-landing-pricing-panel">
|
||||
<div class="panel panel-default pricing-big">
|
||||
<div class="panel-heading txt-color txt-color-green">
|
||||
<h3 class="panel-title">New release {{version}}</h3>
|
||||
@@ -8,15 +8,26 @@
|
||||
|
||||
<div class="price-features text-left" style="min-height: inherit;">
|
||||
<div class="row">
|
||||
<div class="col-sm-5">
|
||||
<div class="col-sm-6">
|
||||
<ul class="list-unstyled text-left">
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>Bulk update for "Structures" <a target="_blank" href="//github.com/exodus4d/pathfinder/issues/869" rel="noopener">#869</a></li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>Switched to new image server <a target="_blank" href="//github.com/exodus4d/pathfinder/issues/872" rel="noopener">#872</a></li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>
|
||||
Custom UI (drag&drop panels, hide/load modules)
|
||||
<a target="_blank" href="//github.com/exodus4d/pathfinder/issues/470#issuecomment-578548398" rel="noopener">#470</a>
|
||||
</li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>
|
||||
Live "Killstream" (<a target="_blank" href="//zkillboard.com" rel="noopener">zkillboard.com</a> - WebSocket push)
|
||||
<a target="_blank" href="//github.com/exodus4d/pathfinder/issues/909" rel="noopener">#909</a>
|
||||
</li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>
|
||||
New "Thera" connections module (from <a target="_blank" href="//www.eve-scout.com/" rel="noopener">eve-scout.com</a>)
|
||||
<a target="_blank" href="//github.com/exodus4d/pathfinder/issues/829#issuecomment-593144597" rel="noopener">#829</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-7">
|
||||
<div class="col-sm-6">
|
||||
<ul class="list-unstyled text-left">
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>Improved signature types for "Shattered wormholes" <a target="_blank" href="//github.com/exodus4d/pathfinder/issues/875" rel="noopener">#875</a></li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>Updated list of wormhole signatures <a target="_blank" href="//github.com/exodus4d/pathfinder/issues/916" rel="noopener">#916</a></li>
|
||||
<li><i class="fas fa-fw fa-angle-right"></i>Plugin API for custom UI modules <span class="txt-color txt-color-hint">[BETA]</span> <a target="_blank" href="//github.com/exodus4d/pathfinder/issues/913" rel="noopener">#913</a></li>
|
||||
<li><i class="fas fa-fw fa-angle-double-right"></i>Many more improvements/fixes. Complete <a href="javascript:void(0)" class="pf-navbar-version-info">changelog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user