Commit Graph

246 Commits

Author SHA1 Message Date
Matias Griese
33282e043b Added composer test-plugins to test plugin issues with the current version of Grav 2019-03-18 10:58:21 +02:00
Matias Griese
ada6c3f160 Fixed phpstan level 4 and 5 errors in Grav\Framework 2019-03-14 14:06:53 +02:00
Matias Griese
c09a8fbbc4 Fixed phpstan level 3 errors in Grav\Framework 2019-03-14 13:20:29 +02:00
Matias Griese
fde69ade6b Fixed some phpstan level 2 issues in Grav\Console 2019-03-13 19:46:06 +02:00
Matias Griese
b0b6c1dd17 Fixed some more phpstan level 2 issues 2019-03-13 15:21:09 +02:00
Matias Griese
39b1940f94 Fixed phpstan level 1 issues 2019-03-13 10:16:47 +02:00
Matias Griese
8564524984 Fixed some bugs found by phpstan 2019-03-13 09:49:08 +02:00
Sébastien Vanvelthem
ecd39421d6 Some phpstan issues (#2393)
* Fix bug, method init must be protected
* Added phpstan level 0
* Added exclusions
* Fix: incorrect case in Twig_SimpleFunction
* Fix, no abstract properties, if properties used in methods let's set them
* Fixed Psr\SimpleCache\InvalidArgumentException referenced with incorrect case
* added exclusions
* Fixed: Access to an undefined property Grav\Framework\Form\FormFlash::$uploadObjects.
* Fixed: does not call parent constructor from Grav\Common\Iterator.
* Fixed: does not call parent constructor from Grav\Common\Iterator.
* Fixed: does not call parent constructor
* Fixed: does not call parent constructor
* Minor: correct type for inflector
* Moved phpstan.neon out of public directory
* Added exclusion
* set GRAV_USER_INSTANCE to prevent LogiException in User
* Exlude Stream:create
* Minor: Missing storage property
* Minor: Fixed missing properties (phpstan level 1)
* Added type for $data
* Minor: Ensure $langs is initialized
* Fix possible bug in $http_response_header status code retrieval (PHP 7.1 only)
* Added exclusion for $http_response_header (isset is actually not required)
* Strict null check
2019-03-13 08:15:22 +02:00
Matias Griese
604361045b Fixed bad host header in PSR-7 (if using 'php -S localhost:8000 system/router.php') part 2 2019-01-30 21:04:53 +02:00
Andy Miller
437866dfcd
Merge branch 'develop' into 1.6 2019-01-14 19:00:21 -07:00
Rotzbua
680bfef2c3 http to https (#2299) 2019-01-07 21:28:56 -07:00
Chris Jung
00c6313102 Update to Symfony 4.2 (#2280) 2018-12-02 21:29:53 -07:00
Matias Griese
48489ae291 Composer update 2018-11-19 23:26:11 +02:00
Andy Miller
74cd3ac1e0
Supporting negotiated content types 2018-11-11 18:27:12 -07:00
Matias Griese
d6c17132df Added PSR-7 and PSR-15 classes 2018-10-17 14:57:45 +03:00
Matias Griese
f43ab0ed59 Added apcu autoloader optimization 2018-10-16 13:02:32 +03:00
Andy Miller
95172ce4c1
wip 2018-09-20 12:53:43 -06:00
Andy Miller
51f29e112a
updated composer.json 2018-09-19 13:56:09 -06:00
Andy Miller
5499f2edb6
Feature/scheduler (#2170)
* scheduler first commit

* moved jobs to config

* got some args working

* commands and static methods working.. events hooked up

* No longer dependent on `exec()`.. uses Symfony\Process

* More improvements

* support getAt()

* Make inflector available in DI

* Fix for inflector

* store job run states

* more improvements including cron twig function

* Add scheduler to event + cleanup

* improvements to the CLI command

* Added id field

* use proper func

* Added email

* Fix quotes

* Updated built-in composer

* Better command for adding the scheduler cron via terminal

* Fixed typo and added cron language

* Added Cron class to make at -> human readable date possible

* Added some checks when there are no jobs

* Added method to get CronExpression

* Revamped with Symfony 4.1 CLI updates
2018-09-05 19:02:12 -06:00
Matias Griese
665fa6cc9c Require doctrine/cache 1.8 2018-09-04 09:24:50 +03:00
Matias Griese
896c25dc9e Updated Symfony Components to 4.1 2018-08-18 00:32:55 +03:00
Matias Griese
3b04315a38 Grav 1.6.0-dev: updated minimum PHP requirements to 7.1.3
Updated Doctrine Collections and Cache
2018-08-17 23:29:24 +03:00
Matias Griese
f3c559f1c7 Composer update (Fixes blueprint issues) 2018-07-05 10:13:36 +03:00
Matias Griese
9ca427e369 Composer update (rockettheme/toolbox => 1.4) 2018-06-14 12:46:27 +03:00
Matias Griese
228757a5ba Composer update (rockettheme/toolbox => dev-develop) 2018-06-12 13:06:58 +03:00
Matias Griese
fae2aa4582 Added compatibility mode to fall back to Symfony YAML 2.8 when needed 2018-04-20 11:18:01 +03:00
Matias Griese
ce1e635451 Minimum PHP requirement was 5.6.4, not 5.6.0 2018-04-14 17:42:13 +03:00
Matias Griese
8b0c1b7937 Updated Symfony Components to 3.4, causing some compatibility issues with YAML files 2018-04-14 13:23:54 +03:00
Matias Griese
87b0d80de0 PHP 5.6.0 minimum, updated to Doctrine Collections 1.4 2018-04-14 12:28:00 +03:00
Andy Miller
46d682f889
Revert "Fix for audio/video parsedown #1924"
This reverts commit 33cfa5e104.

# Conflicts:
#	CHANGELOG.md
2018-04-12 15:25:19 -06:00
Andy Miller
1ec653268d
Parsedown 1.8 breaks things, need to fix when final is released 2018-04-09 12:00:07 -06:00
Andy Miller
3ee140e77f
Revert "Temporarily using parsedown dev-master to address HTML encoding issues #1921"
This reverts commit ff2df04a58.
2018-04-09 11:58:52 -06:00
Andy Miller
ff2df04a58
Temporarily using parsedown dev-master to address HTML encoding issues #1921 2018-04-02 18:04:40 -06:00
Matias Griese
df185621ad Composer update (Add missing PSR-7 requirements) 2018-03-21 11:29:26 +02:00
Andy Miller
07db8a2f9d
Updated composer binary 2018-03-20 10:33:26 -06:00
Matias Griese
b15c5d7888 Merge branch 'develop' of https://github.com/getgrav/grav into 1.4 2017-12-12 12:45:14 +02:00
Matias Griese
24898de2ba Force composer to use PHP 5.5.9 compatible libraries, add composer security advisories check 2017-12-12 12:44:01 +02:00
Matias Griese
0d4a5a22c8 Merge branch 'develop' of https://github.com/getgrav/grav into 2.0
# Conflicts:
#	CHANGELOG.md
#	composer.lock
#	system/src/Grav/Common/Twig/TwigExtension.php
2017-10-04 13:09:31 +03:00
Andy Miller
c6793c1dee
Updated vendor libs 2017-09-27 17:12:22 -06:00
Andy Miller
7f23828ece
Revert "Removed markdowndocs from require-dev due to PHP 7 requirements"
This reverts commit 8e1dca4360.
2017-09-23 07:33:12 -06:00
Andy Miller
8e1dca4360
Removed markdowndocs from require-dev due to PHP 7 requirements 2017-09-23 07:23:37 -06:00
Andy Miller
046b9240e4
Added developer libs for markdowndocs lib for API documentation 2017-09-20 19:54:50 -06:00
Andy Miller
ffd61065ac
Implemented Composer\CaBundle for safer SSL negotiation #1241 2017-09-14 16:58:09 -06:00
Matias Griese
c0e1e155d7 Merge branch 'develop' of https://github.com/getgrav/grav into 2.0
# Conflicts:
#	composer.json
#	composer.lock
#	system/src/Grav/Common/Twig/TwigExtension.php
2017-09-08 14:54:50 +03:00
Andy Miller
0dd5d08514
Accidentally updated to Doctrine Cache 1.7, force 1.6 (for PHP5 compatibility) 2017-09-05 21:17:09 -06:00
Matias Griese
0644eac7dc Merge branch 'develop' of https://github.com/getgrav/grav into 2.0
# Conflicts:
#	CHANGELOG.md
#	system/src/Grav/Common/Twig/TwigExtension.php
2017-08-29 08:56:04 +03:00
Andy Miller
d1b0f12e5b
Added gaussianBlur media method #1623 2017-08-25 10:47:32 -06:00
Matias Griese
d15eb0e6ad Composer update 2017-08-17 10:01:42 +03:00
Matias Griese
fb0e086f57 Composer: Force doctrine/cache to use v1.6 (with PHP 5.5 support) 2017-08-10 21:13:14 +03:00
Matias Griese
53611c8627 Composer: Use develop version of rockettheme/toolbox 2017-08-10 21:08:42 +03:00
Matias Griese
41c130cd43 Merge branch 'develop' of https://github.com/getgrav/grav into 2.0
# Conflicts:
#	composer.lock
2017-05-16 10:54:16 +03:00
Andy Miller
82f223248e Added Exif + Auto generation of meta.yaml files (#1472)
* Added Exif + Auto generation of meta.yaml files

* Added twig function

* Put a check in for `exif_read_data` function
2017-05-12 16:20:22 -06:00
Matias Griese
d1654a3e32 Added Grav\Framework\Cache classes providing PSR-16 Simple Cache implementation 2017-05-11 13:34:43 +03:00
Matias Griese
5fc5813274 Use older version of doctrine/collections (PHP 5.5 support) 2017-05-10 11:06:40 +03:00
Matias Griese
65c0c4438f Use older version of doctrine/collections (PHP 5.5 support) 2017-05-10 11:02:51 +03:00
Matias Griese
0e77103883 Merge branches 'develop' and 'feature/objects' of https://github.com/getgrav/grav into feature/objects
# Conflicts:
#	composer.lock
2017-04-12 20:58:10 +03:00
Andy Miller
25ba6198e5
switched to stable composer vendor libs 2017-03-31 11:09:29 -06:00
Andy Miller
04e1710de1
Updated composer.json to pick up latest Gregwar Image library 2017-03-20 11:26:31 -06:00
Matias Griese
eae222f264
Update Collection classes to be based on Doctrine Collections 2017-02-15 11:44:14 +02:00
Flavio Copes
855d4f73b9 Add ability to adjust images orientation using EXIF data (#555)
* Auto-adjust images orientation using EXIF data

* Fix composer.json

* Drop Excerpts edit

* Restore automatic orientation fix

* Revert "Restore automatic orientation fix"

This reverts commit 4b8af1fe72.

* Add auto orientation capability to images. Defaults to false to avoid forcing cache on every image

* Changelog
2016-10-19 06:46:07 -06:00
Andy Miller
110cd9535b
Switched to stable toolbox 2016-10-06 16:51:02 -06:00
Andy Miller
29c6a94c92 Updated to Twig 1.25.0 and fixed an issue that resulted with streams in bin/plugin 2016-09-30 19:02:56 -06:00
Andy Miller
c3e74c2e09 Set Twig back to 1.24 until we can fix some issues 2016-09-30 09:02:49 -06:00
Andy Miller
a54f30b8ae Revamped the Html Truncator code to address issues with invalid HTML #1019 2016-09-06 15:38:36 -06:00
Andy Miller
ea6dc3ef22 Added CLImate composer package for tables support in CLI 2016-08-17 17:49:06 -06:00
Jean-Philippe Dépigny
c5b5423d5c add ext-zip requirement (#922) 2016-07-01 13:51:35 +02:00
Andy Miller
88fad44dca switched mcrclay/minify library for matthiasmullie/minify 2016-05-31 11:26:27 -06:00
Andy Miller
a24b7faef5 Added a new CSS / JS minify library that seems to do a better job #864 2016-05-30 23:05:59 -06:00
Flavio Copes
ecf51536b9 Revert Add twig/extensions to allow Twig dates translation
Revert
https://github.com/getgrav/grav/commit/810deb41056948896a90a51751dff6e44
f05de95
2016-04-22 18:33:45 +02:00
Flavio Copes
61e6b8f371 Force downgrade phpunit/php-code-coverage to ~2.0 for PHP 5.5 testing 2016-04-07 12:15:06 +02:00
Flavio Copes
810deb4105 Add twig/extensions to allow Twig dates translation
Client code can now use

`{{ a_date|localizeddate('long', 'short', grav.language.getLanguage) }}`
2016-03-31 14:48:30 +02:00
Matias Griese
1beb460a9b Composer update (fix list handling in blueprints) 2016-03-10 20:33:48 +02:00
Matias Griese
c8f87f87ee Composer update on minimum toolbox version 2016-03-07 21:33:41 +02:00
Andy Miller
a87315c57d updated with stable toolbox 2016-03-07 11:17:33 -07:00
Flavio Copes
b50ebba477 Merge branch 'develop' into feature/blueprints-update 2016-02-11 20:10:06 +01:00
Tyler Cosgrove
1d65344aa5 Add composer test command for windows
Windows is dumb... gotta use those backslashes
2016-02-03 21:16:28 -05:00
Matias Griese
f0a802d2e1 Merge branch 'develop' of https://github.com/getgrav/grav into feature/blueprints-update 2016-02-01 20:14:23 +02:00
Andy Miller
7de21b1f52 went back to dev-master of Parsedown until release 2016-01-31 21:54:08 -07:00
Matias Griese
2742f333aa Merge branches 'develop' and 'feature/blueprints-update' of https://github.com/getgrav/grav into feature/blueprints-update
# Conflicts:
#	composer.lock
2016-01-26 20:39:08 +02:00
Flavio Copes
bce084841e Ⓜ️ Merge branch 'develop' into feature/introduce-testing 2016-01-26 17:36:12 +01:00
Flavio Copes
b848f98481 🆙 Update Twig to 1.24. Up composer.lock 2016-01-26 13:06:28 +01:00
Flavio Copes
7958db6a17 Merge branch 'develop' into feature/introduce-testing 2016-01-25 09:07:00 +01:00
Flavio Copes
b248b39dc7 Add test script to composer 2016-01-21 12:41:32 +01:00
Matias Griese
5c08439633 Update composer requirement for toolbox 2016-01-21 11:17:31 +02:00
Tyler Cosgrove
8406802a05 Change to next significant release 2016-01-19 14:46:30 -05:00
Tyler Cosgrove
778ae8aced Update Whoops to latest
Should have line highlights.
2016-01-19 14:15:12 -05:00
Flavio Copes
9c89f55274 Merge branch 'develop' into feature/introduce-testing 2016-01-19 13:30:40 +01:00
Flavio Copes
0e6132800e Merge branch 'develop' into feature/introduce-testing 2016-01-18 09:59:52 +01:00
Flavio Copes
0a76e46d8f Remove ircmaxell/password-compat as it's intended to provide backward compatibility for PHP 5.4
However, it will still be installed in `vendor` as required by
`rockettheme/toolbox`
2016-01-17 20:40:45 +01:00
Flavio Copes
7e5b60917b Add ext-* to composer 2016-01-12 11:19:23 +01:00
Flavio Copes
ce71168ed9 Merge branch 'develop' into feature/introduce-testing 2016-01-07 13:03:06 +01:00
Flavio Copes
df3a492d3a Also add Faker to require-dev to be used in tests 2016-01-06 17:29:32 +01:00
Andy Miller
2d00203a1f updated changelog 2016-01-05 12:08:44 -07:00
Flavio Copes
5d4705b9fa Add codeception to require-dev 2016-01-05 19:39:00 +01:00
Flavio Copes
b3d18be643 Add and bootstrap codeception 2016-01-05 11:01:02 +01:00
Jérôme Gamez
53e1c790d8 Add branch alias 2016-01-05 01:24:17 +01:00
Jérôme Gamez
3cbf9c7101 Allow grav to be installed as a composer project 2016-01-04 23:55:16 +01:00
Andy Miller
bf05a36dfe Updated some libs 2015-12-18 23:08:14 -07:00
Andy Miller
fb4abc5f5f Use Grav's version of Parsedown until PR is accepted (crossing fingers) 2015-12-17 17:52:20 -07:00
Andy Miller
8ad5f2624d Added iconv polyfill library 2015-12-07 16:46:28 -07:00
Andy Miller
bdd17fc56a Moving back to release version of Toolbox 2015-11-24 10:06:41 -07:00
Matias Griese
bc4a09f80d Fix undefined variable in Config class 2015-11-13 14:02:06 +02:00
Andy Miller
0f1f336c3a updated composer packages 2015-09-13 21:19:20 -06:00
Andy Miller
cf867d29a0 Added symfony dump() method for debugging 2015-08-21 13:13:33 -06:00
Andy Miller
e8ca646070 updated toolbox 2015-08-20 15:38:21 -06:00
Andy Miller
75feea3e75 back to Symfony 2.7.3 2015-08-03 16:10:16 -06:00
Andy Miller
c959fd9c48 rolled back to composer 2.7.1 due to broken CLI choice method 2015-07-29 21:58:53 -06:00
Andy Miller
0dc465bb41 PR #145 - Set all but debugger to specific versions 2015-06-20 12:11:00 -06:00
Andy Miller
63456aad85 reset how symfony libs versions are set in composer 2015-06-13 06:45:49 -06:00
Andy Miller
bec2ee91b5 updated symphony versions 2015-06-13 06:44:17 -06:00
Andy Miller
027c9cdd04 updated to latest cache library - should be a little faster! 2015-06-12 22:32:23 -06:00
Andy Miller
9549e5aa4c moved to stable version of toolbox (now in packagist) 2015-04-22 12:31:16 -06:00
Tomáš Votruba
d25f9bcf1b cs 2015-04-13 19:41:52 +02:00
Andy Miller
8179d8eac1 updated composer packages 2015-04-07 09:10:42 -06:00
Andy Miller
21f064b1d0 updated parsedown extra lib 2015-01-25 22:12:46 -07:00
Andy Miller
689c65c5e4 bumped parsedown extra lib version 2015-01-22 17:47:05 -07:00
Andy Miller
632c48e1e6 Updated parsedown extra lib 2015-01-19 14:36:05 -07:00
Andy Miller
8363da35c6 updated parsedown-extra 2015-01-16 13:38:43 -07:00
Andy Miller
195bdd71a2 Updated Parsedown + ParsedownExtra to latest stable version 2015-01-12 17:29:44 -07:00
Andy Miller
e293050ea1 Rolled back Parsedown to 1.1.4 and ParsedownExtra to 0.2.6 until next Parsedown Release 2015-01-11 12:14:22 -07:00
Jeffrey Morgan
8cbba11955 Update composer.json 2015-01-04 16:19:49 -08:00
Andy Miller
fbf09a7741 switching to Symfony 2.6 for yaml/console/event-dispatcher 2014-12-05 08:59:13 -07:00
Andy Miller
fb549701ff Updated Vendor libs to latest 2014-11-07 18:34:51 -07:00
Andy Miller
2d4eb6d364 removed redundant debugger fork reference 2014-10-27 17:17:22 -06:00
Andy Miller
9928b75d0d Fix for debugbar with in-page Twig rendering 2014-10-26 19:20:07 -06:00
Andy Miller
458f6cb55d Monolog added and logging exceptions 2014-10-17 23:16:24 -07:00
Andy Miller
c10882f290 Added Whoops 2014-10-14 15:42:25 -06:00
Andy Miller
2bfcd88bfd Initial commit with PHP Debug Bar instead of Tracy 2014-10-13 22:23:13 -06:00
Matias Griese
82533c17e6 Merge branch 'develop' of https://github.com/getgrav/grav into feature/multi-config
Conflicts:
	system/config/streams.yaml
	system/src/Grav/Common/Config.php
	system/src/Grav/Common/Grav.php
	system/src/Grav/Common/Themes.php
	vendor/autoload.php
	vendor/composer/autoload_classmap.php
	vendor/composer/autoload_files.php
	vendor/composer/autoload_psr4.php
	vendor/composer/autoload_real.php
	vendor/composer/installed.json
2014-09-10 11:21:03 +03:00
Andy Miller
09248f2917 Added barDump() to Debugger 2014-09-06 13:28:47 -06:00
Matias Griese
f606999c40 Merge branch 'develop' of https://github.com/getgrav/grav into feature/multi-config
Conflicts:
	composer.json
	system/config/streams.yaml
	system/src/Grav/Common/Page/Page.php
	system/src/Grav/Common/Theme.php
	system/src/Grav/Common/Themes.php
	system/src/Grav/Component/Filesystem/ResourceLocator.php
	vendor/autoload.php
	vendor/composer/autoload_classmap.php
	vendor/composer/autoload_files.php
	vendor/composer/autoload_real.php
	vendor/composer/installed.json
2014-09-03 10:33:02 +03:00
Matias Griese
affa768efb Ground work for allowing multiple configurations 2014-09-03 09:57:46 +03:00
Matias Griese
c73e0d140d Go back to PSR-4 2014-09-03 09:07:29 +03:00
Matias Griese
7ca98baa34 Fix autoloading without composer update -o 2014-09-02 08:22:50 +03:00
Andy Miller
188e7ddb75 Added updated minify package with fix for @supports, vendor commits and cleanup 2014-08-29 17:22:59 -06:00
Andy Miller
4a1989e3a8 Added a default 'detect' mode for Tracy, can be changed via debugger.mode 2014-08-25 08:40:41 -06:00
Andy Miller
7a622c6f5b switching user agent package 2014-08-22 14:07:45 -06:00
Andy Miller
ec8cbbb920 updated composer configuration 2014-08-20 13:57:16 -06:00
Matias Griese
a6483f0333 Prevent fatal error when composer hasn't been run 2014-08-20 14:51:03 +03:00
Matias Griese
77172e7978 Optimize autoloading and allow APC to cache plugin PHP 2014-08-20 12:18:26 +03:00
Matias Griese
a85c2638e4 Fix #17: Use Symfony EventDispatcher 2014-08-19 18:45:42 +03:00
Matias Griese
0c374eac23 Merge branch 'develop' of https://github.com/getgrav/grav into feature/DI
Conflicts:
	composer.json
	index.php
	system/src/Grav/Common/Grav.php
	system/src/Grav/Common/Themes.php
	system/src/Grav/Common/Twig.php
2014-08-18 14:39:50 +03:00
Matias Griese
e91b9c84bf Implement DI container 2014-08-18 14:13:51 +03:00
Andy Miller
9f2236dea3 Added support for Markdown Extra - optional and default is GFM style markdown 2014-08-17 18:54:10 -06:00
Andy Miller
0e9417ab1b initial commit of new asset pipeline work + user agent handling 2014-08-15 22:05:22 -06:00
Djamil Legato
230a2b594e Source 2014-08-02 12:12:32 -07:00