Daniel Rudolf
e5b0ec6d7b
Merge pull request #252 from PhrozenByte/pico1.0
...
Pico 1.0
2015-11-06 19:06:39 +01:00
Daniel Rudolf
cd1dc07d81
Sync docs
2015-11-06 17:50:22 +01:00
theshka
82cbe37009
fix typos
2015-11-06 10:15:28 -06:00
Daniel Rudolf
e3e0300025
Fix typo
2015-11-06 02:02:04 +01:00
Daniel Rudolf
cd7cd374bb
Add content filter to get the parsed contents of a page (lazy loading)
2015-11-06 01:08:31 +01:00
Daniel Rudolf
b5d54d05c4
Update .travis.yml: Name release archives "pico-release-$TRAVIS_TAG.tar.gz"
...
Should make it easier for a ordinary user to distinct source code and release 😃
2015-11-05 21:58:45 +01:00
Daniel Rudolf
19f708e572
Sync documentation
2015-11-04 22:44:19 +01:00
Daniel Rudolf
af8de56512
Fix typos
2015-11-04 19:50:44 +01:00
Daniel Rudolf
2a43b21bae
Enable PicoDeprecated if no plugins are loaded
2015-11-04 19:44:20 +01:00
Daniel Rudolf
ccac8dd4d3
Force trailing slash of $config['base_url'] and force existance of $config['timezone']
2015-11-04 19:43:54 +01:00
Daniel Rudolf
e3a6116c79
Sync documentation
2015-11-04 19:43:06 +01:00
Daniel Rudolf
90128f4946
Fix possible foreach on null errors
2015-11-03 23:49:34 +01:00
Daniel Rudolf
82e0ca5216
Small changes
...
- Use Travis build status
- Update version number in config template
2015-11-03 17:35:33 +01:00
Daniel Rudolf
8164038ff7
Use Markdown for CHANGELOG.md
2015-11-03 17:34:41 +01:00
Daniel Rudolf
48264fce3d
Move license.txt and changelog.txt
2015-11-03 17:32:58 +01:00
Daniel Rudolf
365333c62e
Update content-sample/index.md
2015-11-03 16:35:27 +01:00
Daniel Rudolf
ffc59362be
README.md: Add Getting Help section
2015-11-03 15:50:39 +01:00
Daniel Rudolf
2ab361106c
Update content-sample/index.md
2015-11-03 00:41:10 +01:00
Daniel Rudolf
d65eb553ad
Update README.md
2015-11-03 00:09:31 +01:00
Daniel Rudolf
641a5d1a02
Merge branch 'pico1.0' of github.com:PhrozenByte/Pico into pico1.0
2015-11-02 23:44:19 +01:00
Daniel Rudolf
0e0eb567fa
Update CONTRIBUTING.md
...
Add "Keep documentation in sync" section
2015-11-02 23:43:40 +01:00
Daniel Rudolf
92adb27da5
Update README.md
...
- New Contributing section
- Various small improvements
2015-11-02 22:52:51 +01:00
Daniel Rudolf
8db3bc5a18
Update changelog.txt to reflect ebe007b
2015-11-02 21:52:08 +01:00
Daniel Rudolf
a1331e7bd7
Update inline docs to reflect ebe007b
2015-11-02 20:00:48 +01:00
Daniel Rudolf
ebe007bd78
Guess content directory
...
As pointed out by @Lomanic (see https://github.com/picocms/Pico/pull/260#issuecomment-153091890 ; thank you btw\!) we actually have to explain users how to change the content directory. This runs contrary to our "stupidly simple" claim. So Pico now simply uses the `content` directory when it exists...
2015-11-02 19:48:58 +01:00
Daniel Rudolf
2597e0dd91
Move upgrade instructions from inline docs to README.md in a more generic form
2015-11-02 19:14:07 +01:00
Daniel Rudolf
85d7c510f9
Update CONTRIBUTING.md
2015-11-02 03:16:37 +01:00
Daniel Rudolf
8da62f4aad
PicoDeprecated: Making $config globally accessible again
...
This was dropped without a replacement with Pico 0.9. I checked all changes since Pico 0.8 manually, as far as I can tell there should be no more surprises regarding BC... Thanks @Lomanic for rubbing our nose in the fact that we should check this! I also added the missing changes of Pico 0.9 to changelog.txt
2015-10-31 01:03:24 +01:00
Daniel Rudolf
9a702415fb
Remove return $config
in config/config.php
...
I always thought that doing this is pretty unusual... But now it simply breaks BC - please refer to @Lomanic's [comment](https://github.com/picocms/Pico/pull/260#issuecomment-152610857 ). Using a return statement has no advantages, but increases the probability that something goes wrong (e.g. a clueless user removes the return statement). It was introduced with 23b90e2
, but we never released it ([v0.9.1](4cb2b24fae/lib/pico.php (L188-L189)
)). Removing the return statement shouldn't cause any problems even for users which installed Pico in the meantime. As a result we don't break BC and moreover remove a prior BC break 😃
2015-10-31 00:32:08 +01:00
Daniel Rudolf
afb55b9cb6
Improve class docs
2015-10-29 18:13:35 +01:00
Daniel Rudolf
e6681ea903
Improve class docs
...
Also add some ToDos to inline docs
2015-10-29 18:07:45 +01:00
Daniel Rudolf
7a69fdf66d
Update CONTRIBUTING.md
2015-10-29 17:16:57 +01:00
Daniel Rudolf
d29e2c1f95
Add CONTRIBUTING.md
...
The file mostly contains adapted contents @theska wrote for our website and the great CONTRIBUTING.md of phpDocumentor (https://github.com/phpDocumentor/phpDocumentor2/blob/v2.8.5/CONTRIBUTING.md )
2015-10-29 16:57:25 +01:00
Daniel Rudolf
54ce5b9699
Various small improvements
...
- Improve class docs for phpDocumentor
- Add missing onPagesLoading() event to DummyPlugin
- Add some TODOs to the UPGRADE section of the docs
2015-10-29 02:55:30 +01:00
Daniel Rudolf
f1fc4c979e
Revert commit a068850
...
According to travis-ci/travis-ci#2111 and some own testing, it isn't possible to combine branch whitelists with tag-based auto deployment. Unfortunately it is necessary to whitelist the gh-pages branch, because Travis implicitly blacklists it.
2015-10-29 01:19:43 +01:00
Daniel Rudolf
638638f5a4
Add UPGRADE section to docs
...
This is still work in progress
2015-10-29 00:57:54 +01:00
Daniel Rudolf
38081b3d52
Sync docs with website
2015-10-29 00:54:01 +01:00
Daniel Rudolf
a068850578
Update .travis.yml
...
Let Travis build branches master and gh-pages only
2015-10-29 00:37:59 +01:00
Daniel Rudolf
43f9590d5e
Update .travis.yml
...
Use Travis container-based infrastructure
2015-10-28 17:34:10 +01:00
Daniel Rudolf
360e7ab91f
Update .travis.yml
...
Use $TRAVIS_TAG for the "binary" filename
2015-10-28 17:26:43 +01:00
Daniel Rudolf
a068a1f9d7
Update changelog.txt
...
- Add security section
- Add Travis CI
2015-10-28 15:11:34 +01:00
Daniel Rudolf
efcbbb8ce0
Update .travis.yml
...
Build on picocms/Pico only
2015-10-28 14:38:02 +01:00
Daniel Rudolf
d3a1308556
Update .travis.yml
...
Just adding some features inspired by other projects using Travis, e.g. a simple PHP syntax checker with various PHP versions. A short peak into @dav-m85 link leads me to think that running composer and creating the archive should be done with before_deploy rather than script.
2015-10-28 12:53:56 +01:00
David "Paztek" Moreau
3e0161b51a
Create .travis.yml
2015-10-28 12:37:46 +01:00
Daniel Rudolf
647a7b5bb7
Trap empty $requestFileParts
2015-10-28 01:41:26 +01:00
Daniel Rudolf
9e2604af85
Prevent content_dir breakouts using malicious request URLs
...
It's appalling that nobody (including me!) thought about that!
2015-10-28 01:36:28 +01:00
Daniel Rudolf
de6b3a7c28
Fix Markdown %meta.*% replacement
...
Don't even try to use arrays here...
2015-10-28 01:08:45 +01:00
Daniel Rudolf
a654b1585b
phpDocumentor 2.8.5 currently doesn't support the Generic notations
...
This will likely be implemented as soon as the proposed PSR-5: PHPDoc is accepted
2015-10-27 01:48:58 +01:00
Daniel Rudolf
92af554d14
Improve inline code comments; preparing use of phpDocumentor
2015-10-27 01:39:28 +01:00
Daniel Rudolf
4171f9a031
Move URL Rewriting to Config section
2015-10-10 00:11:56 +02:00