Compare commits

..

No commits in common. "31ca919ba9c773e6724bcd7c495f9a4d664cdc2c" and "ffd1cf0d7ecd2172ef0dae23162402f765653ef3" have entirely different histories.

5 changed files with 38 additions and 69 deletions

60
composer.lock generated
View file

@ -62,16 +62,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.369.18", "version": "3.369.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "48d809eda94dd528ef539cff827e7542ac01cce6" "reference": "8bdccd2f8e54c5cd170b22f52414171e19226fd1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/48d809eda94dd528ef539cff827e7542ac01cce6", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/8bdccd2f8e54c5cd170b22f52414171e19226fd1",
"reference": "48d809eda94dd528ef539cff827e7542ac01cce6", "reference": "8bdccd2f8e54c5cd170b22f52414171e19226fd1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -153,9 +153,9 @@
"support": { "support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.369.18" "source": "https://github.com/aws/aws-sdk-php/tree/3.369.17"
}, },
"time": "2026-01-22T19:05:57+00:00" "time": "2026-01-21T19:09:32+00:00"
}, },
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@ -2626,16 +2626,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "3.31.0", "version": "3.30.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "1717e0b3642b0df65ecb0cc89cdd99fa840672ff" "reference": "5966a8ba23e62bdb518dd9e0e665c2dbd4b5b277"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1717e0b3642b0df65ecb0cc89cdd99fa840672ff", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/5966a8ba23e62bdb518dd9e0e665c2dbd4b5b277",
"reference": "1717e0b3642b0df65ecb0cc89cdd99fa840672ff", "reference": "5966a8ba23e62bdb518dd9e0e665c2dbd4b5b277",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2703,22 +2703,22 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem/issues", "issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.31.0" "source": "https://github.com/thephpleague/flysystem/tree/3.30.2"
}, },
"time": "2026-01-23T15:38:47+00:00" "time": "2025-11-10T17:13:11+00:00"
}, },
{ {
"name": "league/flysystem-local", "name": "league/flysystem-local",
"version": "3.31.0", "version": "3.30.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem-local.git", "url": "https://github.com/thephpleague/flysystem-local.git",
"reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079" "reference": "ab4f9d0d672f601b102936aa728801dd1a11968d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/2f669db18a4c20c755c2bb7d3a7b0b2340488079", "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/ab4f9d0d672f601b102936aa728801dd1a11968d",
"reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079", "reference": "ab4f9d0d672f601b102936aa728801dd1a11968d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2752,9 +2752,9 @@
"local" "local"
], ],
"support": { "support": {
"source": "https://github.com/thephpleague/flysystem-local/tree/3.31.0" "source": "https://github.com/thephpleague/flysystem-local/tree/3.30.2"
}, },
"time": "2026-01-23T15:30:45+00:00" "time": "2025-11-10T11:23:37+00:00"
}, },
{ {
"name": "league/mime-type-detection", "name": "league/mime-type-detection",
@ -3128,16 +3128,16 @@
}, },
{ {
"name": "livewire/flux", "name": "livewire/flux",
"version": "v2.11.1", "version": "v2.11.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/livewire/flux.git", "url": "https://github.com/livewire/flux.git",
"reference": "3ada3b2644215fd1ccb7003ce8e6bc185c22e70a" "reference": "163fd7333468d527153da6100f3c8e8e402a8f90"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/livewire/flux/zipball/3ada3b2644215fd1ccb7003ce8e6bc185c22e70a", "url": "https://api.github.com/repos/livewire/flux/zipball/163fd7333468d527153da6100f3c8e8e402a8f90",
"reference": "3ada3b2644215fd1ccb7003ce8e6bc185c22e70a", "reference": "163fd7333468d527153da6100f3c8e8e402a8f90",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3188,22 +3188,22 @@
], ],
"support": { "support": {
"issues": "https://github.com/livewire/flux/issues", "issues": "https://github.com/livewire/flux/issues",
"source": "https://github.com/livewire/flux/tree/v2.11.1" "source": "https://github.com/livewire/flux/tree/v2.11.0"
}, },
"time": "2026-01-21T17:09:56+00:00" "time": "2026-01-21T09:22:09+00:00"
}, },
{ {
"name": "livewire/livewire", "name": "livewire/livewire",
"version": "v4.0.3", "version": "v4.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/livewire/livewire.git", "url": "https://github.com/livewire/livewire.git",
"reference": "11afe7b36dbb1d98e073551c217f87b2b6911f81" "reference": "57fd2f193072560f8615e513972db5fb9dc93501"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/11afe7b36dbb1d98e073551c217f87b2b6911f81", "url": "https://api.github.com/repos/livewire/livewire/zipball/57fd2f193072560f8615e513972db5fb9dc93501",
"reference": "11afe7b36dbb1d98e073551c217f87b2b6911f81", "reference": "57fd2f193072560f8615e513972db5fb9dc93501",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3258,7 +3258,7 @@
"description": "A front-end framework for Laravel.", "description": "A front-end framework for Laravel.",
"support": { "support": {
"issues": "https://github.com/livewire/livewire/issues", "issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v4.0.3" "source": "https://github.com/livewire/livewire/tree/v4.0.2"
}, },
"funding": [ "funding": [
{ {
@ -3266,7 +3266,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2026-01-23T06:13:46+00:00" "time": "2026-01-21T09:09:58+00:00"
}, },
{ {
"name": "maennchen/zipstream-php", "name": "maennchen/zipstream-php",

View file

@ -70,14 +70,12 @@
<flux:menu.radio.group> <flux:menu.radio.group>
<flux:menu.item href="{{ route('settings.preferences') }}" wire:navigate icon="cog">Settings</flux:menu.item> <flux:menu.item href="{{ route('settings.preferences') }}" wire:navigate icon="cog">Settings</flux:menu.item>
<flux:menu.item href="{{ route('settings.support') }}" wire:navigate icon="heart">Support</flux:menu.item> <flux:menu.item href="{{ route('settings.support') }}" wire:navigate icon="heart">Support</flux:menu.item>
@if(config('app.version')) <flux:menu.item href="{{ route('settings.update') }}" wire:navigate icon="arrow-down-circle">
<flux:menu.item href="{{ route('settings.update') }}" wire:navigate icon="arrow-down-circle"> <div class="flex items-center gap-2">
<div class="flex items-center gap-2"> <span>Updates</span>
<span>Updates</span> <livewire:update-badge />
<livewire:update-badge /> </div>
</div> </flux:menu.item>
</flux:menu.item>
@endif
</flux:menu.radio.group> </flux:menu.radio.group>
<flux:menu.separator/> <flux:menu.separator/>

View file

@ -240,7 +240,7 @@ new class extends Component
<flux:description>{!! $safeDescription !!}</flux:description> <flux:description>{!! $safeDescription !!}</flux:description>
<flux:input <flux:input
type="password" type="password"
wire:model="configuration.{{ $fieldKey }}" wire:model="local_configuration.{{ $fieldKey }}"
value="{{ $currentValue }}" value="{{ $currentValue }}"
viewable viewable
/> />

View file

@ -8,9 +8,7 @@
<flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item> <flux:navlist.item :href="route('user-password.edit')" wire:navigate>{{ __('Password') }}</flux:navlist.item>
@endif @endif
<flux:navlist.item :href="route('settings.support')" wire:navigate>{{ __('Support') }}</flux:navlist.item> <flux:navlist.item :href="route('settings.support')" wire:navigate>{{ __('Support') }}</flux:navlist.item>
@if(config('app.version')) <flux:navlist.item :href="route('settings.update')" wire:navigate>{{ __('Updates') }}</flux:navlist.item>
<flux:navlist.item :href="route('settings.update')" wire:navigate>{{ __('Updates') }}</flux:navlist.item>
@endif
</flux:navlist> </flux:navlist>
</div> </div>

View file

@ -121,30 +121,3 @@ test('config modal dispatches update event for parent warning refresh', function
->call('saveConfiguration') ->call('saveConfiguration')
->assertDispatched('config-updated'); ->assertDispatched('config-updated');
}); });
test('config modal saves password field values correctly', function (): void {
$user = User::factory()->create();
$this->actingAs($user);
$plugin = Plugin::create([
'uuid' => Str::uuid(),
'user_id' => $user->id,
'name' => 'Test Plugin',
'data_strategy' => 'static',
'configuration_template' => [
'custom_fields' => [[
'keyname' => 'api_key',
'field_type' => 'password',
'name' => 'API Key',
]],
],
'configuration' => [],
]);
Livewire::test('plugins.config-modal', ['plugin' => $plugin])
->set('configuration.api_key', 'my-secret-password-123')
->call('saveConfiguration')
->assertHasNoErrors();
expect($plugin->fresh()->configuration['api_key'])->toBe('my-secret-password-123');
});