Commit graph

636 commits

Author SHA1 Message Date
Daniel Rudolf
2ed32d67a7 Update _build/deploy-phpdoc-release.sh 2016-01-14 14:16:14 +01:00
Daniel Rudolf
26d7d2f68e Build scripts: Fix formatting 2016-01-14 13:35:08 +01:00
Daniel Rudolf
b472664a20 Build scripts: Don't try to commit nothing 2016-01-14 13:20:04 +01:00
Daniel Rudolf
cd0e0f706f Build scripts: Git identity must be configured before committing 2016-01-14 13:12:10 +01:00
Daniel Rudolf
8554c0a60d RADME.md: Update badge URLs
Fixes mixed content warnings
2016-01-14 12:58:12 +01:00
Daniel Rudolf
d7ebf52ec9 RADME.md: Update badge URLs
Resolves #314
2016-01-14 12:53:11 +01:00
Daniel Rudolf
92026a3bd0 Add static shields.io badge generator 2016-01-14 12:49:46 +01:00
Daniel Rudolf
73078a3dc3 Fix code formatting + class docs 2016-01-07 03:00:32 +01:00
Daniel Rudolf
0198d827bf Build scripts: Add file comments 2016-01-07 03:00:32 +01:00
Daniel Rudolf
ff59c61c08 CONTRIBUTING.md: Fix wording 2016-01-06 21:29:36 +01:00
Daniel Rudolf
c760205d70 Pico::triggerEvent(): Fix method docs typo 2015-12-28 22:41:39 +01:00
Daniel Rudolf
8ed7ed0137 Version 1.0.0
```
* [New] On Christmas Eve, we are happy to announce Pico's first stable release!
        The Pico Community wants to thank all contributors and users who made
        this possible. Merry Christmas and a Happy New Year 2016!
* [New] Adding `$queryData` parameter to `Pico::getPageUrl()` method
* [Changed] Improve documentation
* [Changed] Moving `LICENSE` to `LICENSE.md`
* [Changed] Throw `LogicException` instead of `RuntimeException` when calling
            `Pico::setConfig()` after processing has started
* [Changed] Default theme now highlights the current page and shows pages with
            a title in the navigation only
* [Changed] #292: Ignore YAML parse errors (meta data) in `Pico::readPages()`
* [Changed] Various small improvements and changes...
* [Fixed] Support empty meta header
* [Fixed] #307: Fix path handling on Windows
```
2015-12-24 13:37:52 +01:00
Daniel Rudolf
d5689cc9af Update CHANGELOG.md 2015-12-24 13:37:31 +01:00
Daniel Rudolf
13632afa54 Update CHANGELOG.md 2015-12-23 16:19:48 +01:00
Daniel Rudolf
070da6d73f Improve "404.md not found" exception message 2015-12-23 16:18:16 +01:00
Daniel Rudolf
c3af40c3b9 PicoDeprecated: Fix LIB_DIR constant 2015-12-23 16:17:33 +01:00
Daniel Rudolf
5be2f8e597 Fix path handling on Windows
Fixes #307; thank you @bpgs for reporting!
2015-12-23 16:17:06 +01:00
Daniel Rudolf
14e5f3236c Partially revert fdf8167
Thanks @smcdougall for spotting
2015-12-21 12:50:31 +01:00
Daniel Rudolf
d2842956b2 Update CHANGELOG.md 2015-12-21 04:19:27 +01:00
Daniel Rudolf
9e4af2cba4 Merge pull request #294 from picocms/enhancement/YamlParseError2
Catch YAML parse errors (2)
2015-12-21 04:13:07 +01:00
Daniel Rudolf
43f953b67a Pico::readPages(): Call Pico::parseFileMeta() again when a exception is thrown 2015-12-21 04:08:35 +01:00
Daniel Rudolf
3798cbe478 Remove page title fallback 2015-12-21 04:05:25 +01:00
Daniel Rudolf
329049bd18 Fix empty meta header 2015-12-21 03:42:59 +01:00
Daniel Rudolf
67e1e8a8ea Default theme: Highlight active page + hide untitled pages
Related to #302
2015-12-21 03:31:34 +01:00
Daniel Rudolf
fdf81672a8 content-sample/index.md: Fix syntax 2015-12-21 03:24:32 +01:00
Daniel Rudolf
daca1b7495 Merge pull request #304 from smcdougall/master
Changed content to match docs changes.
2015-12-21 03:07:40 +01:00
Daniel Rudolf
b7fbf95b9d README.md: Fix EditDevDocs URL 2015-12-21 02:38:05 +01:00
Daniel Rudolf
5694cda14e Update website URLs 2015-12-20 19:44:59 +01:00
Daniel Rudolf
693d8ae4fa Update default theme footer 2015-12-16 21:51:23 +01:00
Daniel Rudolf
dc6ac516a8 Fix Pico::getPageUrl() 2015-12-13 22:27:27 +01:00
Daniel Rudolf
a138d23daf Throw LogicException instead of RuntimeException in Pico::setConfig() 2015-12-13 22:19:02 +01:00
Daniel Rudolf
0c85d70820 Adding $queryData parameter to Pico::getPageUrl() method
This allows developers to easily add custom query data to an page URL without the need to check enabled URL rewriting on their own. Since Twigs `link` filter is just an alias for Pico::getPageUrl(), theme designers can do the same with e.g. `{{ "index"|link("foo=bar&baz=42") }}`.

Theme designers, heads up! Don't forget that the result of the `link` filter is never escaped, so the result could contain unescaped ampersands when passing custom query data. You should pass the result to Twigs `escape` filter when using custom query data.
2015-12-13 22:14:05 +01:00
Daniel Rudolf
d9788c12e4 _build/generate-phpdoc.sh: Fix output formatting 2015-12-07 15:57:00 +01:00
Daniel Rudolf
93f7aaad8b Class docs: Use default markdown table format 2015-12-07 15:17:39 +01:00
smcdougall
1e2d500bfa Formatted lines to 80 characters 2015-12-06 19:28:37 -05:00
smcdougall
d8c16d974f Changed content to match docs changes. 2015-12-06 14:35:39 -05:00
theshka
fa4e095bdf Move LICENSE to LICENSE.md 2015-12-01 15:12:20 -06:00
Tyler Heshka
37082b21db fix typo/animated screenshot 2015-11-30 18:10:26 -06:00
Daniel Rudolf
f0a44910e7 Update README.md
Use automatically generated and updated license and version badges via http://shields.io/
2015-11-30 23:41:43 +01:00
theshka
5f9b070653 update README.md version 1.0.0-beta.2 2015-11-30 15:23:23 -06:00
theshka
c9c8db3e64 improve README.md 2015-11-30 15:00:40 -06:00
Daniel Rudolf
b23a777f5a Update CHANGELOG.md 2015-11-30 19:05:59 +01:00
Daniel Rudolf
2e6ce893e4 Version 1.0.0-beta.2
```
* [New] Introducing the `PicoTwigExtension` Twig extension
* [New] New `markdown` filter for Twig to parse markdown strings; Note: If you
        want to parse the contents of a page, use the `content` filter instead
* [New] New `sort_by` filter to sort an array by a specified key or key path
* [New] New `map` filter to get the values of the given key or key path
* [New] Introducing `index.php.dist` (used for pre-bundled releases)
* [New] Use PHP_CodeSniffer to auto-check source code (see `.phpcs.xml`)
* [New] Use Travis CI to generate phpDocs class docs automatically
* [Changed] Improve documentation
* [Changed] Improve table styling in default theme
* [Changed] Update composer version constraints; almost all dependencies will
            have pending updates, run `composer update`
* [Changed] Throw a RuntimeException when the `content` dir isn't accessible
* [Changed] Reuse `ParsedownExtra` object; new `onParsedownRegistration` event
* [Changed] `$config['rewrite_url']` is now always available
* [Changed] `DummyPlugin` class is now final
* [Changed] Remove `.git` dirs from `vendor/` when deploying
* [Changed] Various small improvements and changes...
* [Fixed] `PicoDeprecated`: Sanitize `content_dir` and `base_url` options when
          reading `config.php` in Picos root dir
* [Fixed] Replace `urldecode()` (deprecated RFC 1738) with `rawurldecode()`
          (RFC 3986) in `Page::evaluateRequestUrl()`
* [Fixed] #272: Encode URLs using `rawurlencode()` in `Pico::getPageUrl()`
* [Fixed] #274: Prevent double slashes in `base_url`
* [Fixed] #285: Make `index.php` work when installed as a composer dependency
* [Fixed] #291: Force `Pico::$requestUrl` to have no leading/trailing slash
```
2015-11-30 18:52:11 +01:00
Daniel Rudolf
268c41e7fa Update CHANGELOG.md 2015-11-30 18:49:05 +01:00
Daniel Rudolf
b47a806efd Merge pull request #296 from picocms/enhancement/refactor-phpdoc-deployment
Refactor phpDoc auto deployment
2015-11-30 18:33:19 +01:00
Daniel Rudolf
67bbae184b phpDocs auto deployment: Fix output formatting 2015-11-30 17:23:25 +01:00
Daniel Rudolf
47d2685c6d phpDocs auto deployment: Disable cache for releases 2015-11-30 16:54:45 +01:00
Daniel Rudolf
c88a26beff phpDocs auto deployment: Set default push strategy to simple 2015-11-30 15:26:09 +01:00
Daniel Rudolf
fe10bca56b phpDocs auto deployment: Fix output formatting 2015-11-30 15:24:00 +01:00
Daniel Rudolf
f5c721aba1 phpDocs auto deployment: Fix paths 2015-11-30 15:11:28 +01:00