1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 12:00:09 +02:00
Commit Graph

179 Commits

Author SHA1 Message Date
1d6cfd419e Fix tests 2022-03-17 23:32:13 +01:00
15182ea15a 👌 Cleanup writing helper files 2022-03-17 23:28:03 +01:00
7255792910 ♻️ WIP: Various changes 2022-03-16 22:17:17 +01:00
ea4da12d3b ♻️ WIP: Cell rendering in site list 2022-03-16 19:15:57 +01:00
ca8f5a8fbe Speed up nginx parsing 2022-03-15 18:16:28 +01:00
a0e7aec228 Parse nginx files + tests 2022-03-14 23:35:08 +01:00
589ab3664e 🏗 Add feature flag based on Valet version 2022-03-14 19:19:14 +01:00
ba4ed3b365 🔧 Prepare for maintenance release 2022-03-09 17:51:19 +01:00
3b297e07dc 🐛 Adjust the order of startup checks (#146) 2022-03-09 16:19:41 +01:00
6a8d66758a 🔧 Build 715 for the final 5.1 release 2022-03-02 19:52:24 +01:00
a34389c3a9 🔧 New dev build (RC) 2022-02-23 14:07:14 +01:00
692d3c143f ♻️ Refactor Composer window logic 2022-02-23 13:39:49 +01:00
bc86a45925 Run tests in isolation 2022-02-23 13:03:04 +01:00
2a412b794a Fix tests 2022-02-22 21:16:50 +01:00
ce498d3019 ♻️ Cleanup 2022-02-22 20:49:13 +01:00
e398f089af ♻️ Refactor Valet structure, add #143 2022-02-22 20:39:35 +01:00
e0f40be188 🐛 Fix issue with "Fix Homebrew Permissions" 2022-02-20 16:33:56 +01:00
42848764cf 👌 New icon for DEV builds 2022-02-20 16:08:04 +01:00
c05cdeda72 👌 Offer to switch back to prev version (#141) 2022-02-20 15:12:30 +01:00
921ecd99d6 👌 Improve BetterAlert performance notices 2022-02-17 19:19:02 +01:00
97d68f89f1 👌 Animate custom modal, fix constraints 2022-02-17 18:43:48 +01:00
5a0b2f319b 👌 Use BetterAlert API 2022-02-16 23:51:06 +01:00
50f003a2bd New notice alert API 2022-02-16 22:42:43 +01:00
b5c1960260 👌 Async / await support for loading services 2022-02-12 14:47:29 +01:00
dae47e3779 ♻️ Refactor startup procedure 2022-02-11 23:24:38 +01:00
a10e1cad11 🔥 Remove RELEASE.md (and move it to DEVELOPER.md) 2022-02-09 21:49:30 +01:00
dcddf74830 🔧 New dev build 2022-02-08 23:51:16 +01:00
9baf69394e 🚩 Re-enabled "Restore Homebrew Permissions" 2022-02-08 23:50:45 +01:00
1ba7ee37db 👌 Ensure target ownership is OK 2022-02-08 23:20:48 +01:00
9fabda545f ♻️ Big Cleanup 2022-02-08 23:07:23 +01:00
ffb112cfb2 🚛 Reorganise Errors structs 2022-02-08 21:26:06 +01:00
f5af33c098 🐛 Correctly parse RC PHP version (#132)
It'll be a while before a new release candidate is available, but this
bug has now been resolved.

A new `PhpVersionNumber.parse` method has been added which can throw.

The `VersionExtractor` class is now capable of extracting version
numbers from all strings now too, and isn't just used to determine
the Valet version number.

New tests have been added to handle these scenarios.

This commit also removes the phpmon-cli component, which wasn't being
updated or maintained (it was an experiment).
2022-02-08 18:51:16 +01:00
0f464f5814 🔥 Cleanup 2022-02-07 18:00:35 +01:00
776c2095e6 🚛 Move files around 2022-02-07 17:38:44 +01:00
b14d7bdf07 Add multiple options for icons (#106)
- PHP next to icon (default)
- PHP Elephant
- No icon

If you chose "no PHP text next to icon" earlier, that preference is
remembered and migrated over.
2022-02-07 00:46:00 +01:00
ffa22eea25 👌 Cleanup, ensure all tests pass 2022-02-06 17:56:16 +01:00
8220e6409d 🚛 Move async helpers to MainMenu+Async 2022-02-06 13:18:12 +01:00
927e1c02fa ♻️ Refactor waitAndExecuteasyncExecution
This change allows for errors to be thrown during the `asyncExecution`
initial callback, and if one is thrown, allows a `failure` callback to
be used. Existing instances of `waitAndExecute` have been replaced.

I also added the ability to tweak the behaviours of the actions that are
always performed when the asyncExecution method is called: you can now
specify limited behaviours (e.g. only set busy icon). For that use case
I have already created a new method: `asyncWithBusyUI`.

With this change, the handling of the Homebrew Permissions flow has also
been modified: when the user does not get administrative permissions
an error is now thrown which results in an alert being presented to
the user once the error occurs.

There is now an opportunity to further refactor other parts of the app
to more gracefully handle failure states using the Error and
AlertableError protocols.
2022-02-06 13:15:03 +01:00
a13a17b106 👌 Various improvements
- Properly draw the menu bar icon
  (now with extra documentation)
- Resolve Paths via FileManager.default
- Updated DEV readme
- Add PHP Elephant icon (TBD)
2022-02-05 00:42:10 +01:00
82ee830de1 🔧 New dev build for bugfixing purposes 2022-02-04 18:20:24 +01:00
298aa0aa8d 🔧 Updated project 2022-02-04 17:30:41 +01:00
5d8765683a 🔧 Use beta icon for 5.1 betas 2022-02-03 20:38:02 +01:00
6c22bc0145 🏗 Fix Homebrew Permissions (#86) 2022-02-03 20:34:57 +01:00
94da7fb255 🚀 Version 5.0
This release brings a plethora of new features to PHP Monitor.
Please check out the release notes for more details.

🔀 Merge branch 'dev/5.x'
2022-02-01 19:59:56 +01:00
7a8f47b995 👌 Quality of life changes
- Moved DonationUrl to Constants
- Added additional menu items (visible if window is open)
- Fixed capitalisation of "WordPress" in PhpFrameworks
- Cleanup Stats
- Add new translation strings for menu items
2022-02-01 17:51:23 +01:00
40062c5091 🔧 Bump version number for new RC 2022-01-31 18:17:15 +01:00
813aec2b42 👌 Disable message in beta builds 2022-01-30 19:32:32 +01:00
28fb685bfc 🐛 Fix refreshing of PHP version 2022-01-30 00:40:11 +01:00
85d7b6aa57 🔧 Switch to regular version (release candidate) 2022-01-29 21:36:55 +01:00
bba961269c Add successful launch count, sponsor alert
Okay, so this commit adds a sponsor alert. I wanted to elaborate.

Why? At this point I've invested so much of my free time in the app that
any and all donations would be incredibly welcome. Of course, phpmon
as it exists today must always remain free and open source.

(I dislike it when an app goes open source and then becomes paid.)

Obviously, I don't want to take useful features away from users:

1) usage of the old version is the only option for those who won't pay
2) piracy is an alternative and I don't want to deal with that
3) the positive sentiment around the app disappears ("sellout!")

Instead, I will nicely ask for donations once the app has been
successfully launched 7 times or more. This alert should only
appear once.

Fun fact: PHP Monitor started  as a single menu item with only
options to switch between version numbers.

Thanks to all the support, it has now become so much more.

To those who have already contributed: thank you very much.
I hope you continue to use and enjoy the app.

Cheers!
2022-01-29 21:29:51 +01:00