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

Pico 3.0 #535

Open
wants to merge 81 commits into
base: master
Choose a base branch
from
Open

Pico 3.0 #535

wants to merge 81 commits into from

Commits on Mar 29, 2020

  1. Configuration menu
    Copy the full SHA
    718b790 View commit details
    Browse the repository at this point in the history
  2. Update dependencies, Pico now requires PHP 7.0.8+

    Pico now depends on Twig 2.12, Symfony YAML 3.4, Parsedown 1.7.4 and Parsedown Extra 0.8.1.
    PhrozenByte committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    a053a72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ee41e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    727d8a1 View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG.md

    PhrozenByte committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    b6a0343 View commit details
    Browse the repository at this point in the history
  6. Version 3.0.0-alpha.1

    ```
    * [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
    ```
    PhrozenByte committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    039dd4e View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Configuration menu
    Copy the full SHA
    812ae5c View commit details
    Browse the repository at this point in the history
  2. Update code styling to PHP 7.0+

    This commit includes no functional changes.
    PhrozenByte committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    b1a58b9 View commit details
    Browse the repository at this point in the history
  3. Update to Symfony YAML 5.0 and Twig 3.0

    Pico now requires PHP 7.2.5+
    PhrozenByte committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    85d7573 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dffaa01 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    62aa4db View commit details
    Browse the repository at this point in the history
  6. Fix Travis CI

    PhrozenByte committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    bdafcb5 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. Configuration menu
    Copy the full SHA
    646aa35 View commit details
    Browse the repository at this point in the history
  2. Fix Travis CI

    PhrozenByte committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    1b1fa73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de5bd43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f596ac View commit details
    Browse the repository at this point in the history
  5. Remove deprecated AbstractPlugin::__call()

    Use AbstractPlugin::getPico() instead (e.g. `->getPico()->getConfig('my_config')` instead of `->getConfig('my_config')`).
    PhrozenByte committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    efc4fb5 View commit details
    Browse the repository at this point in the history
  6. Remove deprecated Pico::getBaseThemeUrl()

    Use Pico::getConfig('themes_url') instead.
    PhrozenByte committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    bc816fe View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Configuration menu
    Copy the full SHA
    d6f9806 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Configuration menu
    Copy the full SHA
    9bf317f View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2020

  1. Configuration menu
    Copy the full SHA
    c3c7606 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59d9514 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    PhrozenByte committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    4b95733 View commit details
    Browse the repository at this point in the history
  4. Update Pico::VERSION

    Pico::VERSION_ID isn't updated because this is a alpha release.
    PhrozenByte committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    888b910 View commit details
    Browse the repository at this point in the history
  5. Version 3.0.0-alpha.2

    ```
    * [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+
    ```
    PhrozenByte committed Dec 24, 2020
    Configuration menu
    Copy the full SHA
    f7637ad View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. Add %page_*% replacements for Markdown files

    `%page_id%` is replaced by the page's ID, `%page_url%` by the page's relative URL, and `%page_path%` by the dirname of page file.
    PhrozenByte committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    edfab74 View commit details
    Browse the repository at this point in the history
  2. Remove picocms\Pico\ namespace

    This reverts commit 812ae5c
    PhrozenByte committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    41fc15a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe6c8f8 View commit details
    Browse the repository at this point in the history
  4. Code cleanup

    PhrozenByte committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    1b956af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e572ad View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5a81fe8 View commit details
    Browse the repository at this point in the history
  7. Revert "Added Temporary PHP 8.0 Notice"

    This reverts commit ff5e345.
    PhrozenByte committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    f7ccd0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0f152c7 View commit details
    Browse the repository at this point in the history
  9. Bump to API version 4

    PhrozenByte committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    76a761c View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. Update various links

    PhrozenByte committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    e33f6c8 View commit details
    Browse the repository at this point in the history
  2. Add GitHub workflow 'test'

    Runs `composer install` and `phpcs` on basically every push, replaces Travis CI.
    PhrozenByte committed Feb 13, 2022
    Configuration menu
    Copy the full SHA
    68c4742 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b4b20f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92907a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    23b00ba View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2022

  1. Configuration menu
    Copy the full SHA
    b9de38f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d01918a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4706bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdb86d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2022

  1. Configuration menu
    Copy the full SHA
    61880d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93dbbe7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bf3260 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3365a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    261b5c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. Configuration menu
    Copy the full SHA
    67408ce View commit details
    Browse the repository at this point in the history
  2. 🎉 Switch from Travis CI to GitHub Actions for release deployment

    Since Travis CI was transformed into a proprietary service we didn't have a CI pipeline. This heavily refactors and simplifies the CI pipeline and uses GitHub Actions to deploy new Pico releases. You can use Pico's Makefile to build new releases locally, too. Pico's build script no longer depends on any external resources (like our `picocms/ci-tools` collection). However, this isn't true for other release deployment steps, like updating phpDoc class docs, version badge, cloc stats, etc., even though the CI scripts are mostly self-containing now.
    PhrozenByte committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    1aacce8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d08d42 View commit details
    Browse the repository at this point in the history
  4. CI: Run 'test' workflow as part of the 'deploy-branch' workflow

    Mimics the behaviour of the 'deploy-release' workflow, even though branch deployment doesn't depend on Pico's tests to succeed. Pull requests still use the 'test' workflow directly.
    PhrozenByte committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    6f1fc9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f48280 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Enable PHP strict typing

    We can't enable strict typing everywhere without major BC breaks (likely Pico 4.0), so we're doing this on a best-effort basis.
    
    Fixes #603
    PhrozenByte committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    a3f801b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a8b3da View commit details
    Browse the repository at this point in the history
  3. Proberly handle page data of hidden pages when accessing such a page

    This is a workaround for meta pages (i.e. pages starting with a '_'): If a user attempts to request such a page, Pico won't respond with the contents of this meta page, but with a 404 page. This is expected behavior. However, we also have a shortcut in Pico::readPages() attempting to skip reading the contents of the requested page twice. Since we're not serving the contents of the meta page, but of the 404 page, we accidentally overwrite the contents of the meta page by Pico's 404 page. This is unexpected behavior. Even though this commit fixes this particular issue, it doesn't fix its major cause, as the shortcut still exists and can still be triggered by plugin authors by simply overwriting the contents of an existing page. Even though a plugin author might want this to happen, we can't really tell whether it is intended or not. The solution is to remove the shortcut, but we don't want that either, it's a useful performance optimization. The only real solution to this is to switch to page objects, allowing us to handle such situations more verbose. This feature is expected for Pico 4.0. For now we leave this partially fixed...
    
    Fixes #602
    PhrozenByte committed Mar 3, 2022
    3 Configuration menu
    Copy the full SHA
    71c0dfb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    872da57 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    070714d View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Configuration menu
    Copy the full SHA
    dde3a76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00ac6c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb2cf3a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Configuration menu
    Copy the full SHA
    998f0d1 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. CI: Use build script to publish new releases

    Since Pico depends on PicoDeprecated, and PicoDeprecated depends on Pico, a chicken-egg-problem arises: When pushing a new tag for Pico, GitHub Actions will try to build this new release by downloading the matching version of PicoDeprecated from Packagist. Since we didn't release a new version of PicoDeprecated yet, this will fail. So we need to push PicoDeprecated's tag first. Doing so yields GitHub Actions trying to build PicoDeprecated's new release - by trying to download the matching version of Pico from Packagist, which doesn't exist yet.
    
    Thus builds will always fail - unless you push both tags at the exact same time, and unless you send some prayers that GitHub Actions delays building until Packagist picks up the new releases. The simplest solution is not to use GitHub Actions to publish new releases, but letting the user to do it instead. With this changeset this is as simple as `make publish version=v3.0.0`. The 'deploy-release' GitHub workflow now just updates the website and is triggered by publishing the GitHub release, not the tag. This additionally allows the user to perform some manual tests before publication.
    
    The build script now depends on GitHub CLI (`gh`), see https://cli.github.com/. You must setup authentication first (`gh auth login`).
    PhrozenByte committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    60d0f54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b6984d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Minor code improvements

    PhrozenByte committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    c0639cc View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. Configuration menu
    Copy the full SHA
    81c2172 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. Update CHANGELOG.md

    PhrozenByte committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    0068406 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    6698130 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Remove Pico's map Twig filter

    Fixes #623
    PhrozenByte committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    1da5e26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    268f403 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Configuration menu
    Copy the full SHA
    a178e85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5fefa4 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    35d894e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    311e21b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c87fae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    efa51f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. replace strlen in readPages() with variables

    see issue #671
    dkyme authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a3dd0b9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #674 from dkyme/dkyme-patch-1

    replace strlen in readPages() with variables
    PhrozenByte authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0fa644e View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Enhanced Sorting by Nested Meta Values in Pages (#681)

    * Added functionality for sorting pages by nested meta values.
    
    * Additional variables removed.
    
    * Added comment to the config template file about the possibility to access nested metadata with a dot as separator for sorting.
    
    * Added entry in the changelog about the possibility to access nested metadata with a dot as separator for sorting.
    
    * Changelog and config template adapted according to the suggestions.
    
    * Added old entry back in the Config template.
    PxaMMaxP authored Dec 2, 2023
    Configuration menu
    Copy the full SHA
    869ab1f View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    914dd94 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #686 from dkyme/fix-discoverPageSiblings

    fix Wrong config keys in discoverPageSiblings #675
    PhrozenByte authored Dec 30, 2023
    Configuration menu
    Copy the full SHA
    ae9a8eb View commit details
    Browse the repository at this point in the history