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

587 Commits

Author SHA1 Message Date
ea6d7ca457 Add testable WebApi 2025-11-18 14:02:16 +01:00
7a60435421 ♻️ Improvements to Container
- RealShell is not reloaded during runtime (bugfix?)
- Container variables are now private(set)
- Initialization now also sets `webApi` property (new)
- It is only possible to run `bind` on a `Container` once now
  (previously known as `prepare`)
- Preparation for upcoming WebApi to replace `curl` command
  (for checking for updates)
2025-11-18 12:04:37 +01:00
9ca430e6a4 🔧 Bump build 2025-11-15 12:43:14 +01:00
ac0b57c63f ♻️ Reworked ValetServicesManager w/ DataManager actor 2025-11-15 12:02:18 +01:00
b2f9e5f6af Add support for PHP 8.6, update cut-off dates 2025-11-14 11:02:26 +01:00
08fb36cc14 🌐 Prepare for more translations (#306) 2025-11-12 18:33:38 +01:00
6616522057 🌐 Prepare for more translations 2025-11-12 17:58:25 +01:00
38b3c108bf ♻️ Use replacing(with:) instead of .replacingOccurrences(of:with:)
The newer Swift native method is broadly supported and can properly
handle complex UTF-8 characters like emoji, whereas the old API does
not work correctly with emoji.

In most cases, this likely wouldn't have caused any issues but it does
make things a little cleaner now, and ensures we won't encounter emoji
trouble in the future.
2025-11-11 12:55:23 +01:00
1994e1fa84 🐛 Improve robustness of boot procedure
- Added extra check for valid `brew info php --json` output
- Moved PHP binary check and PHP installation not broken checks to `core`
- Workaround for Homebrew logs appearing in JSON output
2025-11-10 12:37:14 +01:00
21d0fad8f9 ♻️ Cleanup unused code w/ new Container 2025-11-09 12:14:40 +01:00
7558fd263c 🔧 Re-enable debugging in target 2025-11-07 15:31:07 +01:00
b8266b6e83 🔧 Bump build 2025-11-07 13:55:18 +01:00
21b669a97e ♻️ Make ValetServicesManager more crash-resistant 2025-11-07 13:47:17 +01:00
55a9e5dd5c ♻️ Adjust order of warning checks 2025-11-06 12:00:41 +01:00
865585fced 🔧 Bump build 2025-11-06 11:49:01 +01:00
f9e7b99cd1 Add certificate check to warning manager 2025-11-06 11:41:40 +01:00
8b8fcbeb9d 🍱 Slight design tweak for background color 2025-11-04 14:40:59 +01:00
b69a2a5ccf 🐛 Fix button on older versions of macOS 2025-11-04 14:35:30 +01:00
0fa0b016dd 🔧 Bump build 2025-11-03 15:51:40 +01:00
b1f7c2e1e5 ♻️ Use checked continuation for RealShell.pipe(), fix tests 2025-11-03 15:32:52 +01:00
bdb70a994e 🔧 Prevent intentional crash 2025-11-01 17:38:39 +01:00
e1f5ec6644 Show modal about crash 2025-11-01 17:37:53 +01:00
173b9bc732 Add automatic crash reporting 2025-11-01 16:47:32 +01:00
d1b6467541 ♻️ Move some window logic to extension 2025-11-01 13:28:57 +01:00
3e2d134b1f 🔧 Bump build 2025-11-01 12:17:47 +01:00
9245b0cfe3 🔧 Bump build 2025-10-31 13:59:49 +01:00
d3bc96ee71 🚧 WIP: Present certificate renewal alert 2025-10-30 15:55:39 +01:00
96e911b151 🔧 Bump build 2025-10-29 15:59:43 +01:00
998e704bfe Add popover with certificate information 2025-10-29 15:30:04 +01:00
46766de1a6 Check certificate expiry 2025-10-29 13:34:39 +01:00
16522ddc60 ♻️ Get rid of ContainerMacro 2025-10-28 13:16:30 +01:00
8eca1a55b5 ♻️ Container refactoring 2025-10-16 19:47:15 +02:00
65223f348b ♻️ Update ContainerAccess macro 2025-10-16 18:58:10 +02:00
fa403b5a99 ♻️ Refactor tests to Swift Testing 2025-10-16 15:57:41 +02:00
378a8a5547 🔧 Update build number to reflect major refactor 2025-10-16 15:43:16 +02:00
3248da4438 🔧 Require macOS 14.x for XCTests
Note: This only applies to the test targets, the actual
main application is not affected.
2025-10-16 15:40:13 +02:00
a0e2907fae All tests pass again 2025-10-16 14:43:29 +02:00
5b63211746 ♻️ All unit tests pass w/ DI container 2025-10-16 14:03:16 +02:00
8af304979b 🚧 WIP: Test refactoring 2025-10-09 16:21:46 +02:00
a4aa28313d 🚧 WIP: Refactoring 2025-10-09 15:09:42 +02:00
c62e3a9905 🚧 WIP: Prepare container 2025-10-05 17:30:35 +02:00
6227a6f2cc 🚧 WIP: Add ContainerAccess macro 2025-10-05 17:03:06 +02:00
2e06b1a59e 🚧 WIP: Add container 2025-10-05 16:37:24 +02:00
39af0530eb ♻️ Various clean-up
- Remove #available(macOS 13) checks
- Remove NVAlert from storyboard
- Update reference M1 -> Apple Silicon
2025-10-04 14:11:48 +02:00
85b12d1aec ♻️ Prevent unit tests from running concurrently
The way the testing classes are built with the singletons currently
prevents various test structs from being run at the same time.

I've adjusted the tests in the PHP Monitor EAP test configuration so
that they are not executed concurrently. This does slow down the test
suite but prevents odd crashes from individual tests interfering with
other tests.

It's not an ideal solution and I would like to address this in the
future, but I suspect this will be rather cumbersome. Since the app
does not actually suffer from this particular issue, this is something
worth investigating later.
2025-09-30 16:14:17 +02:00
f366be865b 🔧 Bump build 2025-09-30 14:53:21 +02:00
00eed56a3d ♻️ Rework API structure, update check changes 2025-09-30 13:43:33 +02:00
db8df8575d ♻️ Migrate more tests to Swift Testing (3/?) 2025-09-29 17:59:33 +02:00
ceff52ed11 ♻️ Migrate more tests to Swift Testing (2/?) 2025-09-29 17:12:43 +02:00
5b27d9f0ea ♻️ Migrate more tests to Swift Testing 2025-09-29 16:39:32 +02:00