1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-12-21 03:10:06 +01:00
Commit Graph

1707 Commits

Author SHA1 Message Date
6c34f68d25 Fix UI test now that PHP 8.6 is included 2025-12-06 12:30:42 +01:00
8d91d18f79 Fix unit test w/ async 2025-12-06 12:25:25 +01:00
4aab3d89d7 📝 Fix incorrect log 2025-12-06 12:23:51 +01:00
f2b47fb3cf ♻️ Check for terminationStatus equal to 0 2025-12-06 12:17:33 +01:00
4f313cedbd 📝 Add command about default verbose mode 2025-12-06 11:48:51 +01:00
e21b0f0c38 Fix linting 2025-12-06 11:40:27 +01:00
5b765ae840 🔧 Bump build 2025-12-06 11:40:06 +01:00
4b8f05b8df ♻️ Add Suspendable to ConfigWatchManager 2025-12-06 11:38:15 +01:00
43728f1192 ♻️ Clean up RealCommand 2025-12-06 11:18:31 +01:00
9bcf267081 🌐 Update simplified Chinese translation (#313)
(As seen in the PR by @seatonjiang, thank you.)
2025-12-05 11:21:20 +01:00
c44b752079 🔧 Bump build 2025-12-04 11:04:58 +01:00
9cc1ace2d8 🐛 Prevent crashing with BrewCommand 2025-12-04 11:01:06 +01:00
4c15da9dea 🐛 Prevent crashing with RealCommand
This addresses some potential crash issues with RealCommand.

The PHPInstallation health check has been updated to accommodate the
potential error strings, namely:

- PHPMON_COMMAND_UNCAUGHT_SIGNAL
- PHPMON_FILE_HANDLE_READ_FAILURE
2025-12-04 10:42:45 +01:00
adb042ee83 Fix tests (unit tests now concurrently run in <5 sec) 2025-12-02 15:25:12 +01:00
564e47f66e ♻️ Add minimal Container boot 2025-12-02 15:21:05 +01:00
c445c59ed8 🔧 Bump build 2025-12-02 13:20:52 +01:00
c394248dc9 🔧 Renamed field to X-phpmon-session-uuid
I've also documented how this UUID is used to the best of my ability.
2025-12-01 23:40:40 +01:00
67b52715bd Add randomized UUID for API requests
A description of how this UUID is used (for legitimate purposes, not for
tracking of individual users) is included in the file. Since the API ID
is now also used in API requests, I've bumped the version of the user
agent in the list of default headers sent via the RealWebApi.
2025-12-01 12:50:47 +01:00
d7cb125417 📝 Updated contribution guidelines 2025-12-01 11:46:10 +01:00
507a3e2f1c 🔧 Bump build 2025-11-29 23:43:20 +01:00
c2d54b63df 🐛 Prevent HomebrewWatchManager w/ TestFS 2025-11-29 23:40:41 +01:00
22c46e7e85 Improve FSNotifierTest 2025-11-29 23:27:02 +01:00
e968263568 ♻️ Refactor file watchers 2025-11-29 23:19:50 +01:00
ac28e4425b Use fake value for test 2025-11-29 18:44:28 +01:00
51f06b1e9e 🔧 Update warn limits 2025-11-29 15:40:46 +01:00
1898d50a9e Allow for suspension of FSNotifier (for /homebrew/bin) 2025-11-29 15:07:40 +01:00
4b41704fdf ♻️ Improve debouncing mechanism 2025-11-29 14:38:28 +01:00
04046e1ded ♻️ Prevent excessive logging with error output 2025-11-29 13:19:39 +01:00
fc01755dfa ♻️ Rework FSNotifier and test it 2025-11-29 12:58:21 +01:00
14863b96c9 ♻️ Cleanup notifier, watch manager 2025-11-29 12:01:38 +01:00
3e1bd26b38 Document confirmed fix w/ Thread Sanitizer 2025-11-29 11:30:40 +01:00
a4cbbd28cc 🐛 Fix issue with RealShell.attach output being omitted 2025-11-29 10:53:12 +01:00
ef0a6c234b ♻️ Make names of queues more consistent 2025-11-29 10:26:16 +01:00
ccc6aaf06d 🐛 Fix issue with concurrent output in RealShell.attach 2025-11-29 10:25:07 +01:00
28a73f9273 📝 Updated credits w/ new sponsors, link to privacy policy 2025-11-28 00:15:27 +01:00
8883e31bf3 🐛 Defensive programming w/ return continuation 2025-11-27 19:04:41 +01:00
5eb2790153 ♻️ Move extension to TimeIntervalExtension 2025-11-27 18:47:54 +01:00
464fa78deb 🐛 Tweak handling of RealShell
This commit avoids the usage of `readDataToEndOfFile` and instead uses
a helper method that:

- Attempts to use `.readToEnd()`
- Has a fallback to return an empty string
- Attempts to close the pipe
2025-11-27 18:47:39 +01:00
89a83bcb4e 🔧 Add TODO, bump build 2025-11-27 14:13:50 +01:00
e437b1c5c7 Update TestableConfiguration for UI Tests
- Added missing apps (to be refactored)
- Added output for `brew info shivammathur/php/php --json`
2025-11-27 14:13:20 +01:00
dc1a5b9b3c ♻️ Make NVAlert invocation more consistent 2025-11-27 14:06:51 +01:00
1dc54977f0 📦 Upgrade packages to v2.0 2025-11-27 13:46:57 +01:00
11aff48625 ♻️ Ensure successful automatic check if written to NSUserDefaults 2025-11-27 11:20:08 +01:00
c1f3a30031 ♻️ Tweak AppUpdater with MainActor 2025-11-27 11:03:38 +01:00
05987da275 ♻️ Refactor "Open With" with third-party apps
- Icons are now loaded if possible (if the path could be inferred)
- Some new apps that are detected by default:
    - Browsers: Safari, Google Chrome, Microsoft Edge, Firefox, Brave,
                Arc, Zen
    - Editors: WebStorm, VSCodium
    - Git GUI: Tower, SourceTree
    - Terminal: Ghostty
- `openWithEditor` has been refactored to `openWithApp` which now lets
  browsers open domains from their URL, not from their local folder.
2025-11-26 14:06:47 +01:00
7af61a80f5 ♻️ Refactor startup sequence
Most of the logic from the MainMenu+Startup extension has now been
completely removed. It has now been moved to the Startup+Launch
extension, which is a better place for this logic. Where necessary,
functions have been annotated with MainActor.

Additionally, checking which third-party apps have been installed
has been moved to `App+DetectApps.swift`, a separate extension.
2025-11-26 14:02:16 +01:00
42e7edc01c 🐛 More MainActor fixes 2025-11-26 12:30:11 +01:00
bd85584c88 🐛 Address some MainActor annotations 2025-11-26 12:07:58 +01:00
7089a1c9e8 🔧 Bump build 2025-11-23 17:41:29 +01:00
a61eea34fa ♻️ Update copyright messages 2025-11-23 17:37:46 +01:00