Skip to content

Commit

Permalink
Merge pull request exodus4d#163 from goryn-clade/v2.2.2
Browse files Browse the repository at this point in the history
v2.2.2
  • Loading branch information
TyrHeimdalEVE authored Feb 12, 2023
2 parents 6f292bd + f69cf21 commit b73f372
Show file tree
Hide file tree
Showing 220 changed files with 11,909 additions and 79 deletions.
5 changes: 4 additions & 1 deletion app/Controller/Ccp/Sso.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,10 @@ public function getCharacterData(int $characterId) : \stdClass{

$characterData->corporation = null;
$characterData->alliance = null;

/**
* TODO: Move to -> @var $corporation Pathfinder\CorporationModel
* REF: https://github.com/goryn-clade/pathfinder/pull/157/files
*/
$characterAffiliation = $this->getF3()->ccpClient()->send('getCharacterAffiliation', [$characterId]);
if(count($characterAffiliation) === 1) {
$characterCorporationId = $characterAffiliation[0]['corporation']['id'];
Expand Down
6 changes: 3 additions & 3 deletions app/pathfinder.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ 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.2.1
VERSION = v2.2.1
; Default: v2.2.2
VERSION = v2.2.2

; Contact information [optional]
; Shown on 'licence', 'contact' page.
Expand Down Expand Up @@ -401,4 +401,4 @@ GIT_HUB = https://api.github.com
; Hint: Set 'wait_timeout' to a high value in your my.conf to keep them open
; Syntax: 0 | 1
; Default: 0
PERSISTENT_DB_CONNECTIONS = 1
PERSISTENT_DB_CONNECTIONS = 1
58 changes: 46 additions & 12 deletions js/app/conf/signature_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,38 @@
2: 'Unsecured Core Emergence' //*
};

// Ghost sites ======================================================================================================

let hsGh = {
1: 'Lesser Serpentis Covert Research Facility',
2: 'Lesser Sansha Covert Research Facility',
3: 'Lesser Guristas Covert Research Facility',
4: 'Lesser Blood Raiders Covert Research Facility'
};

let lsGh = {
1: 'Standard Serpentis Covert Research Facility',
2: 'Standard Sansha Covert Research Facility',
3: 'Standard Guristas Covert Research Facility',
4: 'Standard Blood Raiders Covert Research Facility'
};

let nsGh = {
1: 'Improved Serpentis Covert Research Facility',
2: 'Improved Sansha Covert Research Facility',
3: 'Improved Guristas Covert Research Facility',
4: 'Improved Blood Raiders Covert Research Facility'
};

let whGh = {
1: 'Superior Serpentis Covert Research Facility',
2: 'Superior Sansha Covert Research Facility',
3: 'Superior Guristas Covert Research Facility',
4: 'Superior Blood Raiders Covert Research Facility'
};



// Gas sites ======================================================================================================

let c1Gas = {
Expand Down Expand Up @@ -540,7 +572,7 @@
4: c1Gas,
5: c1WH,
6: c1Ore,
7: {} // Ghost
7: whGh
},
2: { // C2
1: c2Combat,
Expand All @@ -549,7 +581,7 @@
4: c2Gas,
5: c2WH,
6: c2Ore,
7: {} // Ghost
7: whGh
},
3: { // C3
1: c3Combat,
Expand All @@ -558,7 +590,7 @@
4: c3Gas,
5: c3WH,
6: c3Ore,
7: {} // Ghost
7: whGh
},
4: { // C4
1: c4Combat,
Expand All @@ -567,7 +599,7 @@
4: c4Gas,
5: c4WH,
6: c4Ore,
7: {} // Ghost
7: whGh
},
5: { // C5
1: c5Combat,
Expand All @@ -576,7 +608,7 @@
4: c5Gas,
5: c5WH,
6: c5Ore,
7: {} // Ghost
7: whGh
},
6: { // C6
1: c6Combat,
Expand All @@ -585,16 +617,15 @@
4: c6Gas,
5: c6WH,
6: c6Ore,
7: { // Ghost
1: 'Superior Blood Raider Covert Research Facility' //*
}
7: whGh
},
12: { // Thera WH
1: c12Combat
},
13: { // Shattered WH
5: c13WH,
6: c13Ore
6: c13Ore,
7: whGh
},
14: { // Drifter Sentinel WH
1: c14Combat
Expand All @@ -614,13 +645,16 @@
}, // system type (k-space)
2: {
30: { // High Sec
5: hsWH
5: hsWH,
7: hsGh
},
31: { // Low Sec
5: lsWH
5: lsWH,
7: lsGh
},
32: { // 0.0
5: nullWH
5: nullWH,
7: nsGh
},
33: { // Pochven
5: pochWH
Expand Down
4 changes: 2 additions & 2 deletions js/app/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,8 @@ define([
*/
const unicodeToString = (text) => {
const result = text.replace(/\\u[\dA-F]{4}/gi, (match) => String.fromCharCode(parseInt(match.replace(/\\u/g, ''), 16)))
return result.substring(0, 2) == "u'" ? result.substring(2, result.length - 1) : result
}
return result.substring(0, 2) == "u'" ? result.substring(2, result.length - 1) : result;
};

/**
* polyfill for "passive" events
Expand Down
Loading

0 comments on commit b73f372

Please sign in to comment.