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

476 Commits

Author SHA1 Message Date
d83c629a7b Fix some tests 2024-01-13 12:46:33 +01:00
e7d98dbeae 🔧 Bump build for PHP Monitor EAP 2024-01-09 21:24:50 +01:00
4edb5f5015 👌 Use generated asset catalog symbol extensions 2023-12-27 13:03:24 +01:00
155b57eb9e 🐛 Add incorrect PHP symlink purge (#270)
This commit introduces a new diagnostics feature which is executed
when the app boots. When the app boots, the integrity of the PHP
symlinks are checked to ensure that all symlinks correctly link to
a valid PHP version. If any links to an incorrect PHP version,
then those outdated or incorrect symlinks will be removed.

For example, if `php@8.2` links to `../Cellar/php/8.3.0` then that is
an obvious reason for that symlink to be purged because it links to
the incorrect version. (This example behaviour has been noted in #270.)

This occurs prior to the rest of the startup process, so this way
no incorrect PHP versions can pop up in the version switcher, and
no incorrect PHP version is reported as being installed when
managing installed PHP versions.
2023-12-27 12:40:35 +01:00
27676f13f4 🔧 Fix build number 2023-11-30 17:14:36 +01:00
dc860074ef Parse extension dependencies 2023-11-27 21:38:38 +01:00
a7d5950aa0 Test synchronous shell output 2023-11-26 21:48:40 +01:00
e8306289ce Load extension info for all PHP versions
In order to make this possible, I've added a new `sync()` method to the
Shellable protocol, which now should allow us to run shell commands
synchronously. Back to basics, as this was how *all* commands were
run in legacy versions of PHP Monitor.

The advantage here is that there is now a choice. Previously, you'd
have to use the `system()` helper that I added.

Usage of that helper is now discouraged, as is the synchronous
shell method, but it may be useful for some methods where waiting
for the outcome of the output is required.

(Important: the `system()` helper is still required when determining
what the preferred terminal is during the initialization of the
`Paths` class.)
2023-11-26 21:26:48 +01:00
87c44f3ae3 Allow installation and removal of extensions (#266) 2023-11-21 22:18:28 +01:00
ee050af364 🌐 Added French translation
With contributions from @tplesnar and @nhedger
2023-11-21 17:12:29 +01:00
cc0cc21e5f 🏗️ WIP: Cleanup 2023-11-13 17:44:11 +01:00
883ea05bd1 🏗️ WIP: Extension manager UI (rough) 2023-11-13 13:14:27 +01:00
2f7223fba5 🔥 Remove unused ProgressWindowView 2023-11-07 18:08:12 +01:00
a634d083a6 ⬆️ Adopt #Preview, cleanup PHP Version Manager 2023-11-07 17:56:38 +01:00
6fd6241567 🔧 Start of v7.x branch, updated version number 2023-11-01 12:35:24 +01:00
c8ab2e67f6 ♻️ Various refactoring 2023-11-01 12:33:34 +01:00
58943148fa 🏗️ WIP: Detect which extensions are available 2023-10-30 20:21:50 +01:00
541378f3f9 🔧 Mark PHP 8.3 as stable for official release 2023-10-29 12:36:19 +01:00
91bc347e57 🐛 Fix tests, fix issue with window to front 2023-10-26 19:31:55 +02:00
e05300b25b 🔧 Bump build 2023-10-26 18:55:21 +02:00
5594130ccd 👌 Cleanup filesystem watcher code 2023-10-24 18:24:18 +02:00
b9c7cdb3cc Generate Fish-friendly scripts (#264) 2023-10-20 17:34:19 +02:00
00b4760b85 🔧 Bump build to 1330 2023-10-07 13:02:56 +02:00
c6c3996c7b 🐛 Fixed detection order (#263)
Dictionary key order in Swift isn't a thing, so the process is
now a two-pronged approach: 1) check for specific apps, 2) check for
specific broad frameworks after no other matches were made.

Previously, detection would only work correctly some of the time.

Also cleaned up the `getNotableDependencies()` method.
2023-10-03 20:37:47 +02:00
7e78026d06 🏗️ WIP: PHP Config Editor
- Has UI height rendering issues (w/ SwiftUI)
- Needs debounce on UI elements
- Cannot currently persist modified settings
- Cannot display On/Off settings
- Cannot display regular text settings
2023-09-12 19:26:10 +02:00
f5d0ad20cd 🔧 New EAP build 2023-09-07 19:17:36 +02:00
7977a4e177 🏗️ WIP: Reading of bitsize config entries 2023-09-04 18:39:32 +02:00
528f213f17 Finalized initial config UI without bindings 2023-08-30 21:05:37 +02:00
cb28243181 🔧 Bump build, fix layout issue for prefs 2023-07-29 20:45:20 +02:00
fc68e37458 🌐 Updated translations
- Portuguese translations provided by @joseborges
2023-07-29 20:40:55 +02:00
3ef1a6e60d 🏗️ Example of what a preference view might be 2023-07-25 19:24:04 +02:00
5e7c7bc903 🔧 Always use module name PHP_Monitor 2023-07-25 19:06:47 +02:00
90b068d200 ♻️ Modular approach 2023-07-18 19:56:09 +02:00
943b5aa6af ♻️ Code reorganization
It was necessary to do some summer cleaning. Here's what's changed:

* First, I'm taking a new modular approach to Swift-based components
  that are part of PHP Monitor.

* I've fixed the naming of various parts of the app. I plan on doing
  an even deeper check in the future. The following are affected:
  - "PHP Formulae Status" is now known as "PHP Version Manager".
  - "Warnings List" is now known as "PHP Doctor".
  - The associated window controllers have also been updated.

(I've also added a new module: "PHP Config Editor". We'll see what that
brings in the future... but the main purpose will be to edit key PHP
configuration values without needing to go to the .ini files.)
2023-07-18 19:52:15 +02:00
72cbf6996d 🔧 Removed usage of Base Internationalization 2023-06-26 21:29:28 +02:00
e7cc940f65 🌐 Updated translations
- German translations provided by @dsturm
- Vietnamese update provided by @xuandung38
2023-06-26 21:23:00 +02:00
c8323a8c27 🔧 Bump build to 1300, remove launch language 2023-06-26 14:45:06 +02:00
db101f5a66 🔧 Bump to version 6.1 2023-06-26 14:33:37 +02:00
f1b037ce26 🌐 Localization
- Dutch WIP by me (project now runs debug with Dutch localization)
- Vietnamese provided by @xuandung38
- Added `phpman.services` status to TL
2023-06-26 10:43:45 +02:00
02f579fe81 🐛 Don't load services info when standalone (#253) 2023-05-30 17:04:03 +02:00
3c7bed0a9b 🔧 Bump build number for release version 2023-05-27 12:11:59 +02:00
b041ca37be 🐛 Disable Sites menu item when Standalone 2023-05-27 11:53:11 +02:00
6a921d8e3e 🐛 Use PHP Guard when removing a PHP version 2023-05-24 19:05:58 +02:00
82626b7174 🔧 Bump build for new DEV build 2023-05-22 17:14:21 +02:00
2848b4dcd2 🔥 Cleanup and Valet checks after version switch 2023-05-18 12:45:13 +02:00
c4749673c9 🔧 Bump build number for EAP 2023-05-17 20:13:13 +02:00
402e65f82d ⬆️ Apply recommendations about dead code stripping 2023-05-17 20:02:57 +02:00
0fe9281e3c 🔧 Fix deploy targets for tests 2023-05-15 19:06:58 +02:00
f88035b425 ♻️ Rename PhpEnv to PhpEnvironments 2023-05-15 19:04:05 +02:00
c6f49de70c 🔧 New build 2023-05-13 13:06:01 +02:00