Commit Graph

147 Commits

Author SHA1 Message Date
Jay Collett 57fa9f26fb Fix checkbox config values always returning "1"
Checkbox-type config options (e.g. ignore_tls) always tested as "1"
regardless of the checkbox state. The Test-button config gatherer used
$(this).val() for every .config-item, and jQuery .val() on a checkbox
returns its value attribute ("1") regardless of checked state. App
config blades pair a hidden input (0) with a checkbox (1) sharing the
same data-config, and the checkbox is last in DOM order, so it always
overwrote the value with "1". Normal form saves were unaffected.

Use the :checked state for checkboxes so unchecking now tests as "0".

Also rebuilds the committed compiled bundle (public/js/app.js) so the
fix takes effect at runtime; the edit is byte-identical to the Laravel
Mix development build output for this block.

Fixes linuxserver/Heimdall-Apps#782
2026-07-09 21:59:46 +01:00
KodeStar 6f932918aa Fix import status regression from appload 404 + tighten upgrade tests
- itemImport: check response.ok in fetchAppDetails so a genuine 404
  (from the appload return-type fix) is reported as 'Failed to find app
  id' instead of being parsed as a successful import; applied to the
  source and the committed compiled bundle.
- phpunit.xml: point the schema URL at 12.5 to match the installed
  PHPUnit 12.5.x.
- ColorHelpersTest: exercise the get_brightness() non-hex stripping the
  test name promised (interior separators), which the prior assertion
  never covered.
2026-07-09 09:28:53 +01:00
KodeStar 6d0242dead Merge pull request #1572 from linuxserver/feature/default-tag-group
Add a configurable default tag for the dashboard
2026-07-08 18:29:43 +01:00
KodeStar c0c202c5ff Add a configurable default tag for the dashboard
In tags mode the dashboard always opened showing every link. This adds a
"Default tag" setting (Advanced) that pre-selects one tag group on load, so
the dashboard opens filtered to it - the built-in equivalent of the custom
JavaScript workaround people have been sharing.

The setting is a select populated from the user's own tags, following the
same dynamic-option pattern already used for the search provider. When a tag
is chosen its slug is exposed on the tag list and the matching tab is
activated on load; when the setting is empty, behaviour is unchanged and all
links are shown.

Resolves #1556
2026-07-08 17:10:19 +01:00
KodeStar fb9af1b216 Include tags in item export and restore them on import
The export endpoint (api/item) now emits each item's assigned tag titles,
excluding the root/default dashboard tag. On import, those titles are
resolved back to local tags - reusing an existing tag or creating a missing
one - instead of dropping every imported item onto the default dashboard.

Tags round-trip by title so a config can be moved between instances without
having to reassign each item to its section by hand.

Resolves #1555
2026-07-08 14:18:45 +01:00
Chris Hunt 130661bd34 Remove search provider dropdown when there's only a single provider
Resolves #1509
2025-11-11 12:00:41 +00:00
Chris Hunt 4f30332854 Fix lint issues 2025-11-11 11:42:38 +00:00
Chris Hunt 852c231724 Add autocomplete suggestions support and added to bing, duckduckgo, and google 2025-11-11 11:39:06 +00:00
Chris Hunt 69bc8cb34e Fixes to reduce the SSRF attack vector. 2025-07-13 19:06:33 +01:00
Shift 7153a41e03 Shift core files 2025-07-10 18:53:55 +00:00
KodeStar 8f360f97ef Merge branch '2.x' into bugfix/two_dots 2024-11-05 10:44:15 +00:00
Chris Hunt 5ccb87cd7f Fix 2 dots that are visible on light backgrounds #1383 2024-11-05 10:42:05 +00:00
Chris Hunt c2a3368c7b Search from URL fixed #1369 2024-11-05 10:29:34 +00:00
Chris Hunt b880333856 Fixes #1386 2024-11-04 10:30:24 +00:00
Chris Hunt 4b8bf5156d Fix prettier complaints 2024-02-19 09:56:03 +00:00
Chris Hunt d276bf8b1d Add alternate tag types 2024-02-18 18:16:46 +00:00
KodeStar 36d1d55934 Revert "Replace Mix with Vite" 2024-02-17 21:02:45 +00:00
Chris Hunt 029def9d90 Update vite 2024-02-17 19:56:47 +00:00
Shift 0f4b336d82 Remove web.config 2024-02-16 20:33:37 +00:00
ullbergm 6e954a355d Add Trianglify (#1158) 2023-05-26 10:23:06 +02:00
jatdung 1f5493ac98 fix sortable tooltip (#1130) 2023-05-16 16:42:17 +02:00
jatdung cd4b522935 use sortablejs instead of jquery-ui (#1115) 2023-02-10 21:32:58 +01:00
Attila Kerekes 302e04bb12 fix: Update jquery, jquery-ui (#1113) 2023-02-04 20:34:49 +01:00
Attila Kerekes 49dab6e72b fix: Add more error handling for app test (#1111) 2023-02-01 11:43:26 +01:00
Attila Kerekes 3c9f361f5f chore: Add eslint github check (#1067) 2022-12-11 18:44:37 +01:00
Attila Kerekes 11257a272e feat: Introduce queue based live stat refresh (#1059) 2022-12-05 16:29:06 +01:00
Attila Kerekes 8f9b2959b2 feat: Add basic import screen (#1056)
Co-authored-by: Chris Hunt <chris.hunt@kasmweb.com>
2022-12-04 22:12:54 +01:00
Attila Kerekes bb5a078f35 feat: Add export import 2022-11-29 17:32:46 +00:00
Attila Kerekes d30edb6749 chore: Add eslint prettier phpcs config PSR2 2022-11-28 19:47:10 +00:00
Attila Kerekes 7c4619adb9 fix: Enter should open search when not tile search is selected 2022-11-26 12:22:12 +01:00
Attila Kerekes 9aaa900a3e fix: New package lock with node 18.12 2022-11-24 08:36:20 +00:00
KodeStar 07f07449b9 Update: Updated npm dependencies + using mix (#1026) 2022-11-23 19:39:00 +00:00
Attila Kerekes 2836dadf1a fix: Disable saerch submit when tile search is active 2022-11-23 18:12:21 +00:00
Chris Hunt c4d5ca43dd Feature: Add focus styling 2022-11-23 10:09:16 +00:00
Chris Hunt a90bcb1151 Fix: Move tooltips in from right 2022-11-23 09:42:33 +00:00
Chris Hunt ffc736ada6 Fix: Added nicer tooltips to sidebar 2022-11-23 09:29:52 +00:00
Attila Kerekes 1111bf72d6 feat: Add basic keyboard navigation 2022-11-22 22:53:07 +01:00
Attila Kerekes 0299ee6fa9 feat: Prevent password submission when password is not changed. 2022-11-22 17:52:10 +01:00
Attila Kerekes 8bad474808 feat: Inject password from db during testing when editing enhanced apps 2022-11-19 20:48:31 +01:00
Attila Kerekes 48616e87bd fix: Stop polling enhanced apps when api returns error 2022-11-17 18:00:35 +01:00
Attila Kerekes db8fa38665 fix: disable tooltips while reordering items 2022-11-07 16:32:19 +00:00
Kode 10afffb71d Fix test button 2022-03-17 19:03:06 +00:00
KodeStar 41c2983312 Add warning about http being needed in url 2022-03-17 10:55:52 +00:00
KodeStar a16233ee10 Fix for displaying svg icons correctly 2022-03-17 10:21:24 +00:00
Kode f7b2c51f9d Fix for old apps and icon selector 2022-03-16 19:41:01 +00:00
Kode becbe5ab96 More work on apps 2022-03-16 18:35:40 +00:00
KodeStar 1e2b807e05 Lots of work on apps 2022-03-16 15:49:44 +00:00
Kode ed3dbf2f14 More work on enhanced apps 2022-03-15 20:09:22 +00:00
Kode 1e35f83fed Changes to the tooltips 2022-03-15 19:08:10 +00:00
Kode 4c63b66dbf Initial start of replacing apps list to use github generated list 2022-03-14 15:56:36 +00:00