Daniel Rudolf
da3d5a7e6f
.travis.yml: Enable Travis IRC notifications
9 years ago
Daniel Rudolf
6e891585ab
.travis.yml: Add PHP 7.1 to Travis CI
9 years ago
Daniel Rudolf
38615e444d
Use Pico::loadFileContent() in Pico::readPages()
9 years ago
Daniel Rudolf
bea610dbf4
Pico::evaluateRequestUrl(): Replace strpos()+substr() with strstr()
9 years ago
Daniel Rudolf
ac3f9b6742
Version 1.0.4
...
```
* [New] Add Pico's social icons to default theme
* [Changed] Improve documentation
* [Changed] Add CSS flexbox rules to default theme
* [Fixed] Fix handling of non-YAML 1-line front matters
* [Fixed] Fix responsiveness in default theme
```
9 years ago
Daniel Rudolf
53ebf0e39d
Update CHANGELOG.md
9 years ago
Daniel Rudolf
c44657ec4e
Update README.md: State that PHP 5.3.6+ is required
...
Resolves #372 , thanks @Prolegomenes for reporting this
9 years ago
Daniel Rudolf
3ebb51a55e
Improve class docs
...
Follow-up to 00603f6
9 years ago
Daniel Rudolf
00603f61fc
Add integrated 404 Not Found page
...
Resolves #299
9 years ago
Daniel Rudolf
a74db1ddbb
Add Pico::filterVariable() method
...
This method can be used to validate and filter input data and can be called via `Pico::getUrlParameter()` (URL GET parameters) and `Pico::getFormParameter()` (HTTP POST parameters). `Pico::filterVariable()` is basically a wrapper for PHP's `filter_var()` function with various compatibility extensions to allow theme developers to use its functionality in Twig templates. Therefore Pico 1.1 adds the `url_param` (`Pico::getUrlParameter()`) and `form_param` (`Pico::getFormParameter()`) Twig functions.
Resolves #305
9 years ago
Daniel Rudolf
0b4099fdb0
Improve class docs
9 years ago
Daniel Rudolf
f73c9622b8
Fix Pico::evaluateRequestUrl(): PHP's built-in webserver doesn't always set QUERY_STRING
9 years ago
Daniel Rudolf
f8e6d4fbd1
Update CHANGELOG.md
9 years ago
Daniel Rudolf
cdba66b951
Inline docs: Use Twig's array literal rather than the split filter for sort_by
9 years ago
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...
9 years ago
Daniel Rudolf
998ce379e1
Update _build/create-release-archive.sh
9 years ago
Daniel Rudolf
08fd7465bc
Update CHANGELOG.md
9 years ago
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
9 years ago
Daniel Rudolf
f9f998af65
Default theme: Fix default container width
9 years ago
Daniel Rudolf
73a0b40f72
Default theme: Fix hr element theming in IE8+
9 years ago
Daniel Rudolf
65a37f1464
Default theme: Add basic support for IE8
...
Forms still look broken and I definitly will *NOT* fix that. We don't support IE8 officially!
+ some minor improvements
9 years ago
Daniel Rudolf
51e8f31692
Default theme: Improve form theming
9 years ago
Daniel Rudolf
eef41698f1
Default theme: Add basic form themeing
9 years ago
Daniel Rudolf
d143105279
Default theme (JavaScript): Fix coding standard
9 years ago
Daniel Rudolf
518d9b5aef
Default theme: Fix rem unit
9 years ago
Daniel Rudolf
432710c400
Default theme: Improve compatibility with older browsers
...
Namely (it could hardly be different...) Internet Explorer - even IE11 still causes trouble. The default theme now supports IE9+, even older browsers will present broken markup. The sliding animation works with IE10+ (however, it is still usable, there's just no nice animation).
Furthermore this commit heavily improves the sliding process by allowing to abort the animation. I've updated Pico's screenshot in the , too.
9 years ago
Daniel Rudolf
6a13915f15
Refactor default theme
9 years ago
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.
9 years ago
Daniel Rudolf
2dada502b5
Update README.md
...
As suggested by @smcdougall (https://github.com/picocms/Pico/pull/352#issuecomment-235573290 )
9 years ago
Daniel Rudolf
827be2cb9c
Build System: Refactor source code and release archive creation
...
Resolves #313
9 years ago
Daniel Rudolf
1bf157049a
README.md: Link to about page instead of landing page
9 years ago
Daniel Rudolf
21bd18bcf0
Replace Pico::discoverRequestFile() with public Pico::resolveFilePath()
...
This allows plugins (e.g. PicoAdmin) to safely resolve file paths without the need of re-implementing the method.
9 years ago
Daniel Rudolf
e27be7a80f
Merge branch 'master' into pico-1.1
9 years ago
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".
```
9 years ago
Daniel Rudolf
aa1bc077a7
Add $dropIndex parameter to Pico::getPageUrl() method
...
This allows one to prevent Pico from removing the last "index" path component. Example use case: Pico's official admin plugin. We must distinguish between "content/sub.md" and "content/sub/index.md", otherwise it wouldn't be possible to edit both pages.
9 years ago
Daniel Rudolf
848e28b7e6
Declare Pico::getFiles() public
...
This might be a useful helper method for plugins (e.g. PicoAdmin)
9 years ago
Daniel Rudolf
bf1663cc1c
Add Pico's social icons to default theme
9 years ago
Daniel Rudolf
81dddc94cf
Revert "Update composer.json: Use Symfony YAML 3.1 and later"
...
Symfony YAML >= 3.0 requires PHP >= 5.5.9 and we're currently not planning to raise Pico's PHP requirement.
This reverts commit f251bc83ec
.
9 years ago
Daniel Rudolf
f251bc83ec
Update composer.json: Use Symfony YAML 3.1 and later
9 years ago
Daniel Rudolf
ddf3da0391
Merge branch 'master' into pico-1.1
...
Conflicts:
.htaccess
config/config.php.template
content-sample/index.md
lib/Pico.php
9 years ago
Daniel Rudolf
eeb43e131f
Pico::prepareFileContent(): Declare $variables variable
9 years ago
Daniel Rudolf
94279c57f8
Improve phpDocs class docs
10 years ago
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
```
10 years ago
Daniel Rudolf
d17f0a8a8f
Update CHANGELOG.md
10 years ago
Daniel Rudolf
b2a7c7623d
Sync docs
10 years ago
Daniel Rudolf
e32a46d6cf
Sync docs
10 years ago
Daniel Rudolf
86b2839660
Update .htaccess
...
Thanks @smcdougall , see ee5b4f0d56 (commitcomment-17304977)
10 years ago
Daniel Rudolf
0f8deda6a3
Update .htaccess
...
Sync with Pico 1.0.3; see ee5b4f0
10 years ago
Daniel Rudolf
ee5b4f0d56
.htaccess: Deny access to CHANGELOG.md, composer.json, composer.lock
...
See discussion in #343
10 years ago
Daniel Rudolf
749114df61
Build system: Update phpDoc list formatting
10 years ago