Commit Graph

246 Commits

Author SHA1 Message Date
Matias Griese
6876e1a38a Merge branch '1.7' of github.com:getgrav/grav into feature/1.7-media
 Conflicts:
	system/src/Grav/Common/Page/Medium/ImageMedium.php
2020-05-28 15:16:43 +03:00
Andy Miller
a57358f311
fix for & errors in URL 2020-05-14 10:47:36 -06:00
Matias Griese
2db0002ffd Merge branch '1.7' of github.com:getgrav/grav into feature/1.7-media
 Conflicts:
	system/src/Grav/Common/Page/Medium/ImageMedium.php
2020-05-12 20:34:26 +03:00
Matias Griese
62c7cfcd10 Tighten vendor requirements 2020-05-08 10:30:11 +03:00
Matias Griese
9257d6982f Merge branch 'develop' of github.com:getgrav/grav into 1.7
 Conflicts:
	composer.json
	composer.lock
2020-05-08 10:21:51 +03:00
Jesse Donat
58da1cd489 Updates donatj/phpuseragentparser to 1.0.0 2020-05-08 10:18:31 +03:00
Matias Griese
8b47608cc0 Split Medium classes into traits, define Media interfaces 2020-05-06 12:23:49 +03:00
Matias Griese
5f0380f547 Fixed unit test 2020-05-05 19:04:56 +03:00
Andy Miller
24db65cd90
switch to Symfony HTTPClient (#2901) 2020-04-29 15:36:51 -06:00
Andy Miller
fe0ad9c9c2
Added support for webp (must be defined in media.yaml) #1168 2020-04-23 12:35:05 -06:00
Matias Griese
068948e1a2 Fixed response for .json being HTML 2020-03-25 15:08:00 +02:00
Andy Miller
5678b4d067
Revert "created aliases for direct \Parsedown and \ParsedownExtra references"
This reverts commit 1ce0176ab6.
2020-03-19 14:32:57 -06:00
Andy Miller
1abb940318
Merge branch 'develop' into 1.7 2020-03-19 14:31:35 -06:00
Andy Miller
1ce0176ab6
created aliases for direct \Parsedown and \ParsedownExtra references 2020-03-19 14:25:08 -06:00
Matias Griese
58cd77449c Composer update 2020-03-19 20:28:45 +02:00
Andy Miller
ec71ccdd0d
moved parsedown 1.6 and parsedown-extra 0.7 into framework for fixes 2020-03-18 11:39:08 -06:00
Andy Miller
62f39fe39c
Negotiation update to fix #2513 2020-03-04 10:57:43 -07:00
Andy Miller
394fce3825
composer update 2020-03-04 10:54:32 -07:00
Matias Griese
4794097992 Phpstan rules update 2020-02-04 14:24:41 +02:00
Matias Griese
f012d2d13a Regression: Fixed bad method call in FlexDirectory::getAuthorizeRule() 2020-02-04 10:59:26 +02:00
Matias Griese
d0a22ad416 Regression: fatal error in blueprints [#2811] 2020-02-04 10:50:59 +02:00
Andy Miller
887b34dd31
Use toolbox ~1.5 2020-02-03 10:09:22 -07:00
Matias Griese
959a2ec379 Clockwork fixes (beta) 2020-01-30 19:23:40 +02:00
Matias Griese
a47e446b60 Composer update (and lock rockettheme/toolbox to 1.4.x) 2020-01-29 13:23:28 +02:00
Andy Miller
2c95992eb1
Updated vendor 2020-01-06 17:10:16 -07:00
Matias Griese
daad16ef1b Composer update 2019-12-10 19:15:54 +02:00
Andy Miller
4cc3f44caa
updated vendor libs 2019-12-08 10:40:14 -07:00
Matias Griese
c765fff4b3 Minor phpstan update 2019-12-04 12:45:34 +02:00
Matias Griese
936e95a146 Updated Symfony Components to 4.4 2019-11-21 10:24:12 +02:00
Matias Griese
571674a4f5 Fixed phpstan issues in all code up to level 3 2019-11-15 14:03:52 +02:00
Matias Griese
a588395ba9 Attempt to work around composer 1.7 bug 2019-10-31 08:45:10 +02:00
Matias Griese
a571f42e1b Merge remote-tracking branch 'origin/1.7' into 1.7
# Conflicts:
#	composer.lock
2019-10-29 20:56:50 +02:00
Matias Griese
2fd5492286 Updated to Symfony 4.3, use Symfony EventDispatcher directly and not rockettheme/toolbox wrapper 2019-10-29 20:56:31 +02:00
Andy Miller
4e227fcae5
minor vendor updates 2019-10-28 15:40:17 -06:00
Andy Miller
2b00e93f22
Merge branch 'develop' into 1.7
# Conflicts:
#	composer.json
2019-10-17 10:02:36 -06:00
Jérôme Nadaud
8322a0cfa3 Make script name more explicit (#2637) 2019-10-17 05:57:25 -06:00
Matias Griese
411871f636 Fixed phpstan bugs in Framework 2019-10-10 18:15:27 +03:00
Andy Miller
45b1b0a2ef
Added Security::sanitizeSVG function + update CHANGELOG 2019-09-03 11:53:25 -06:00
Andy Miller
7db85cc79c
Force Symfony 4.2 2019-08-20 17:06:19 -06:00
Andy Miller
ea1e0a76c1
vendor updates 2019-07-09 22:00:43 -06:00
Andy Miller
6cd1cca4fc
Accidentally commited Twig 2 2019-06-03 15:32:28 -06:00
Andy Miller
1c9926ff38
Roll back to Symfony 4.2 until we have some deprecated errors sorted 2019-06-03 15:31:15 -06:00
Andy Miller
bc93e70d11
Force Twig 2.0 for now (testing and compatibility) 2019-05-29 10:17:59 +02:00
Matias Griese
e76733e8c3 Optimization: Initialize debugbar only after the configuration has been loaded
Optimization: Combine some early Grav processors into a single one
2019-05-26 16:55:24 +03:00
Matias Griese
0bd227c22d Add basic clockwork support 2019-05-23 15:39:44 +03:00
Andy Miller
0915a0413d
Added composer scripts api-16 and api-15 2019-05-08 20:57:06 -06:00
Matias Griese
11aa2314d5 Fixed typo in composer.json 2019-05-03 08:52:53 +03:00
Andy Miller
7c60f73942
vendor libs 2019-05-02 15:05:01 -06:00
Andy Miller
8512968726
this closes #2432 2019-04-05 17:38:45 -06:00
Matias Griese
5995515419 Added detection for deprecated features into phpstan 2019-03-19 13:37:02 +02:00
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