Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
22855d4
Adds F216 wormhole to C4,C5 & C6 signature lists
Aug 3, 2021
58ad0c9
Merge pull request #8 from goryn-clade/dev2.1.1
samoneilll Aug 6, 2021
8a3f3f3
Corrects pathfinder.ini defaults and indentation
Aug 6, 2021
341314b
Update environment.ini
samoneilll Sep 8, 2021
31fb365
Updates composer.json to use pathfinder_esi fork
Sep 9, 2021
236a0ea
Merge branch 'master' of https://github.com/goryn-clade/pathfinder
Sep 9, 2021
5987bb2
updates composer.lock
Sep 9, 2021
9061145
Updates Readme
Sep 9, 2021
589ab31
Adds dockerci
Sep 16, 2021
d66d571
Bump monolog/monolog from 2.3.2 to 2.3.4
dependabot[bot] Sep 16, 2021
50a6b33
removes docker-build
Sep 16, 2021
ce6157e
removes docker-build
Sep 16, 2021
69ad6fc
Merge pull request #11 from goryn-clade/dependabot/composer/monolog/m…
samoneilll Sep 18, 2021
cfe860b
Revert "Bump monolog/monolog from 2.3.2 to 2.3.4"
samoneilll Sep 18, 2021
22e6c85
Merge pull request #23 from goryn-clade/revert-11-dependabot/composer…
samoneilll Sep 18, 2021
98bd07e
Merge Development Branch v2.1.2 (#21)
samoneilll Sep 18, 2021
5419caf
Re-adds slash 3.0.0 to dev dependencies
samoneilll Sep 18, 2021
5c669be
Merge Development Branch v2.1.2 (#26)
samoneilll Sep 18, 2021
d0d20c7
Develop v2.1.3 (#41)
samoneilll Oct 22, 2021
0673759
Develop v2.1.3 (#42)
samoneilll Oct 22, 2021
740aacb
v2.1.4: Merge SSO changes to upgrade to Oauth2.0 (#43)
samoneilll Oct 25, 2021
20219b9
Require an actual version of apache
Oct 26, 2021
afa21c9
Update requirements.ini
Oct 28, 2021
027c17d
Merge pull request #52 from znathanss/master
TyrHeimdalEVE Oct 28, 2021
b636b92
Added a parameter in query
Oct 29, 2021
ccfdd04
Unicode ship names to string
oSkrobuk Oct 31, 2021
97800dc
Merge pull request #60 from oSkrobuk/issue_45
TyrHeimdalEVE Nov 1, 2021
ee1cd18
Merge pull request #61 from oSkrobuk/issue_50
TyrHeimdalEVE Nov 1, 2021
15a0fce
Bug fixes for v2.2.0 (#81)
samoneilll Dec 2, 2021
dbaff4e
dependabot.yml: adds gulp-imagemin to ignore
samoneilll Dec 7, 2021
a4eebdb
dependabot.yml: adds gulp-imagemin to ignore
samoneilll Dec 7, 2021
441f1fd
Updates notice.html
samoneilll Feb 3, 2022
90e1523
refactors unicode character conversion
samoneilll Feb 10, 2022
b1d3484
refactors unicode character conversion
samoneilll Feb 10, 2022
29ed931
refactors unicode character conversion
samoneilll Feb 10, 2022
6ffc10b
Update ESI search endpoint & auth (#133)
turbofeedorglory Aug 27, 2022
4637330
Updates pathfinder_esi to 2.1.3
samoneilll Sep 3, 2022
1a936a2
Version bumps for 2.2.1
samoneilll Sep 5, 2022
58d9bb1
Rebuilds public files
samoneilll Sep 5, 2022
9e92339
Set trackAbyssalJumps to FALSE
TyrHeimdalEVE Nov 29, 2022
29e2427
Merge pull request #151 from goryn-clade/trackAbyssalJumps-default-false
TyrHeimdalEVE Nov 29, 2022
d3a1330
Use character affiliation endpoint
turbofeedorglory Jan 17, 2023
0ae644f
Add esi-search.search_structures.v1 scope to environment.ini
BiekerUdan Jan 17, 2023
5a45de1
Merge pull request #1 from turbofeedorglory/fix.character-affiliation
BiekerUdan Jan 18, 2023
ccadc53
Merge pull request #157 from turbofeedorglory/fix.character-affiliation
TyrHeimdalEVE Jan 23, 2023
f78ea0e
Merge pull request #158 from BiekerUdan/master
TyrHeimdalEVE Jan 23, 2023
6f292bd
Merge pull request #104 from goryn-clade/develop
TyrHeimdalEVE Jan 23, 2023
ccc785d
Version bumps for 2.2.2
TyrHeimdalEVE Jan 23, 2023
24d4b84
Rebuilds public files
TyrHeimdalEVE Jan 23, 2023
3e08d01
Add missing semicolons in #104
TyrHeimdalEVE Jan 23, 2023
3aa4703
Added TODO for #157 (code cleanup in >=v2.2.3)
TyrHeimdalEVE Jan 23, 2023
8b50d64
version update
TyrHeimdalEVE Feb 7, 2023
a4059a7
updates package-lock.json and pub assets
samoneilll Feb 11, 2023
e07a69b
updates notice.html
samoneilll Feb 11, 2023
95bf96e
Adds Ghost site definitions to signature_type.js
samoneilll Feb 12, 2023
f69cf21
Updates notice.html
samoneilll Feb 12, 2023
b73f372
Merge pull request #163 from goryn-clade/v2.2.2
TyrHeimdalEVE Feb 12, 2023
a92fd7c
Fixes goryn-clade/pathfinder#190
MonoliYoda Nov 13, 2023
4bbd5b7
Updated build files
MonoliYoda Nov 15, 2023
388e25c
changed for structure updated timer more than 1d (#172)
ElegosAkla Jan 6, 2024
ff7dcb9
Merge branch 'MonoliYoda-master'
samoneilll Jan 6, 2024
0c1baf5
Merges changes from MonoliYoda and rebuilds public files to resolve c…
samoneilll Jan 6, 2024
42df56e
updates php libraries and builds new composer.lock
samoneilll Jan 6, 2024
c2c77bf
Bump sass from 1.41.1 to 1.62.0 (#175)
dependabot[bot] Jan 6, 2024
d8fcf87
Bump minimist from 1.2.5 to 1.2.8 (#164)
dependabot[bot] Jan 6, 2024
7bf105e
Bump imagemin-webp from 6.0.0 to 8.0.0 (#160)
dependabot[bot] Jan 6, 2024
978c3e1
dependabot merge
samoneilll Jan 6, 2024
67f3ab9
dependabot merges
samoneilll Jan 6, 2024
60eeb5f
Bump qs from 6.5.2 to 6.5.3 (#154)
dependabot[bot] Jan 6, 2024
5fdfc51
Bump decode-uri-component from 0.2.0 to 0.2.2 (#152)
dependabot[bot] Jan 6, 2024
484be8a
dependabot merges
samoneilll Jan 6, 2024
42d330c
rebuild pub files after npm install
samoneilll Jan 6, 2024
658e53f
Bump node-sass from 6.0.1 to 8.0.0 (#147)
dependabot[bot] Jan 6, 2024
8a46e4d
dependabot merges
samoneilll Jan 6, 2024
0349bfd
Bump nanoid from 3.1.25 to 3.3.4 (#136)
dependabot[bot] Jan 6, 2024
b47082c
Merge branch '2.2.3-dev' of https://github.com/goryn-clade/pathfinder…
samoneilll Jan 6, 2024
c50d458
changes after running gulp
samoneilll Jan 6, 2024
822e669
Bump minimatch from 3.0.4 to 3.0.8 (#144)
dependabot[bot] Jan 6, 2024
6239cc9
Merge branch '2.2.3-dev' of https://github.com/goryn-clade/pathfinder…
samoneilll Jan 6, 2024
c92a8ef
changes after running gulp
samoneilll Jan 6, 2024
3876b87
Bump jshint from 2.13.1 to 2.13.6 (#145)
dependabot[bot] Jan 6, 2024
6f0ce93
Merge branch '2.2.3-dev' of https://github.com/goryn-clade/pathfinder…
samoneilll Jan 6, 2024
beb6c57
bumps gulp-sass version
samoneilll Jan 6, 2024
03c0d93
bumps version to 2.2.3
samoneilll Jan 6, 2024
b9e531b
2.2.3 dev (#194)
samoneilll Jan 6, 2024
669b701
fixes syntax in zarzakh sql rows
samoneilll Jan 6, 2024
f37e350
merges zarzakh updates
samoneilll Jan 6, 2024
5efad1d
2.2.4 (#216)
samoneilll Apr 1, 2024
536cd42
updates notice.html for 2.2.4 (#217)
samoneilll Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "gulp-imagemin*"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Temporary Items
.usage
*.gz
composer-dev.lock
package-lock.json
/conf/
/node_modules/
/public/js/vX.X.X/
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# ![Pathfinder logo](favicon/favicon-32x32.png "Logo") *PATHFINDER*

#### Mapping tool for [*EVE ONLINE*](https://www.eveonline.com)

This Pathfinder Fork is an attempt to make a community supported fork in the absence of [Exodus4d](https://github.com/exodus4d) that will include bug fixes and be upgraded for any changes to the Eve Online universe.

**For installation please see our [Docker-compose solution](https://github.com/goryn-clade/pathfinder-containers) that includes a detailed guide on how to get up and running.**

If you wish to contribute please join the [Pathfinder Slack](https://join.slack.com/t/pathfinder-eve-online/shared_invite/enQtMzMyOTkyMjczMTA3LWI2NGE1OTY5ODBmNDZlMDY3MDIzYjk5ZTljM2JjZjIwNDRkNzMyMTEwMDUzOGQwM2E3ZjE1NGEwNThlMzYzY2Y).

- Project URL [https://www.pathfinder-w.space](https://www.pathfinder-w.space)
Expand Down
65 changes: 43 additions & 22 deletions app/Controller/Api/Rest/SystemThera.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace Exodus4D\Pathfinder\Controller\Api\Rest;

use Exodus4D\Pathfinder\Controller\Ccp\Universe;
use Exodus4D\Pathfinder\Lib\Config;

class SystemThera extends AbstractRestController {
Expand Down Expand Up @@ -35,7 +36,6 @@ public function get(\Base $f3){
*/
protected function getEveScoutTheraConnections() : array {
$connectionsData = [];

/**
* map system data from eveScout response to Pathfinder´s 'system' format
* @param string $key
Expand All @@ -44,17 +44,19 @@ protected function getEveScoutTheraConnections() : array {
*/
$enrichWithSystemData = function(string $key, array $eveScoutConnection, array &$connectionData) : void {
$eveScoutSystem = (array)$eveScoutConnection[$key];
$universe = new Universe();
$staticData = $universe->getSystemData($eveScoutSystem['id']);

$systemData = [
'id' => (int)$eveScoutSystem['id'],
'name' => (string)$eveScoutSystem['name'],
'trueSec' => round((float)$eveScoutSystem['security'], 4)
'id' => (int)$staticData->id,
'name' => (string)$staticData->name,
'system_class' => round((float)$staticData->trueSec, 4),
'constellation' => ['id' => (int)$staticData->constellation->id],
'region' => [
'id' => (int)$staticData->constellation->region->id,
'name' => (string)$staticData->constellation->region->name
]
];
if(!empty($eveScoutSystem['constellationID'])){
$systemData['constellation'] = ['id' => (int)$eveScoutSystem['constellationID']];
}
if(!empty($region = (array)$eveScoutSystem['region']) && !empty($region['id'])){
$systemData['region'] = ['id' => (int)$region['id'], 'name' => (string)$region['name']];
}
$connectionData[$key] = $systemData;
};

Expand All @@ -66,10 +68,14 @@ protected function getEveScoutTheraConnections() : array {
$enrichWithSignatureData = function(string $key, array $eveScoutConnection, array &$connectionData) : void {
$eveScoutSignature = (array)$eveScoutConnection[$key];
$signatureData = [
'name' => $eveScoutSignature['name'] ? : null
'name' => $eveScoutSignature['name'] ? : null,
'short_name' => str_split($eveScoutSignature['name'],3)[0] ? : null
];
if(!empty($sigType = (array)$eveScoutSignature['type']) && !empty($sigType['name'])){
$signatureData['type'] = ['name' => strtoupper((string)$sigType['name'])];
if($key == 'sourceSignature' && $eveScoutConnection['wh_exits_outward']) {
$signatureData['type'] = ['name' => strtoupper((string)$eveScoutConnection['wh_type'])];
}
if($key == 'targetSignature' && !$eveScoutConnection['wh_exits_outware']) {
$signatureData['type'] = ['name' => strtoupper((string)$eveScoutConnection['wh_type'])];
}
$connectionData[$key] = $signatureData;
};
Expand All @@ -81,17 +87,31 @@ protected function getEveScoutTheraConnections() : array {
*/
$enrichWithWormholeData = function(array $wormholeData, array &$connectionsData) : void {
$type = [];
if($wormholeData['mass'] === 'reduced'){
$type[] = 'wh_reduced';
}else if($wormholeData['mass'] === 'critical'){
$type[] = 'wh_critical';
}else{
$type[] = 'wh_fresh';
}
$type[] = 'wh_fresh';

if($wormholeData['eol'] === 'critical'){
if($wormholeData['estimatedEol'] <= 4){
$type[] = 'wh_eol';
}
switch($wormholeData['jumpMass']) {
case "capital":
$type[] = 'wh_jump_mass_xl';
break;
case "xlarge":
$type[] = 'wh_jump_mass_xl';
break;
case "large":
$type[] = 'wh_jump_mass_l';
break;
case "medium":
$type[] = 'wh_jump_mass_m';
break;
case "small":
$type[] = 'wh_jump_mass_s';
break;
default:
break;
}

$connectionsData['type'] = $type;
$connectionsData['estimatedEol'] = $wormholeData['estimatedEol'];
};
Expand All @@ -101,7 +121,8 @@ protected function getEveScoutTheraConnections() : array {
foreach((array)$eveScoutResponse['connections'] as $eveScoutConnection){
if(
$eveScoutConnection['type'] === 'wormhole' &&
isset($eveScoutConnection['source']) && isset($eveScoutConnection['target'])
isset($eveScoutConnection['source']) && isset($eveScoutConnection['target']) &&
$eveScoutConnection['source']['id'] === 31000005 // Check it's thera and not a turnur connection
){
try{
$data = [
Expand Down
13 changes: 7 additions & 6 deletions app/Controller/Api/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ protected function setupSystemJumpTable(int $offset = 0, int $length = 0) : arra
`system` `sys_inner` ON
`sys_inner`.`id` = `stargate`.`destinationSystemId`
WHERE
`stargate`.`systemId` = `system`.`id`
`stargate`.`systemId` = `system`.`id`
) `jumpNodes`
FROM
`system` INNER JOIN
Expand All @@ -350,10 +350,11 @@ protected function setupSystemJumpTable(int $offset = 0, int $length = 0) : arra
`constellation`.`regionId` != :regionIdJove3 AND
(
`system`.`security` = :ns OR
`system`.`security` = :ls OR
`system`.`security` = :hs
`system`.`security` = :ls OR
`system`.`security` = :hs OR
`system`.`security` = :ts
)
HAVING
HAVING
`jumpNodes` IS NOT NULL
";

Expand All @@ -364,7 +365,7 @@ protected function setupSystemJumpTable(int $offset = 0, int $length = 0) : arra
':ns' => '0.0',
':ls' => 'L',
':hs' => 'H',
':tr' => 'T'
':ts' => 'T'
];

if($length){
Expand Down Expand Up @@ -423,4 +424,4 @@ protected function setupSystemJumpTable(int $offset = 0, int $length = 0) : arra
return $info;
}

}
}
3 changes: 2 additions & 1 deletion app/Controller/Api/Universe.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ public function search(\Base $f3, $params){
$postData = (array)$f3->get('POST');
$categories = (array)$postData['categories'];
$universeNameData = [];
$activeCharacter = $this->getCharacter();

if(
array_key_exists('arg1', $params) &&
!empty($search = strtolower($params['arg1'])) &&
!empty($categories)
){
$universeNameData = Ccp\Universe::searchUniverseNameData($categories, $search);
$universeNameData = Ccp\Universe::searchUniverseNameData($categories, $search, $activeCharacter->_id, $activeCharacter->getAccessToken());
}

echo json_encode($universeNameData);
Expand Down
Loading