Commit Graph

3004 Commits

Author SHA1 Message Date
Lucas Michot 1ec224fde1 Inline many variables. 2024-10-31 18:20:11 +01:00
Lucas Michot 8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
🏔️ Peak a6b560a649 Merge pull request #4089 from lucasmichot/feat/carbon
Prefer `Carbon` methods when possible.
2024-10-31 17:00:12 +01:00
Lucas Michot 702ee5cd70 Prefer Carbon methods when possible. 2024-10-31 16:47:08 +01:00
🏔️ Peak 988ffa5827 Merge pull request #4088 from lucasmichot/feat/useless-imports
Delete some useless imports
2024-10-31 16:39:34 +01:00
🏔️ Peak 1e6eebe18a Merge pull request #3830 from lucasmichot/feat/services-generation
Simplify and optimize the `service-templates.yaml` generation command
2024-10-31 16:37:55 +01:00
Lucas Michot 0c133b113c Delete some useless imports 2024-10-31 16:33:49 +01:00
🏔️ Peak 588080d12d Merge pull request #4086 from lucasmichot/feat/useless-catch-variable
Remove all useless catch block useless variables.
2024-10-31 16:26:31 +01:00
🏔️ Peak 732be30ff7 Merge pull request #4085 from lucasmichot/feat/match
Use match when possible.
2024-10-31 16:24:50 +01:00
Lucas Michot 601f1a4717 Always prefer stricter string comparisons. 2024-10-31 15:23:19 +01:00
Lucas Michot b1d04912a0 Remove all useless catch block useless variables. 2024-10-31 15:19:37 +01:00
Lucas Michot e2b396a0f0 Use match when possible. 2024-10-31 15:14:30 +01:00
Lucas Michot fc1b43cd89 Adapt command 2024-10-31 14:59:17 +01:00
Lucas Michot 9a93e4511e Simplify and optimize the service-templates.yaml generation command 2024-10-31 14:02:03 +01:00
Andras Bacsai 8fbd0b44d5 Refactor Server model to remove SSH multiplexing file and add ServerCleanupMux job
- Remove SSH multiplexing file from the Server model
- Add ServerCleanupMux job to cleanup multiplexed connections every hour
2024-10-30 21:33:06 +01:00
Andras Bacsai 86cf1ae319 Refactor Server model to remove SSH multiplexing file 2024-10-30 21:33:01 +01:00
Andras Bacsai 96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Andras Bacsai 7385d7a478 fix: changing private key manually won't trigger a notification 2024-10-30 10:01:58 +01:00
Andras Bacsai 491b228580 remove unused job 2024-10-29 20:56:58 +01:00
Andras Bacsai 329a94dbcf Refactor Form.php: Remove unused variable 2024-10-29 10:49:53 +01:00
Andras Bacsai 74411e89e6 feat: debug mode for sentinel 2024-10-29 10:48:49 +01:00
Andras Bacsai c2a2757103 fix: restart sentinel once a day 2024-10-29 10:28:05 +01:00
Andras Bacsai 0938c60c1e Merge branch 'next' into global-password-policy 2024-10-29 10:02:58 +01:00
Andras Bacsai 2eef8ee433 add dusk tests 2024-10-28 22:57:56 +01:00
Jeremy Angele 6842904cb5 Remove deprecated fortify password policy and add a stricter one 2024-10-28 21:57:00 +01:00
Andras Bacsai bb7184b3ff Merge pull request #4041 from lucasmichot/feat/try-catch
Remove some useless `catch` blocks
2024-10-28 21:15:08 +01:00
Andras Bacsai 4d779f8fbc Merge pull request #4043 from angelej/member-role-authorization
Add new role enum and apply authorization
2024-10-28 21:02:45 +01:00
Jeremy Angele 44f0458eb6 Add new role enum and apply authorization 2024-10-28 17:08:24 +01:00
Lucas Michot c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Lucas Michot 5b6e466e0c Remove some useless catch blocks 2024-10-28 14:37:00 +01:00
🏔️ Peak 94e73c6d8b Merge pull request #4039 from lucasmichot/feat/remove-ray
Remove all `ray()` calls
2024-10-28 14:28:56 +01:00
Lucas Michot d557a22b91 Remove all ray() calls 2024-10-28 13:51:23 +01:00
peaklabs-dev a5bcc10e05 remove unused variable assignements 2024-10-28 13:37:36 +01:00
🏔️ Peak 7c2d3c47eb Merge branch 'next' into useless-variable-assignments 2024-10-28 13:32:34 +01:00
Andras Bacsai a4b4b93b30 Refactor Member component to handle authorization checks and error handling 2024-10-28 10:47:29 +01:00
Andras Bacsai 66e9afd859 migrate settings backup frome legacy bind 2024-10-28 10:39:50 +01:00
Andras Bacsai 3d58b92a33 migrate settings from legacy model binding 2024-10-28 10:10:27 +01:00
Andras Bacsai 3cb6ba1a9d Refactor code to improve server limit retrieval in Team model 2024-10-28 10:08:52 +01:00
Andras Bacsai 5a0c00977c Refactor code to remove unnecessary commented out sections 2024-10-28 10:08:11 +01:00
Andras Bacsai 26ab73b330 Merge pull request #4032 from angelej/force-password-reset-authorization
Add authorization for force-password-resets
2024-10-28 09:28:27 +01:00
Andras Bacsai 0df717a397 Refactor code to add #[Locked] attribute to Member component 2024-10-28 08:54:58 +01:00
Jeremy Angele 9d82863364 Add authorization for force-password-resets 2024-10-27 20:07:37 +01:00
Andras Bacsai 29ad965656 Refactor code to use loggy() function for server storage check logging 2024-10-25 17:46:39 +02:00
Andras Bacsai 50519a86a9 fix: numberOfLines could be null 2024-10-25 17:38:14 +02:00
Andras Bacsai dd3aeb1023 stop logdrain before restarting it 2024-10-25 17:29:56 +02:00
Andras Bacsai 8c96ab52d7 feat: notification rate limiter
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai fb75741aa8 add sentinel check to servercheckjob 2024-10-25 12:02:41 +02:00
Andras Bacsai c099936e76 Refactor StartSentinel handle method to use consistent variable naming conventions 2024-10-25 11:43:55 +02:00
Andras Bacsai 2263734129 save sentinel form update 2024-10-25 11:42:37 +02:00
Andras Bacsai 7ed0ebf106 fix: generateSentinelUrl method 2024-10-25 11:41:52 +02:00