Commit graph

461 commits

Author SHA1 Message Date
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
Daniel Rudolf 76f243f925 Refactor phpDoc deployment
This should prevent empty phpDoc updates like 55b4a2b
2015-11-30 14:53:10 +01:00
Daniel Rudolf 771bdacf71 Inline docs: Fix navigation loop example in Blogging section 2015-11-30 03:24:37 +01:00
theshka 99283e90a4 Implement new sort_by filters 2015-11-29 20:15:47 -06:00
theshka c4f9eb8d4e Merge branch 'master' of https://github.com/picocms/Pico into feature/bootstrap-theme 2015-11-29 20:13:47 -06:00
Daniel Rudolf 9a7e53328d Merge pull request #273 from picocms/feature/PicoTwigExtension
Add map and sort_by Twig filters
2015-11-30 03:11:13 +01:00
theshka 3c10c8ac0b fix typo 2015-11-29 19:59:34 -06:00
theshka 02ac0c276b Merge branch 'feature/PicoTwigExtension' of https://github.com/picocms/Pico into feature/PicoTwigExtension 2015-11-29 19:53:05 -06:00
Daniel Rudolf 3d4c4e1669 Fix _build/generate-phpdoc.sh 2015-11-30 02:02:53 +01:00
Tyler Heshka cf71f36651 Merge pull request #295 from picocms/enhancement/isolate-build
Isolate build-related files from source
2015-11-29 18:56:36 -06:00
Daniel Rudolf d19ab3814c Merge branch 'enhancement/isolate-build' of github.com:picocms/Pico into enhancement/isolate-build
Conflicts:
	.phpdoc.xml
2015-11-30 00:54:21 +01:00
Daniel Rudolf 4be51a7bee Refactor phpDoc generation 2015-11-30 00:52:19 +01:00
theshka 49e5e44b4a update .phpdoc.xml 2015-11-29 16:28:33 -06:00
theshka ff02f34e23 Merge branch 'enhancement/isolate-build' of https://github.com/picocms/Pico into enhancement/isolate-build 2015-11-29 15:57:21 -06:00
theshka 1ea81d4b41 add .phpdoc.xml and move ignore list 2015-11-29 15:55:25 -06:00
Daniel Rudolf 4f90296295 Update .phpcs.xml: Check $PWD by default 2015-11-29 22:55:05 +01:00
Daniel Rudolf 272a13f0f2 Update CONTRIBUTING.md: Use Pico's .phpcs.xml instead of PSR2 standard for PHP_CodeSniffer 2015-11-29 22:54:18 +01:00
theshka 2465906151 Add theme_config array to Pico::loadConfig() 2015-11-29 15:29:43 -06:00
Daniel Rudolf 24b58175a4 Inline docs: Update Blogging section to use "sort_by" filter 2015-11-29 22:28:18 +01:00
theshka f1048d2366 Add theme_config array to template 2015-11-29 15:21:33 -06:00
Daniel Rudolf be46e19677 Merge branch 'master' into feature/PicoTwigExtension
Conflicts:
	CHANGELOG.md
2015-11-29 22:19:57 +01:00
Daniel Rudolf 2ce422d907 PicoTwigExtension: Refactor error handling 2015-11-29 22:18:41 +01:00
Daniel Rudolf 9aaab5de1a Refactor Pico::parseFileMeta() 2015-11-29 21:58:30 +01:00
theshka 1dc410425f Isolate build-related files from source
* [Changed] rename `phpcs.xml` -> `.phpcs.xml`
* [Changed] rename `build/` dir -> `_build/`
* [Changed] update paths in `.gitignore`
* [Changed] update paths in `.travis.yml`
* [Changed] update paths in `.sh` scripts
2015-11-29 14:55:55 -06:00
theshka e50cc1404b delete style.css 2015-11-29 14:00:48 -06:00
Daniel Rudolf 5ea94d06e6 Catch YAML parse errors 2015-11-29 20:58:41 +01:00
theshka 782139cf08 Merge remote-tracking branch 'upstream/master' into feature/bootstrap-theme
Conflicts:
	themes/default/style.css
2015-11-29 13:53:33 -06:00
theshka c6b86381f0 * [New] add blog example to default theme
* [New] blog, sidebar post, and full-width post layouts
* [New] blog/ directory in content-sample with 2 posts demo'ing layout
2015-11-29 13:40:53 -06:00
theshka a484681e38 * [New] added font-awesome stylesheet from MaxCDN
* [Changed] demonstrate twig by splitting and including html snippets
* [Changed] moved stylesheet to assets/css/
2015-11-29 13:37:29 -06:00
Daniel Rudolf 6cb378e83f Inline docs: Add link to YAML wikipedia article
Official resources about YAML are ... - impossible to understand for a ordinary user.
2015-11-29 20:26:43 +01:00
theshka 9b31a54adc Merge branch 'enhancement/build-release' 2015-11-29 11:20:54 -06:00
theshka bef150221b CONTRIBUTING.md: Final tocuhes on Build & Release section. 2015-11-29 11:11:26 -06:00
Daniel Rudolf 372979e45b CONTRIBUTING.md: Update build & release process 2015-11-29 17:18:46 +01:00
Daniel Rudolf b18464adba CONTRIBUTING.md: Convert Issues template to continuous text 2015-11-29 17:00:05 +01:00
Daniel Rudolf 2d9b5aa1a2 Fix operators 2015-11-29 16:39:03 +01:00
Daniel Rudolf 698a249d45 Force Pico::$requestUrl to have no leading/trailing slash
Fixes #291
2015-11-27 22:52:45 +01:00
Daniel Rudolf 2eed14103a Add @codingStandardsIgnoreFile to index.php.dist
The comments of the "instance Pico" section violate PSR-2, but we want to keep them anyway
2015-11-27 20:36:40 +01:00
Daniel Rudolf e088f6c6fa Update phpcs.xml 2015-11-27 20:31:17 +01:00
Daniel Rudolf b50023c8ad Merge branch 'enhancement/build-release' of github.com:picocms/Pico into enhancement/build-release 2015-11-27 20:27:26 +01:00
Daniel Rudolf 2535df7cfe Add index.php.dist
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
2015-11-27 20:24:29 +01:00
Daniel Rudolf 98022a5a8f Update CHANGELOG.md 2015-11-27 20:21:13 +01:00