Compare commits
No commits in common. "344e486bbc483006512d971f4982e08b49f48560" and "82efe745b97a361046678c66fed813ed41fcfbd7" have entirely different histories.
344e486bbc
...
82efe745b9
18
.travis.yml
18
.travis.yml
@ -10,22 +10,30 @@ cache:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
# Test stage
|
# Test stage
|
||||||
|
- php: 5.3
|
||||||
|
dist: precise
|
||||||
|
- php: 5.4
|
||||||
|
dist: trusty
|
||||||
|
- php: 5.5
|
||||||
|
dist: trusty
|
||||||
|
- php: 5.6
|
||||||
|
dist: xenial
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
dist: xenial
|
dist: xenial
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
- php: 7.3
|
- php: 7.3
|
||||||
- php: 7.4
|
- php: 7.4
|
||||||
- php: 8.0
|
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
- php: hhvm-3.24 # until Dec 2018
|
||||||
- php: hhvm-3.27 # until Sep 2019
|
- php: hhvm-3.27 # until Sep 2019
|
||||||
- php: hhvm-3.30 # until Nov 2019
|
- php: hhvm-3.30 # until Nov 2019
|
||||||
|
|
||||||
# Branch deployment stage
|
# Branch deployment stage
|
||||||
- stage: deploy-branch
|
- stage: deploy-branch
|
||||||
if: type == "push" && tag IS blank
|
if: type == "push" && tag IS blank
|
||||||
php: 7.0
|
php: 5.3
|
||||||
dist: xenial
|
dist: precise
|
||||||
install:
|
install:
|
||||||
- '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0'
|
- '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0'
|
||||||
- install.sh --deploy
|
- install.sh --deploy
|
||||||
@ -35,8 +43,8 @@ jobs:
|
|||||||
# Release deployment stage
|
# Release deployment stage
|
||||||
- stage: deploy-release
|
- stage: deploy-release
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
php: 7.0
|
php: 5.3
|
||||||
dist: xenial
|
dist: precise
|
||||||
install:
|
install:
|
||||||
- install.sh --deploy
|
- install.sh --deploy
|
||||||
script:
|
script:
|
||||||
|
19
CHANGELOG.md
19
CHANGELOG.md
@ -16,25 +16,6 @@ Pico Changelog
|
|||||||
`PicoDeprecated`'s changelog. Please note that BC-breaking changes
|
`PicoDeprecated`'s changelog. Please note that BC-breaking changes
|
||||||
are only possible with a new major version.
|
are only possible with a new major version.
|
||||||
|
|
||||||
### Version 3.0.0-alpha.2
|
|
||||||
Released: 2020-12-24
|
|
||||||
|
|
||||||
```
|
|
||||||
* [Changed] Merge all fixes of Pico v2.1.2 to v2.1.4
|
|
||||||
* [Fixed] #575: Update Symfony YAML v3.4 to support PHP 8.0+
|
|
||||||
```
|
|
||||||
|
|
||||||
### Version 3.0.0-alpha.1
|
|
||||||
Released: 2020-03-29
|
|
||||||
|
|
||||||
```
|
|
||||||
* [New] Kick-start development of Pico 3.0
|
|
||||||
* [Changed] Require PHP 7.0.8+
|
|
||||||
* [Changed] Update dependencies: Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4
|
|
||||||
and Parsedown Extra 0.8.1; this is just an interim step, we'll
|
|
||||||
update to Twig 3.0+ and Symfony YAML 5.0+ later
|
|
||||||
```
|
|
||||||
|
|
||||||
### Version 2.1.4
|
### Version 2.1.4
|
||||||
Released: 2020-08-29
|
Released: 2020-08-29
|
||||||
|
|
||||||
|
@ -31,12 +31,12 @@
|
|||||||
"source": "https://github.com/picocms/Pico"
|
"source": "https://github.com/picocms/Pico"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.0.8",
|
"php": ">=5.3.6",
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
"twig/twig": "^2.12",
|
"twig/twig": "^1.36",
|
||||||
"symfony/yaml" : "^3.4",
|
"symfony/yaml" : "^2.8",
|
||||||
"erusev/parsedown": "1.7.4",
|
"erusev/parsedown": "1.8.0-beta-7",
|
||||||
"erusev/parsedown-extra": "0.8.1"
|
"erusev/parsedown-extra": "0.8.0-beta-1"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"picocms/pico-theme": "Pico requires a theme to actually display the contents of your website. This is Pico's official default theme.",
|
"picocms/pico-theme": "Pico requires a theme to actually display the contents of your website. This is Pico's official default theme.",
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// check PHP platform requirements
|
// check PHP platform requirements
|
||||||
if (PHP_VERSION_ID < 70008) {
|
if (PHP_VERSION_ID < 50306) {
|
||||||
die('Pico requires PHP 7.0.8 or above to run');
|
die('Pico requires PHP 5.3.6 or above to run');
|
||||||
}
|
}
|
||||||
if (!extension_loaded('dom')) {
|
if (!extension_loaded('dom')) {
|
||||||
die("Pico requires the PHP extension 'dom' to run");
|
die("Pico requires the PHP extension 'dom' to run");
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
* @author Daniel Rudolf
|
* @author Daniel Rudolf
|
||||||
* @link http://picocms.org
|
* @link http://picocms.org
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
* @version 3.0
|
* @version 2.1
|
||||||
*/
|
*/
|
||||||
abstract class AbstractPicoPlugin implements PicoPluginInterface
|
abstract class AbstractPicoPlugin implements PicoPluginInterface
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
* @author Daniel Rudolf
|
* @author Daniel Rudolf
|
||||||
* @link http://picocms.org
|
* @link http://picocms.org
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
* @version 3.0
|
* @version 2.1
|
||||||
*/
|
*/
|
||||||
class Pico
|
class Pico
|
||||||
{
|
{
|
||||||
@ -49,14 +49,14 @@ class Pico
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const VERSION = '3.0.0-alpha.2';
|
const VERSION = '2.1.4';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pico version ID
|
* Pico version ID
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
const VERSION_ID = 30000;
|
const VERSION_ID = 20104;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pico API version
|
* Pico API version
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* @author Daniel Rudolf
|
* @author Daniel Rudolf
|
||||||
* @link http://picocms.org
|
* @link http://picocms.org
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
* @version 3.0
|
* @version 2.1
|
||||||
*/
|
*/
|
||||||
interface PicoPluginInterface
|
interface PicoPluginInterface
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* @author Daniel Rudolf
|
* @author Daniel Rudolf
|
||||||
* @link http://picocms.org
|
* @link http://picocms.org
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
* @version 3.0
|
* @version 2.1
|
||||||
*/
|
*/
|
||||||
class PicoTwigExtension extends Twig_Extension
|
class PicoTwigExtension extends Twig_Extension
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* @author Daniel Rudolf
|
* @author Daniel Rudolf
|
||||||
* @link http://picocms.org
|
* @link http://picocms.org
|
||||||
* @license http://opensource.org/licenses/MIT The MIT License
|
* @license http://opensource.org/licenses/MIT The MIT License
|
||||||
* @version 3.0
|
* @version 2.1
|
||||||
*/
|
*/
|
||||||
class DummyPlugin extends AbstractPicoPlugin
|
class DummyPlugin extends AbstractPicoPlugin
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user