diff --git a/app/build.gradle b/app/build.gradle --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ applicationId "it.reyboz.bustorino" minSdkVersion 16 targetSdkVersion 33 - versionCode 47 - versionName "1.19.0" + versionCode 48 + versionName "1.19.1" vectorDrawables.useSupportLibrary = true multiDexEnabled true javaCompileOptions { diff --git a/cli/diff-changelog.php b/cli/diff-changelog.php --- a/cli/diff-changelog.php +++ b/cli/diff-changelog.php @@ -80,6 +80,7 @@ $tasks = []; $tasks_phid = []; +$tasks_phids_from_diff_phid = []; // cache with users by phids $USERS_BY_PHID = []; @@ -92,9 +93,21 @@ ]; // find Tasks attached to Diff patch +echo json_encode($edge_api_parameters, JSON_PRETTY_PRINT) . "\n"; $edge_result = $client->callMethodSynchronous( 'edge.search', $edge_api_parameters ); +echo json_encode($edge_result, JSON_PRETTY_PRINT) . "\n"; foreach( $edge_result['data'] as $data ) { - $tasks_phid[] = $data['destinationPHID']; + $diff_phid = $data['sourcePHID']; + $task_phid = $data['destinationPHID']; + $tasks_phid[] = $task_phid; + $tasks_phids_from_diff_phid[$diff_phid][] = $task_phid; +} + +// Show Diffs that have no Tasks so you can fix on Phorge +foreach( $tasks_phids_from_diff_phid as $diff_phid => $diff_task_phids ) { + if( !$diff_task_phids ) { + echo "Diff $diff_phid has no Tasks\n"; + } } // https://gitpull.it/conduit/method/maniphest.search/ diff --git a/metadata/en-US/changelogs/48.txt b/metadata/en-US/changelogs/48.txt new file mode 100644 --- /dev/null +++ b/metadata/en-US/changelogs/48.txt @@ -0,0 +1,9 @@ +Fix crash of app when on the map screen when the database is not completely up-to-date +Reported by marcoM32 +Resolved by fabio.mazza +https://gitpull.it/T1170 + +Fix arrivals not showing when different screen chosen to show on startup +Reported by marcoM32 +Resolved by fabio.mazza +https://gitpull.it/T1172 diff --git a/metadata/it/changelogs/48.txt b/metadata/it/changelogs/48.txt new file mode 100644 --- /dev/null +++ b/metadata/it/changelogs/48.txt @@ -0,0 +1,9 @@ +Risoluzione bug che portava al crash con la mappa causato da dati mancanti nel database +Segnalato da marcoM32 +Risolto da fabio.mazza +https://gitpull.it/T1172 + +Corretta visualizzazione degli arrivi quando si personalizza la schermata da mostrare all'avvio +Segnalato da marcoM32 +Risolto da fabio.mazza +https://gitpull.it/T1172