mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-18 08:24:54 +00:00
71a4898303
- Added `is_active` and `last_event_at` fields to meetups with migration. - Enhanced UI: Display `Aktiv`/`Inaktiv` badges and last event dates across dashboard, tables, and maps. - Introduced `/meetups:update-activity` command to manage activity flags and timestamps. - Validated latitude/longitude to prevent `0,0` inputs in city creation and updates. - Updated factories and tests to include meetup activity states (`active`, `inactive`).
18 lines
507 B
PHP
18 lines
507 B
PHP
<?php
|
|
|
|
use App\Console\Commands\Database\CleanupLoginKeys;
|
|
use App\Console\Commands\Database\UpdateMeetupActivity;
|
|
use App\Console\Commands\Nostr\PublishUnpublishedItems;
|
|
|
|
Schedule::command(CleanupLoginKeys::class)->everyFifteenMinutes();
|
|
|
|
Schedule::command(PublishUnpublishedItems::class, [
|
|
'--model' => 'MeetupEvent',
|
|
])->hourly();
|
|
|
|
Schedule::command(PublishUnpublishedItems::class, [
|
|
'--model' => 'Meetup',
|
|
])->dailyAt('18:00');
|
|
|
|
Schedule::command(UpdateMeetupActivity::class)->dailyAt('03:30');
|