Daniel Rudolf
2535df7cfe
Add index.php.dist
...
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
10 years ago
Daniel Rudolf
abce8b84b8
Merge branch 'master' into enhancement/build-release
...
Conflicts:
index.php
10 years ago
Daniel Rudolf
cb15ea7493
Amend #286
10 years ago
Daniel Rudolf
86d1f713f2
Move PHP version check to index.php
10 years ago
Daniel Rudolf
81138ce06a
Merge branch 'master' of github.com:picocms/Pico
10 years ago
Daniel Rudolf
f97cd83cc8
Merge pull request #286 from dmelo/composer-compat
...
change Pico's default `index.php` to be compatible with `composer require picocms/pico`
10 years ago
Daniel Rudolf
31acaffa67
Add PHP_CodeSniffer
10 years ago
Daniel Rudolf
e14c007789
Default theme: Replace tabs with 4-space-indentation
10 years ago
Daniel Rudolf
913cf3816f
Plugins: Improve onPagesLoaded() code styling
10 years ago
Daniel Rudolf
364b9066d9
PicoDeprecated: Use $GLOBALS superglobal instead of global keyword
10 years ago
Daniel Rudolf
81821e7811
Improve Pico::getBaseUrl() code styling
10 years ago
theshka
1fae7ab3df
* [New] added PHP_VERSION check to Pico::run()
10 years ago
Diogo Oliveira de Melo
70d813eafe
change the way to call autoload.php.
...
- As suggested by @theshka , this code first verify if Pico is being used
as local composer install, then verify if it is being used as a composer
library.
10 years ago
Daniel Rudolf
54305c4d33
phpDocs auto deployment: Remove pull requests support
...
We can deploy phpDocs in safe environments only, but "safe environment" is equivalent to "pull a local branch", therefore we can simply use that local branch to deploy the phpDocs. There's no need for a explicit pull request support.
10 years ago
Daniel Rudolf
8005efdbbb
phpDocs auto deployment: Remove latest commit check for pull requests
...
See https://developer.github.com/v3/pulls/#get-a-single-pull-request
> Each time the pull request receives new commits, GitHub creates a merge
> commit to *test* whether the pull request can be automatically merged into
> the base branch. (This *test* commit is not added to the base branch or the
> head branch.) The attribute holds the SHA of the *test*
> merge commit; however, this attribute is deprecated and is scheduled for
> removal in the next version of the API.
holds the SHA of the merge commit and not of the
latest commit of the head branch, therefore the comparison fails. We could
theoretically compare it against this attribute, but as of its deprecation,
this is a pretty bad idea. Thus we remove the latest commit check for pull
requests.
10 years ago
Daniel Rudolf
45dcf32fa7
phpDocs auto deployment: Support pull requests in a safe environment
10 years ago
Daniel Rudolf
6e0b2aab34
phpDocs auto deployment: Disable for pull requests with a safe environment
...
Pull requests with a safe environment are primarly local branches
10 years ago
Daniel Rudolf
5af160c31d
phpDocs auto deployment: Use $GITHUB_OAUTH_TOKEN to determine latest commit
10 years ago
Daniel Rudolf
869a697977
Merge branch 'master' into enhancement/build-release
...
Conflicts:
.travis.yml
10 years ago
Daniel Rudolf
17dbc4cf18
phpDocs auto deployment: Cleanup
10 years ago
Daniel Rudolf
2306010ba7
phpDocs auto deployment: Fix phpDocs generation
...
phpDocumentor acts very strange when relative paths are involved...
10 years ago
Daniel Rudolf
3ac53d2b4c
phpDocs auto deployment: Improve title of class docs for branches
10 years ago
Daniel Rudolf
38d2dd2e20
Travis: Remove .git dirs from vendor/ dir when deploying
...
See https://github.com/picocms/Pico/issues/289#issuecomment-159722672 - thanks to @joshas for spotting
10 years ago
Daniel Rudolf
137b2ba3a6
phpDocs auto deployment: Fix deployment of branches with slashes
10 years ago
Daniel Rudolf
236ae43dab
phpDocs auto deployment: Fix deployment of branches
10 years ago
Daniel Rudolf
c198333de7
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
728873c5a4
build/deploy-phpdoc.sh: Fix credentials
10 years ago
Daniel Rudolf
3c68095075
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
3852585ba0
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
9a46033141
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
32120e5bbc
Fix build/generate-phpdoc.sh permissions
10 years ago
Daniel Rudolf
e4165d35b1
Fix .travis.yml
10 years ago
Daniel Rudolf
5862825265
Travis: Deploy phpDocs on PHP 5.3 only and allow multiple branches
10 years ago
Daniel Rudolf
c9387610f3
Auto-generate phpDoc when committing to master
10 years ago
Daniel Rudolf
1f16be05e3
Merge branch 'master' into enhancement/build-release
10 years ago
Daniel Rudolf
4ddde6b9fb
Travis: Deploy on every repo, forks usually don't setup Travis
10 years ago
Daniel Rudolf
d503cea954
Travis: Don't test vendor PHP files
10 years ago
Daniel Rudolf
b198ad48c6
Travis: Allow PHP nightly builds to fail
10 years ago
Daniel Rudolf
18fc928797
Merge branch 'master' into enhancement/build-release
...
Conflicts:
.travis.yml
10 years ago
Daniel Rudolf
20387e0bf9
Make DummyPlugin class final
...
Plugin developers MUST NOT extend from DummyPlugin, they SHOULD extend from AbstractPicoPlugin
10 years ago
Daniel Rudolf
876a500ecf
Improve .gitignore
10 years ago
Daniel Rudolf
840d41bca5
Improve type hinting
10 years ago
Daniel Rudolf
2982f5deb9
Optimize composer autoloader before deploying
...
This converts PSR-0/PSR-4 autoloading to classmap to get a faster autoloader (up to 20% performance increase)
10 years ago
Diogo Oliveira de Melo
85442266b5
update CHANGELOG
10 years ago
Diogo Oliveira de Melo
9e752c1d29
It works when Pico is installed as a dependency
10 years ago
theshka
80049ed966
update build & release section for auto-docs
10 years ago
Daniel Rudolf
9712ae2a97
Fix permissions of build/deploy-phpdoc.sh
10 years ago
Daniel Rudolf
7f4ad75245
Refactor phpDoc auto-deployment
10 years ago
Daniel Rudolf
bd24d518f2
Update .gitignore
10 years ago
theshka
e79388118c
Merge branch 'feature/auto-docs' into enhancement/build-release
10 years ago