diff --git a/.htaccess b/.htaccess index e68dccc..aa65e8f 100644 --- a/.htaccess +++ b/.htaccess @@ -23,9 +23,9 @@ ErrorDocument 500 /assets/error-500.html RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule .* sapphire/main.php?url=%1 [QSA] + RewriteRule .* framework/main.php?url=%1 [QSA] - RewriteCond %{REQUEST_URI} ^(.*)/sapphire/main.php$ + RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . %1/install.php? [R,L] diff --git a/Makefile b/Makefile index b42830f..de8acf3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # test: - $(MAKE) QUERYSTRING="$(QUERYSTRING)" -C sapphire test + $(MAKE) QUERYSTRING="$(QUERYSTRING)" -C framework test getallmodules: if [ -d subsites ]; then svn update subsites; else svn co http://svn.silverstripe.com/open/modules/subsites/trunk subsites; fi @@ -14,4 +14,4 @@ getallmodules: if [ -d forum ]; then svn update forum; else svn co http://svn.silverstripe.com/open/modules/forum/trunk forum; fi if [ -d cmsworkflow ]; then svn update cmsworkflow; else svn co http://svn.silverstripe.com/open/modules/cmsworkflow/trunk cmsworkflow; fi if [ -d multiform ]; then svn update multiform; else svn co http://svn.silverstripe.com/open/modules/multiform/trunk multiform; fi - if [ -d events ]; then svn update events; else svn co http://svn.silverstripe.com/open/modules/events/trunk events; fi \ No newline at end of file + if [ -d events ]; then svn update events; else svn co http://svn.silverstripe.com/open/modules/events/trunk events; fi diff --git a/README.md b/README.md index 53b4102..6bd0783 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,22 @@ Base project folder for a SilverStripe ([http://silverstripe.org](http://silverstripe.org)) installation. Requires additional modules to function: - * [`sapphire`](http://github.com/silverstripe/sapphire): Module including the base framework + * [`framework`](http://github.com/silverstripe/sapphire): Module including the base framework * [`cms`](http://github.com/silverstripe/silverstripe-cms): Module including a Content Management System * `themes/blackcandy` (optional) ## Server Requirements ## -See [doc.silverstripe.org](http://doc.silverstripe.org/sapphire/en/installation/server-requirements) +See [doc.silverstripe.org](http://doc.silverstripe.org/framework/en/installation/server-requirements) ## Installation ## -See [installation on different platforms](http://doc.silverstripe.org/sapphire/en/installation/), -and [installation from source](http://doc.silverstripe.org/sapphire/en/installation/from-source). +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). ## Links ## - * [Changelogs](http://doc.silverstripe.org/sapphire/en/changelogs/) + * [Changelogs](http://doc.silverstripe.org/framework/en/changelogs/) * [Bugtracker](http://open.silverstripe.org) * [Forums](http://silverstripe.org/forums) * [Developer Mailinglist](https://groups.google.com/forum/#!forum/silverstripe-dev) @@ -40,4 +40,4 @@ and [installation from source](http://doc.silverstripe.org/sapphire/en/installat 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. \ No newline at end of file + OF SUCH DAMAGE. diff --git a/build.xml b/build.xml index 613a294..fc21bd4 100644 --- a/build.xml +++ b/build.xml @@ -233,7 +233,7 @@ Options: - + @@ -247,7 +247,7 @@ Options: - + diff --git a/changelog-definitions.default b/changelog-definitions.default index 3e7b886..e54f2fb 100644 --- a/changelog-definitions.default +++ b/changelog-definitions.default @@ -8,5 +8,5 @@ # # . 2.4.4-rc1 2.4.5 -sapphire 2.4.4-rc1 2.4.5 +framework 2.4.4-rc1 2.4.5 cms 2.4.4-rc1 2.4.5 diff --git a/dependent-modules.default b/dependent-modules.default index 7fb3a11..c876591 100644 --- a/dependent-modules.default +++ b/dependent-modules.default @@ -14,7 +14,7 @@ # # It is recommended to have sqlite3 and cms first with [run_dev_build] set to "false". # Having this set to 'false' prevents the execution of the dev/build process, meaning it can be -# deferred until all dependencies are in place, specifically the sapphire module. List +# deferred until all dependencies are in place, specifically the framework module. List # all additional modules after that. # # Examples @@ -24,7 +24,7 @@ cms:master:2.4.5 git://github.com/silverstripe/silverstripe-cms.git -sapphire:master:2.4.5 git://github.com/silverstripe/sapphire.git +framework:master:2.4.5 git://github.com/silverstripe/sapphire.git diff --git a/index.php b/index.php index 2374bda..8d9cba4 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ ************************************************************************************/ /** - * This script bolts on top of SilverStripe/Sapphire to allow access without the use of .htaccess + * This script bolts on top of SilverStripe to allow access without the use of .htaccess * rewriting rules. */ @@ -60,4 +60,4 @@ if($url && file_exists($fileName)) { die(); } -require_once('sapphire/main.php'); +require_once('framework/main.php'); diff --git a/install-sapphiremissing.html b/install-frameworkmissing.html similarity index 73% rename from install-sapphiremissing.html rename to install-frameworkmissing.html index 89bf901..18064b6 100644 --- a/install-sapphiremissing.html +++ b/install-frameworkmissing.html @@ -1,7 +1,7 @@ - The sapphire module is missing - + The SilverStripe Framework is missing +
@@ -15,12 +15,12 @@
-

The sapphire module is missing - To run the installer, at least the 'sapphire' module and the 'simple' theme are required

+

The SilverStripe Framework is missing - To run the installer, at least the 'framework' module and the 'simple' theme are required

If you downloaded a pre-packaged zip or tar.gz, something might have gone wrong with the packaging process. Please try re-downloading, or try an older version

-

If you downloaded this from github, you need to install the 'sapphire' and 'simple' theme code bases +

If you downloaded this from github, you need to install the 'framework' and 'simple' theme code bases in subdirectories of this directory. You can do this manually, or by running the tools/new-project script from the command line

@@ -34,4 +34,4 @@
- \ No newline at end of file + diff --git a/install.php b/install.php index 3e9431e..38cd5aa 100644 --- a/install.php +++ b/install.php @@ -9,5 +9,5 @@ ************************************************************************************ ************************************************************************************/ -if (!file_exists('sapphire') || !file_exists('sapphire/_config.php')) include "install-sapphiremissing.html"; -else include('./sapphire/dev/install/install.php'); +if (!file_exists('framework') || !file_exists('framework/_config.php')) include "install-frameworkmissing.html"; +else include('./framework/dev/install/install.php'); diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ea32e8a..29d8143 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,19 +1,19 @@ @@ -22,15 +22,15 @@ - sapphire/dev/ - sapphire/thirdparty/ + framework/dev/ + framework/thirdparty/ cms/thirdparty/ - sapphire/tests/PhpSyntaxTest.php + framework/tests/PhpSyntaxTest.php - + @@ -40,4 +40,4 @@
- \ No newline at end of file + diff --git a/rewritetest.php b/rewritetest.php index 06f1232..fe1c9b7 100644 --- a/rewritetest.php +++ b/rewritetest.php @@ -83,7 +83,7 @@ RewriteBase $base RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] +RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L] TEXT ; @@ -114,7 +114,7 @@ RewriteBase $base RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule .* $_SERVER[DOCUMENT_ROOT]/sapphire/main.php?url=%1&%{QUERY_STRING} [L] +RewriteRule .* $_SERVER[DOCUMENT_ROOT]/framework/main.php?url=%1&%{QUERY_STRING} [L] TEXT ; diff --git a/tools/CreateChangelog.php b/tools/CreateChangelog.php index 0eba91f..0221644 100644 --- a/tools/CreateChangelog.php +++ b/tools/CreateChangelog.php @@ -27,7 +27,7 @@ class CreateChangelog extends SilverStripeBuildTask { public $commitUrls = array( '.' => 'https://github.com/silverstripe/silverstripe-installer/commit/%s', - 'sapphire' => 'https://github.com/silverstripe/sapphire/commit/%s', + 'framework' => 'https://github.com/silverstripe/sapphire/commit/%s', 'cms' => 'https://github.com/silverstripe/silverstripe-cms/commit/%s', 'themes/blackcandy' => 'https://github.com/silverstripe-themes/silverstripe-blackcandy/commit/%s', ); @@ -204,9 +204,9 @@ class CreateChangelog extends SilverStripeBuildTask { if (count($bits) == 1) { $repos[$bits[0]] = ""; } elseif (count($bits) == 2) { - $repos[$bits[0]] = array($bits[1], null); //sapphire => array(from => HEAD) + $repos[$bits[0]] = array($bits[1], null); //framework => array(from => HEAD) } elseif (count($bits) == 3) { - $repos[$bits[0]] = array($bits[1],$bits[2]); //sapphire => array(from => to) + $repos[$bits[0]] = array($bits[1],$bits[2]); //framework => array(from => to) } else { continue; } @@ -299,4 +299,4 @@ class CreateChangelog extends SilverStripeBuildTask { } } -?> \ No newline at end of file +?> diff --git a/tools/SilverStripeBuildTask.php b/tools/SilverStripeBuildTask.php index 1ccc7b4..7290ea3 100644 --- a/tools/SilverStripeBuildTask.php +++ b/tools/SilverStripeBuildTask.php @@ -40,9 +40,9 @@ TEXT; } function devBuild() { - if (file_exists('sapphire/cli-script.php')) { + if (file_exists('framework/cli-script.php')) { $this->log("Running dev/build"); - $this->exec('php sapphire/cli-script.php dev/build'); + $this->exec('php framework/cli-script.php dev/build'); } } @@ -81,4 +81,4 @@ TEXT; return $ret; } -} \ No newline at end of file +} diff --git a/tools/lib/template.php b/tools/lib/template.php index 1cb77d1..c184f43 100644 --- a/tools/lib/template.php +++ b/tools/lib/template.php @@ -6,20 +6,20 @@ Structure is likely to change at some point */ $template = array( - 'sapphire' => new Github(array( + 'framework' => new Github(array( 'user' => 'silverstripe', 'project' => 'sapphire', - 'branch' => SAPPHIRE_CURRENT_BRANCH + 'branch' => FRAMEWORK_CURRENT_BRANCH )), 'cms' => new Github(array( 'user' => 'silverstripe', 'project' => 'silverstripe-cms', - 'branch' => SAPPHIRE_CURRENT_BRANCH + 'branch' => FRAMEWORK_CURRENT_BRANCH )), 'themes/simple' => new GithubSparse(array( 'user' => 'silverstripe-themes', 'project' => 'silverstripe-simple', - 'branch' => SAPPHIRE_CURRENT_BRANCH, + 'branch' => FRAMEWORK_CURRENT_BRANCH, 'subdir' => '' )) ); diff --git a/tools/versions.php b/tools/versions.php index e49319c..f8b75fa 100644 --- a/tools/versions.php +++ b/tools/versions.php @@ -1,3 +1,4 @@