1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 04:18:09 +03:00

header update

This commit is contained in:
Anton Afanasyeu
2026-05-20 17:24:50 +02:00
parent 5d8e82d2e6
commit ee4947a348
241 changed files with 1214 additions and 783 deletions

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/config/config.example.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/config/config.example.php
* config.example.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 19 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 23 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 a68b41e3b977416def464ec6a1aaeba10e660254325672cac891ab6200ba1bea
**********************************************************************/
* Digest: SHA256 fcd4a89ef4201736923d0e7e1ad88868bba7e39eadb9fcf0ffb9d1ba7efecd12
*/
return [
'app_name' => 'Android Cast Crashes',
// Production: '/app/androidcast_project/crashes' — Local php -S: use '' (empty string)

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/config/config.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/config/config.php
* config.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 18 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 22 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 bcfa082fa936d758ce5ee539b5077c187dad629168b8784e2c65bb4cfe29a8a4
**********************************************************************/
* Digest: SHA256 8b7149a4cd8a0f7d13ee8a22535c3697e919e35b9fe5bb8a80764769cc6c6853
*/
return [
'app_name' => 'Android Cast Crashes',
'base_path' => '/app/androidcast_project/crashes',

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/public/api/upload.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/public/api/upload.php
* upload.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 21 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 25 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 d32979211e6246f5520b0570e2d1d10f5e86eb35fd94ede60634535f2ca143de
**********************************************************************/
* Digest: SHA256 edbab2563cb9d5ba1c9a6a6272071ac12efa782274c7d1626f088a951033d5a6
*/
declare(strict_types=1);
require_once __DIR__ . '/../../src/bootstrap.php';

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/public/index.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/public/index.php
* index.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 59 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 63 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 1cc27633c3b71e75c1e2dbc9b23ff2bb241958a8d7b31b5ae1594706182d381e
**********************************************************************/
* Digest: SHA256 90d9b287d10572f80696355281ba308437d49936dba1d421037afbabc1dc135e
*/
declare(strict_types=1);
require_once __DIR__ . '/../src/bootstrap.php';

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/src/Auth.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/src/Auth.php
* Auth.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 52 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 56 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 f1ce3231dfbf323fadc228d391266b298af4cb4eeefcd6cf78d7f4a899da74bf
**********************************************************************/
* Digest: SHA256 a6e49e8d07788ac2b4ea48f886f9a46ec6f5c1eab5b9723e1554e1fe53765efd
*/
declare(strict_types=1);
final class Auth {

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/src/Database.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/src/Database.php
* Database.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 39 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 43 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 da4b9e05725c9a560a82071c392bdc1f35e06f7315a8cf2122518e6093d08cc8
**********************************************************************/
* Digest: SHA256 6e0c3bc4b7a544839aa7961fa9b6adb0da4968c13825a10159d791270a26d4a1
*/
declare(strict_types=1);
final class Database {

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/src/ReportRepository.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/src/ReportRepository.php
* ReportRepository.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 57 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 61 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 17a4ce13743f8580baaeb5cf1d7c37715cdc17f1b17c9f598925dda3e1c12294
**********************************************************************/
* Digest: SHA256 5da7d17c78a5f2dbddfbabcbf0d2b4f391edb314902c758ce1c0df59c9140bd5
*/
declare(strict_types=1);
final class ReportRepository {

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/src/bootstrap.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/src/bootstrap.php
* bootstrap.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 41 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 45 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 8fdf942d57489d19dbe5358656cd1a0b1156eda966e3e5d7a180f603ace4243f
**********************************************************************/
* Digest: SHA256 13f47a5da844f6ab0e4de9a934ec4e3a3892401c5b8b43123aa1539131b1ab48
*/
declare(strict_types=1);
$configPath = __DIR__ . '/../config/config.php';

View File

@@ -1,14 +1,16 @@
/* package examples/crash_reporter/backend/views/layout.php */
/*********************************************************************
<?php
/*
* package examples/crash_reporter/backend/views/layout.php
* layout.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 82 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 86 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 1c049b65f48ad5b675ec6c774c1a5ddca713d37e638cf1b930c68e97531d4c4e
**********************************************************************/
* Digest: SHA256 21e56cd12df6a94df41a1c0d67be530bd01454865ee1f032cef5f8d2e497509a
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>

View File

@@ -1,14 +1,16 @@
/* package examples/crash_reporter/backend/views/login.php */
/*********************************************************************
<?php
/*
* package examples/crash_reporter/backend/views/login.php
* login.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 23 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 27 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 37ae18b8cc9050f282aa8bf9a040932e7405448f45d6a9c0ba043a262deab8b2
**********************************************************************/
* Digest: SHA256 9bef983f4d34cb790922cda355ccf5d14b565b29273d2ebfe48b3173cd2e8f9f
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>

View File

@@ -1,15 +1,15 @@
<?php
/* package examples/crash_reporter/backend/views/report_detail.php */
/*********************************************************************
/*
* package examples/crash_reporter/backend/views/report_detail.php
* report_detail.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 14:31:55 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 50 lines)
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 54 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 830d53711eef7690d747cb85455201ddbd613807203ff970614e992f1474de81
**********************************************************************/
* Digest: SHA256 f1e2aee2d8f36904e3a143c7a60e4812de32a58c94d7792334f7ac9ab12f6f25
*/
$p = $report['payload'] ?? [];
$device = $p['device'] ?? [];
$app = $p['app'] ?? [];