Commit graph

448 commits

Author SHA1 Message Date
Daniel Rudolf 1c2f6a1b23 Update class docs 2016-01-25 19:31:53 +01:00
Daniel Rudolf dbd8fa8c2f Merge pull request #315 from picocms/enhancement/static-badges
Add static shields.io badge generator
2016-01-25 19:28:36 +01:00
Daniel Rudolf ce84a8618c Build system: Minor code refactoring 2016-01-17 21:26:06 +01:00
Daniel Rudolf 10495c2ce5 _build/generate-badge.sh: Use curl instead of wget
After playing around a little bit with a Ubuntu 12.04 LTS virtual machine, `curl` came in my mind... I've absolutetly no idea why `curl` works, but `wget` does not (it's an issue with OpenSSL and both use it the same way...), but anyway - it works
2016-01-16 00:06:12 +01:00
Daniel Rudolf 0f85f85367 Build scripts: Fix exit codes 2016-01-14 22:57:31 +01:00
Daniel Rudolf 32ea0508cf _build/github-deploy.sh: Fix exit code on conflicting remote commit 2016-01-14 22:49:31 +01:00
Daniel Rudolf f46d0b978c _build/generate-badge.sh: Skip on emty file 2016-01-14 16:33:42 +01:00
Daniel Rudolf 9f0c7bde5d Revert "_build/generate-badge.sh: Connect to shields.io using SSLv3"
This reverts commit 1561786f31.
2016-01-14 16:24:10 +01:00
Daniel Rudolf 1561786f31 _build/generate-badge.sh: Connect to shields.io using SSLv3
This is necessary due to a strange TLS bug in Ubuntu 12.04 LTS used by Travis CI. See https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/861137 for details.
2016-01-14 16:02:34 +01:00
Daniel Rudolf 4f60289d36 _build/deploy-phpdoc-release.sh: Fix version badge status 2016-01-14 15:16:14 +01:00
Daniel Rudolf 024f994d9e _build/deploy-phpdoc-branch.sh: Don't forget to commit phpDocs cache 2016-01-14 14:51:16 +01:00
Daniel Rudolf 8c24e32f10 Build scripts: Fix formatting 2016-01-14 14:16:24 +01:00
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