Permalink
Browse files

Moved core into root for dev branch as well.

  • Loading branch information...
1 parent e3cc538 commit e338c1b46c83385ebf5e97d2159e7d02dcc0d4ad @jschreuder jschreuder committed Mar 30, 2011
Showing with 0 additions and 9,514 deletions.
  1. +0 −33 README.md
  2. +0 −126 TESTING.md
  3. 0 {fuel/core → }/base.php
  4. 0 {fuel/core → }/bootstrap.php
  5. 0 {fuel/core → }/bootstrap_phpunit.php
  6. 0 {fuel/core → }/classes/agent.php
  7. 0 {fuel/core → }/classes/arr.php
  8. 0 {fuel/core → }/classes/asset.php
  9. 0 {fuel/core → }/classes/autoloader.php
  10. 0 {fuel/core → }/classes/cache.php
  11. 0 {fuel/core → }/classes/cache/exception.php
  12. 0 {fuel/core → }/classes/cache/handler/driver.php
  13. 0 {fuel/core → }/classes/cache/handler/json.php
  14. 0 {fuel/core → }/classes/cache/handler/serialized.php
  15. 0 {fuel/core → }/classes/cache/handler/string.php
  16. 0 {fuel/core → }/classes/cache/storage/driver.php
  17. 0 {fuel/core → }/classes/cache/storage/file.php
  18. 0 {fuel/core → }/classes/cache/storage/memcached.php
  19. 0 {fuel/core → }/classes/cache/storage/redis.php
  20. 0 {fuel/core → }/classes/cli.php
  21. 0 {fuel/core → }/classes/config.php
  22. 0 {fuel/core → }/classes/controller.php
  23. 0 {fuel/core → }/classes/controller/rest.php
  24. 0 {fuel/core → }/classes/controller/template.php
  25. 0 {fuel/core → }/classes/cookie.php
  26. 0 {fuel/core → }/classes/crypt.php
  27. 0 {fuel/core → }/classes/database/connection.php
  28. 0 {fuel/core → }/classes/database/exception.php
  29. 0 {fuel/core → }/classes/database/expression.php
  30. 0 {fuel/core → }/classes/database/mysql/connection.php
  31. 0 {fuel/core → }/classes/database/mysql/result.php
  32. 0 {fuel/core → }/classes/database/mysqli/connection.php
  33. 0 {fuel/core → }/classes/database/mysqli/result.php
  34. 0 {fuel/core → }/classes/database/pdo/connection.php
  35. 0 {fuel/core → }/classes/database/query.php
  36. 0 {fuel/core → }/classes/database/query/builder.php
  37. 0 {fuel/core → }/classes/database/query/builder/delete.php
  38. 0 {fuel/core → }/classes/database/query/builder/insert.php
  39. 0 {fuel/core → }/classes/database/query/builder/join.php
  40. 0 {fuel/core → }/classes/database/query/builder/select.php
  41. 0 {fuel/core → }/classes/database/query/builder/update.php
  42. 0 {fuel/core → }/classes/database/query/builder/where.php
  43. 0 {fuel/core → }/classes/database/result.php
  44. 0 {fuel/core → }/classes/database/result/cached.php
  45. 0 {fuel/core → }/classes/database/transaction.php
  46. 0 {fuel/core → }/classes/date.php
  47. 0 {fuel/core → }/classes/db.php
  48. 0 {fuel/core → }/classes/dbutil.php
  49. 0 {fuel/core → }/classes/debug.php
  50. 0 {fuel/core → }/classes/email.php
  51. 0 {fuel/core → }/classes/email/driver.php
  52. 0 {fuel/core → }/classes/email/mail.php
  53. 0 {fuel/core → }/classes/email/sendmail.php
  54. 0 {fuel/core → }/classes/email/smtp.php
  55. 0 {fuel/core → }/classes/error.php
  56. 0 {fuel/core → }/classes/event.php
  57. 0 {fuel/core → }/classes/fieldset.php
  58. 0 {fuel/core → }/classes/fieldset/field.php
  59. 0 {fuel/core → }/classes/file.php
  60. 0 {fuel/core → }/classes/file/area.php
  61. 0 {fuel/core → }/classes/file/driver/directory.php
  62. 0 {fuel/core → }/classes/file/driver/file.php
  63. 0 {fuel/core → }/classes/file/exception.php
  64. 0 {fuel/core → }/classes/form.php
  65. 0 {fuel/core → }/classes/format.php
  66. 0 {fuel/core → }/classes/ftp.php
  67. 0 {fuel/core → }/classes/fuel.php
  68. 0 {fuel/core → }/classes/fuel/exception.php
  69. 0 {fuel/core → }/classes/html.php
  70. 0 {fuel/core → }/classes/image.php
  71. 0 {fuel/core → }/classes/image/driver.php
  72. 0 {fuel/core → }/classes/image/gd.php
  73. 0 {fuel/core → }/classes/image/imagemagick.php
  74. 0 {fuel/core → }/classes/inflector.php
  75. 0 {fuel/core → }/classes/input.php
  76. 0 {fuel/core → }/classes/lang.php
  77. 0 {fuel/core → }/classes/log.php
  78. 0 {fuel/core → }/classes/migrate.php
  79. 0 {fuel/core → }/classes/model.php
  80. 0 {fuel/core → }/classes/pagination.php
  81. 0 {fuel/core → }/classes/profiler.php
  82. 0 {fuel/core → }/classes/redis.php
  83. 0 {fuel/core → }/classes/redis/exception.php
  84. 0 {fuel/core → }/classes/request.php
  85. 0 {fuel/core → }/classes/response.php
  86. 0 {fuel/core → }/classes/route.php
  87. 0 {fuel/core → }/classes/router.php
  88. 0 {fuel/core → }/classes/security.php
  89. 0 {fuel/core → }/classes/session.php
  90. 0 {fuel/core → }/classes/session/cookie.php
  91. 0 {fuel/core → }/classes/session/db.php
  92. 0 {fuel/core → }/classes/session/driver.php
  93. 0 {fuel/core → }/classes/session/exception.php
  94. 0 {fuel/core → }/classes/session/file.php
  95. 0 {fuel/core → }/classes/session/memcached.php
  96. 0 {fuel/core → }/classes/session/redis.php
  97. 0 {fuel/core → }/classes/singleton.php
  98. 0 {fuel/core → }/classes/str.php
  99. 0 {fuel/core → }/classes/testcase.php
  100. 0 {fuel/core → }/classes/unzip.php
  101. 0 {fuel/core → }/classes/upload.php
  102. 0 {fuel/core → }/classes/uri.php
  103. 0 {fuel/core → }/classes/validation.php
  104. 0 {fuel/core → }/classes/validation/error.php
  105. 0 {fuel/core → }/classes/view.php
  106. 0 {fuel/core → }/classes/view/exception.php
  107. 0 {fuel/core → }/classes/viewmodel.php
  108. 0 {fuel/core → }/config/agent.php
  109. 0 {fuel/core → }/config/ascii.php
  110. 0 {fuel/core → }/config/asset.php
  111. 0 {fuel/core → }/config/cache.php
  112. 0 {fuel/core → }/config/date.php
  113. 0 {fuel/core → }/config/doctypes.php
  114. 0 {fuel/core → }/config/email.php
  115. 0 {fuel/core → }/config/form.php
  116. 0 {fuel/core → }/config/ftp.php
  117. 0 {fuel/core → }/config/image.php
  118. 0 {fuel/app → }/config/index.html
  119. 0 {fuel/core → }/config/migrations.php
  120. 0 {fuel/core → }/config/mimes.php
  121. 0 {fuel/core → }/config/package.php
  122. 0 {fuel/core → }/config/rest.php
  123. 0 {fuel/core → }/config/session.php
  124. 0 {fuel/core → }/config/upload.php
  125. +0 −21 fuel/LICENSE
  126. +0 −29 fuel/app/bootstrap.php
  127. +0 −42 fuel/app/classes/controller/welcome.php
  128. 0 fuel/app/classes/model/.gitkeep
  129. +0 −176 fuel/app/config/config.php
  130. +0 −48 fuel/app/config/crypt.php
  131. +0 −87 fuel/app/config/db.php
  132. +0 −12 fuel/app/config/routes.php
  133. 0 fuel/app/lang/en/index.html
  134. 0 fuel/app/lang/index.html
  135. 0 fuel/app/logs/.gitkeep
  136. 0 fuel/app/migrations/.gitkeep
  137. 0 fuel/app/modules/.gitkeep
  138. +0 −114 fuel/app/tasks/robots.php
  139. 0 fuel/app/tmp/.gitkeep
  140. 0 fuel/app/views/.gitkeep
  141. +0 −44 fuel/app/views/welcome/404.php
  142. +0 −56 fuel/app/views/welcome/index.php
  143. 0 fuel/core/config/index.html
  144. 0 fuel/core/lang/.gitkeep
  145. 0 fuel/core/lang/en/.gitkeep
  146. 0 fuel/packages/.gitkeep
  147. +0 −21 fuel/packages/activerecord/LICENSE.txt
  148. +0 −27 fuel/packages/activerecord/bootstrap.php
  149. +0 −101 fuel/packages/activerecord/classes/association.php
  150. +0 −102 fuel/packages/activerecord/classes/belongsto.php
  151. +0 −29 fuel/packages/activerecord/classes/exception.php
  152. +0 −301 fuel/packages/activerecord/classes/hasmany.php
  153. +0 −96 fuel/packages/activerecord/classes/hasone.php
  154. +0 −1,236 fuel/packages/activerecord/classes/model.php
  155. +0 −31 fuel/packages/auth/bootstrap.php
  156. +0 −418 fuel/packages/auth/classes/auth.php
  157. +0 −66 fuel/packages/auth/classes/auth/acl/driver.php
  158. +0 −73 fuel/packages/auth/classes/auth/acl/simpleacl.php
  159. +0 −119 fuel/packages/auth/classes/auth/driver.php
  160. +0 −20 fuel/packages/auth/classes/auth/exception.php
  161. +0 −127 fuel/packages/auth/classes/auth/group/driver.php
  162. +0 −68 fuel/packages/auth/classes/auth/group/simplegroup.php
  163. +0 −228 fuel/packages/auth/classes/auth/login/driver.php
  164. +0 −416 fuel/packages/auth/classes/auth/login/simpleauth.php
  165. +0 −6 fuel/packages/auth/config/auth.php
  166. +0 −22 fuel/packages/auth/config/simpleauth.php
  167. +0 −27 fuel/packages/oil/bootstrap.php
  168. +0 −178 fuel/packages/oil/classes/command.php
  169. +0 −229 fuel/packages/oil/classes/console.php
  170. +0 −34 fuel/packages/oil/classes/exception.php
  171. +0 −516 fuel/packages/oil/classes/generate.php
  172. +0 −120 fuel/packages/oil/classes/generate/migration/actions.php
  173. +0 −201 fuel/packages/oil/classes/package.php
  174. +0 −107 fuel/packages/oil/classes/refine.php
  175. +0 −113 fuel/packages/oil/classes/scaffold.php
  176. +0 −23 fuel/packages/oil/views/default/scaffold/actions/create.php
  177. +0 −13 fuel/packages/oil/views/default/scaffold/actions/delete.php
  178. +0 −28 fuel/packages/oil/views/default/scaffold/actions/edit.php
  179. +0 −3 fuel/packages/oil/views/default/scaffold/actions/index.php
  180. +0 −4 fuel/packages/oil/views/default/scaffold/actions/view.php
  181. +0 −10 fuel/packages/oil/views/default/scaffold/ar_model.php
  182. +0 −15 fuel/packages/oil/views/default/scaffold/controller.php
  183. +0 −26 fuel/packages/oil/views/default/scaffold/views/_form.php
  184. +0 −5 fuel/packages/oil/views/default/scaffold/views/create.php
  185. +0 −6 fuel/packages/oil/views/default/scaffold/views/edit.php
  186. +0 −28 fuel/packages/oil/views/default/scaffold/views/index.php
  187. +0 −9 fuel/packages/oil/views/default/scaffold/views/view.php
  188. +0 −29 fuel/packages/oil/views/default/template.php
  189. +0 −43 fuel/packages/orm/bootstrap.php
  190. +0 −175 fuel/packages/orm/classes/belongsto.php
  191. +0 −45 fuel/packages/orm/classes/exceptions.php
  192. +0 −204 fuel/packages/orm/classes/hasmany.php
  193. +0 −185 fuel/packages/orm/classes/hasone.php
  194. +0 −262 fuel/packages/orm/classes/manymany.php
  195. +0 −164 fuel/packages/orm/classes/manythrough.php
  196. +0 −1,036 fuel/packages/orm/classes/model.php
  197. +0 −42 fuel/packages/orm/classes/observer.php
  198. +0 −25 fuel/packages/orm/classes/observer/createdon.php
  199. +0 −193 fuel/packages/orm/classes/observer/typing.php
  200. +0 −25 fuel/packages/orm/classes/observer/updatedon.php
  201. +0 −62 fuel/packages/orm/classes/observer/validation.php
  202. +0 −789 fuel/packages/orm/classes/query.php
  203. +0 −144 fuel/packages/orm/classes/relation.php
  204. 0 {fuel/app/cache → lang}/.gitkeep
  205. 0 {fuel/app/classes/controller → lang/en}/.gitkeep
  206. 0 {fuel/core → }/lang/en/date.php
  207. 0 {fuel/core → }/lang/en/test.php
  208. 0 {fuel/core → }/lang/en/validation.php
  209. +0 −42 oil
  210. 0 {fuel/core → }/phpunit.xml
  211. +0 −8 public/.htaccess
  212. 0 public/assets/css/index.html
  213. 0 public/assets/img/index.html
  214. 0 public/assets/js/index.html
  215. +0 −51 public/index.php
  216. 0 {fuel/core → }/tasks/install.php
  217. 0 {fuel/core → }/tasks/migrate.php
  218. 0 {fuel/core → }/tests/arr.php
  219. 0 {fuel/core → }/tests/date.php
  220. 0 {fuel/core → }/tests/html.php
  221. 0 {fuel/core → }/tests/inflector.php
  222. 0 {fuel/core → }/tests/uri.php
  223. 0 {fuel/core → }/vendor/htmlawed/htmlawed.php
  224. 0 {fuel/core → }/vendor/phpquickprofiler/console.php
  225. 0 {fuel/core → }/vendor/phpquickprofiler/display.php
  226. 0 {fuel/core → }/vendor/phpquickprofiler/phpquickprofiler.php
  227. 0 {fuel/core → }/vendor/spyc/spyc.php
  228. 0 {fuel/core → }/views/404.php
  229. 0 {fuel/core → }/views/errors/php_error.php
  230. 0 {fuel/core → }/views/errors/php_fatal_error.php
  231. 0 {fuel/core → }/views/errors/php_short.php
  232. 0 {fuel/core → }/views/errors/production.php
View
@@ -1,33 +0,0 @@
-#Fuel
-
-* [Website](http://fuelphp.com/)
-* [Documentation](http://fuelphp.com/docs) and in its own [git repo](https://github.com/fuel/docs)
-* [Bugtracker & feature requests](http://dev.fuelphp.com)
-* [Forums](http://fuelphp.com/forums) for comments, discussion and community support
-* Version: 1.0.0-beta1
-
-## Description
-
-Fuel is a fast, lightweight PHP 5.3 framework. In an age where frameworks are a dime a dozen, We believe that Fuel will stand out in the crowd. It will do this by combining all the things you love about the great frameworks out there, while getting rid of the bad.
-
-##Development Team
-
-* Dan Horrigan - Lead Developer ([http://dhorrigan.com](http://dhorrigan.com))
-* Phil Sturgeon - Developer ([http://philsturgeon.co.uk](http://philsturgeon.co.uk))
-* Jelmer Schreuder - Developer ([http://jelmerschreuder.nl/](http://jelmerschreuder.nl/))
-* Harro Verton - Developer ([http://wanwizard.eu/](http://wanwizard.eu/))
-
-##Requirements
-
-The planned requirements for Fuel are as follows:
-
-* PHP 5.3 or greater
-* Any web server
-
-That's it! Nothing else.
-
-##Donate
-
-[Donate Here](http://www.pledgie.com/campaigns/14124)
-
-Any donations would help support the framework and pay for software, development and hosting costs. We understand if you cannot, but greatly appreciate anything you can give.
View
@@ -1,126 +0,0 @@
-# Testing Fuel
-
-Fuel uses [PHPUnit](https://github.com/sebastianbergmann/phpunit/) for it's Unit Testing needs. It must be installed for the tests to run.
-
-**NOTE: No code will be accepted without tests written.**
-
-## Running Tests
-
-Running the unit tests is as simple as navigating to the root install folder on the command line and running the following:
-
- $ phpunit
-
-That's it! You can also tell it specific groups (which we will get into in minute) to run. For example to run only the core tests:
-
- $ phpunit --group Core
-
-## Writing Tests
-
-### Where do they go?
-
-All tests are to go in the **tests** folders inside their respective parent folder. For instance:
-
-* App tests go in *fuel/app/tests*
-* Core tests go in *fuel/core/tests*
-* Package tests go in *fuel/packages/package_name/tests*
-
-### File / Class Naming
-
-The Test class names should be in the form of **Tests_Whatever**.
-
-Filenames should be all lower case and be the class name minus the "Tests_" part.
-
-Some example names:
-
- // Good
- Tests_Arr in fuel/core/tests/arr.php
- Tests_Image in fuel/core/tests/image.php
- Tests_Fuel in fuel/core/tests/fuel.php
-
- // Bad
- Arrtests
- Somestuff
-
-### Test Grouping
-
-All tests inside the **core** folder must be in the **core** group. A classes test's should also be grouped together under the name of the class.
-
-Here is an example of a core class test with proper DocBlocks:
-
- /**
- * Arr class tests
- *
- * @group Core
- * @group Arr
- */
- class Tests_Arr extends TestCase {
-
- /**
- * Tests Arr::element()
- *
- * @test
- */
- public function test_element()
- {
- // Test code here
- }
- }
-
-All App tests should be in the **app** group.
-
-### Namespaces
-
-All **core** tests should be in the **Fuel\Core** namespace. This is so that we are sure we are testing the core classes,
-not any extensions that may be in *app*.
-
-App tests can be in any namespace.
-
-### What class do I extend?
-
-All tests should extend the **Fuel\Core\TestCase** class.
-
-**NOTE: if you are in the Fuel\Core namespace you can leave off the Fuel\Core namespace and just extend **TestCase**.
-
-## Example
-
- namespace Fuel\Core;
-
- /**
- * Arr class tests
- *
- * @group Core
- * @group Arr
- */
- class Tests_Arr extends TestCase {
-
- /**
- * Tests Arr::flatten_assoc()
- *
- * @test
- */
- public function test_flatten_assoc()
- {
- $people = array(
- array(
- "name" => "Jack",
- "age" => 21
- ),
- array(
- "name" => "Jill",
- "age" => 23
- )
- );
-
- $expected = array(
- "0:name" => "Jack",
- "0:age" => 21,
- "1:name" => "Jill",
- "1:age" => 23
- );
-
- $output = Arr::flatten_assoc($people);
- $this->assertEquals($expected, $output);
- }
-
- }
-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,21 +0,0 @@
-The MIT License
-
-Copyright (c) 2010 - 2011 Fuel Development Team
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
@@ -1,29 +0,0 @@
-<?php
-
-// Bootstrap the framework DO NOT edit this
-require_once COREPATH.'bootstrap.php';
-
-/**
- * Set the timezone to what you need it to be.
- */
-date_default_timezone_set('UTC');
-
-/**
- * Set the encoding you would like to use.
- */
-Fuel::$encoding = 'UTF-8';
-
-
-Autoloader::add_classes(array(
- // Add classes you want to override here
- // Example: 'View' => APPPATH.'classes/view.php',
-));
-
-// Register the autoloader
-Autoloader::register();
-
-// Initialize the framework with the config file.
-Fuel::init(include(APPPATH.'config/config.php'));
-
-
-/* End of file bootstrap.php */
@@ -1,42 +0,0 @@
-<?php
-
-/**
- * The Welcome Controller.
- *
- * A basic controller example. Has examples of how to set the
- * response body and status.
- *
- * @package app
- * @extends Controller
- */
-class Controller_Welcome extends Controller {
-
- /**
- * The index action.
- *
- * @access public
- * @return void
- */
- public function action_index()
- {
- $this->response->body = View::factory('welcome/index');
- }
-
- /**
- * The 404 action for the application.
- *
- * @access public
- * @return void
- */
- public function action_404()
- {
- $messages = array('Aw, crap!', 'Bloody Hell!', 'Uh Oh!', 'Nope, not here.', 'Huh?');
- $data['title'] = $messages[array_rand($messages)];
-
- // Set a HTTP 404 output header
- $this->response->status = 404;
- $this->response->body = View::factory('welcome/404', $data);
- }
-}
-
-/* End of file welcome.php */
No changes.
Oops, something went wrong.

0 comments on commit e338c1b

Please sign in to comment.