Commit Graph

49 Commits

Author SHA1 Message Date
Zack Spear 260406f25c refactor: consolidate theme-specific CSS classes by removing redundant shade classes across multiple pages and updating styles for improved maintainability 2025-04-03 18:21:12 -07:00
Squidly271 1c09b0a226 Refactor: Larger Arrow on Share Edit page 2025-03-25 21:42:31 -04:00
ljm42 50d98f2a99 fix: <br /> to <br> 2025-03-03 10:08:57 -07:00
dlandon 3ba1bcf906 Use exit instead of return to prevent php warnings. 2025-02-20 18:27:22 -06:00
dlandon c3f8ad088c Additional checks to prevent php errors. 2025-02-08 09:27:31 -06:00
dlandon 42c017fa07 Php error in Share Edit causes the share edit page to not display correctly. 2025-02-07 18:06:20 -06:00
Tom Mortensen 614b018d72 chore: implement coderabbitai recommendations 2025-01-29 09:34:40 -08:00
dlandon d738636aa2 Php errors cause share edit page to display incorrectly. 2025-01-28 16:10:36 -06:00
Tom Mortensen b3e355b29b xss hardening 2025-01-22 21:22:32 -08:00
Tom Mortensen 619f185be1 need to quote 'slow' 2025-01-08 11:36:04 -08:00
tom mortensen dec80c4520 Merge pull request #1978 from dlandon/js_errors_in_share_edit
Fix JS errors in ShareEdit.
2025-01-08 09:23:38 -08:00
dlandon 3d0919aa37 Fix JS errors. 2025-01-08 09:09:14 -06:00
tom mortensen 0f2f644720 Merge pull request #1970 from dlandon/share_edit_read_write_not_working
Read and Write shares not working.
2025-01-06 10:35:57 -08:00
dlandon e185958ec9 Read and Write shares not working. 2025-01-02 06:51:56 -06:00
dlandon f56f8a3f5d Default to first pool when array is missing on a share that was originally an array. 2024-12-24 14:40:43 -06:00
dlandon 1fdd8402a5 Merge branch 'master' into incorrect_display_of_shares_after_updating_unraid 2024-12-20 15:53:26 -06:00
dlandon d888ce8ddc Some shares show incorrectly after upgrading from previous Unraid versions. 2024-12-20 15:37:59 -06:00
Tom Mortensen 6554bd233a latest change 2024-12-17 20:42:15 -08:00
dlandon ec62541bae Merge branch 'master' into don't_show_secondary_storage_and_allocation_when_primary_is_array 2024-12-12 16:35:36 -06:00
dlandon 3d8f75cd34 Don't show secondary dropdown and mover action when primary is array; show warning when no array and primary is array. 2024-12-12 16:26:33 -06:00
Squidly271 fd170fa007 Fix allocation not appearing 2024-12-09 09:39:27 -05:00
tom mortensen 18ee628dac Merge pull request #1924 from dlandon/situation_where_share_shows_array_when_not_on_the_array
Fix invalid situation where useCache is 'no' when array is enabled.
2024-11-15 16:04:29 -08:00
dlandon c0e2c4808b Fix invalid situation where useCache is 'no' when array is enabled. 2024-11-14 12:20:56 -06:00
tom mortensen e4bb758b05 Merge pull request #1884 from dlandon/show_delete_on_shares_settings_page_at_all_times
Delete share is always visible.
2024-10-10 10:35:59 -07:00
dlandon bc7c66fec9 Delete share is always visible and enabled only when it is safe to delete the share. 2024-10-09 12:06:48 -05:00
dlandon 1cc84832ee Fix a situation where secondary pool device is missing and the Array is chosen for the primary device.. 2024-10-03 13:57:21 -05:00
dlandon 16a8e7092d Fix share list not showing invalid storage configurations and some code cleanup. 2024-08-29 13:00:06 -05:00
dlandon 95353c143a Fix translation of 'Apply' when performing 'POST' that blocks updating; some code cleanup to combine messages and variable scope. 2024-07-01 12:12:09 -05:00
dlandon 84ad25fe18 Remove debug. 2024-06-30 11:40:59 -05:00
dlandon 27973b8e34 Remove sub pools from available pools in primary and secondary storage. 2024-06-30 09:34:46 -05:00
dlandon e621ccebb1 Primary only pool needs to use the primary device full size for floor calculations. 2024-05-27 13:38:54 -05:00
dlandon 095b931dad Code cleanuo. 2024-05-27 06:49:05 -05:00
dlandon 55c79439f3 Add language translation to missing pool messages; correct backwards prefer mover message. 2024-05-26 11:40:46 -05:00
dlandon 32c769e6bd Fixes from extensive testing. 2024-05-26 08:39:31 -05:00
dlandon a2d35294d3 Floor calculation needs to be based on secondary pool, not primary pool. 2024-05-23 18:49:42 -05:00
dlandon e256fa8313 Fixes for dealing with share predefined for array use that are dealt with differently when there are array disks. 2024-05-23 10:57:07 -05:00
dlandon ad2e98ea46 Handle the case when switching to no array, and an array 'prefer' move setting is set. 2024-05-23 09:32:58 -05:00
dlandon ed1ee47ce4 Changes to support array optional feature. 2024-05-23 08:44:10 -05:00
dlandon cebe945e81 Refactir siome Java Script code for readability. 2024-05-16 14:42:30 -05:00
dlandon 7532448241 Code cleanup and add safeName() to cleanup up share name before applying settings. 2024-05-16 13:36:40 -05:00
dlandon f184a79e85 Changes to address proper share floor calculations. 2024-05-16 13:31:00 -05:00
dlandon e988ef55fc Fix share floor calculation for pool disks. 2024-05-14 09:31:55 -05:00
dlandon 4cf3e39add Add validity check to share floor to limit to manual entry to less than max free on smallest disk. 2024-05-14 05:31:17 -05:00
dlandon 6790400629 Fix share floor calculation when the share is array only. 2024-05-13 13:02:27 -05:00
bergware 202cb8c222 Move inline styling in page files to dedicated css files
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages:

- It comes much easier to maintain styling, all css files are easy to find and update
- Browser can cache css files, which may improve page loading time
- Separate theme css files exist, no more need to make selection by coding

- This PR is a 1-to-1 move of existing inline styling to css files
- In future more optimization can be made by consolidating css files
2023-10-14 19:02:35 +02:00
bergware dd503c9552 Shares: show "Minimum free space" as absolute number instead of percentage 2023-07-19 11:40:42 +02:00
bergware d476b316df Share Edit: make minimum free space settings always available 2023-07-11 08:55:08 +02:00
bergware a3c4baf96f Share Edit: make minimum free space settings always available 2023-07-10 23:29:13 +02:00
Tom Mortensen f9ec00b488 repo reorg 2023-06-02 12:49:33 -07:00