diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 495ccbe81..5489438ef 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,29 +1,29 @@ -# Description +## 📃 Description A short description of the pull request changes should go here and the sections below should list in detail all changes. You can remove the sections you don't need. -## Changelog +## 🪵 Changelog -### Added +### ➕ Added - one - two -### Changed +### ✏️ Changed - one - two -### Fixed +### 🔧 Fixed - one - two -### Removed +### 🗑️ Removed - one - two -## Screenshots +## 📷 Screenshots If this PR has any UI/UX changes it's strongly suggested you add screenshots here. diff --git a/.github/screenshots/general_settings_screenshot.jpg b/.github/screenshots/general_settings_screenshot.jpg deleted file mode 100644 index 0f5dfdfa0..000000000 Binary files a/.github/screenshots/general_settings_screenshot.jpg and /dev/null differ diff --git a/.github/screenshots/login_screenshot.jpg b/.github/screenshots/login_screenshot.jpg deleted file mode 100644 index ba7b39227..000000000 Binary files a/.github/screenshots/login_screenshot.jpg and /dev/null differ diff --git a/.github/screenshots/results_screenshot.jpg b/.github/screenshots/results_screenshot.jpg deleted file mode 100644 index 2f8597456..000000000 Binary files a/.github/screenshots/results_screenshot.jpg and /dev/null differ diff --git a/README.md b/README.md index b243f7e9a..30c6af482 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Speedtest Tracker +[![Star History Chart](https://api.star-history.com/svg?repos=alexjustesen/speedtest-tracker&type=Date)](https://star-history.com/#alexjustesen/speedtest-tracker&Date) + ## Introduction Speedtest Tracker is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service. @@ -14,9 +16,19 @@ As far as I can tell https://github.com/henrywhitaker3/Speedtest-Tracker was aba ## Getting Started -Speedtest Tracker is containerized so you can run it anywhere you run your Docker containers. The [install](https://docs.speedtest-tracker.dev/getting-started/installation) documentation will get you up and running with using Docker or Docker Composer along with choosing a database (MySQL/MariaDB or Postgresql). +Speedtest Tracker is containerized so you can run it anywhere you run your Docker containers. The [install](https://docs.speedtest-tracker.dev/getting-started/installation) documentation will get you up and running with using Docker or Docker Composer along with choosing a database (SQLite, MySQL/MariaDB or Postgresql). -[![Star History Chart](https://api.star-history.com/svg?repos=alexjustesen/speedtest-tracker&type=Date)](https://star-history.com/#alexjustesen/speedtest-tracker&Date) +### Quick Start + +```dockerfile +docker run -d --name speedtest-tracker --restart unless-stopped \ + -p 8080:80 \ + -e PUID=1000 \ + -e PGID=1000 \ + -e DB_CONNECTION=sqlite \ + -v /path/to/data:/config \ + lscr.io/linuxserver/speedtest-tracker:latest +``` ### FAQs and Features @@ -30,9 +42,3 @@ A robust API is planned for a later release but as of `v0.11.8` a legacy endpoin ![Dashboard](.github/screenshots/dashboard_screenshot.jpg) **Dashboard** - -![Results page](.github/screenshots/results_screenshot.jpg) -**Results page** - -![General Settings page](.github/screenshots/general_settings_screenshot.jpg) -**General Settings page** diff --git a/app/Filament/VersionProviders/SpeedtestTrackerVersionProvider.php b/app/Filament/VersionProviders/SpeedtestTrackerVersionProvider.php index dd0c897ec..e25d66032 100644 --- a/app/Filament/VersionProviders/SpeedtestTrackerVersionProvider.php +++ b/app/Filament/VersionProviders/SpeedtestTrackerVersionProvider.php @@ -1,5 +1,7 @@ [ + + ], + + /* + * The path where the settings classes will be created. + */ + 'setting_class_path' => app_path('Settings'), + + /* + * In these directories settings migrations will be stored and ran when migrating. A settings + * migration created via the make:settings-migration command will be stored in the first path or + * a custom defined path when running the command. + */ + 'migrations_paths' => [ + database_path('settings'), + ], + + /* + * When no repository was set for a settings class the following repository + * will be used for loading and saving settings. + */ + 'default_repository' => 'database', + + /* + * Settings will be stored and loaded from these repositories. + */ + 'repositories' => [ + 'database' => [ + 'type' => Spatie\LaravelSettings\SettingsRepositories\DatabaseSettingsRepository::class, + 'model' => null, + 'table' => null, + 'connection' => null, + ], + 'redis' => [ + 'type' => Spatie\LaravelSettings\SettingsRepositories\RedisSettingsRepository::class, + 'connection' => null, + 'prefix' => null, + ], + ], + + /* + * The contents of settings classes can be cached through your application, + * settings will be stored within a provided Laravel store and can have an + * additional prefix. + */ + 'cache' => [ + 'enabled' => env('SETTINGS_CACHE_ENABLED', true), + 'store' => env('CACHE_DRIVER', 'database'), + 'prefix' => null, + 'ttl' => null, + ], + + /* + * These global casts will be automatically used whenever a property within + * your settings class isn't a default PHP type. + */ + 'global_casts' => [ + DateTimeInterface::class => Spatie\LaravelSettings\SettingsCasts\DateTimeInterfaceCast::class, + DateTimeZone::class => Spatie\LaravelSettings\SettingsCasts\DateTimeZoneCast::class, + // Spatie\DataTransferObject\DataTransferObject::class => Spatie\LaravelSettings\SettingsCasts\DtoCast::class, + // Spatie\LaravelData\Data::class => Spatie\LaravelSettings\SettingsCasts\DataCast::class, + ], + + /* + * The package will look for settings in these paths and automatically + * register them. + */ + 'auto_discover_settings' => [ + app_path('Settings'), + ], + + /* + * Automatically discovered settings classes can be cached, so they don't + * need to be searched each time the application boots up. + */ + 'discovered_settings_cache_path' => base_path('bootstrap/cache'), +]; diff --git a/config/speedtest.php b/config/speedtest.php index 5ebcda574..760000426 100644 --- a/config/speedtest.php +++ b/config/speedtest.php @@ -6,9 +6,9 @@ /** * Build information */ - 'build_date' => Carbon::parse('2024-02-15'), + 'build_date' => Carbon::parse('2024-02-18'), - 'build_version' => 'v0.15.4', + 'build_version' => 'v0.15.5', /** * General