15 Commits

Author SHA1 Message Date
Andras Bacsai a77e1f47d1 fix(models): replace forceCreate with forceFill+save pattern
Replaces Model::forceCreate([...]) calls with (new Model)->forceFill([...])->save()
across SettingsBackup, Server, and User models to avoid bypassing Eloquent
model event lifecycle during record creation.
2026-03-31 13:50:37 +02:00
Andras Bacsai 1da1f32f0e refactor: use forceCreate() for internal model creation
Replace create() with forceCreate() across internal model creation operations to bypass mass assignment protection. This is appropriate for internal code that constructs complete model state without user input.

Add InternalModelCreationMassAssignmentTest to ensure internal model creation behavior is properly tested. Optimize imports by using shortened Livewire attribute references and removing unused imports.
2026-03-30 13:04:11 +02:00
Andras Bacsai ae64f8cb86 fix validation on a few views 2025-10-06 21:25:24 +02:00
Andras Bacsai e3e80744a7 refactor(settings): streamline instance admin checks and initialization of settings in Livewire components 2025-07-03 15:50:53 +02:00
peaklabs-dev 7519e6a939 fix(ui): Instance Backup settings
- Only show and enable instance backup settings when the server is functional
2025-04-01 14:31:38 +02:00
Andras Bacsai 1fe4dd722b Revert "rector: arrrrr"
This reverts commit 16c0cd10d8.
2025-01-07 15:31:43 +01:00
Andras Bacsai 16c0cd10d8 rector: arrrrr 2025-01-07 14:52:08 +01:00
peaklabs-dev 0bc646e7a7 fix instance backup page 2024-11-08 17:04:37 +01:00
Andras Bacsai 9b578b2003 do not use Rule (deprecated), changed to Validate 2024-11-05 09:36:40 +01:00
Lucas Michot c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Andras Bacsai 66e9afd859 migrate settings backup frome legacy bind 2024-10-28 10:39:50 +01:00
Andras Bacsai 83549965ca Refactor instanceSettings() function for improved code readability 2024-10-01 10:37:40 +02:00
Andras Bacsai c2e431d631 refactor: Update StandalonePostgresql database initialization and backup handling 2024-08-08 12:44:47 +02:00
Andras Bacsai 6fb88ed479 fix: scheduledbackup not found 2024-08-08 12:19:27 +02:00
Andras Bacsai b77171d2f2 fix: settings view
feat: add separate views for settings
2024-08-06 14:36:56 +02:00