Commit graph

515 commits

Author SHA1 Message Date
Daniel Rudolf 53ebf0e39d
Update CHANGELOG.md 2016-10-04 13:15:50 +02:00
Daniel Rudolf c44657ec4e
Update README.md: State that PHP 5.3.6+ is required
Resolves #372, thanks @Prolegomenes for reporting this
2016-10-04 13:11:21 +02:00
Daniel Rudolf f8e6d4fbd1
Update CHANGELOG.md 2016-09-17 16:51:00 +02:00
Daniel Rudolf cdba66b951
Inline docs: Use Twig's array literal rather than the split filter for sort_by 2016-09-17 16:50:36 +02:00
Daniel Rudolf dedb09d3e9
iloveopensource.io is out of service
Don't know what happened and don't know whether Pico's new owner is using it anyway...
2016-09-02 22:54:24 +02:00
Daniel Rudolf 998ce379e1
Update _build/create-release-archive.sh 2016-08-24 21:50:03 +02:00
Daniel Rudolf 08fd7465bc
Update CHANGELOG.md 2016-08-24 21:41:54 +02:00
Daniel Rudolf f7dc9cb47c
Default theme: Add flexbox CSS rules
I was sure that I've added that some time ago... Strange... Thanks to IRC user tony1
2016-08-24 21:37:29 +02:00
Daniel Rudolf 39d4a7c2ae
Hotfix for responsiveness of default theme
I'll completely refactor the default theme for Pico 1.1... The CSS is just broken.
2016-08-01 16:51:22 +02:00
Daniel Rudolf 2dada502b5
Update README.md
As suggested by @smcdougall (https://github.com/picocms/Pico/pull/352#issuecomment-235573290)
2016-07-27 15:10:10 +02:00
Daniel Rudolf 827be2cb9c
Build System: Refactor source code and release archive creation
Resolves #313
2016-07-24 23:35:10 +02:00
Daniel Rudolf 1bf157049a
README.md: Link to about page instead of landing page 2016-07-24 20:15:35 +02:00
Daniel Rudolf fb4bdfe1fc
Fix Pico::parseFileMeta() for non-YAML 1-liners
\Symfony\Component\Yaml\Parser::parse() returns the unchanged value when a 1-liner string which is no valid YAML is passed. Assume this string to be the page title. Thus the following page will work now:

```
---
This is the title
---

# Example page

{{ meta.title }} is going to be "This is the title" - or "%meta.title%" == "This is the title".
```
2016-07-15 03:13:58 +02:00
Daniel Rudolf bf1663cc1c
Add Pico's social icons to default theme 2016-07-06 01:26:29 +02:00
Daniel Rudolf 94279c57f8
Improve phpDocs class docs 2016-05-23 15:13:56 +02:00
Daniel Rudolf 79bb543c46
Version 1.0.3
```
* [Changed] Improve documentation
* [Changed] Heavily extend nginx configuration docs
* [Changed] Add CSS rules for definition lists to default theme
* [Changed] Always use `on404Content...` execution path when serving a `404.md`
* [Changed] Deny access to `.git` directory, `CHANGELOG.md`, `composer.json`
            and `composer.lock` (`.htaccess` file)
* [Changed] Use Pico's `404.md` to deny access to `.git`, `config`, `content`,
*           `content-sample`, `lib` and `vendor` dirs (`.htaccess` file)
* [Fixed] #342: Fix responsiveness in default theme
* [Fixed] #344: Improve HTTPS detection with proxies
* [Fixed] #346: Force HTTPS to load Google Fonts in default theme
```
2016-05-11 23:33:04 +02:00
Daniel Rudolf d17f0a8a8f
Update CHANGELOG.md 2016-05-11 23:32:26 +02:00
Daniel Rudolf b2a7c7623d
Sync docs 2016-05-11 23:28:26 +02:00
Daniel Rudolf e32a46d6cf
Sync docs 2016-05-06 23:17:17 +02:00
Daniel Rudolf 86b2839660
Update .htaccess
Thanks @smcdougall, see ee5b4f0d56 (commitcomment-17304977)
2016-04-29 18:02:19 +02:00
Daniel Rudolf ee5b4f0d56
.htaccess: Deny access to CHANGELOG.md, composer.json, composer.lock
See discussion in #343
2016-04-27 21:02:20 +02:00
Daniel Rudolf 749114df61
Build system: Update phpDoc list formatting 2016-04-27 19:00:44 +02:00
Daniel Rudolf 79a14799bb
Build system: Add phpDoc list 2016-04-27 16:49:38 +02:00
Daniel Rudolf 4c0366fa49
Build system: Move generate-version.sh 2016-04-27 16:49:10 +02:00
Daniel Rudolf 4d3eace1af
README.md: Update upgrade URL 2016-04-27 16:47:13 +02:00
Daniel Rudolf 31e55ca24a
.htaccess: Pass full URL to Pico when requesting content, lib... dirs
This allows Pico to e.g. serve content/config.md when http://example.com/pico/config/ is requested
2016-04-24 04:14:58 +02:00
Daniel Rudolf 8b1539640d
Update CHANGELOG.md 2016-04-24 04:06:47 +02:00
Daniel Rudolf 49cb6c144a
Use Pico's 404.md to deny access to lib, content... dirs 2016-04-24 04:06:40 +02:00
Daniel Rudolf 6234be88b0
Always use on404Content... execution path when serving a 404.md 2016-04-24 04:06:04 +02:00
Daniel Rudolf 3a36dbd934
Build system: Add automatic version file updates for picocms.org 2016-04-24 03:25:55 +02:00
Daniel Rudolf 4140ad48ac Update CHANGELOG.md 2016-04-21 19:19:03 +02:00
Daniel Rudolf 4e215fe522 Default theme: Force HTTPS to load Google Fonts
See https://github.com/picocms/Pico/pull/346#issuecomment-213000364 (via #346 / d6accc2), thanks @smcdougall
2016-04-21 19:18:15 +02:00
Daniel Rudolf 2d728d56af Update CHANGELOG.md 2016-04-21 14:16:14 +02:00
Daniel Rudolf 32be061cd6 Merge pull request #346 from ghuron/patch-1
Use http or https depending on page access
2016-04-21 14:14:41 +02:00
ghuron d6accc23ee Use http or https depending on page access 2016-04-21 14:58:47 +03:00
Daniel Rudolf 8dfb1b14c7
Improve HTTPS detection with proxies
Fixes #344. Thanks @Robby-

Implementation details taken from Symfony 3.0.4, method \Symfony\Component\HttpFoundation\Request::isSecure(), see https://github.com/symfony/symfony/blob/v3.0.4/src/Symfony/Component/HttpFoundation/Request.php#L1169-L1192
2016-04-17 02:44:41 +02:00
Daniel Rudolf 27d32430ee Update CHANGELOG.md 2016-04-16 13:57:18 +02:00
Daniel Rudolf 2678473e09 Merge pull request #342 from ErickMR19/patch-1
Update style.css
2016-04-16 13:55:47 +02:00
Erick Madrigal Ríos 0e632bdaa1 Update style.css
Responsive design is currently broken when the width is between 768px and 850px, because the width of inner class is set fixed at 850px
2016-04-16 01:14:19 -06:00
Daniel Rudolf d8f9166918
Fix nginx configuration example
Thanks Robby (via IRC)
2016-04-15 17:25:20 +02:00
Daniel Rudolf 6557f5684d Update CHANGELOG.md 2016-04-04 13:48:29 +02:00
Daniel Rudolf 3fbcea7837 Default theme: Add definition list styling
Resolves #339. Thanks @Marcussacapuces91
2016-04-04 13:46:19 +02:00
Daniel Rudolf 2d2491e36f Update CHANGELOG.md 2016-03-24 17:42:40 +01:00
Daniel Rudolf b31c93acf6 Inline docs: Fix blogging tutorial
Fixes #338. Thank you @marctilman
2016-03-24 17:41:26 +01:00
Daniel Rudolf 46781c7c7b Version 1.0.2
```
* [Changed] Various small improvements and changes...
* [Fixed] Check dependencies when a plugin is enabled by default
* [Fixed] Allow `Pico::$requestFile` to point to somewhere outside `content_dir`
* [Fixed] #336: Fix `Date` meta header parsing with ISO-8601 datetime strings
```
2016-03-16 14:36:08 +01:00
Daniel Rudolf 92b72104da Update CHANGELOG.md 2016-03-16 14:35:41 +01:00
Daniel Rudolf 5534e401f7 Update CHANGELOG.md 2016-03-16 14:30:45 +01:00
Daniel Rudolf bbd8ef8847 Fix Date meta header parsing with ISO-8601 datetime strings
Symfony YAML interprets ISO-8601 datetime strings and returns timestamps instead of the string. This behavior conforms to the YAML standard, i.e. this is no bug of Symfony YAML.

Fixes #336. Thanks @csholmq for reporting this.
2016-03-16 14:27:42 +01:00
Daniel Rudolf 0a4e7443d2 Fix class doc typos 2016-03-16 13:33:52 +01:00
Daniel Rudolf 8426a53f63 Allow Pico::$requestFile to point to somewhere outside content_dir
Bugfix; Refactoring Pico::load404Content() and Pico::discoverCurrentPage()
2016-03-03 00:04:31 +01:00