Zmiany:
- Usunięty wiersz „Kontakt wsparcia” z Admin > O aplikacji razem ze zmienną
  AUTHOR_CONTACT w .env, która służyła tylko jemu.

Poprawki:
- Pole wyboru pliku ustawień (instalator oraz Admin > Eksport / import)
  wyświetlało się jako sam tekst, bez widocznego pola i przycisku.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rz61PznDTKUACA7sVTB8H3
This commit is contained in:
kzbkowskiandClaude Opus 5.5 committed 2026-10-01 13:34:19 +02:00
1 parent 0de22dbce2
commit 71b3a11a18
9 files changed
+34 -21

No files matched your search

-1
View File
@@ -4,7 +4,6 @@ APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost
AUTHOR_CONTACT=helpdesk@kzbikowski.pl
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
+1 -13
View File
@@ -15,18 +15,6 @@ return [
'name' => env('APP_NAME', 'Laravel'),
/*
|--------------------------------------------------------------------------
| Author Contact
|--------------------------------------------------------------------------
|
| Shown as the support contact address on the Admin > About tab. Not a
| framework setting — set AUTHOR_CONTACT in .env.
|
*/
'author_contact' => env('AUTHOR_CONTACT'),
/*
|--------------------------------------------------------------------------
| Version
@@ -39,7 +27,7 @@ return [
|
*/
'version' => '2.1.0',
'version' => '2.1.1',
/*
|--------------------------------------------------------------------------
+12
View File
@@ -3,6 +3,18 @@
All notable changes to this project are documented in this file. Format loosely
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [2.1.1] - 2026-10-01
### Removed
- "Kontakt wsparcia" row from Admin > O aplikacji, along with the
`AUTHOR_CONTACT` `.env` variable that only fed it.
### Fixed
- The settings-file picker (installer and Admin > Eksport / import) rendered
as bare text with no visible field or button.
## [2.1.0] - 2026-10-01
### Added
+1 -2
View File
@@ -4,8 +4,7 @@ This is an internally-run production helpdesk (not an open-source project with a
public disclosure program). If you find a vulnerability affecting this
deployment, report it directly rather than opening a public GitHub issue:
- **Contact**: the address configured as `AUTHOR_CONTACT` in `.env`
(surfaced in the app under Admin > O aplikacji).
- **Contact**: the owner of this deployment, directly.
- Please include steps to reproduce and, if applicable, which role/area
(Client/Operator/Admin/API) is affected.
-2
View File
@@ -83,7 +83,6 @@ APP_URL=https://servicedesk.twoja-domena.pl # to samo co HOSTNAME wyżej, z ht
APP_LOCALE=pl
APP_FALLBACK_LOCALE=pl
AUTHOR_CONTACT=helpdesk@twoja-domena.pl # widoczne w Admin > O aplikacji
VERSION=1.3.0 # widoczne w Admin > O aplikacji
DB_CONNECTION=mysql
@@ -462,7 +461,6 @@ APP_URL=https://servicedesk.twoja-domena.pl
APP_LOCALE=pl
APP_FALLBACK_LOCALE=pl
AUTHOR_CONTACT=helpdesk@twoja-domena.pl
VERSION=1.3.0
DB_CONNECTION=mysql
+18
View File
@@ -141,6 +141,24 @@ body {
}
.input:focus { outline: 2px solid var(--color-accent); outline-offset: -1px; }
textarea.input { min-height: 90px; resize: vertical; }
/* A bare <input type="file"> (shown as-is, not hidden inside a
label.btn): Tailwind's preflight strips the native button, leaving
just the "choose file" text with nothing around it. Used together
with .input so the field itself gets the usual box. */
.input-file { padding: 6px; cursor: pointer; }
.input-file::file-selector-button {
font-family: inherit;
font-size: 13px;
font-weight: 500;
padding: 6px 12px;
margin-right: 12px;
border-radius: 6px;
border: 1px solid var(--color-divider);
background: var(--color-surface);
color: var(--color-text);
cursor: pointer;
}
.input-file::file-selector-button:hover { background: color-mix(in srgb, var(--color-text) 6%, var(--color-surface)); }
.radio {
display: flex;
@@ -1012,7 +1012,6 @@ $tabGroups = [
<div class="card" style="padding:18px;gap:10px;max-width:420px">
<div style="display:flex;justify-content:space-between"><span class="text-muted">Aplikacja</span><span>{{ \App\Support\Settings::get('company_name') }}</span></div>
<div style="display:flex;justify-content:space-between"><span class="text-muted">Wersja</span><span>{{ config('app.version') ?: '—' }}</span></div>
<div style="display:flex;justify-content:space-between"><span class="text-muted">Kontakt wsparcia</span><span>{{ config('app.author_contact') ?: '—' }}</span></div>
</div>
@endif
</div>
@@ -29,7 +29,7 @@
instalacji zawartością pliku. Po imporcie nastąpi wylogowanie — zaloguj się kontem z importowanej instalacji.
</p>
<form wire:submit="import" style="display:flex;flex-direction:column;gap:12px">
<input type="file" accept=".json,application/json" wire:model="importFile">
<input class="input input-file" type="file" accept=".json,application/json" wire:model="importFile">
@error('importFile') <span style="color:var(--color-danger);font-size:12px">{{ $message }}</span> @enderror
@if ($importError)
<span style="color:var(--color-danger);font-size:12px">{{ $importError }}</span>
+1 -1
View File
@@ -102,7 +102,7 @@
Wgraj plik pobrany z innej instalacji (Admin &gt; Eksport / import). Przeniesie całą konfigurację
razem z kontami użytkowników; po imporcie zalogujesz się tak, jak w tamtej instalacji.
</p>
<input type="file" accept=".json,application/json" wire:model="importFile">
<input class="input input-file" type="file" accept=".json,application/json" wire:model="importFile">
@error('importFile') <span style="color:var(--color-danger);font-size:12px">{{ $message }}</span> @enderror
<button type="submit" class="btn btn-primary btn-block" @disabled(! $importFile) wire:loading.attr="disabled" wire:target="import,importFile">Importuj ustawienia</button>
</form>