-
Notifications
You must be signed in to change notification settings - Fork 21
FEAT:🌙 Prefer remote stands overnight for configured airfields #1814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MrAdder
wants to merge
21
commits into
VATSIM-UK:main
Choose a base branch
from
MrAdder:issue-1762
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
83be906
Full push of feature
MrAdder ff0f118
Refactor
MrAdder 9a1fd25
Update FallbackArrivalStandAllocatorTest.php
MrAdder 5e9893b
Update SelectsStandsUsingStandardConditions.php
MrAdder 7367acc
Rework
MrAdder 9cfd554
Fixes
MrAdder 219feab
Update app/Allocator/Stand/SelectsStandsUsingStandardConditions.php
MrAdder bcdda0f
Update database/migrations/2026_02_25_000001_add_overnight_remote_pre…
MrAdder 7568198
Update app/Allocator/Stand/SelectsStandsUsingStandardConditions.php
MrAdder 09bcafa
accidental removal
MrAdder e5942b3
Update SelectsStandsUsingStandardConditions.php
MrAdder 6e6e0a6
Style CI I love you
MrAdder 1dd35fd
Apply suggestions from code review
MrAdder 833d9bd
fix: update stands config for overnight stands
MrAdder 8f25c76
refactor(stands): reduce cyclomatic complexity of nightTimeRemoteStan…
MrAdder 94c1fe9
fix: style fixes
MrAdder b2cb37f
refactor: reduce complexity in nightTimeRemoteStandOrderCondition
MrAdder 6c5e144
refactor: scope overnight stand preference via DB flag, remove config…
MrAdder db68b1b
final fixes
MrAdder 3b61b1c
Clarify overnight window time zone in stands.php
MrAdder 71e331f
Remove index as not needed
MrAdder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
database/migrations/2026_02_25_000001_add_overnight_remote_preferred_to_stands.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| <?php | ||
|
|
||
| use Illuminate\Database\Migrations\Migration; | ||
| use Illuminate\Database\Schema\Blueprint; | ||
| use Illuminate\Support\Facades\Schema; | ||
|
|
||
| return new class extends Migration { | ||
| public function up(): void | ||
| { | ||
| Schema::table('stands', function (Blueprint $table): void { | ||
| $table->boolean('overnight_remote_preferred') | ||
| ->default(false) | ||
| ->after('assignment_priority'); | ||
| }); | ||
| } | ||
|
|
||
| public function down(): void | ||
| { | ||
| Schema::table('stands', function (Blueprint $table): void { | ||
| $table->dropColumn('overnight_remote_preferred'); | ||
| }); | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.