Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bb34b775bd | |||
| 8b08969c69 |
@@ -34,9 +34,6 @@ class EventServiceProvider extends ServiceProvider
|
|||||||
Verified::class => [
|
Verified::class => [
|
||||||
ActivateUser::class,
|
ActivateUser::class,
|
||||||
],
|
],
|
||||||
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
|
|
||||||
'SocialiteProviders\\Azure\\AzureExtendSocialite@handle',
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -46,7 +43,7 @@ class EventServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
parent::boot(); // Aggiungi questa linea per sicurezza
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
"phpmailer/phpmailer": "^6.9",
|
"phpmailer/phpmailer": "^6.9",
|
||||||
"phpoffice/phpspreadsheet": "^4.1",
|
"phpoffice/phpspreadsheet": "^4.1",
|
||||||
"proengsoft/laravel-jsvalidation": "^4.0.0",
|
"proengsoft/laravel-jsvalidation": "^4.0.0",
|
||||||
"socialiteproviders/microsoft-azure": "^5.2",
|
|
||||||
"spatie/laravel-query-builder": "^5.0",
|
"spatie/laravel-query-builder": "^5.0",
|
||||||
"vanguardapp/activity-log": "^6.0",
|
"vanguardapp/activity-log": "^6.0",
|
||||||
"vanguardapp/announcements": "^6.0",
|
"vanguardapp/announcements": "^6.0",
|
||||||
|
|||||||
Generated
+1
-126
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "583c865e5b67680202a816953a662b03",
|
"content-hash": "ef3e05e7260284f5b7c7b4b6f93b252b",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "akaunting/laravel-setting",
|
"name": "akaunting/laravel-setting",
|
||||||
@@ -4980,131 +4980,6 @@
|
|||||||
],
|
],
|
||||||
"time": "2024-04-27T21:32:50+00:00"
|
"time": "2024-04-27T21:32:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "socialiteproviders/manager",
|
|
||||||
"version": "v4.8.1",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/SocialiteProviders/Manager.git",
|
|
||||||
"reference": "8180ec14bef230ec2351cff993d5d2d7ca470ef4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/8180ec14bef230ec2351cff993d5d2d7ca470ef4",
|
|
||||||
"reference": "8180ec14bef230ec2351cff993d5d2d7ca470ef4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
|
|
||||||
"laravel/socialite": "^5.5",
|
|
||||||
"php": "^8.1"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"mockery/mockery": "^1.2",
|
|
||||||
"phpunit/phpunit": "^9.0"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"laravel": {
|
|
||||||
"providers": [
|
|
||||||
"SocialiteProviders\\Manager\\ServiceProvider"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"SocialiteProviders\\Manager\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Andy Wendt",
|
|
||||||
"email": "andy@awendt.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Anton Komarev",
|
|
||||||
"email": "a.komarev@cybercog.su"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Miguel Piedrafita",
|
|
||||||
"email": "soy@miguelpiedrafita.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "atymic",
|
|
||||||
"email": "atymicq@gmail.com",
|
|
||||||
"homepage": "https://atymic.dev"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Easily add new or override built-in providers in Laravel Socialite.",
|
|
||||||
"homepage": "https://socialiteproviders.com",
|
|
||||||
"keywords": [
|
|
||||||
"laravel",
|
|
||||||
"manager",
|
|
||||||
"oauth",
|
|
||||||
"providers",
|
|
||||||
"socialite"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/socialiteproviders/manager/issues",
|
|
||||||
"source": "https://github.com/socialiteproviders/manager"
|
|
||||||
},
|
|
||||||
"time": "2025-02-24T19:33:30+00:00"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "socialiteproviders/microsoft-azure",
|
|
||||||
"version": "5.2.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/SocialiteProviders/Microsoft-Azure.git",
|
|
||||||
"reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16",
|
|
||||||
"reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-json": "*",
|
|
||||||
"php": "^8.0",
|
|
||||||
"socialiteproviders/manager": "^4.4"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"SocialiteProviders\\Azure\\": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Chris Hemmings",
|
|
||||||
"email": "chris@hemmin.gs"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Microsoft Azure OAuth2 Provider for Laravel Socialite",
|
|
||||||
"keywords": [
|
|
||||||
"azure",
|
|
||||||
"laravel",
|
|
||||||
"microsoft",
|
|
||||||
"oauth",
|
|
||||||
"provider",
|
|
||||||
"socialite"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"docs": "https://socialiteproviders.com/microsoft-azure",
|
|
||||||
"issues": "https://github.com/socialiteproviders/providers/issues",
|
|
||||||
"source": "https://github.com/socialiteproviders/providers"
|
|
||||||
},
|
|
||||||
"time": "2024-03-15T03:02:10+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "spatie/laravel-package-tools",
|
"name": "spatie/laravel-package-tools",
|
||||||
"version": "1.16.4",
|
"version": "1.16.4",
|
||||||
|
|||||||
+3
-3
@@ -11,9 +11,9 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'social' => [
|
// 'social' => [
|
||||||
'providers' => ['azure'],
|
// 'providers' => ['facebook', 'twitter', 'google'],
|
||||||
],
|
// ],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
+3
-10
@@ -64,9 +64,9 @@ return [
|
|||||||
'redirect' => env('GOOGLE_CALLBACK_URI'),
|
'redirect' => env('GOOGLE_CALLBACK_URI'),
|
||||||
],
|
],
|
||||||
|
|
||||||
// 'authy' => [
|
// 'authy' => [
|
||||||
// 'key' => env('AUTHY_KEY'),
|
// 'key' => env('AUTHY_KEY'),
|
||||||
// ],
|
// ],
|
||||||
|
|
||||||
'resend' => [
|
'resend' => [
|
||||||
'key' => env('RESEND_KEY'),
|
'key' => env('RESEND_KEY'),
|
||||||
@@ -78,11 +78,4 @@ return [
|
|||||||
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
|
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
'azure' => [
|
|
||||||
'client_id' => env('AZURE_CLIENT_ID'),
|
|
||||||
'client_secret' => env('AZURE_CLIENT_SECRET'),
|
|
||||||
'redirect' => env('AZURE_REDIRECT_URI'),
|
|
||||||
'tenant' => env('AZURE_TENANT_ID'),
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -12,3 +12,6 @@
|
|||||||
2025-08-26 16:49:24 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
2025-08-26 16:49:24 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
||||||
2025-08-26 16:50:23 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
2025-08-26 16:50:23 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
||||||
2025-09-08 08:39:17 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
2025-09-08 08:39:17 - Risposta non JSON valida: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema Namespace="DevExpress.ExpressApp.SystemModule" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType Name="DashboardViewItemDescriptor"><Key><PropertyRef Name="ViewId" /></Key><Property Name="ViewId" Type="Edm.String" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem" BaseType="DevExpress.ExpressApp.NonPersistentLiteObject" Abstract="true"><Property Name="Visibility" Type="DevExpress.ExpressApp.Editors.ViewItemVisibility" Nullable="false" /></EntityType><EntityType Name="DashboardOrganizationItem_1OfIModelDashboardViewItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem" Abstract="true" /><EntityType Name="ViewDashboardOrganizationItem" BaseType="DevExpress.ExpressApp.SystemModule.DashboardOrganizationItem_1OfIModelDashboardViewItem"><Property Name="ObjectType" Type="System.Type" /><Proper
|
||||||
|
2025-09-16 13:37:03 - Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
|
||||||
|
2025-09-16 13:37:51 - Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
|
||||||
|
2025-09-16 13:44:24 - Autenticazione fallita: HTTP 400, Errore cURL: , Risposta: {"title":"Bad Request","status":400,"detail":"Cannot persist the object. It was modified or deleted (purged) by another application.","instance":"POST /api/authentication/authenticate","errorCode":"96bfc1252b"}
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
<?php
|
||||||
|
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
|
||||||
|
require_once dirname(__FILE__) . '/class/VisualLimsApiClient.class.php';
|
||||||
|
|
||||||
|
header('Content-Type: application/json');
|
||||||
|
|
||||||
|
ini_set('display_errors', '0');
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$api = VisualLimsApiClient::getInstance();
|
||||||
|
|
||||||
|
// Endpoint per recuperare le Matrici
|
||||||
|
$endpoint = 'Matrice';
|
||||||
|
|
||||||
|
// (Opzionale) aggiungi parametri, ad esempio $top per limitare i risultati
|
||||||
|
$options = []; // oppure ad esempio: ['$top' => 100]
|
||||||
|
|
||||||
|
// Debug: salva URL usato
|
||||||
|
$base_url = 'https://93.43.5.102/limsapi/api/odata/';
|
||||||
|
$query = http_build_query($options);
|
||||||
|
$full_url = $base_url . $endpoint . ($query ? '?' . $query : '');
|
||||||
|
file_put_contents(__DIR__ . '/last_url.txt', $full_url . PHP_EOL, FILE_APPEND);
|
||||||
|
|
||||||
|
// Chiamata API
|
||||||
|
$data = $api->get($endpoint, $options);
|
||||||
|
|
||||||
|
// Salva il JSON in locale
|
||||||
|
file_put_contents(__DIR__ . '/matrici_response.json', json_encode($data, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
echo json_encode($data);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
file_put_contents(__DIR__ . '/error_log.txt', date('Y-m-d H:i:s') . ' - ' . $e->getMessage() . PHP_EOL, FILE_APPEND);
|
||||||
|
http_response_code(500);
|
||||||
|
echo json_encode(['error' => $e->getMessage()]);
|
||||||
|
}
|
||||||
@@ -128,6 +128,9 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
|||||||
<link rel="icon" href="assets/images/favicon-32x32.png" type="image/png" />
|
<link rel="icon" href="assets/images/favicon-32x32.png" type="image/png" />
|
||||||
<?php include('cssinclude.php'); ?>
|
<?php include('cssinclude.php'); ?>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
|
||||||
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
|
||||||
<style>
|
<style>
|
||||||
input.auto-input,
|
input.auto-input,
|
||||||
select.auto-input {
|
select.auto-input {
|
||||||
@@ -947,7 +950,7 @@ foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
|||||||
<?php include('include/footer.php'); ?>
|
<?php include('include/footer.php'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php include('jsinclude.php'); ?>
|
<?php include('jsinclude.php'); ?>
|
||||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/5.3.1/fabric.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/5.3.1/fabric.min.js"></script>
|
||||||
<script src="photos.js"></script>
|
<script src="photos.js"></script>
|
||||||
<script src="parts.js"></script>
|
<script src="parts.js"></script>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!-- Bootstrap JS -->
|
<!-- Bootstrap JS -->
|
||||||
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
<!--plugins-->
|
<!--plugins-->
|
||||||
<script src="assets/js/jquery.min.js"></script>
|
|
||||||
<script src="assets/plugins/simplebar/js/simplebar.min.js"></script>
|
<script src="assets/plugins/simplebar/js/simplebar.min.js"></script>
|
||||||
<script src="assets/plugins/metismenu/js/metisMenu.min.js"></script>
|
<script src="assets/plugins/metismenu/js/metisMenu.min.js"></script>
|
||||||
<script src="assets/plugins/perfect-scrollbar/js/perfect-scrollbar.js"></script>
|
<script src="assets/plugins/perfect-scrollbar/js/perfect-scrollbar.js"></script>
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ if (!$iddatadb) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$stmt = $pdo->prepare("SELECT id, iddatadb, part_number, part_description FROM identification_parts WHERE iddatadb = :iddatadb ORDER BY part_number ASC");
|
$stmt = $pdo->prepare("SELECT id, iddatadb, part_number, part_description, idmatrice FROM identification_parts WHERE iddatadb = :iddatadb ORDER BY part_number ASC");
|
||||||
$stmt->execute([':iddatadb' => $iddatadb]);
|
$stmt->execute([':iddatadb' => $iddatadb]);
|
||||||
$parts = $stmt->fetchAll();
|
$parts = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
echo json_encode(['success' => true, 'parts' => $parts]);
|
echo json_encode(['success' => true, 'parts' => $parts]);
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
|
|||||||
@@ -9,10 +9,12 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; min-width: 0;">
|
||||||
<h6 style="margin: 0; white-space: nowrap;">Elenco Parti</h6>
|
<h6 style="margin: 0; white-space: nowrap;">Elenco Parti</h6>
|
||||||
<div style="display: flex; align-items: center;">
|
<div style="display: flex; align-items: center; min-width: 0;">
|
||||||
<input type="checkbox" id="showMixParts" name="showMixParts" style="margin-right: 5px;">
|
<select id="global-matrice" class="ms-2" style="width: 250px !important; min-width: 250px !important;">
|
||||||
|
</select>
|
||||||
|
<input type="checkbox" id="showMixParts" name="showMixParts" style="margin-right: 5px; margin-left: 10px;">
|
||||||
<label for="showMixParts" style="font-size: 0.9rem; margin-right: 10px;">Mix</label>
|
<label for="showMixParts" style="font-size: 0.9rem; margin-right: 10px;">Mix</label>
|
||||||
<button type="button" class="btn btn-info btn-sm" id="renumberPartsBtn" style="padding: 0.1rem 0.5rem; font-size: 0.8rem;">Rinumera Parti</button>
|
<button type="button" class="btn btn-info btn-sm" id="renumberPartsBtn" style="padding: 0.1rem 0.5rem; font-size: 0.8rem;">Rinumera Parti</button>
|
||||||
<button type="button" class="btn btn-secondary btn-sm ms-2" id="toggleVoiceBtn" style="padding: 0.1rem 0.5rem; font-size: 0.8rem;"><i class="fas fa-microphone"></i> Voce</button>
|
<button type="button" class="btn btn-secondary btn-sm ms-2" id="toggleVoiceBtn" style="padding: 0.1rem 0.5rem; font-size: 0.8rem;"><i class="fas fa-microphone"></i> Voce</button>
|
||||||
@@ -170,7 +172,6 @@
|
|||||||
/* Unsaved changes */
|
/* Unsaved changes */
|
||||||
#savePhotoBtn.unsaved {
|
#savePhotoBtn.unsaved {
|
||||||
background-color: #dc3545 !important;
|
background-color: #dc3545 !important;
|
||||||
/* Rosso */
|
|
||||||
border-color: #dc3545 !important;
|
border-color: #dc3545 !important;
|
||||||
color: white !important;
|
color: white !important;
|
||||||
animation: pulse 1.2s infinite;
|
animation: pulse 1.2s infinite;
|
||||||
@@ -190,4 +191,59 @@
|
|||||||
box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
|
box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Stili per Select2 in #partsList e #global-matrice */
|
||||||
|
#partsList .select2-container,
|
||||||
|
.select2-container--default #global-matrice {
|
||||||
|
width: 250px !important;
|
||||||
|
min-width: 250px !important;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#partsList .select2-selection--single,
|
||||||
|
.select2-container--default #global-matrice .select2-selection--single {
|
||||||
|
height: 26px !important;
|
||||||
|
padding: 0.2rem 0.5rem !important;
|
||||||
|
font-size: 0.9rem !important;
|
||||||
|
border: 1px solid #ced4da !important;
|
||||||
|
background-color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#partsList .select2-selection__rendered,
|
||||||
|
.select2-container--default #global-matrice .select2-selection__rendered {
|
||||||
|
line-height: 24px !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
text-overflow: ellipsis !important;
|
||||||
|
white-space: nowrap !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#partsList .select2-selection__arrow,
|
||||||
|
.select2-container--default #global-matrice .select2-selection__arrow {
|
||||||
|
height: 26px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#partsList .save-status,
|
||||||
|
#partsList .save-loading {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container--open .select2-dropdown {
|
||||||
|
z-index: 1051 !important;
|
||||||
|
border: 1px solid #aaa !important;
|
||||||
|
border-radius: 4px !important;
|
||||||
|
background: white !important;
|
||||||
|
overflow-y: auto !important;
|
||||||
|
max-height: 200px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||||
|
width: 100% !important;
|
||||||
|
padding: 0.2rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-container--default .part-matrice,
|
||||||
|
.select2-container--default #global-matrice {
|
||||||
|
width: 250px !important;
|
||||||
|
min-width: 250px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+254
-53
@@ -16,10 +16,15 @@ $(document).ready(function () {
|
|||||||
let photoAnnotations = {};
|
let photoAnnotations = {};
|
||||||
// colors keyed by part number
|
// colors keyed by part number
|
||||||
let partColors = {};
|
let partColors = {};
|
||||||
|
// matrice IDs keyed by part number
|
||||||
|
let partMatrice = {};
|
||||||
|
|
||||||
// selection
|
// selection
|
||||||
let selectedPartNumber = null;
|
let selectedPartNumber = null;
|
||||||
|
|
||||||
|
// lista delle matrici precaricata
|
||||||
|
let matrici = [];
|
||||||
|
|
||||||
// ===================
|
// ===================
|
||||||
// VOICE RECOGNITION SETUP
|
// VOICE RECOGNITION SETUP
|
||||||
// ===================
|
// ===================
|
||||||
@@ -27,13 +32,13 @@ $(document).ready(function () {
|
|||||||
window.SpeechRecognition || window.webkitSpeechRecognition;
|
window.SpeechRecognition || window.webkitSpeechRecognition;
|
||||||
let recognition = null;
|
let recognition = null;
|
||||||
let isVoiceActive = false;
|
let isVoiceActive = false;
|
||||||
const magicWord = "salva"; // Parola magica scelta: "prossima" (fa andare alla riga successiva)
|
const magicWord = "salva"; // Parola magica scelta
|
||||||
|
|
||||||
if (SpeechRecognition) {
|
if (SpeechRecognition) {
|
||||||
recognition = new SpeechRecognition();
|
recognition = new SpeechRecognition();
|
||||||
recognition.lang = "it-IT"; // Lingua italiana
|
recognition.lang = "it-IT";
|
||||||
recognition.continuous = true; // Ascolto continuo
|
recognition.continuous = true;
|
||||||
recognition.interimResults = false; // Solo risultati finali per semplicità
|
recognition.interimResults = false;
|
||||||
|
|
||||||
recognition.onresult = function (event) {
|
recognition.onresult = function (event) {
|
||||||
const transcript = event.results[
|
const transcript = event.results[
|
||||||
@@ -43,11 +48,10 @@ $(document).ready(function () {
|
|||||||
.toLowerCase();
|
.toLowerCase();
|
||||||
console.log("Transcript vocale:", transcript);
|
console.log("Transcript vocale:", transcript);
|
||||||
|
|
||||||
const $currentRow = $("#partsTableBody tr:last"); // Ultima riga corrente
|
const $currentRow = $("#partsTableBody tr:last");
|
||||||
const $descriptionInput = $currentRow.find(".part-description");
|
const $descriptionInput = $currentRow.find(".part-description");
|
||||||
|
|
||||||
if (transcript.includes(magicWord)) {
|
if (transcript.includes(magicWord)) {
|
||||||
// Rimuovi la parola magica e aggiungi il resto alla descrizione corrente
|
|
||||||
const cleanedTranscript = transcript
|
const cleanedTranscript = transcript
|
||||||
.replace(magicWord, "")
|
.replace(magicWord, "")
|
||||||
.trim();
|
.trim();
|
||||||
@@ -59,9 +63,8 @@ $(document).ready(function () {
|
|||||||
cleanedTranscript
|
cleanedTranscript
|
||||||
).trim(),
|
).trim(),
|
||||||
);
|
);
|
||||||
$descriptionInput.trigger("blur"); // Salva se necessario
|
$descriptionInput.trigger("blur");
|
||||||
}
|
}
|
||||||
// Aggiungi nuova riga (simile a click su +)
|
|
||||||
const maxPartNumber = Math.max(
|
const maxPartNumber = Math.max(
|
||||||
...$("#partsTableBody tr")
|
...$("#partsTableBody tr")
|
||||||
.map(function () {
|
.map(function () {
|
||||||
@@ -73,22 +76,19 @@ $(document).ready(function () {
|
|||||||
.get(),
|
.get(),
|
||||||
);
|
);
|
||||||
addNewRow(maxPartNumber + 1);
|
addNewRow(maxPartNumber + 1);
|
||||||
// Focus sulla nuova descrizione
|
|
||||||
const $newRow = $("#partsTableBody tr:last");
|
const $newRow = $("#partsTableBody tr:last");
|
||||||
$newRow.find(".part-description").focus();
|
$newRow.find(".part-description").focus();
|
||||||
} else {
|
} else {
|
||||||
// Aggiungi il transcript alla descrizione corrente
|
|
||||||
$descriptionInput.val(
|
$descriptionInput.val(
|
||||||
($descriptionInput.val() + " " + transcript).trim(),
|
($descriptionInput.val() + " " + transcript).trim(),
|
||||||
);
|
);
|
||||||
$descriptionInput.trigger("blur"); // Salva se necessario
|
$descriptionInput.trigger("blur");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
recognition.onerror = function (event) {
|
recognition.onerror = function (event) {
|
||||||
console.error("Errore riconoscimento vocale:", event.error);
|
console.error("Errore riconoscimento vocale:", event.error);
|
||||||
if (event.error === "no-speech" || event.error === "aborted") {
|
if (event.error === "no-speech" || event.error === "aborted") {
|
||||||
// Riavvia se necessario
|
|
||||||
if (isVoiceActive) recognition.start();
|
if (isVoiceActive) recognition.start();
|
||||||
} else {
|
} else {
|
||||||
alert("Errore nel riconoscimento vocale: " + event.error);
|
alert("Errore nel riconoscimento vocale: " + event.error);
|
||||||
@@ -97,18 +97,15 @@ $(document).ready(function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
recognition.onend = function () {
|
recognition.onend = function () {
|
||||||
if (isVoiceActive) {
|
if (isVoiceActive) recognition.start();
|
||||||
recognition.start(); // Riavvia per ascolto continuo
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
console.warn("Riconoscimento vocale non supportato dal browser.");
|
console.warn("Riconoscimento vocale non supportato dal browser.");
|
||||||
$("#toggleVoiceBtn").hide(); // Nascondi pulsante se non supportato
|
$("#toggleVoiceBtn").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleVoiceRecognition() {
|
function toggleVoiceRecognition() {
|
||||||
if (!recognition) return;
|
if (!recognition) return;
|
||||||
|
|
||||||
isVoiceActive = !isVoiceActive;
|
isVoiceActive = !isVoiceActive;
|
||||||
const $btn = $("#toggleVoiceBtn");
|
const $btn = $("#toggleVoiceBtn");
|
||||||
if (isVoiceActive) {
|
if (isVoiceActive) {
|
||||||
@@ -116,7 +113,6 @@ $(document).ready(function () {
|
|||||||
'<i class="fas fa-microphone-slash"></i> Stop Voce',
|
'<i class="fas fa-microphone-slash"></i> Stop Voce',
|
||||||
);
|
);
|
||||||
recognition.start();
|
recognition.start();
|
||||||
// Focus iniziale sull'ultima descrizione
|
|
||||||
const $currentRow = $("#partsTableBody tr:last");
|
const $currentRow = $("#partsTableBody tr:last");
|
||||||
$currentRow.find(".part-description").focus();
|
$currentRow.find(".part-description").focus();
|
||||||
} else {
|
} else {
|
||||||
@@ -154,8 +150,39 @@ $(document).ready(function () {
|
|||||||
$("#trfHeader").text(`${iddatadb} - ${importRef} - ${description}`);
|
$("#trfHeader").text(`${iddatadb} - ${importRef} - ${description}`);
|
||||||
$("#partsModal").data("iddatadb", iddatadb);
|
$("#partsModal").data("iddatadb", iddatadb);
|
||||||
|
|
||||||
loadPhoto(iddatadb);
|
// Precarica le matrici una volta sola
|
||||||
loadExistingParts(iddatadb);
|
if (matrici.length === 0) {
|
||||||
|
$.ajax({
|
||||||
|
url: "get_matrice.php",
|
||||||
|
method: "GET",
|
||||||
|
dataType: "json",
|
||||||
|
success: function (data) {
|
||||||
|
matrici = data.value || [];
|
||||||
|
console.log(
|
||||||
|
"Matrici precaricate (una volta sola):",
|
||||||
|
matrici,
|
||||||
|
);
|
||||||
|
initializeGlobalSelect2();
|
||||||
|
loadPhoto(iddatadb);
|
||||||
|
loadExistingParts(iddatadb);
|
||||||
|
},
|
||||||
|
error: function (xhr, status, error) {
|
||||||
|
console.error(
|
||||||
|
"Errore nel precaricamento delle matrici:",
|
||||||
|
error,
|
||||||
|
);
|
||||||
|
alert("Errore nel caricamento delle matrici: " + error);
|
||||||
|
matrici = [];
|
||||||
|
loadPhoto(iddatadb);
|
||||||
|
loadExistingParts(iddatadb);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
console.log("Matrici già precaricate, riutilizzo.");
|
||||||
|
initializeGlobalSelect2();
|
||||||
|
loadPhoto(iddatadb);
|
||||||
|
loadExistingParts(iddatadb);
|
||||||
|
}
|
||||||
|
|
||||||
if (partsModal) {
|
if (partsModal) {
|
||||||
const modal = new bootstrap.Modal(partsModal);
|
const modal = new bootstrap.Modal(partsModal);
|
||||||
@@ -250,7 +277,7 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
function loadSinglePhoto(photoPath) {
|
function loadSinglePhoto(photoPath) {
|
||||||
const img = $("#samplePhoto");
|
const img = $("#samplePhoto");
|
||||||
img.off("load"); // avoid stacking multiple handlers
|
img.off("load");
|
||||||
img.attr("src", photoPath);
|
img.attr("src", photoPath);
|
||||||
|
|
||||||
img.on("load", function () {
|
img.on("load", function () {
|
||||||
@@ -281,7 +308,6 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
canvas.width = naturalWidth;
|
canvas.width = naturalWidth;
|
||||||
canvas.height = naturalHeight;
|
canvas.height = naturalHeight;
|
||||||
|
|
||||||
canvas.style.width = `${displayWidth}px`;
|
canvas.style.width = `${displayWidth}px`;
|
||||||
canvas.style.height = `${displayHeight}px`;
|
canvas.style.height = `${displayHeight}px`;
|
||||||
|
|
||||||
@@ -321,7 +347,6 @@ $(document).ready(function () {
|
|||||||
</tr>`;
|
</tr>`;
|
||||||
$("#partsTableBody").append(newRow);
|
$("#partsTableBody").append(newRow);
|
||||||
updateRowButtons();
|
updateRowButtons();
|
||||||
// Initialize color for the new part
|
|
||||||
const partNumber = nextPartNumber || 1;
|
const partNumber = nextPartNumber || 1;
|
||||||
partColors[partNumber] = defaultColor;
|
partColors[partNumber] = defaultColor;
|
||||||
}
|
}
|
||||||
@@ -377,9 +402,10 @@ $(document).ready(function () {
|
|||||||
if (response.success) {
|
if (response.success) {
|
||||||
$row.remove();
|
$row.remove();
|
||||||
delete partColors[partNumber];
|
delete partColors[partNumber];
|
||||||
|
delete partMatrice[partNumber];
|
||||||
updateRowButtons();
|
updateRowButtons();
|
||||||
updatePartsList();
|
updatePartsList();
|
||||||
clearCanvasMarkers(false); // Preserve descriptions
|
clearCanvasMarkers(false);
|
||||||
} else {
|
} else {
|
||||||
alert("Errore nell'eliminazione: " + response.message);
|
alert("Errore nell'eliminazione: " + response.message);
|
||||||
}
|
}
|
||||||
@@ -398,6 +424,7 @@ $(document).ready(function () {
|
|||||||
} else {
|
} else {
|
||||||
$row.remove();
|
$row.remove();
|
||||||
delete partColors[partNumber];
|
delete partColors[partNumber];
|
||||||
|
delete partMatrice[partNumber];
|
||||||
updateRowButtons();
|
updateRowButtons();
|
||||||
updatePartsList();
|
updatePartsList();
|
||||||
}
|
}
|
||||||
@@ -412,7 +439,6 @@ $(document).ready(function () {
|
|||||||
const $saveLoading = $row.find(".save-loading");
|
const $saveLoading = $row.find(".save-loading");
|
||||||
const iddatadb = $("#partsModal").data("iddatadb");
|
const iddatadb = $("#partsModal").data("iddatadb");
|
||||||
const isMix = partDescription.startsWith("Mix") ? "Y" : "N";
|
const isMix = partDescription.startsWith("Mix") ? "Y" : "N";
|
||||||
|
|
||||||
const partId = $row.data("part-id") || null;
|
const partId = $row.data("part-id") || null;
|
||||||
|
|
||||||
if (partDescription && iddatadb) {
|
if (partDescription && iddatadb) {
|
||||||
@@ -465,6 +491,160 @@ $(document).ready(function () {
|
|||||||
markUnsaved();
|
markUnsaved();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Funzione per inizializzare Select2 sulle tendine delle matrici
|
||||||
|
function initializeSelect2($select, partNumber, partId, idmatrice) {
|
||||||
|
if (typeof $.fn.select2 === "undefined") {
|
||||||
|
console.error("Select2 non disponibile per parte " + partNumber);
|
||||||
|
$select.replaceWith(
|
||||||
|
'<input type="text" class="form-control form-control-sm" placeholder="Select2 non disponibile" disabled>',
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Popola con i dati precaricati
|
||||||
|
const options = matrici.map(function (matrice) {
|
||||||
|
return {
|
||||||
|
id: matrice.IdMatrice,
|
||||||
|
text: matrice.NomeMatriceTraduzione,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
$select.select2({
|
||||||
|
placeholder: "Seleziona matrice",
|
||||||
|
allowClear: true,
|
||||||
|
data: options, // Carica la lista completa all'apertura
|
||||||
|
dropdownParent: $("#partsModal"),
|
||||||
|
matcher: function (params, data) {
|
||||||
|
// Filtraggio lato client sulla descrizione
|
||||||
|
if (!params.term || params.term.length < 3) {
|
||||||
|
return data; // Mostra tutto se meno di 3 caratteri
|
||||||
|
}
|
||||||
|
const term = params.term.toUpperCase();
|
||||||
|
if (data.text.toUpperCase().indexOf(term) >= 0) {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
// Carica la matrice esistente, se presente
|
||||||
|
if (partId && partId !== "new" && idmatrice) {
|
||||||
|
const matrice = matrici.find((m) => m.IdMatrice == idmatrice);
|
||||||
|
if (matrice) {
|
||||||
|
console.log(
|
||||||
|
"Preselezione matrice per partNumber " + partNumber + ":",
|
||||||
|
matrice,
|
||||||
|
);
|
||||||
|
const option = new Option(
|
||||||
|
matrice.NomeMatriceTraduzione,
|
||||||
|
matrice.IdMatrice,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
);
|
||||||
|
$select.append(option).trigger("change");
|
||||||
|
partMatrice[partNumber] = matrice.IdMatrice;
|
||||||
|
} else {
|
||||||
|
console.warn(
|
||||||
|
"Matrice con ID " +
|
||||||
|
idmatrice +
|
||||||
|
" non trovata per partNumber " +
|
||||||
|
partNumber,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gestione del cambio della matrice
|
||||||
|
$select.on("change", function () {
|
||||||
|
const idmatrice = $(this).val();
|
||||||
|
const $listItem = $(this).closest("li");
|
||||||
|
const $saveStatus = $listItem.find(".save-status");
|
||||||
|
const $saveLoading = $listItem.find(".save-loading");
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
"Cambio matrice per partNumber:",
|
||||||
|
partNumber,
|
||||||
|
"nuovo idmatrice:",
|
||||||
|
idmatrice,
|
||||||
|
);
|
||||||
|
partMatrice[partNumber] = idmatrice || null;
|
||||||
|
|
||||||
|
if (partId && partId !== "new") {
|
||||||
|
$saveLoading.show();
|
||||||
|
$saveStatus.hide();
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: "save_matrice.php",
|
||||||
|
method: "POST",
|
||||||
|
data: JSON.stringify({
|
||||||
|
iddatadb: $("#partsModal").data("iddatadb"),
|
||||||
|
parts: [
|
||||||
|
{
|
||||||
|
id: partId,
|
||||||
|
idmatrice: idmatrice || null,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
contentType: "application/json",
|
||||||
|
success: function (response) {
|
||||||
|
if (response.success) {
|
||||||
|
$saveLoading.hide();
|
||||||
|
$saveStatus.show();
|
||||||
|
setTimeout(() => $saveStatus.hide(), 2000);
|
||||||
|
} else {
|
||||||
|
alert(
|
||||||
|
"Errore nel salvataggio della matrice: " +
|
||||||
|
response.message,
|
||||||
|
);
|
||||||
|
$saveLoading.hide();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function (xhr, status, error) {
|
||||||
|
alert("Errore nel salvataggio della matrice: " + error);
|
||||||
|
$saveLoading.hide();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Funzione per inizializzare Select2 sul dropdown globale
|
||||||
|
function initializeGlobalSelect2() {
|
||||||
|
const $select = $("#global-matrice");
|
||||||
|
if (typeof $.fn.select2 === "undefined") {
|
||||||
|
console.error("Select2 non disponibile per il dropdown globale");
|
||||||
|
$select.replaceWith(
|
||||||
|
'<input type="text" class="form-control form-control-sm" placeholder="Select2 non disponibile" disabled>',
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Popola con i dati precaricati
|
||||||
|
const options = matrici.map(function (matrice) {
|
||||||
|
return {
|
||||||
|
id: matrice.IdMatrice,
|
||||||
|
text: matrice.NomeMatriceTraduzione,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
$select.select2({
|
||||||
|
placeholder: "Seleziona matrice globale",
|
||||||
|
allowClear: true,
|
||||||
|
data: options, // Carica la lista completa all'apertura
|
||||||
|
dropdownParent: $("#partsModal"),
|
||||||
|
matcher: function (params, data) {
|
||||||
|
// Filtraggio lato client sulla descrizione
|
||||||
|
if (!params.term || params.term.length < 3) {
|
||||||
|
return data; // Mostra tutto se meno di 3 caratteri
|
||||||
|
}
|
||||||
|
const term = params.term.toUpperCase();
|
||||||
|
if (data.text.toUpperCase().indexOf(term) >= 0) {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function loadExistingParts(iddatadb) {
|
function loadExistingParts(iddatadb) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "load_parts.php",
|
url: "load_parts.php",
|
||||||
@@ -493,6 +673,9 @@ $(document).ready(function () {
|
|||||||
</tr>`;
|
</tr>`;
|
||||||
$("#partsTableBody").append(newRow);
|
$("#partsTableBody").append(newRow);
|
||||||
partColors[part.part_number] = defaultColor;
|
partColors[part.part_number] = defaultColor;
|
||||||
|
if (part.idmatrice) {
|
||||||
|
partMatrice[part.part_number] = part.idmatrice;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
addNewRow(1);
|
addNewRow(1);
|
||||||
@@ -520,6 +703,7 @@ $(document).ready(function () {
|
|||||||
$("#partsTableBody tr").each(function () {
|
$("#partsTableBody tr").each(function () {
|
||||||
const partNumber = $(this).find(".part-number").val();
|
const partNumber = $(this).find(".part-number").val();
|
||||||
const partDescription = $(this).find(".part-description").val();
|
const partDescription = $(this).find(".part-description").val();
|
||||||
|
const partId = $(this).data("part-id");
|
||||||
const partColor =
|
const partColor =
|
||||||
partColors[partNumber] ||
|
partColors[partNumber] ||
|
||||||
(partDescription.startsWith("Mix") ? "#0000ff" : "#ff0000");
|
(partDescription.startsWith("Mix") ? "#0000ff" : "#ff0000");
|
||||||
@@ -529,14 +713,27 @@ $(document).ready(function () {
|
|||||||
(showMixParts || !partDescription.startsWith("Mix"))
|
(showMixParts || !partDescription.startsWith("Mix"))
|
||||||
) {
|
) {
|
||||||
const listItem = `
|
const listItem = `
|
||||||
<li class="list-group-item" data-part-number="${partNumber}">
|
<li class="list-group-item" data-part-number="${partNumber}" data-part-id="${partId}">
|
||||||
${partNumber} - ${partDescription}
|
${partNumber} - ${partDescription}
|
||||||
<div style="display: flex; align-items: center;">
|
<div style="display: flex; align-items: center;">
|
||||||
<button type="button" class="btn btn-success btn-sm add-to-mix-btn" style="padding: 0.1rem 0.3rem; font-size: 0.8rem;"><i class="fas fa-plus fa-xs"></i></button>
|
<button type="button" class="btn btn-primary btn-sm propagate-matrice-btn" style="padding: 0.1rem 0.3rem; font-size: 0.8rem; margin-right: 3px;"><i class="fas fa-arrow-right fa-xs"></i></button>
|
||||||
<input type="color" class="part-color" value="${partColor}" style="margin-left: 5px;">
|
<select class="part-matrice" style="width: 250px !important; margin-right: 10px;"></select>
|
||||||
</div>
|
<button type="button" class="btn btn-success btn-sm add-to-mix-btn" style="padding: 0.1rem 0.3rem; font-size: 0.8rem;"><i class="fas fa-plus fa-xs"></i></button>
|
||||||
</li>`;
|
<input type="color" class="part-color" value="${partColor}" style="margin-left: 5px;">
|
||||||
|
<span class="save-status text-success" style="display: none; margin-left: 5px;"><i class="fas fa-check fa-xs"></i></span>
|
||||||
|
<span class="save-loading text-warning" style="display: none; margin-left: 5px;"><i class="fas fa-spinner fa-spin fa-xs"></i></span>
|
||||||
|
</div>
|
||||||
|
</li>`;
|
||||||
$("#partsList").append(listItem);
|
$("#partsList").append(listItem);
|
||||||
|
const $select = $("#partsList").find(
|
||||||
|
`li[data-part-number="${partNumber}"] .part-matrice`,
|
||||||
|
);
|
||||||
|
initializeSelect2(
|
||||||
|
$select,
|
||||||
|
partNumber,
|
||||||
|
partId,
|
||||||
|
partMatrice[partNumber],
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
updateMarkers();
|
updateMarkers();
|
||||||
@@ -546,8 +743,8 @@ $(document).ready(function () {
|
|||||||
const $rows = $("#partsTableBody tr");
|
const $rows = $("#partsTableBody tr");
|
||||||
const iddatadb = $("#partsModal").data("iddatadb");
|
const iddatadb = $("#partsModal").data("iddatadb");
|
||||||
let newPartColors = {};
|
let newPartColors = {};
|
||||||
|
let newPartMatrice = {};
|
||||||
|
|
||||||
// Raccogli tutte le righe con i loro dati attuali
|
|
||||||
let partsData = $rows
|
let partsData = $rows
|
||||||
.map(function (index) {
|
.map(function (index) {
|
||||||
const $row = $(this);
|
const $row = $(this);
|
||||||
@@ -558,23 +755,21 @@ $(document).ready(function () {
|
|||||||
})
|
})
|
||||||
.get();
|
.get();
|
||||||
|
|
||||||
// Rinumera in modo sequenziale
|
|
||||||
partsData.forEach((part, index) => {
|
partsData.forEach((part, index) => {
|
||||||
const newNumber = index + 1;
|
const newNumber = index + 1;
|
||||||
newPartColors[newNumber] = partColors[part.partNumber] || "#ff0000";
|
newPartColors[newNumber] = partColors[part.partNumber] || "#ff0000";
|
||||||
|
newPartMatrice[newNumber] = partMatrice[part.partNumber] || null;
|
||||||
part.partNumber = newNumber;
|
part.partNumber = newNumber;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Aggiorna i valori nella tabella
|
|
||||||
$rows.each(function (index) {
|
$rows.each(function (index) {
|
||||||
const $row = $(this);
|
const $row = $(this);
|
||||||
$row.find(".part-number").val(index + 1);
|
$row.find(".part-number").val(index + 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Aggiorna partColors
|
|
||||||
partColors = newPartColors;
|
partColors = newPartColors;
|
||||||
|
partMatrice = newPartMatrice;
|
||||||
|
|
||||||
// Aggiorna i marker nelle annotazioni
|
|
||||||
const currentPhoto = $("#samplePhoto").attr("src");
|
const currentPhoto = $("#samplePhoto").attr("src");
|
||||||
if (photoAnnotations[currentPhoto]) {
|
if (photoAnnotations[currentPhoto]) {
|
||||||
photoAnnotations[currentPhoto].markers.forEach((marker) => {
|
photoAnnotations[currentPhoto].markers.forEach((marker) => {
|
||||||
@@ -589,12 +784,12 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Salva le modifiche nel database
|
|
||||||
const partsToSave = partsData.map((part) => ({
|
const partsToSave = partsData.map((part) => ({
|
||||||
id: part.partId || null,
|
id: part.partId || null,
|
||||||
part_number: part.partNumber,
|
part_number: part.partNumber,
|
||||||
part_description: part.partDescription,
|
part_description: part.partDescription,
|
||||||
mix: part.partDescription.startsWith("Mix") ? "Y" : "N",
|
mix: part.partDescription.startsWith("Mix") ? "Y" : "N",
|
||||||
|
idmatrice: partMatrice[part.partNumber] || null,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
@@ -605,10 +800,7 @@ $(document).ready(function () {
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
url: "renumber_parts.php",
|
url: "renumber_parts.php",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({ iddatadb: iddatadb, parts: partsToSave }),
|
||||||
iddatadb: iddatadb,
|
|
||||||
parts: partsToSave,
|
|
||||||
}),
|
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
console.log("Risposta da renumber_parts.php:", response);
|
console.log("Risposta da renumber_parts.php:", response);
|
||||||
@@ -686,10 +878,23 @@ $(document).ready(function () {
|
|||||||
updatePartsList();
|
updatePartsList();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on("click", ".propagate-matrice-btn", function () {
|
||||||
|
const $listItem = $(this).closest("li");
|
||||||
|
const globalVal = $("#global-matrice").val();
|
||||||
|
if (globalVal) {
|
||||||
|
$listItem.find(".part-matrice").val(globalVal).trigger("change");
|
||||||
|
} else {
|
||||||
|
alert("Seleziona una matrice globale prima di propagare.");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$("#partsList").on("click", "li", function (e) {
|
$("#partsList").on("click", "li", function (e) {
|
||||||
if (
|
if (
|
||||||
$(e.target).hasClass("add-to-mix-btn") ||
|
$(e.target).hasClass("add-to-mix-btn") ||
|
||||||
$(e.target).hasClass("part-color")
|
$(e.target).hasClass("part-color") ||
|
||||||
|
$(e.target).hasClass("part-matrice") ||
|
||||||
|
$(e.target).hasClass("propagate-matrice-btn") ||
|
||||||
|
$(e.target).closest(".select2-container").length
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
selectedPartNumber = $(this).data("part-number");
|
selectedPartNumber = $(this).data("part-number");
|
||||||
@@ -703,6 +908,7 @@ $(document).ready(function () {
|
|||||||
$("#renumberPartsBtn").on("click", function () {
|
$("#renumberPartsBtn").on("click", function () {
|
||||||
renumberParts();
|
renumberParts();
|
||||||
});
|
});
|
||||||
|
|
||||||
// ===================
|
// ===================
|
||||||
// MARKERS & DESCRIPTIONS
|
// MARKERS & DESCRIPTIONS
|
||||||
// ===================
|
// ===================
|
||||||
@@ -716,7 +922,7 @@ $(document).ready(function () {
|
|||||||
const clickX = e.clientX - rect.left;
|
const clickX = e.clientX - rect.left;
|
||||||
const clickY = e.clientY - rect.top;
|
const clickY = e.clientY - rect.top;
|
||||||
|
|
||||||
const x = clickX / photoData.scale; // convert to NATURAL coords
|
const x = clickX / photoData.scale;
|
||||||
const y = clickY / photoData.scale;
|
const y = clickY / photoData.scale;
|
||||||
|
|
||||||
const currentPhoto = $("#samplePhoto").attr("src");
|
const currentPhoto = $("#samplePhoto").attr("src");
|
||||||
@@ -957,7 +1163,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$("#removeAnnotationsBtn").on("click", function () {
|
$("#removeAnnotationsBtn").on("click", function () {
|
||||||
clearCanvasMarkers(true); // Remove only descriptions
|
clearCanvasMarkers(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#undoMarkerBtn").on("click", function () {
|
$("#undoMarkerBtn").on("click", function () {
|
||||||
@@ -966,7 +1172,6 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
let unsavedChanges = false;
|
let unsavedChanges = false;
|
||||||
|
|
||||||
// --- helper functions ---
|
|
||||||
function markUnsaved() {
|
function markUnsaved() {
|
||||||
if (!unsavedChanges) {
|
if (!unsavedChanges) {
|
||||||
unsavedChanges = true;
|
unsavedChanges = true;
|
||||||
@@ -979,12 +1184,10 @@ $(document).ready(function () {
|
|||||||
$("#savePhotoBtn").removeClass("unsaved").text("Salva Foto con Nome");
|
$("#savePhotoBtn").removeClass("unsaved").text("Salva Foto con Nome");
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- event listeners ---
|
|
||||||
$(document).on("input change", "#partsTableBody input", markUnsaved);
|
$(document).on("input change", "#partsTableBody input", markUnsaved);
|
||||||
$(document).on("click", ".add-row, .add-mix-row, .remove-row", markUnsaved);
|
$(document).on("click", ".add-row, .add-mix-row, .remove-row", markUnsaved);
|
||||||
$(document).on("markerChanged descriptionChanged", markUnsaved);
|
$(document).on("markerChanged descriptionChanged", markUnsaved);
|
||||||
|
|
||||||
// --- modal close protection ---
|
|
||||||
$("#partsModal").on("hide.bs.modal", function (e) {
|
$("#partsModal").on("hide.bs.modal", function (e) {
|
||||||
if (unsavedChanges) {
|
if (unsavedChanges) {
|
||||||
if (!confirm("Hai modifiche non salvate. Vuoi davvero uscire?")) {
|
if (!confirm("Hai modifiche non salvate. Vuoi davvero uscire?")) {
|
||||||
@@ -993,7 +1196,6 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- SAVE BUTTON ---
|
|
||||||
$("#savePhotoBtn").on("click", function () {
|
$("#savePhotoBtn").on("click", function () {
|
||||||
const canvas = document.getElementById("photoCanvas");
|
const canvas = document.getElementById("photoCanvas");
|
||||||
const ctx = canvas.getContext("2d");
|
const ctx = canvas.getContext("2d");
|
||||||
@@ -1081,11 +1283,10 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(x, y, radius, 0, 2 * Math.PI);
|
ctx.arc(x, y, radius, 0, 2 * Math.PI);
|
||||||
ctx.fillStyle = markerColor; // Use the stored color
|
ctx.fillStyle = markerColor;
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
|
|
||||||
ctx.lineWidth = 3;
|
ctx.lineWidth = 3;
|
||||||
ctx.strokeStyle = markerColor; // Use the same color for the border
|
ctx.strokeStyle = markerColor;
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
|
|
||||||
ctx.fillStyle = "#ffffff";
|
ctx.fillStyle = "#ffffff";
|
||||||
@@ -1122,7 +1323,7 @@ $(document).ready(function () {
|
|||||||
);
|
);
|
||||||
$("#samplePhoto").attr("src", response.file_path);
|
$("#samplePhoto").attr("src", response.file_path);
|
||||||
loadPhoto(iddatadb);
|
loadPhoto(iddatadb);
|
||||||
clearCanvasMarkers(false); // Preserve descriptions
|
clearCanvasMarkers(false);
|
||||||
clearUnsaved();
|
clearUnsaved();
|
||||||
} else {
|
} else {
|
||||||
alert("Errore: " + response.message);
|
alert("Errore: " + response.message);
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
header('Content-Type: application/json');
|
||||||
|
include('include/headscript.php');
|
||||||
|
|
||||||
|
$dbHandler = DBHandlerSelect::getInstance();
|
||||||
|
$pdo = $dbHandler->getConnection();
|
||||||
|
|
||||||
|
$data = json_decode(file_get_contents('php://input'), true);
|
||||||
|
|
||||||
|
$iddatadb = $data['iddatadb'] ?? null;
|
||||||
|
$parts = $data['parts'] ?? [];
|
||||||
|
|
||||||
|
if (!$iddatadb || empty($parts)) {
|
||||||
|
echo json_encode(['success' => false, 'message' => 'Dati mancanti']);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
$part = $parts[0];
|
||||||
|
$partId = $part['id'] ?? null;
|
||||||
|
$idmatrice = $part['idmatrice'] ?? null;
|
||||||
|
|
||||||
|
if (!$partId) {
|
||||||
|
echo json_encode(['success' => false, 'message' => 'ID della parte mancante']);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
$stmt = $pdo->prepare("UPDATE identification_parts
|
||||||
|
SET idmatrice = :idmatrice, updated_at = NOW()
|
||||||
|
WHERE id = :id AND iddatadb = :iddatadb");
|
||||||
|
$stmt->execute([
|
||||||
|
':idmatrice' => $idmatrice,
|
||||||
|
':id' => $partId,
|
||||||
|
':iddatadb' => $iddatadb
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($stmt->rowCount() > 0) {
|
||||||
|
echo json_encode(['success' => true, 'message' => 'Matrice salvata con successo']);
|
||||||
|
} else {
|
||||||
|
echo json_encode(['success' => false, 'message' => 'Nessuna riga aggiornata. Verifica l\'ID della parte.']);
|
||||||
|
}
|
||||||
|
} catch (PDOException $e) {
|
||||||
|
echo json_encode(['success' => false, 'message' => 'Errore nel salvataggio della matrice: ' . $e->getMessage()]);
|
||||||
|
}
|
||||||
@@ -1,38 +1,30 @@
|
|||||||
@if ($socialProviders)
|
@if ($socialProviders)
|
||||||
<?php $colSize = 12 / count($socialProviders); ?>
|
<?php $colSize = 12 / count($socialProviders); ?>
|
||||||
|
|
||||||
<div class="row pb-3 pt-2">
|
<div class="row pb-3 pt-2">
|
||||||
@if (in_array('facebook', $socialProviders))
|
@if (in_array('facebook', $socialProviders))
|
||||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||||
<a href="{{ url('auth/facebook/login') }}" class="btn-facebook">
|
<a href="{{ url('auth/facebook/login') }}" class="btn-facebook">
|
||||||
<i class="fab fa-facebook fa-2x"></i>
|
<i class="fab fa-facebook fa-2x"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (in_array('twitter', $socialProviders))
|
@if (in_array('twitter', $socialProviders))
|
||||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||||
<a href="{{ url('auth/twitter/login') }}" class="btn-twitter">
|
<a href="{{ url('auth/twitter/login') }}" class="btn-twitter">
|
||||||
<i class="fab fa-twitter fa-2x"></i>
|
<i class="fab fa-twitter fa-2x"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (in_array('google', $socialProviders))
|
@if (in_array('google', $socialProviders))
|
||||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
||||||
<a href="{{ url('auth/google/login') }}" class="btn-google">
|
<a href="{{ url('auth/google/login') }}" class="btn-google">
|
||||||
<i class="fab fa-google-plus-square fa-2x"></i>
|
<i class="fab fa-google-plus-square fa-2x"></i>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endif
|
|
||||||
|
|
||||||
@if (in_array('azure', $socialProviders))
|
|
||||||
<div class="col-{{ $colSize }} d-flex align-items-center justify-content-center">
|
|
||||||
<a href="{{ url('auth/azure/login') }}" style="color: #0078d4;">
|
|
||||||
<i class="fab fa-microsoft fa-2x"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
-19
@@ -6203,25 +6203,6 @@ return array(
|
|||||||
'SebastianBergmann\\Type\\UnknownType' => $vendorDir . '/sebastian/type/src/type/UnknownType.php',
|
'SebastianBergmann\\Type\\UnknownType' => $vendorDir . '/sebastian/type/src/type/UnknownType.php',
|
||||||
'SebastianBergmann\\Type\\VoidType' => $vendorDir . '/sebastian/type/src/type/VoidType.php',
|
'SebastianBergmann\\Type\\VoidType' => $vendorDir . '/sebastian/type/src/type/VoidType.php',
|
||||||
'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php',
|
'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php',
|
||||||
'SocialiteProviders\\Azure\\AzureExtendSocialite' => $vendorDir . '/socialiteproviders/microsoft-azure/AzureExtendSocialite.php',
|
|
||||||
'SocialiteProviders\\Azure\\Provider' => $vendorDir . '/socialiteproviders/microsoft-azure/Provider.php',
|
|
||||||
'SocialiteProviders\\Azure\\User' => $vendorDir . '/socialiteproviders/microsoft-azure/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\Config' => $vendorDir . '/socialiteproviders/manager/src/Config.php',
|
|
||||||
'SocialiteProviders\\Manager\\ConfigTrait' => $vendorDir . '/socialiteproviders/manager/src/ConfigTrait.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\ConfigInterface' => $vendorDir . '/socialiteproviders/manager/src/Contracts/ConfigInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\Helpers\\ConfigRetrieverInterface' => $vendorDir . '/socialiteproviders/manager/src/Contracts/Helpers/ConfigRetrieverInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\OAuth1\\ProviderInterface' => $vendorDir . '/socialiteproviders/manager/src/Contracts/OAuth1/ProviderInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\OAuth2\\ProviderInterface' => $vendorDir . '/socialiteproviders/manager/src/Contracts/OAuth2/ProviderInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Exception\\InvalidArgumentException' => $vendorDir . '/socialiteproviders/manager/src/Exception/InvalidArgumentException.php',
|
|
||||||
'SocialiteProviders\\Manager\\Exception\\MissingConfigException' => $vendorDir . '/socialiteproviders/manager/src/Exception/MissingConfigException.php',
|
|
||||||
'SocialiteProviders\\Manager\\Helpers\\ConfigRetriever' => $vendorDir . '/socialiteproviders/manager/src/Helpers/ConfigRetriever.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\AbstractProvider' => $vendorDir . '/socialiteproviders/manager/src/OAuth1/AbstractProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\Server' => $vendorDir . '/socialiteproviders/manager/src/OAuth1/Server.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\User' => $vendorDir . '/socialiteproviders/manager/src/OAuth1/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth2\\AbstractProvider' => $vendorDir . '/socialiteproviders/manager/src/OAuth2/AbstractProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth2\\User' => $vendorDir . '/socialiteproviders/manager/src/OAuth2/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\ServiceProvider' => $vendorDir . '/socialiteproviders/manager/src/ServiceProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\SocialiteWasCalled' => $vendorDir . '/socialiteproviders/manager/src/SocialiteWasCalled.php',
|
|
||||||
'Spatie\\Backtrace\\Arguments\\ArgumentReducers' => $vendorDir . '/spatie/backtrace/src/Arguments/ArgumentReducers.php',
|
'Spatie\\Backtrace\\Arguments\\ArgumentReducers' => $vendorDir . '/spatie/backtrace/src/Arguments/ArgumentReducers.php',
|
||||||
'Spatie\\Backtrace\\Arguments\\ProvidedArgument' => $vendorDir . '/spatie/backtrace/src/Arguments/ProvidedArgument.php',
|
'Spatie\\Backtrace\\Arguments\\ProvidedArgument' => $vendorDir . '/spatie/backtrace/src/Arguments/ProvidedArgument.php',
|
||||||
'Spatie\\Backtrace\\Arguments\\ReduceArgumentPayloadAction' => $vendorDir . '/spatie/backtrace/src/Arguments/ReduceArgumentPayloadAction.php',
|
'Spatie\\Backtrace\\Arguments\\ReduceArgumentPayloadAction' => $vendorDir . '/spatie/backtrace/src/Arguments/ReduceArgumentPayloadAction.php',
|
||||||
|
|||||||
Vendored
+1
-1
@@ -24,7 +24,6 @@ return array(
|
|||||||
'09f6b20656683369174dd6fa83b7e5fb' => $vendorDir . '/symfony/polyfill-uuid/bootstrap.php',
|
'09f6b20656683369174dd6fa83b7e5fb' => $vendorDir . '/symfony/polyfill-uuid/bootstrap.php',
|
||||||
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
|
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
|
||||||
'47e1160838b5e5a10346ac4084b58c23' => $vendorDir . '/laravel/prompts/src/helpers.php',
|
'47e1160838b5e5a10346ac4084b58c23' => $vendorDir . '/laravel/prompts/src/helpers.php',
|
||||||
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
|
||||||
'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
|
'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
|
||||||
'265b4faa2b3a9766332744949e83bf97' => $vendorDir . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
'265b4faa2b3a9766332744949e83bf97' => $vendorDir . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
||||||
'c7a3c339e7e14b60e06a2d7fcce9476b' => $vendorDir . '/laravel/framework/src/Illuminate/Events/functions.php',
|
'c7a3c339e7e14b60e06a2d7fcce9476b' => $vendorDir . '/laravel/framework/src/Illuminate/Events/functions.php',
|
||||||
@@ -33,6 +32,7 @@ return array(
|
|||||||
'58571171fd5812e6e447dce228f52f4d' => $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
'58571171fd5812e6e447dce228f52f4d' => $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
||||||
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||||
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => $vendorDir . '/spatie/flare-client-php/src/helpers.php',
|
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => $vendorDir . '/spatie/flare-client-php/src/helpers.php',
|
||||||
|
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
||||||
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
||||||
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
|
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
|
||||||
'b84a5ba6d9a8ee8cf648b71c42c799b7' => $vendorDir . '/akaunting/laravel-setting/src/helpers.php',
|
'b84a5ba6d9a8ee8cf648b71c42c799b7' => $vendorDir . '/akaunting/laravel-setting/src/helpers.php',
|
||||||
|
|||||||
Vendored
-2
@@ -60,8 +60,6 @@ return array(
|
|||||||
'Spatie\\FlareClient\\' => array($vendorDir . '/spatie/flare-client-php/src'),
|
'Spatie\\FlareClient\\' => array($vendorDir . '/spatie/flare-client-php/src'),
|
||||||
'Spatie\\ErrorSolutions\\' => array($vendorDir . '/spatie/error-solutions/src'),
|
'Spatie\\ErrorSolutions\\' => array($vendorDir . '/spatie/error-solutions/src'),
|
||||||
'Spatie\\Backtrace\\' => array($vendorDir . '/spatie/backtrace/src'),
|
'Spatie\\Backtrace\\' => array($vendorDir . '/spatie/backtrace/src'),
|
||||||
'SocialiteProviders\\Manager\\' => array($vendorDir . '/socialiteproviders/manager/src'),
|
|
||||||
'SocialiteProviders\\Azure\\' => array($vendorDir . '/socialiteproviders/microsoft-azure'),
|
|
||||||
'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'),
|
'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'),
|
||||||
'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'),
|
'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'),
|
||||||
'Psy\\' => array($vendorDir . '/psy/psysh/src'),
|
'Psy\\' => array($vendorDir . '/psy/psysh/src'),
|
||||||
|
|||||||
Vendored
+1
-30
@@ -25,7 +25,6 @@ class ComposerStaticInitc91cd9c5b1e6a9e8573a14b799ea9342
|
|||||||
'09f6b20656683369174dd6fa83b7e5fb' => __DIR__ . '/..' . '/symfony/polyfill-uuid/bootstrap.php',
|
'09f6b20656683369174dd6fa83b7e5fb' => __DIR__ . '/..' . '/symfony/polyfill-uuid/bootstrap.php',
|
||||||
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
|
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
|
||||||
'47e1160838b5e5a10346ac4084b58c23' => __DIR__ . '/..' . '/laravel/prompts/src/helpers.php',
|
'47e1160838b5e5a10346ac4084b58c23' => __DIR__ . '/..' . '/laravel/prompts/src/helpers.php',
|
||||||
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
|
||||||
'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php',
|
'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php',
|
||||||
'265b4faa2b3a9766332744949e83bf97' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
'265b4faa2b3a9766332744949e83bf97' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Collections/helpers.php',
|
||||||
'c7a3c339e7e14b60e06a2d7fcce9476b' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Events/functions.php',
|
'c7a3c339e7e14b60e06a2d7fcce9476b' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Events/functions.php',
|
||||||
@@ -34,6 +33,7 @@ class ComposerStaticInitc91cd9c5b1e6a9e8573a14b799ea9342
|
|||||||
'58571171fd5812e6e447dce228f52f4d' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
'58571171fd5812e6e447dce228f52f4d' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
||||||
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||||
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => __DIR__ . '/..' . '/spatie/flare-client-php/src/helpers.php',
|
'3bd81c9b8fcc150b69d8b63b4d2ccf23' => __DIR__ . '/..' . '/spatie/flare-client-php/src/helpers.php',
|
||||||
|
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
||||||
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
||||||
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
|
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
|
||||||
'b84a5ba6d9a8ee8cf648b71c42c799b7' => __DIR__ . '/..' . '/akaunting/laravel-setting/src/helpers.php',
|
'b84a5ba6d9a8ee8cf648b71c42c799b7' => __DIR__ . '/..' . '/akaunting/laravel-setting/src/helpers.php',
|
||||||
@@ -120,8 +120,6 @@ class ComposerStaticInitc91cd9c5b1e6a9e8573a14b799ea9342
|
|||||||
'Spatie\\FlareClient\\' => 19,
|
'Spatie\\FlareClient\\' => 19,
|
||||||
'Spatie\\ErrorSolutions\\' => 22,
|
'Spatie\\ErrorSolutions\\' => 22,
|
||||||
'Spatie\\Backtrace\\' => 17,
|
'Spatie\\Backtrace\\' => 17,
|
||||||
'SocialiteProviders\\Manager\\' => 27,
|
|
||||||
'SocialiteProviders\\Azure\\' => 25,
|
|
||||||
),
|
),
|
||||||
'R' =>
|
'R' =>
|
||||||
array (
|
array (
|
||||||
@@ -466,14 +464,6 @@ class ComposerStaticInitc91cd9c5b1e6a9e8573a14b799ea9342
|
|||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/spatie/backtrace/src',
|
0 => __DIR__ . '/..' . '/spatie/backtrace/src',
|
||||||
),
|
),
|
||||||
'SocialiteProviders\\Manager\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/socialiteproviders/manager/src',
|
|
||||||
),
|
|
||||||
'SocialiteProviders\\Azure\\' =>
|
|
||||||
array (
|
|
||||||
0 => __DIR__ . '/..' . '/socialiteproviders/microsoft-azure',
|
|
||||||
),
|
|
||||||
'Ramsey\\Uuid\\' =>
|
'Ramsey\\Uuid\\' =>
|
||||||
array (
|
array (
|
||||||
0 => __DIR__ . '/..' . '/ramsey/uuid/src',
|
0 => __DIR__ . '/..' . '/ramsey/uuid/src',
|
||||||
@@ -7019,25 +7009,6 @@ class ComposerStaticInitc91cd9c5b1e6a9e8573a14b799ea9342
|
|||||||
'SebastianBergmann\\Type\\UnknownType' => __DIR__ . '/..' . '/sebastian/type/src/type/UnknownType.php',
|
'SebastianBergmann\\Type\\UnknownType' => __DIR__ . '/..' . '/sebastian/type/src/type/UnknownType.php',
|
||||||
'SebastianBergmann\\Type\\VoidType' => __DIR__ . '/..' . '/sebastian/type/src/type/VoidType.php',
|
'SebastianBergmann\\Type\\VoidType' => __DIR__ . '/..' . '/sebastian/type/src/type/VoidType.php',
|
||||||
'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php',
|
'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php',
|
||||||
'SocialiteProviders\\Azure\\AzureExtendSocialite' => __DIR__ . '/..' . '/socialiteproviders/microsoft-azure/AzureExtendSocialite.php',
|
|
||||||
'SocialiteProviders\\Azure\\Provider' => __DIR__ . '/..' . '/socialiteproviders/microsoft-azure/Provider.php',
|
|
||||||
'SocialiteProviders\\Azure\\User' => __DIR__ . '/..' . '/socialiteproviders/microsoft-azure/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\Config' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Config.php',
|
|
||||||
'SocialiteProviders\\Manager\\ConfigTrait' => __DIR__ . '/..' . '/socialiteproviders/manager/src/ConfigTrait.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\ConfigInterface' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Contracts/ConfigInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\Helpers\\ConfigRetrieverInterface' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Contracts/Helpers/ConfigRetrieverInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\OAuth1\\ProviderInterface' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Contracts/OAuth1/ProviderInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Contracts\\OAuth2\\ProviderInterface' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Contracts/OAuth2/ProviderInterface.php',
|
|
||||||
'SocialiteProviders\\Manager\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Exception/InvalidArgumentException.php',
|
|
||||||
'SocialiteProviders\\Manager\\Exception\\MissingConfigException' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Exception/MissingConfigException.php',
|
|
||||||
'SocialiteProviders\\Manager\\Helpers\\ConfigRetriever' => __DIR__ . '/..' . '/socialiteproviders/manager/src/Helpers/ConfigRetriever.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\AbstractProvider' => __DIR__ . '/..' . '/socialiteproviders/manager/src/OAuth1/AbstractProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\Server' => __DIR__ . '/..' . '/socialiteproviders/manager/src/OAuth1/Server.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth1\\User' => __DIR__ . '/..' . '/socialiteproviders/manager/src/OAuth1/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth2\\AbstractProvider' => __DIR__ . '/..' . '/socialiteproviders/manager/src/OAuth2/AbstractProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\OAuth2\\User' => __DIR__ . '/..' . '/socialiteproviders/manager/src/OAuth2/User.php',
|
|
||||||
'SocialiteProviders\\Manager\\ServiceProvider' => __DIR__ . '/..' . '/socialiteproviders/manager/src/ServiceProvider.php',
|
|
||||||
'SocialiteProviders\\Manager\\SocialiteWasCalled' => __DIR__ . '/..' . '/socialiteproviders/manager/src/SocialiteWasCalled.php',
|
|
||||||
'Spatie\\Backtrace\\Arguments\\ArgumentReducers' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ArgumentReducers.php',
|
'Spatie\\Backtrace\\Arguments\\ArgumentReducers' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ArgumentReducers.php',
|
||||||
'Spatie\\Backtrace\\Arguments\\ProvidedArgument' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ProvidedArgument.php',
|
'Spatie\\Backtrace\\Arguments\\ProvidedArgument' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ProvidedArgument.php',
|
||||||
'Spatie\\Backtrace\\Arguments\\ReduceArgumentPayloadAction' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ReduceArgumentPayloadAction.php',
|
'Spatie\\Backtrace\\Arguments\\ReduceArgumentPayloadAction' => __DIR__ . '/..' . '/spatie/backtrace/src/Arguments/ReduceArgumentPayloadAction.php',
|
||||||
|
|||||||
Vendored
-131
@@ -8107,137 +8107,6 @@
|
|||||||
],
|
],
|
||||||
"install-path": "../sebastian/version"
|
"install-path": "../sebastian/version"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "socialiteproviders/manager",
|
|
||||||
"version": "v4.8.1",
|
|
||||||
"version_normalized": "4.8.1.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/SocialiteProviders/Manager.git",
|
|
||||||
"reference": "8180ec14bef230ec2351cff993d5d2d7ca470ef4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/8180ec14bef230ec2351cff993d5d2d7ca470ef4",
|
|
||||||
"reference": "8180ec14bef230ec2351cff993d5d2d7ca470ef4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
|
|
||||||
"laravel/socialite": "^5.5",
|
|
||||||
"php": "^8.1"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"mockery/mockery": "^1.2",
|
|
||||||
"phpunit/phpunit": "^9.0"
|
|
||||||
},
|
|
||||||
"time": "2025-02-24T19:33:30+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"laravel": {
|
|
||||||
"providers": [
|
|
||||||
"SocialiteProviders\\Manager\\ServiceProvider"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"SocialiteProviders\\Manager\\": "src/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Andy Wendt",
|
|
||||||
"email": "andy@awendt.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Anton Komarev",
|
|
||||||
"email": "a.komarev@cybercog.su"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Miguel Piedrafita",
|
|
||||||
"email": "soy@miguelpiedrafita.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "atymic",
|
|
||||||
"email": "atymicq@gmail.com",
|
|
||||||
"homepage": "https://atymic.dev"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Easily add new or override built-in providers in Laravel Socialite.",
|
|
||||||
"homepage": "https://socialiteproviders.com",
|
|
||||||
"keywords": [
|
|
||||||
"laravel",
|
|
||||||
"manager",
|
|
||||||
"oauth",
|
|
||||||
"providers",
|
|
||||||
"socialite"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/socialiteproviders/manager/issues",
|
|
||||||
"source": "https://github.com/socialiteproviders/manager"
|
|
||||||
},
|
|
||||||
"install-path": "../socialiteproviders/manager"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "socialiteproviders/microsoft-azure",
|
|
||||||
"version": "5.2.0",
|
|
||||||
"version_normalized": "5.2.0.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/SocialiteProviders/Microsoft-Azure.git",
|
|
||||||
"reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16",
|
|
||||||
"reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-json": "*",
|
|
||||||
"php": "^8.0",
|
|
||||||
"socialiteproviders/manager": "^4.4"
|
|
||||||
},
|
|
||||||
"time": "2024-03-15T03:02:10+00:00",
|
|
||||||
"type": "library",
|
|
||||||
"installation-source": "dist",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"SocialiteProviders\\Azure\\": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Chris Hemmings",
|
|
||||||
"email": "chris@hemmin.gs"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Microsoft Azure OAuth2 Provider for Laravel Socialite",
|
|
||||||
"keywords": [
|
|
||||||
"azure",
|
|
||||||
"laravel",
|
|
||||||
"microsoft",
|
|
||||||
"oauth",
|
|
||||||
"provider",
|
|
||||||
"socialite"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"docs": "https://socialiteproviders.com/microsoft-azure",
|
|
||||||
"issues": "https://github.com/socialiteproviders/providers/issues",
|
|
||||||
"source": "https://github.com/socialiteproviders/providers"
|
|
||||||
},
|
|
||||||
"install-path": "../socialiteproviders/microsoft-azure"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "spatie/backtrace",
|
"name": "spatie/backtrace",
|
||||||
"version": "1.6.2",
|
"version": "1.6.2",
|
||||||
|
|||||||
Vendored
+2
-20
@@ -3,7 +3,7 @@
|
|||||||
'name' => 'loshmis/vanguard',
|
'name' => 'loshmis/vanguard',
|
||||||
'pretty_version' => 'dev-main',
|
'pretty_version' => 'dev-main',
|
||||||
'version' => 'dev-main',
|
'version' => 'dev-main',
|
||||||
'reference' => '34d4dc86606bc95d9081b13c34f71f8e6cd5ff22',
|
'reference' => '8cad59e3d60f189970968596f1958eb34e103ccd',
|
||||||
'type' => 'project',
|
'type' => 'project',
|
||||||
'install_path' => __DIR__ . '/../../',
|
'install_path' => __DIR__ . '/../../',
|
||||||
'aliases' => array(),
|
'aliases' => array(),
|
||||||
@@ -688,7 +688,7 @@
|
|||||||
'loshmis/vanguard' => array(
|
'loshmis/vanguard' => array(
|
||||||
'pretty_version' => 'dev-main',
|
'pretty_version' => 'dev-main',
|
||||||
'version' => 'dev-main',
|
'version' => 'dev-main',
|
||||||
'reference' => '34d4dc86606bc95d9081b13c34f71f8e6cd5ff22',
|
'reference' => '8cad59e3d60f189970968596f1958eb34e103ccd',
|
||||||
'type' => 'project',
|
'type' => 'project',
|
||||||
'install_path' => __DIR__ . '/../../',
|
'install_path' => __DIR__ . '/../../',
|
||||||
'aliases' => array(),
|
'aliases' => array(),
|
||||||
@@ -1295,24 +1295,6 @@
|
|||||||
'aliases' => array(),
|
'aliases' => array(),
|
||||||
'dev_requirement' => true,
|
'dev_requirement' => true,
|
||||||
),
|
),
|
||||||
'socialiteproviders/manager' => array(
|
|
||||||
'pretty_version' => 'v4.8.1',
|
|
||||||
'version' => '4.8.1.0',
|
|
||||||
'reference' => '8180ec14bef230ec2351cff993d5d2d7ca470ef4',
|
|
||||||
'type' => 'library',
|
|
||||||
'install_path' => __DIR__ . '/../socialiteproviders/manager',
|
|
||||||
'aliases' => array(),
|
|
||||||
'dev_requirement' => false,
|
|
||||||
),
|
|
||||||
'socialiteproviders/microsoft-azure' => array(
|
|
||||||
'pretty_version' => '5.2.0',
|
|
||||||
'version' => '5.2.0.0',
|
|
||||||
'reference' => '453d62c9d7e3b3b76e94c913fb46e68a33347b16',
|
|
||||||
'type' => 'library',
|
|
||||||
'install_path' => __DIR__ . '/../socialiteproviders/microsoft-azure',
|
|
||||||
'aliases' => array(),
|
|
||||||
'dev_requirement' => false,
|
|
||||||
),
|
|
||||||
'spatie/backtrace' => array(
|
'spatie/backtrace' => array(
|
||||||
'pretty_version' => '1.6.2',
|
'pretty_version' => '1.6.2',
|
||||||
'version' => '1.6.2.0',
|
'version' => '1.6.2.0',
|
||||||
|
|||||||
Reference in New Issue
Block a user