-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 47d1ac7
Showing
24 changed files
with
1,030 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
core.dev: | ||
title: Core | ||
php: | ||
build: system | ||
vhost: | ||
servername: core.dev | ||
serveraliases: | ||
- core.dev | ||
ssl: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# For more information about the properties used in | ||
# this file, please see the EditorConfig documentation: | ||
# http://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = tab | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[{.travis.yml,package.json}] | ||
# The indent size used in the `package.json` file cannot be changed | ||
# https://github.com/npm/npm/pull/3180#issuecomment-16336516 | ||
indent_size = 2 | ||
indent_style = space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
assets/* | ||
_ss_environment.php | ||
tools/phing-metadata | ||
silverstripe-cache | ||
.buildpath | ||
.project | ||
.settings | ||
.idea | ||
.DS_Store | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[submodule "cms"] | ||
path = cms | ||
url = [email protected]:silverstripe/silverstripe-cms.git | ||
[submodule "framework"] | ||
path = framework | ||
url = [email protected]:silverstripe/silverstripe-framework.git | ||
[submodule "themes/simple"] | ||
path = themes/simple | ||
url = [email protected]:silverstripe-themes/silverstripe-simple.git | ||
[submodule "core"] | ||
path = core | ||
url = [email protected]:dynamic/core.git | ||
[submodule "flexslider"] | ||
path = flexslider | ||
url = [email protected]:dynamic/SilverStripe-FlexSlider.git | ||
[submodule "userforms"] | ||
path = userforms | ||
url = [email protected]:silverstripe/silverstripe-userforms.git | ||
[submodule "tagfield"] | ||
path = tagfield | ||
url = [email protected]:silverstripe-labs/silverstripe-tagfield.git | ||
[submodule "core-gallery"] | ||
path = core-gallery | ||
url = [email protected]:dynamic/core-gallery.git | ||
[submodule "core-events"] | ||
path = core-events | ||
url = [email protected]:dynamic/core-events.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
### SILVERSTRIPE START ### | ||
|
||
# Deny access to templates (but allow from localhost) | ||
<Files *.ss> | ||
Order deny,allow | ||
Deny from all | ||
Allow from 127.0.0.1 | ||
</Files> | ||
|
||
# Deny access to IIS configuration | ||
<Files web.config> | ||
Order deny,allow | ||
Deny from all | ||
</Files> | ||
|
||
# Deny access to YAML configuration files which might include sensitive information | ||
<Files ~ "\.ya?ml$"> | ||
Order allow,deny | ||
Deny from all | ||
</Files> | ||
|
||
# Route errors to static pages automatically generated by SilverStripe | ||
ErrorDocument 404 /assets/error-404.html | ||
ErrorDocument 500 /assets/error-500.html | ||
|
||
<IfModule mod_rewrite.c> | ||
|
||
# Turn off index.php handling requests to the homepage fixes issue in apache >=2.4 | ||
<IfModule mod_dir.c> | ||
DirectoryIndex disabled | ||
</IfModule> | ||
|
||
SetEnv HTTP_MOD_REWRITE On | ||
RewriteEngine On | ||
|
||
# Enable HTTP Basic authentication workaround for PHP running in CGI mode | ||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
|
||
# Deny access to potentially sensitive files and folders | ||
RewriteRule ^vendor(/|$) - [F,L,NC] | ||
RewriteRule silverstripe-cache(/|$) - [F,L,NC] | ||
RewriteRule composer\.(json|lock) - [F,L,NC] | ||
|
||
# Process through SilverStripe if no file with the requested name exists. | ||
# Pass through the original path as a query parameter, and retain the existing parameters. | ||
RewriteCond %{REQUEST_URI} ^(.*)$ | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule .* framework/main.php?url=%1 [QSA] | ||
|
||
# If framework isn't in a subdirectory, rewrite to installer | ||
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$ | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule . %1/install.php? [R,L] | ||
|
||
</IfModule> | ||
### SILVERSTRIPE END ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## Overview | ||
|
||
Base project folder for a SilverStripe ([http://silverstripe.org](http://silverstripe.org)) installation. Requires additional modules to function: | ||
|
||
* [`framework`](http://github.com/silverstripe/silverstripe-framework): Module including the base framework | ||
* [`cms`](http://github.com/silverstripe/silverstripe-cms): Module including a Content Management System | ||
* `themes/simple` (optional) | ||
|
||
## Installation ## | ||
|
||
See [installation on different platforms](http://doc.silverstripe.org/framework/en/installation/), | ||
and [installation from source](http://doc.silverstripe.org/framework/en/installation/from-source). | ||
|
||
## Bugtracker ## | ||
|
||
Bugs are tracked on github.com ([framework issues](https://github.com/silverstripe/silverstripe-framework/issues), | ||
[cms issues](https://github.com/silverstripe/silverstripe-cms/issues)). | ||
Please read our [issue reporting guidelines](http://doc.silverstripe.org/framework/en/misc/contributing/issues). | ||
|
||
## Development and Contribution ## | ||
|
||
If you would like to make changes to the SilverStripe core codebase, we have an extensive [guide to contributing code](http://doc.silverstripe.org/framework/en/misc/contributing/code). | ||
|
||
## Links ## | ||
|
||
* [Changelogs](http://doc.silverstripe.org/framework/en/changelogs/) | ||
* [Bugtracker: Framework](https://github.com/silverstripe/silverstripe-framework/issues) | ||
* [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues) | ||
* [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues) | ||
* [Forums](http://silverstripe.org/forums) | ||
* [Developer Mailinglist](https://groups.google.com/forum/#!forum/silverstripe-dev) | ||
|
||
## License ## | ||
|
||
Copyright (c) 2007-2013, SilverStripe Limited - www.silverstripe.com | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
* Neither the name of SilverStripe nor the names of its contributors may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | ||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY | ||
OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "silverstripe/installer", | ||
"description": "The SilverStripe Framework Installer", | ||
"require": { | ||
"php": ">=5.3.2", | ||
"silverstripe/cms": "3.1.12", | ||
"silverstripe/framework": "3.1.12", | ||
"silverstripe-themes/simple": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/PHPUnit": "~3.7@stable" | ||
}, | ||
"config": { | ||
"process-timeout": 600 | ||
}, | ||
"minimum-stability": "dev" | ||
} |
Oops, something went wrong.