mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
image processor added
This commit is contained in:
@@ -48,6 +48,7 @@ class ImportGithubMeetups extends Command
|
|||||||
'city_id' => $city->id,
|
'city_id' => $city->id,
|
||||||
'webpage' => $meetup['url'],
|
'webpage' => $meetup['url'],
|
||||||
'created_by' => 1,
|
'created_by' => 1,
|
||||||
|
'community' => 'einundzwanzig'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ class ReadAndSyncPodcastFeeds extends Command
|
|||||||
'created_at' => Carbon::parse($item->datePublished),
|
'created_at' => Carbon::parse($item->datePublished),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
if (app()->environment('local')) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Command::SUCCESS;
|
return Command::SUCCESS;
|
||||||
|
|||||||
33
app/Http/Controllers/ImageController.php
Normal file
33
app/Http/Controllers/ImageController.php
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Contracts\Filesystem\Filesystem;
|
||||||
|
use Illuminate\Support\Facades\Storage;
|
||||||
|
use League\Glide\Responses\LaravelResponseFactory;
|
||||||
|
use League\Glide\ServerFactory;
|
||||||
|
|
||||||
|
class ImageController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle the incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function __invoke($path)
|
||||||
|
{
|
||||||
|
$filesystem = Storage::disk('public');
|
||||||
|
|
||||||
|
$server = ServerFactory::create([
|
||||||
|
'response' => new LaravelResponseFactory(app('request')),
|
||||||
|
'source' => $filesystem->getDriver(),
|
||||||
|
'cache' => $filesystem->getDriver(),
|
||||||
|
'cache_path_prefix' => '.cache',
|
||||||
|
'base_url' => 'img',
|
||||||
|
]);
|
||||||
|
|
||||||
|
return $server->getImageResponse($path, request()->all());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Casts\Attribute;
|
||||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||||
@@ -91,4 +92,25 @@ class Meetup extends Model implements HasMedia
|
|||||||
{
|
{
|
||||||
return $this->hasMany(MeetupEvent::class);
|
return $this->hasMany(MeetupEvent::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function logoSquare(): Attribute
|
||||||
|
{
|
||||||
|
$getPath = $this->getFirstMediaPath('logo');
|
||||||
|
if ($getPath !== '') {
|
||||||
|
$path = $this->getFirstMediaPath('logo');
|
||||||
|
} else {
|
||||||
|
$path = 'fallback/einundzwanzig.png';
|
||||||
|
}
|
||||||
|
|
||||||
|
return Attribute::make(
|
||||||
|
get: fn() => url()->route('img',
|
||||||
|
[
|
||||||
|
'path' => $path,
|
||||||
|
'w' => 900,
|
||||||
|
'h' => 900,
|
||||||
|
'fit' => 'crop',
|
||||||
|
'fm' => 'webp'
|
||||||
|
]),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
"laravel/sanctum": "^3.0",
|
"laravel/sanctum": "^3.0",
|
||||||
"laravel/socialite": "^5.5",
|
"laravel/socialite": "^5.5",
|
||||||
"laravel/tinker": "^2.7",
|
"laravel/tinker": "^2.7",
|
||||||
|
"league/glide-laravel": "^1.0",
|
||||||
"livewire/livewire": "^2.5",
|
"livewire/livewire": "^2.5",
|
||||||
"nova/start": "*",
|
"nova/start": "*",
|
||||||
"oneduo/nova-time-field": "^1.0",
|
"oneduo/nova-time-field": "^1.0",
|
||||||
|
|||||||
235
composer.lock
generated
235
composer.lock
generated
@@ -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": "1c4001e831e2129cc09124c228198ef2",
|
"content-hash": "7bfd9957a6ea50d4bad46bd722c049fa",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "akuechler/laravel-geoly",
|
"name": "akuechler/laravel-geoly",
|
||||||
@@ -2787,16 +2787,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/framework",
|
"name": "laravel/framework",
|
||||||
"version": "v9.51.0",
|
"version": "v9.52.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/framework.git",
|
"url": "https://github.com/laravel/framework.git",
|
||||||
"reference": "b81123134349a013a738a9f7f715c6ce99d5a414"
|
"reference": "eb85cd9d72e5bfa54b4d0d9040786f26d6184a9e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/framework/zipball/b81123134349a013a738a9f7f715c6ce99d5a414",
|
"url": "https://api.github.com/repos/laravel/framework/zipball/eb85cd9d72e5bfa54b4d0d9040786f26d6184a9e",
|
||||||
"reference": "b81123134349a013a738a9f7f715c6ce99d5a414",
|
"reference": "eb85cd9d72e5bfa54b4d0d9040786f26d6184a9e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -2981,20 +2981,20 @@
|
|||||||
"issues": "https://github.com/laravel/framework/issues",
|
"issues": "https://github.com/laravel/framework/issues",
|
||||||
"source": "https://github.com/laravel/framework"
|
"source": "https://github.com/laravel/framework"
|
||||||
},
|
},
|
||||||
"time": "2023-02-07T15:37:18+00:00"
|
"time": "2023-02-14T14:51:14+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/horizon",
|
"name": "laravel/horizon",
|
||||||
"version": "v5.14.1",
|
"version": "v5.14.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/horizon.git",
|
"url": "https://github.com/laravel/horizon.git",
|
||||||
"reference": "a990617de27700df73841f6ccaff46e09ba9ec3f"
|
"reference": "d41a14c601766af0e2cce9486fd5dd143688c25f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/horizon/zipball/a990617de27700df73841f6ccaff46e09ba9ec3f",
|
"url": "https://api.github.com/repos/laravel/horizon/zipball/d41a14c601766af0e2cce9486fd5dd143688c25f",
|
||||||
"reference": "a990617de27700df73841f6ccaff46e09ba9ec3f",
|
"reference": "d41a14c601766af0e2cce9486fd5dd143688c25f",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -3056,9 +3056,9 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/laravel/horizon/issues",
|
"issues": "https://github.com/laravel/horizon/issues",
|
||||||
"source": "https://github.com/laravel/horizon/tree/v5.14.1"
|
"source": "https://github.com/laravel/horizon/tree/v5.14.2"
|
||||||
},
|
},
|
||||||
"time": "2023-02-07T14:56:05+00:00"
|
"time": "2023-02-10T15:40:38+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/jetstream",
|
"name": "laravel/jetstream",
|
||||||
@@ -3900,16 +3900,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/glide",
|
"name": "league/glide",
|
||||||
"version": "2.2.2",
|
"version": "2.2.3",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/glide.git",
|
"url": "https://github.com/thephpleague/glide.git",
|
||||||
"reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d"
|
"reference": "446b1fc9f15101db52e8ddb7bec8cb16e814b244"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/glide/zipball/bff5b0fe2fd26b2fde2d6958715fde313887d79d",
|
"url": "https://api.github.com/repos/thephpleague/glide/zipball/446b1fc9f15101db52e8ddb7bec8cb16e814b244",
|
||||||
"reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d",
|
"reference": "446b1fc9f15101db52e8ddb7bec8cb16e814b244",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -3959,9 +3959,102 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/thephpleague/glide/issues",
|
"issues": "https://github.com/thephpleague/glide/issues",
|
||||||
"source": "https://github.com/thephpleague/glide/tree/2.2.2"
|
"source": "https://github.com/thephpleague/glide/tree/2.2.3"
|
||||||
},
|
},
|
||||||
"time": "2022-02-21T07:40:55+00:00"
|
"time": "2023-02-14T06:15:26+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "league/glide-laravel",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/thephpleague/glide-laravel.git",
|
||||||
|
"reference": "b525e33e32940f3b047d6ca357131aba0e973e72"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/thephpleague/glide-laravel/zipball/b525e33e32940f3b047d6ca357131aba0e973e72",
|
||||||
|
"reference": "b525e33e32940f3b047d6ca357131aba0e973e72",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"league/glide-symfony": "^1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mockery/mockery": "^0.9",
|
||||||
|
"phpunit/phpunit": "^4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"League\\Glide\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jonathan Reinink",
|
||||||
|
"email": "jonathan@reinink.ca",
|
||||||
|
"homepage": "http://reinink.ca"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Glide adapter for Laravel",
|
||||||
|
"homepage": "http://glide.thephpleague.com",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/thephpleague/glide-laravel/issues",
|
||||||
|
"source": "https://github.com/thephpleague/glide-laravel/tree/master"
|
||||||
|
},
|
||||||
|
"time": "2015-12-26T15:40:35+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "league/glide-symfony",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/thephpleague/glide-symfony.git",
|
||||||
|
"reference": "8d0b117d5335699c374288a7cd6a041b7612e198"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/thephpleague/glide-symfony/zipball/8d0b117d5335699c374288a7cd6a041b7612e198",
|
||||||
|
"reference": "8d0b117d5335699c374288a7cd6a041b7612e198",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"league/glide": "^2.0",
|
||||||
|
"symfony/http-foundation": "^2.3|^3.0|^4.0|^5.0|^6.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mockery/mockery": "^1.3.3",
|
||||||
|
"phpunit/phpunit": "^8.5|^9.4"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"League\\Glide\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Jonathan Reinink",
|
||||||
|
"email": "jonathan@reinink.ca",
|
||||||
|
"homepage": "http://reinink.ca"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Glide adapter for Symfony",
|
||||||
|
"homepage": "http://glide.thephpleague.com",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/thephpleague/glide-symfony/issues",
|
||||||
|
"source": "https://github.com/thephpleague/glide-symfony/tree/1.1.0"
|
||||||
|
},
|
||||||
|
"time": "2021-12-01T13:25:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/mime-type-detection",
|
"name": "league/mime-type-detection",
|
||||||
@@ -13329,16 +13422,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zbateson/mail-mime-parser",
|
"name": "zbateson/mail-mime-parser",
|
||||||
"version": "2.3.0",
|
"version": "2.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/zbateson/mail-mime-parser.git",
|
"url": "https://github.com/zbateson/mail-mime-parser.git",
|
||||||
"reference": "d59e0c5eeb1442fca94bcb3b9d3c6be66318a500"
|
"reference": "20b3e48eb799537683780bc8782fbbe9bc25934a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/d59e0c5eeb1442fca94bcb3b9d3c6be66318a500",
|
"url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/20b3e48eb799537683780bc8782fbbe9bc25934a",
|
||||||
"reference": "d59e0c5eeb1442fca94bcb3b9d3c6be66318a500",
|
"reference": "20b3e48eb799537683780bc8782fbbe9bc25934a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -13400,7 +13493,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-01-30T19:04:55+00:00"
|
"time": "2023-02-14T22:58:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zbateson/mb-wrapper",
|
"name": "zbateson/mb-wrapper",
|
||||||
@@ -14263,20 +14356,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "jasonmccreary/laravel-test-assertions",
|
"name": "jasonmccreary/laravel-test-assertions",
|
||||||
"version": "v2.1.1",
|
"version": "v2.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/jasonmccreary/laravel-test-assertions.git",
|
"url": "https://github.com/jasonmccreary/laravel-test-assertions.git",
|
||||||
"reference": "2547c0366f1ee9a2d58b031468b26edc63faef4e"
|
"reference": "7bef0bf655b67264177ecd2ca0054a53e863a4c0"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/jasonmccreary/laravel-test-assertions/zipball/2547c0366f1ee9a2d58b031468b26edc63faef4e",
|
"url": "https://api.github.com/repos/jasonmccreary/laravel-test-assertions/zipball/7bef0bf655b67264177ecd2ca0054a53e863a4c0",
|
||||||
"reference": "2547c0366f1ee9a2d58b031468b26edc63faef4e",
|
"reference": "7bef0bf655b67264177ecd2ca0054a53e863a4c0",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"illuminate/testing": "^8.0|^9.0",
|
"illuminate/testing": "^8.0|^9.0|^10.0",
|
||||||
"mockery/mockery": "^1.4.2",
|
"mockery/mockery": "^1.4.2",
|
||||||
"php": ">=7.3|^8.0",
|
"php": ">=7.3|^8.0",
|
||||||
"phpunit/phpunit": "^9.3.3"
|
"phpunit/phpunit": "^9.3.3"
|
||||||
@@ -14307,27 +14400,26 @@
|
|||||||
"description": "A set of helpful assertions when testing Laravel applications.",
|
"description": "A set of helpful assertions when testing Laravel applications.",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/jasonmccreary/laravel-test-assertions/issues",
|
"issues": "https://github.com/jasonmccreary/laravel-test-assertions/issues",
|
||||||
"source": "https://github.com/jasonmccreary/laravel-test-assertions/tree/v2.1.1"
|
"source": "https://github.com/jasonmccreary/laravel-test-assertions/tree/v2.2.0"
|
||||||
},
|
},
|
||||||
"time": "2022-03-08T14:47:39+00:00"
|
"time": "2023-02-13T14:52:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel-lang/attributes",
|
"name": "laravel-lang/attributes",
|
||||||
"version": "v2.1.2",
|
"version": "v2.2.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Laravel-Lang/attributes.git",
|
"url": "https://github.com/Laravel-Lang/attributes.git",
|
||||||
"reference": "2b11c7ece66cb26cdf59746460593451484af89a"
|
"reference": "dc89aeb1a4e3dcb801f467d4345791e127cb5797"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Laravel-Lang/attributes/zipball/2b11c7ece66cb26cdf59746460593451484af89a",
|
"url": "https://api.github.com/repos/Laravel-Lang/attributes/zipball/dc89aeb1a4e3dcb801f467d4345791e127cb5797",
|
||||||
"reference": "2b11c7ece66cb26cdf59746460593451484af89a",
|
"reference": "dc89aeb1a4e3dcb801f467d4345791e127cb5797",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-json": "*",
|
"ext-json": "*"
|
||||||
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0"
|
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"laravel-lang/publisher": "<14.0.0"
|
"laravel-lang/publisher": "<14.0.0"
|
||||||
@@ -14380,7 +14472,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/Laravel-Lang/attributes/issues",
|
"issues": "https://github.com/Laravel-Lang/attributes/issues",
|
||||||
"source": "https://github.com/Laravel-Lang/attributes/tree/v2.1.2"
|
"source": "https://github.com/Laravel-Lang/attributes/tree/v2.2.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -14388,20 +14480,20 @@
|
|||||||
"type": "open_collective"
|
"type": "open_collective"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-02-05T09:34:20+00:00"
|
"time": "2023-02-14T17:28:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel-lang/http-statuses",
|
"name": "laravel-lang/http-statuses",
|
||||||
"version": "v3.2.1",
|
"version": "v3.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Laravel-Lang/http-statuses.git",
|
"url": "https://github.com/Laravel-Lang/http-statuses.git",
|
||||||
"reference": "31d74be0981c27c093bb80ee28e2fdec962be825"
|
"reference": "7184e1e906014db910e832137afbf42eaaf35d64"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Laravel-Lang/http-statuses/zipball/31d74be0981c27c093bb80ee28e2fdec962be825",
|
"url": "https://api.github.com/repos/Laravel-Lang/http-statuses/zipball/7184e1e906014db910e832137afbf42eaaf35d64",
|
||||||
"reference": "31d74be0981c27c093bb80ee28e2fdec962be825",
|
"reference": "7184e1e906014db910e832137afbf42eaaf35d64",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -14456,7 +14548,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/Laravel-Lang/http-statuses/issues",
|
"issues": "https://github.com/Laravel-Lang/http-statuses/issues",
|
||||||
"source": "https://github.com/Laravel-Lang/http-statuses/tree/v3.2.1"
|
"source": "https://github.com/Laravel-Lang/http-statuses/tree/v3.2.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -14464,20 +14556,20 @@
|
|||||||
"type": "open_collective"
|
"type": "open_collective"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-02-01T07:47:32+00:00"
|
"time": "2023-02-15T08:19:04+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel-lang/lang",
|
"name": "laravel-lang/lang",
|
||||||
"version": "12.16.0",
|
"version": "12.17.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Laravel-Lang/lang.git",
|
"url": "https://github.com/Laravel-Lang/lang.git",
|
||||||
"reference": "0536e0617b3ed07d4fab04b28960d611a3709eb2"
|
"reference": "fc84652189915bcc9b8f44104ad1344da5d70e9f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Laravel-Lang/lang/zipball/0536e0617b3ed07d4fab04b28960d611a3709eb2",
|
"url": "https://api.github.com/repos/Laravel-Lang/lang/zipball/fc84652189915bcc9b8f44104ad1344da5d70e9f",
|
||||||
"reference": "0536e0617b3ed07d4fab04b28960d611a3709eb2",
|
"reference": "fc84652189915bcc9b8f44104ad1344da5d70e9f",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -14539,20 +14631,20 @@
|
|||||||
"type": "open_collective"
|
"type": "open_collective"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-02-11T09:51:27+00:00"
|
"time": "2023-02-14T22:05:52+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel-lang/publisher",
|
"name": "laravel-lang/publisher",
|
||||||
"version": "v14.6.0",
|
"version": "v14.6.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Laravel-Lang/publisher.git",
|
"url": "https://github.com/Laravel-Lang/publisher.git",
|
||||||
"reference": "56bc9e7e2d2593ac95d5518a25085c34f8113b11"
|
"reference": "2ca37c783003106de3f86ed6e1c9f040d8cfc02d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Laravel-Lang/publisher/zipball/56bc9e7e2d2593ac95d5518a25085c34f8113b11",
|
"url": "https://api.github.com/repos/Laravel-Lang/publisher/zipball/2ca37c783003106de3f86ed6e1c9f040d8cfc02d",
|
||||||
"reference": "56bc9e7e2d2593ac95d5518a25085c34f8113b11",
|
"reference": "2ca37c783003106de3f86ed6e1c9f040d8cfc02d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -14574,9 +14666,8 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"laravel-lang/json-fallback-hotfix": "^1.0",
|
"laravel-lang/json-fallback-hotfix": "^1.0",
|
||||||
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
|
"orchestra/testbench": "^6.25 || ^7.22 || ^8.0",
|
||||||
"phpstan/phpstan": "^1.8",
|
"phpunit/phpunit": "^9.6",
|
||||||
"phpunit/phpunit": "^9.4",
|
|
||||||
"symfony/var-dumper": "^5.0 || ^6.0"
|
"symfony/var-dumper": "^5.0 || ^6.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
@@ -14647,7 +14738,7 @@
|
|||||||
"type": "open_collective"
|
"type": "open_collective"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-02-10T08:21:43+00:00"
|
"time": "2023-02-14T20:37:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel-shift/blueprint",
|
"name": "laravel-shift/blueprint",
|
||||||
@@ -14749,16 +14840,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/pint",
|
"name": "laravel/pint",
|
||||||
"version": "v1.4.1",
|
"version": "v1.5.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/pint.git",
|
"url": "https://github.com/laravel/pint.git",
|
||||||
"reference": "80ddf23a5d97825e79bb1018eebb6f3f985d4fa8"
|
"reference": "e0a8cef58b74662f27355be9cdea0e726bbac362"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/pint/zipball/80ddf23a5d97825e79bb1018eebb6f3f985d4fa8",
|
"url": "https://api.github.com/repos/laravel/pint/zipball/e0a8cef58b74662f27355be9cdea0e726bbac362",
|
||||||
"reference": "80ddf23a5d97825e79bb1018eebb6f3f985d4fa8",
|
"reference": "e0a8cef58b74662f27355be9cdea0e726bbac362",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -14769,13 +14860,13 @@
|
|||||||
"php": "^8.0"
|
"php": "^8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"friendsofphp/php-cs-fixer": "^3.14",
|
"friendsofphp/php-cs-fixer": "^3.14.4",
|
||||||
"illuminate/view": "^9.32.0",
|
"illuminate/view": "^9.51.0",
|
||||||
"laravel-zero/framework": "^9.2.0",
|
"laravel-zero/framework": "^9.2.0",
|
||||||
"mockery/mockery": "^1.5.1",
|
"mockery/mockery": "^1.5.1",
|
||||||
"nunomaduro/larastan": "^2.2.0",
|
"nunomaduro/larastan": "^2.4.0",
|
||||||
"nunomaduro/termwind": "^1.14.0",
|
"nunomaduro/termwind": "^1.15.1",
|
||||||
"pestphp/pest": "^1.22.1"
|
"pestphp/pest": "^1.22.4"
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
"builds/pint"
|
"builds/pint"
|
||||||
@@ -14811,20 +14902,20 @@
|
|||||||
"issues": "https://github.com/laravel/pint/issues",
|
"issues": "https://github.com/laravel/pint/issues",
|
||||||
"source": "https://github.com/laravel/pint"
|
"source": "https://github.com/laravel/pint"
|
||||||
},
|
},
|
||||||
"time": "2023-01-31T15:50:45+00:00"
|
"time": "2023-02-14T16:31:02+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "laravel/sail",
|
"name": "laravel/sail",
|
||||||
"version": "v1.20.1",
|
"version": "v1.20.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/laravel/sail.git",
|
"url": "https://github.com/laravel/sail.git",
|
||||||
"reference": "4b85dbfa3dceeaf7227e3029707562fd60297e86"
|
"reference": "5ae072b182b1efbec927409e8a3ce3b1078cc42c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/laravel/sail/zipball/4b85dbfa3dceeaf7227e3029707562fd60297e86",
|
"url": "https://api.github.com/repos/laravel/sail/zipball/5ae072b182b1efbec927409e8a3ce3b1078cc42c",
|
||||||
"reference": "4b85dbfa3dceeaf7227e3029707562fd60297e86",
|
"reference": "5ae072b182b1efbec927409e8a3ce3b1078cc42c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -14872,7 +14963,7 @@
|
|||||||
"issues": "https://github.com/laravel/sail/issues",
|
"issues": "https://github.com/laravel/sail/issues",
|
||||||
"source": "https://github.com/laravel/sail"
|
"source": "https://github.com/laravel/sail"
|
||||||
},
|
},
|
||||||
"time": "2023-02-08T02:08:37+00:00"
|
"time": "2023-02-08T20:22:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "mockery/mockery",
|
"name": "mockery/mockery",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ namespace Database\Seeders;
|
|||||||
|
|
||||||
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||||
use App\Console\Commands\Database\CreateTags;
|
use App\Console\Commands\Database\CreateTags;
|
||||||
|
use App\Console\Commands\Database\ImportGithubMeetups;
|
||||||
use App\Console\Commands\Feed\ReadAndSyncPodcastFeeds;
|
use App\Console\Commands\Feed\ReadAndSyncPodcastFeeds;
|
||||||
use App\Console\Commands\OpenBooks\SyncOpenBooks;
|
use App\Console\Commands\OpenBooks\SyncOpenBooks;
|
||||||
use App\Models\BitcoinEvent;
|
use App\Models\BitcoinEvent;
|
||||||
@@ -387,13 +388,7 @@ Deshalb werden Sie von mir in diesem Kurs leicht verständlich an das Thema hera
|
|||||||
->attach($libraryItem);
|
->attach($libraryItem);
|
||||||
Artisan::call(ReadAndSyncPodcastFeeds::class);
|
Artisan::call(ReadAndSyncPodcastFeeds::class);
|
||||||
Artisan::call(SyncOpenBooks::class);
|
Artisan::call(SyncOpenBooks::class);
|
||||||
Meetup::create([
|
Artisan::call(ImportGithubMeetups::class);
|
||||||
'city_id' => 6,
|
|
||||||
'name' => 'Einundzwanzig Hessen',
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigHessen',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
MeetupEvent::create([
|
MeetupEvent::create([
|
||||||
'meetup_id' => 1,
|
'meetup_id' => 1,
|
||||||
'start' => now()
|
'start' => now()
|
||||||
@@ -416,69 +411,6 @@ Deshalb werden Sie von mir in diesem Kurs leicht verständlich an das Thema hera
|
|||||||
'link' => 'https://t.me/EinundzwanzigKempten',
|
'link' => 'https://t.me/EinundzwanzigKempten',
|
||||||
'created_by' => 1,
|
'created_by' => 1,
|
||||||
]);
|
]);
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 2,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 3,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
Meetup::create([
|
|
||||||
'city_id' => 1,
|
|
||||||
'name' => 'Einundzwanzig ' . str()->random(5),
|
|
||||||
'telegram_link' => 'https://t.me/EinundzwanzigKempten',
|
|
||||||
'created_by' => 1,
|
|
||||||
'intro' => fake()->text(80),
|
|
||||||
]);
|
|
||||||
BitcoinEvent::create([
|
BitcoinEvent::create([
|
||||||
'venue_id' => 4,
|
'venue_id' => 4,
|
||||||
'from' => Carbon::parse('2023-09-12')
|
'from' => Carbon::parse('2023-09-12')
|
||||||
|
|||||||
2
public/vendor/horizon/app.js
vendored
2
public/vendor/horizon/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/vendor/horizon/mix-manifest.json
vendored
2
public/vendor/horizon/mix-manifest.json
vendored
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"/app.js": "/app.js?id=766b568d1924aa83b2a1f279d2c5ab9e",
|
"/app.js": "/app.js?id=6148211f5802ae601d59d3dfa95d1d35",
|
||||||
"/app-dark.css": "/app-dark.css?id=15c72df05e2b1147fa3e4b0670cfb435",
|
"/app-dark.css": "/app-dark.css?id=15c72df05e2b1147fa3e4b0670cfb435",
|
||||||
"/app.css": "/app.css?id=4d6a1a7fe095eedc2cb2a4ce822ea8a5",
|
"/app.css": "/app.css?id=4d6a1a7fe095eedc2cb2a4ce822ea8a5",
|
||||||
"/img/favicon.png": "/img/favicon.png?id=1542bfe8a0010dcbee710da13cce367f",
|
"/img/favicon.png": "/img/favicon.png?id=1542bfe8a0010dcbee710da13cce367f",
|
||||||
|
|||||||
@@ -765,5 +765,6 @@
|
|||||||
"File": "Datei",
|
"File": "Datei",
|
||||||
"Article already tweeted": "Artikel bereits getwittert",
|
"Article already tweeted": "Artikel bereits getwittert",
|
||||||
"Is this a news article?": "Dieser Artikel ist ein News-Artikel",
|
"Is this a news article?": "Dieser Artikel ist ein News-Artikel",
|
||||||
"Are your sure?": "Bist du dir sicher?"
|
"Are your sure?": "Bist du dir sicher?",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -762,5 +762,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -762,5 +762,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -763,5 +763,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -725,5 +725,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -737,5 +737,6 @@
|
|||||||
"File": "",
|
"File": "",
|
||||||
"Article already tweeted": "",
|
"Article already tweeted": "",
|
||||||
"Is this a news article?": "",
|
"Is this a news article?": "",
|
||||||
"Are your sure?": ""
|
"Are your sure?": "",
|
||||||
|
"Nostr public key": ""
|
||||||
}
|
}
|
||||||
@@ -53,15 +53,17 @@ Route::middleware([])
|
|||||||
Route::get('btc-map-communities', function () {
|
Route::get('btc-map-communities', function () {
|
||||||
return response()->json(\App\Models\Meetup::query()
|
return response()->json(\App\Models\Meetup::query()
|
||||||
->with([
|
->with([
|
||||||
|
'media',
|
||||||
'city.country',
|
'city.country',
|
||||||
])
|
])
|
||||||
->where('community', '=', 'einundzwanzig')
|
->where('community', '=', 'einundzwanzig')
|
||||||
->whereHas('city',
|
->when(app()->environment('production'),
|
||||||
|
fn($query) => $query->whereHas('city',
|
||||||
fn($query) => $query
|
fn($query) => $query
|
||||||
->whereNotNull('cities.simplified_geojson')
|
->whereNotNull('cities.simplified_geojson')
|
||||||
->whereNotNull('cities.population')
|
->whereNotNull('cities.population')
|
||||||
->whereNotNull('cities.population_date')
|
->whereNotNull('cities.population_date')
|
||||||
)
|
))
|
||||||
->get()
|
->get()
|
||||||
->map(fn($meetup) => [
|
->map(fn($meetup) => [
|
||||||
'id' => $meetup->slug,
|
'id' => $meetup->slug,
|
||||||
@@ -69,13 +71,14 @@ Route::middleware([])
|
|||||||
'type' => 'community',
|
'type' => 'community',
|
||||||
'name' => $meetup->name,
|
'name' => $meetup->name,
|
||||||
'continent' => 'europe',
|
'continent' => 'europe',
|
||||||
'icon:square' => $meetup->getFirstMediaUrl('logo'),
|
'icon:square' => $meetup->logoSquare,
|
||||||
'contact:email' => null,
|
//'contact:email' => null,
|
||||||
'contact:twitter' => 'https://twitter.com/'.$meetup->twitter_username,
|
'contact:twitter' => 'https://twitter.com/'.$meetup->twitter_username,
|
||||||
'contact:website' => $meetup->webpage,
|
'contact:website' => $meetup->webpage,
|
||||||
'tips:lightning_address' => null,
|
'contact:nostr' => $meetup->nostr,
|
||||||
|
//'tips:lightning_address' => null,
|
||||||
'organization' => 'einundzwanzig',
|
'organization' => 'einundzwanzig',
|
||||||
'language' => $meetup->city->country->language_codes[0],
|
'language' => $meetup->city->country->language_codes[0] ?? 'de',
|
||||||
'geo_json' => $meetup->city->simplified_geojson,
|
'geo_json' => $meetup->city->simplified_geojson,
|
||||||
'population' => $meetup->city->population,
|
'population' => $meetup->city->population,
|
||||||
'population:date' => $meetup->city->population_date,
|
'population:date' => $meetup->city->population_date,
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ Route::middleware([])
|
|||||||
->get('/', \App\Http\Livewire\Frontend\Welcome::class)
|
->get('/', \App\Http\Livewire\Frontend\Welcome::class)
|
||||||
->name('welcome');
|
->name('welcome');
|
||||||
|
|
||||||
|
Route::get('/img/{path}', \App\Http\Controllers\ImageController::class)
|
||||||
|
->where('path', '.*')->name('img');
|
||||||
|
|
||||||
Route::get('auth/auth47', \App\Http\Livewire\Auth\Auth47Component::class)
|
Route::get('auth/auth47', \App\Http\Livewire\Auth\Auth47Component::class)
|
||||||
->name('auth.auth47');
|
->name('auth.auth47');
|
||||||
|
|
||||||
@@ -146,7 +149,8 @@ Route::middleware([])
|
|||||||
->prefix('/{country:code}/library')
|
->prefix('/{country:code}/library')
|
||||||
->group(function () {
|
->group(function () {
|
||||||
Route::get('/library-item/form/{libraryItem?}', \App\Http\Livewire\Library\Form\LibraryItemForm::class)
|
Route::get('/library-item/form/{libraryItem?}', \App\Http\Livewire\Library\Form\LibraryItemForm::class)
|
||||||
->name('libraryItem.form')->middleware(['auth']);
|
->name('libraryItem.form')
|
||||||
|
->middleware(['auth']);
|
||||||
|
|
||||||
Route::get('/library-item', \App\Http\Livewire\Library\LibraryTable::class)
|
Route::get('/library-item', \App\Http\Livewire\Library\LibraryTable::class)
|
||||||
->name('table.libraryItems');
|
->name('table.libraryItems');
|
||||||
|
|||||||
Reference in New Issue
Block a user