Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 3164- Aliases are not found during cli commands #3862

Closed
wants to merge 77 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
62cb40f
Composer update
mahagr Oct 20, 2021
076c648
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Oct 20, 2021
777ac11
Update all libraries (WIP)
mahagr Oct 20, 2021
ad9287e
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Nov 25, 2021
38e4624
Composer update
mahagr Nov 25, 2021
a68bdd2
Fixed Toolbox Event
mahagr Nov 25, 2021
7223c17
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Dec 8, 2021
fba015c
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Feb 7, 2022
26b6895
Composer update
mahagr Feb 7, 2022
b6c3db0
Update composer dependencies
mahagr Feb 7, 2022
965e03d
Update dependencies so that everything works again
mahagr Feb 7, 2022
9daa0a9
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Feb 12, 2022
58b54a7
Removed `system.umask_fix` setting for security reasons
mahagr Feb 12, 2022
fcd9093
Use **Symfony Cache** instead of unmaintaided **Doctrine Cache** (wit…
mahagr Feb 12, 2022
d93d297
Updated to **Monolog 2.3**
mahagr Feb 12, 2022
2f85fe9
Move unmaintained/unused vendor dependencies to the end of the list
mahagr Feb 12, 2022
176fd8f
Changelog update
mahagr Feb 12, 2022
6d0a436
Changelog update (pt 2)
mahagr Feb 12, 2022
7660a80
Use older monolog due to clockwork incompatibility
mahagr Feb 16, 2022
2e65b0e
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Feb 19, 2022
d9ede28
Composer update
mahagr Feb 19, 2022
85eaf30
Fixed FlexDirectory::getCache() after converting to Symfony Cache
mahagr Feb 19, 2022
93bb929
Phpstan updates
mahagr Feb 19, 2022
12c8cf9
Phpstan fixes
mahagr Feb 19, 2022
f5e2164
Support phpstan level 6 in Framework classes
mahagr Feb 19, 2022
46f2a81
Phpstan fixes
mahagr Feb 19, 2022
9a87a50
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Feb 22, 2022
6032bd0
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Mar 9, 2022
9d179e5
Composer update
mahagr Mar 9, 2022
4b564df
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Mar 23, 2022
36392ac
Composer update
mahagr Mar 23, 2022
782cead
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Mar 31, 2022
69bc3f7
Composer update
mahagr Mar 31, 2022
5bfd432
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Mar 31, 2022
8f58a44
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Apr 19, 2022
e5498f5
Composer update
mahagr Apr 19, 2022
f51a9d9
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr May 20, 2022
74c1dfa
Composer update
mahagr May 20, 2022
2aff274
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Jun 15, 2022
d6e7270
Composer update
mahagr Jun 15, 2022
fbfac9f
Composer update
mahagr Jun 29, 2022
81ca0c2
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Jun 29, 2022
f490d9a
Fix phpstan error
mahagr Jun 29, 2022
8c14a99
Merge branch 'develop' of github.com:getgrav/grav into feature/v1.8
mahagr Aug 18, 2022
10b15be
Composer update
mahagr Aug 18, 2022
7a39310
Merge branch 'develop' into feature/v1.8
rhukster May 12, 2023
e4f4839
composer lock file
rhukster May 12, 2023
4f1f9a7
Merge branch 'develop' into feature/v1.8
rhukster Oct 14, 2024
1967910
upgrade to latest symfony 6.4 + PHP 8.2
rhukster Oct 14, 2024
dcfbd73
twig compatibility stuff
rhukster Oct 14, 2024
e15cc86
toAscii() should be static
rhukster Oct 21, 2024
bdcb77d
Merge branch 'develop' into feature/v1.8
rhukster Oct 21, 2024
cccce83
Merge branch 'develop' into feature/v1.8
rhukster Oct 22, 2024
b96483c
Fix tests for latest Codeception version
rhukster Oct 22, 2024
c334479
Merge branch 'develop' into feature/v1.8
rhukster Oct 22, 2024
302f02c
revert schema
rhukster Oct 22, 2024
574a430
more composer updates
rhukster Oct 23, 2024
10d36a1
updated composer.lock
rhukster Oct 23, 2024
f6decaa
Merge branch 'develop' into 1.8
rhukster Oct 23, 2024
ae56746
prepare for beta release
rhukster Oct 23, 2024
ee55d09
set testing true
rhukster Oct 23, 2024
3947bb0
set version properly
rhukster Oct 23, 2024
16eafbb
udpate build.yaml
rhukster Oct 23, 2024
5cd8598
use build-grav-18.sh build script
rhukster Oct 23, 2024
59031a8
use BUILD_SCRIPT_URL_18 in build
rhukster Oct 23, 2024
62c60b8
Fixed a couple of monolog deprecations
rhukster Oct 23, 2024
173d082
use dev-master of Clockwork to support Monolog2/3
rhukster Oct 24, 2024
4ec9a3a
Merge branch 'develop' into 1.8
rhukster Oct 25, 2024
b59a3ad
avif support via getgrav/image updates
rhukster Oct 25, 2024
4f065b9
updated composer to latest version
rhukster Oct 25, 2024
800b2e1
updated changelog
rhukster Oct 25, 2024
46736ce
upgrade to doctrine/collectons 2.2
rhukster Oct 25, 2024
85c4b82
fixes for PHP 8.4 - Implicitly nullable parameter declarations deprec…
rhukster Oct 25, 2024
37e5526
updated changelog
rhukster Oct 25, 2024
f06bbfc
Missing RocketTheme\Toolbox\Event\EventSubscriberInterface
rhukster Oct 25, 2024
3d2dfa2
Updated changelog
rhukster Oct 25, 2024
55c9b9e
Fix for #3164. Adds aliases as possible commands during lookup
jgonyea Oct 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
permissions:
contents: write # for release creation (svenstaro/upload-release-action)

if: "!github.event.release.prerelease"
#if: "!github.event.release.prerelease"
runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.3
php-version: 8.2
extensions: opcache, gd
tools: composer:v2
coverage: none
Expand All @@ -38,10 +38,10 @@ jobs:
- name: Retrieval of Builder Scripts
run: |
# Real Grav URL
curl --silent -H "Authorization: token ${{ secrets.GLOBAL_TOKEN }}" -H "Accept: application/vnd.github.v3.raw" ${{ secrets.BUILD_SCRIPT_URL }} --output build-grav.sh
curl --silent -H "Authorization: token ${{ secrets.GLOBAL_TOKEN }}" -H "Accept: application/vnd.github.v3.raw" ${{ secrets.BUILD_SCRIPT_URL_18 }} --output build-grav.sh

# Development Local URL
# curl ${{ secrets.BUILD_SCRIPT_URL }} --output build-grav.sh
# curl ${{ secrets.BUILD_SCRIPT_URL_18 }} --output build-grav.sh

- name: Grav Builder
run: |
Expand Down
50 changes: 39 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,47 @@
# v1.8.0-beta.2
## mm/dd/2024

1. [](#new)
* Use `dev-master` branch of Clockwork to support Monolog2 / Monolog3
* `AVIF` image support via updates to `getgrav/Image` library
* Upgrade to **Doctrine Collection 2.2**
1. [](#improved)
* Updated composer libraries
* Updated composer.php binary to `v2.8.1`
* Fixes for PHP 8.4 - Implicitly nullable parameter declarations deprecated
* Added back Missing `RocketTheme\Toolbox\Event\EventSubscriberInterface` for Gantry5

# v1.8.0-beta.1
## 10/23/2024

1. [](#new)
* Set minimum requirements to **PHP 8.2**
* Updated to **Twig 2.14**
* Updated to **Symfony 6.4**
* Updated to **Monolog 2.3**
* Updated to **RocketTheme/Toolbox 2.0**
* Updated to **Composer/Semver 3.2**
* Use **Symfony Cache** instead of unmaintained **Doctrine Cache**
* Removed unsupported **APC**, **WinCache**, **XCache** and **Memcache**, use apcu or memcached instead
* Removed `system.umask_fix` setting for security reasons
* Support phpstan level 6 in Framework classes

# v1.7.47
## 10/23/2024

1. [](#new)
* New `Utils::toAscii()` method
* Added support for Clockwork Debugger to allow web UI (requires new `clockwork-web` plugin)
* New `Utils::toAscii()` method
* Added support for Clockwork Debugger to allow web UI (requires new `clockwork-web` plugin)
1. [](#improved)
* Include modular sub-pages in last-modification date computation [#3562](https://github.com/getgrav/grav/pull/3562)
* Updated vendor libs to latest versions
* Updated JQuery to `3.7.1` [#3787](https://github.com/getgrav/grav/pull/3827)
* Updated vendor libraries to latest versions
* Support for Fediverse Creator meta tag [#3844](https://github.com/getgrav/grav/pull/3844)
1. [](#bugfix)
* Fixes deprecated for return type in Filesystem with PHP 8.3.6 [#3831](https://github.com/getgrav/grav/issues/3831)
* Fix for `exif_imagtetype()` throwing an exception when file doesn't exist
* Fix JSON output comments check with content type [#3859](https://github.com/getgrav/grav/pull/3859)
* Include modular sub-pages in last-modification date computation [#3562](https://github.com/getgrav/grav/pull/3562)
* Updated vendor libs to latest versions
* Updated JQuery to `3.7.1` [#3787](https://github.com/getgrav/grav/pull/3827)
* Updated vendor libraries to latest versions
* Support for Fediverse Creator meta tag [#3844](https://github.com/getgrav/grav/pull/3844)
1. [](#bugfix)
* Fixes deprecated for return type in Filesystem with PHP 8.3.6 [#3831](https://github.com/getgrav/grav/issues/3831)
* Fix for `exif_imagtetype()` throwing an exception when file doesn't exist
* Fix JSON output comments check with content type [#3859](https://github.com/getgrav/grav/pull/3859)

# v1.7.46
## 05/15/2024
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ $ bin/gpm update

## Upgrading from older version

* [Upgrading to Grav 1.8](https://learn.getgrav.org/16/advanced/grav-development/grav-18-upgrade-guide)
* [Upgrading to Grav 1.7](https://learn.getgrav.org/16/advanced/grav-development/grav-17-upgrade-guide)
* [Upgrading to Grav 1.6](https://learn.getgrav.org/16/advanced/grav-development/grav-16-upgrade-guide)
* [Upgrading from Grav <1.6](https://learn.getgrav.org/16/advanced/grav-development/grav-15-upgrade-guide)
* [Upgrading from Grav before 1.6](https://learn.getgrav.org/16/advanced/grav-development/grav-15-upgrade-guide)

# Contributing
We appreciate any contribution to Grav, whether it is related to bugs, grammar, or simply a suggestion or improvement! Please refer to the [Contributing guide](CONTRIBUTING.md) for more guidance on this topic.
Expand Down
Binary file modified bin/composer.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ actor: Tester
bootstrap: _bootstrap.php
paths:
tests: tests
log: tests/_output
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
Expand Down
98 changes: 55 additions & 43 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,69 +12,79 @@
"homepage": "https://getgrav.org",
"license": "MIT",
"require": {
"php": "^7.3.6 || ^8.0",
"php": "^8.2",
"ext-json": "*",
"ext-openssl": "*",
"ext-curl": "*",
"ext-zip": "*",
"ext-dom": "*",
"ext-libxml": "*",
"ext-gd": "*",
"symfony/polyfill-mbstring": "~1.23",
"symfony/polyfill-iconv": "^1.23",
"symfony/polyfill-php74": "^1.23",
"symfony/polyfill-php80": "^1.23",
"symfony/polyfill-php81": "^1.23",
"symfony/polyfill-mbstring": "^1.24",
"symfony/polyfill-iconv": "^1.24",
"symfony/polyfill-php80": "^1.24",
"symfony/polyfill-php81": "^1.24",
"psr/simple-cache": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.1",
"psr/http-server-middleware": "^1.0",
"psr/container": "~1.1.0",
"nyholm/psr7-server": "^1.0",
"nyholm/psr7": "^1.3",
"twig/twig": "~v1.44",
"psr/container": "^1.1",
"psr/log": "^1.1",
"symfony/cache": "^6.4",
"symfony/yaml": "^6.4",
"symfony/console": "^6.4",
"symfony/event-dispatcher": "^6.4",
"symfony/var-exporter": "^6.4",
"symfony/var-dumper": "^6.4",
"symfony/process": "^6.4",
"symfony/http-client": "^6.4",
"twig/twig": "^2.1",
"monolog/monolog": "^2.0",
"doctrine/cache": "^2.2",
"doctrine/collections": "^2.2",
"pimple/pimple": "~3.5.0",
"nyholm/psr7-server": "^1.1",
"nyholm/psr7": "^1.8",
"erusev/parsedown": "^1.7",
"erusev/parsedown-extra": "~0.8",
"symfony/contracts": "~1.1",
"symfony/yaml": "~4.4",
"symfony/console": "~4.4",
"symfony/event-dispatcher": "~4.4",
"symfony/var-dumper": "~4.4",
"symfony/process": "~4.4",
"doctrine/cache": "^1.10",
"doctrine/collections": "^1.6",
"guzzlehttp/psr7": "^1.7",
"filp/whoops": "~2.9",
"rockettheme/toolbox": "v2.x-dev",
"composer/ca-bundle": "^1.5",
"composer/semver": "^3.4",
"dragonmantank/cron-expression": "^3.0",
"willdurand/negotiation": "^3.1",
"rhukster/dom-sanitizer": "^1.0",
"matthiasmullie/minify": "^1.3",
"monolog/monolog": "~1.25",
"getgrav/image": "^3.0",
"donatj/phpuseragentparser": "~1.9",
"guzzlehttp/psr7": "^2.7",
"filp/whoops": "~2.16",
"itsgoingd/clockwork": "dev-master",
"maximebf/debugbar": "~1.23",
"getgrav/image": "^4.0",
"getgrav/cache": "^2.0",
"donatj/phpuseragentparser": "~1.1",
"pimple/pimple": "~3.5.0",
"rockettheme/toolbox": "~1.5",
"maximebf/debugbar": "~1.16",
"league/climate": "^3.6",
"antoligy/dom-string-iterators": "^1.0",
"miljar/php-exif": "^0.6",
"composer/ca-bundle": "^1.2",
"dragonmantank/cron-expression": "^1.2",
"willdurand/negotiation": "^3.0",
"itsgoingd/clockwork": "^5.0",
"symfony/http-client": "^4.4",
"composer/semver": "^1.4",
"rhukster/dom-sanitizer": "^1.0",
"league/climate": "^3.8",
"multiavatar/multiavatar-php": "^1.0"
},
"require-dev": {
"codeception/codeception": "^4.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-deprecation-rules": "^1.0",
"codeception/codeception": "^5.1",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpunit/php-code-coverage": "~9.2",
"getgrav/markdowndocs": "^2.0",
"codeception/module-asserts": "^1.3",
"codeception/module-phpbrowser": "^1.0"
"codeception/module-asserts": "*",
"codeception/module-phpbrowser": "*",
"rector/rector": "^1.2"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/rockettheme/toolbox"
}
],
"replace": {
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*"
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*"
},
"suggest": {
"ext-mbstring": "Recommended for better performance",
Expand All @@ -89,12 +99,14 @@
"config": {
"apcu-autoloader": true,
"platform": {
"php": "7.3.6"
"php": "8.2"
}
},
"autoload": {
"psr-4": {
"Grav\\": "system/src/Grav",
"Doctrine\\": "system/src/Doctrine",
"RocketTheme\\": "system/src/RocketTheme",
"Twig\\": "system/src/Twig"
},
"files": [
Expand All @@ -117,7 +129,7 @@
"api-17": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.17.md",
"post-create-project-cmd": "bin/grav install",
"phpstan": "vendor/bin/phpstan analyse -l 2 -c ./tests/phpstan/phpstan.neon --memory-limit=720M system/src",
"phpstan-framework": "vendor/bin/phpstan analyse -l 5 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
"phpstan-framework": "vendor/bin/phpstan analyse -l 6 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
"phpstan-plugins": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/plugins.neon --memory-limit=400M user/plugins",
"test": "vendor/bin/codecept run unit",
"test-windows": "vendor\\bin\\codecept run unit"
Expand Down
Loading
Loading