mirror of
git://f0xx.org/android_cast
synced 2026-07-29 07:39:15 +03:00
contrib header changes
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 19 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 a68b41e3b977416def464ec6a1aaeba10e660254325672cac891ab6200ba1bea
|
||||
**********************************************************************/
|
||||
return [
|
||||
'app_name' => 'Android Cast Crashes',
|
||||
// Production: '/app/androidcast_project/crashes' — Local php -S: use '' (empty string)
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 18 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 bcfa082fa936d758ce5ee539b5077c187dad629168b8784e2c65bb4cfe29a8a4
|
||||
**********************************************************************/
|
||||
return [
|
||||
'app_name' => 'Android Cast Crashes',
|
||||
'base_path' => '/app/androidcast_project/crashes',
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 21 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 d32979211e6246f5520b0570e2d1d10f5e86eb35fd94ede60634535f2ca143de
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
require_once __DIR__ . '/../../src/bootstrap.php';
|
||||
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 59 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 1cc27633c3b71e75c1e2dbc9b23ff2bb241958a8d7b31b5ae1594706182d381e
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
require_once __DIR__ . '/../src/bootstrap.php';
|
||||
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 52 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 f1ce3231dfbf323fadc228d391266b298af4cb4eeefcd6cf78d7f4a899da74bf
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
|
||||
final class Auth {
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 39 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 da4b9e05725c9a560a82071c392bdc1f35e06f7315a8cf2122518e6093d08cc8
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
|
||||
final class Database {
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 57 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 17a4ce13743f8580baaeb5cf1d7c37715cdc17f1b17c9f598925dda3e1c12294
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
|
||||
final class ReportRepository {
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 41 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 8fdf942d57489d19dbe5358656cd1a0b1156eda966e3e5d7a180f603ace4243f
|
||||
**********************************************************************/
|
||||
declare(strict_types=1);
|
||||
|
||||
$configPath = __DIR__ . '/../config/config.php';
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/* 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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 82 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 1c049b65f48ad5b675ec6c774c1a5ddca713d37e638cf1b930c68e97531d4c4e
|
||||
**********************************************************************/
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/* 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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 23 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 37ae18b8cc9050f282aa8bf9a040932e7405448f45d6a9c0ba043a262deab8b2
|
||||
**********************************************************************/
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
<?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>
|
||||
* Contributors:
|
||||
* - Anton Afanasyeu <a.afanasieff@gmail.com> (1 commits, 50 lines)
|
||||
* - Cursor Agent (project assistant)
|
||||
* Digest: SHA256 830d53711eef7690d747cb85455201ddbd613807203ff970614e992f1474de81
|
||||
**********************************************************************/
|
||||
$p = $report['payload'] ?? [];
|
||||
$device = $p['device'] ?? [];
|
||||
$app = $p['app'] ?? [];
|
||||
|
||||
Reference in New Issue
Block a user