Commit Graph

438 Commits

Author SHA1 Message Date
Taylor Otwell 7af9e08a60 Refactoring Eloquent. 2011-07-08 08:00:04 -07:00
Taylor Otwell c4eb994fbc Refactoring Eloquent. 2011-07-08 07:58:28 -07:00
Taylor Otwell 8b1fe5920b Refactoring Eloquent\Hydrator. 2011-07-08 07:54:38 -07:00
Taylor Otwell 745ac394bb Adjust Eloquent\Hydrator to pass array of columns into Query->get method. 2011-07-08 07:37:50 -07:00
Taylor Otwell a0195e9386 Adjust Eloquent to pass array of columns when selecting. 2011-07-08 07:36:20 -07:00
Taylor Otwell 00b064c7d5 Revert previous changes to Eloquent. 2011-07-08 07:32:25 -07:00
Taylor Otwell 16265a2cf6 Adjust Eloquent to use new Query API. 2011-07-08 07:31:15 -07:00
Taylor Otwell 787be6bc99 Changed Query::get and Query::first to accept arrays of columns instead of a dynamic parameter list. 2011-07-08 07:28:38 -07:00
Taylor Otwell 21efdbf69b Remove insert and update methods from Eloquent. 2011-07-08 07:13:30 -07:00
Taylor Otwell 666ebf2119 Refactoring Eloquent class. 2011-07-08 07:09:43 -07:00
Taylor Otwell 743cf6f44a Refactoring DB\Eloquent. 2011-07-08 06:56:29 -07:00
Taylor Otwell e6e7586dbc Refactoring DB\Connector. 2011-07-08 06:48:31 -07:00
Taylor Otwell 6c51536d7d Remove check for items in Memcached cache driver. 2011-07-08 06:45:38 -07:00
Taylor Otwell de19b8db40 Remove check for items in File cache driver. 2011-07-08 06:45:15 -07:00
Taylor Otwell 24fefe9eb2 Remove check for items in APC driver. 2011-07-08 06:44:54 -07:00
Taylor Otwell 44a48256c7 Allow cache class to look for existing items in driver's items array. 2011-07-08 06:43:02 -07:00
Taylor Otwell 82d5760a32 Make items array public on Memcached cache driver. 2011-07-08 06:40:49 -07:00
Taylor Otwell 967428c441 Make items array public on File cache driver. 2011-07-08 06:40:20 -07:00
Taylor Otwell ec43d5dd03 Make item array public on APC cache driver. 2011-07-08 06:39:58 -07:00
Taylor Otwell bbc8b8f954 Refactoring View class. 2011-07-08 06:37:50 -07:00
Taylor Otwell 767a49f54b Tweaking comments in URL class. 2011-07-08 06:35:42 -07:00
Taylor Otwell 60c9c91516 Trimming comment bloat from Route class. 2011-07-08 06:28:41 -07:00
Taylor Otwell a86d4477ca refactoring redirect class. 2011-07-07 23:55:27 -05:00
Taylor Otwell ea6b58b28c refactoring lang class. 2011-07-07 23:48:05 -05:00
Taylor Otwell c5ddb67d6b added comment to hash class. 2011-07-07 23:43:54 -05:00
Taylor Otwell 6d296f2a1d added comment to file class. 2011-07-07 23:42:11 -05:00
Taylor Otwell 6a77a98f95 refactored error and file classes. 2011-07-07 23:40:29 -05:00
Taylor Otwell 4b063ac042 refactoring database and connector classes. 2011-07-07 23:35:23 -05:00
Taylor Otwell 77d65b89cb refactoring crypt class. 2011-07-07 23:24:43 -05:00
Taylor Otwell 6e93237ec9 refactoring config class. 2011-07-07 23:16:52 -05:00
Taylor Otwell 8203bd9af5 refactoring cache class. 2011-07-07 23:07:44 -05:00
Taylor Otwell 22c1353cea added comment to auth class. 2011-07-07 23:01:44 -05:00
Taylor Otwell 70e35fb3d7 refactoring auth class. 2011-07-07 23:00:40 -05:00
Taylor Otwell 06cb63f502 removed route\loader and route\parser classes. 2011-07-07 22:55:27 -05:00
Taylor Otwell ad824341a6 fixed bug in input class causing entire array to not be returned. 2011-07-07 22:30:15 -05:00
Taylor Otwell 5475048749 Add comment to Redirect class. 2011-07-07 12:41:18 -07:00
Taylor Otwell 59e5cfc711 Fixing comments on Router class. 2011-07-07 12:18:53 -07:00
Taylor Otwell 5a67571020 Refactoring the Router class. 2011-07-07 12:17:55 -07:00
Taylor Otwell 94ccbffb7d Refactoring Router class. 2011-07-07 11:55:09 -07:00
Taylor Otwell 80c746edb2 Refactor route parameter parsing. 2011-07-07 11:38:30 -07:00
Taylor Otwell b5e0eb022c Refactoring Router. 2011-07-07 09:49:31 -07:00
Taylor Otwell 654c4aa85f Removed comment bloat from Route\Filter. 2011-07-07 09:38:48 -07:00
Taylor Otwell 7a8e04cbdd Added comment to Router class. 2011-07-07 09:37:14 -07:00
Taylor Otwell f0b02caaec Refactoring Router. 2011-07-07 09:34:58 -07:00
Taylor Otwell 775f11e09b Refactoring Route\Finder. 2011-07-07 09:24:40 -07:00
Taylor Otwell 0767fa5027 Remove comment bloat from Route\Finder. 2011-07-07 09:17:31 -07:00
Taylor Otwell 1a4a7cbbab Make the Router::load method public. 2011-07-07 09:12:20 -07:00
Taylor Otwell c2e1ef68ad Refactor Router class, deprecate Route\Loader and Route\Parser. 2011-07-07 09:09:20 -07:00
Taylor Otwell c1e2f3cf90 Remove comment bloat from Route\Loader class. 2011-07-07 08:59:46 -07:00
Taylor Otwell 0d48fba1be Remove comment bloat from Route\Finder class. 2011-07-07 08:57:30 -07:00
Taylor Otwell ae9824f80b Remove comment bloat from Route\Filter class. 2011-07-07 08:53:05 -07:00
Taylor Otwell a5af988d53 Remove comment bloat from dynamic query builder. 2011-07-07 08:51:52 -07:00
Taylor Otwell 34605ad49d Remove comment bloat from Eloquent hydrator. 2011-07-07 08:49:59 -07:00
Taylor Otwell bc8c0f2cc7 Refactor Query class. Remove comment bloat. 2011-07-07 08:45:37 -07:00
Taylor Otwell 98a691fa58 Remove comment bloat from Eloquent. 2011-07-07 08:28:42 -07:00
Taylor Otwell 60e3526313 Refactor DB\Connector class. 2011-07-07 08:15:18 -07:00
Taylor Otwell 9454927bd3 Added Cache::maybe method. 2011-07-07 08:04:29 -07:00
Taylor Otwell 1d96b96828 Force memcached cache driver to return null as default. 2011-07-07 07:42:06 -07:00
Taylor Otwell a29e76f27b Force File cache driver to return null when items are expired. 2011-07-07 07:41:39 -07:00
Taylor Otwell 577066e07e Tweak file cache driver to return null as default. 2011-07-07 07:40:42 -07:00
Taylor Otwell 9927e3ed4e Tweak APC cache driver to return null for default value. 2011-07-07 07:39:48 -07:00
Taylor Otwell 3eeb69d1bf Remove default value from cache driver interface. 2011-07-07 07:39:26 -07:00
Taylor Otwell aaae1acb34 Refactor cache class. Fix driver instantiation bug. Allow closures as default parameter. 2011-07-07 07:38:59 -07:00
Taylor Otwell 715bed748d Add support for closures to File cache driver. 2011-07-07 07:29:16 -07:00
Taylor Otwell ac38876e34 Add support for closures in APC cache driver. 2011-07-07 07:28:03 -07:00
Taylor Otwell 4a4a79ce34 Remove comment bloat from Validator class. 2011-07-07 07:24:28 -07:00
Taylor Otwell 42cff59a7d Remove comment bloat from View class. 2011-07-07 07:22:50 -07:00
Taylor Otwell 2f999397e3 Trim comment bloat from URL class. 2011-07-07 07:21:15 -07:00
Taylor Otwell a2406c0174 Trim comment bloat in Text class. 2011-07-07 07:18:45 -07:00
Taylor Otwell 5755fdaba0 Refactor Str::pool method. 2011-07-07 07:16:20 -07:00
Taylor Otwell c50246c694 Refactoring Str class. 2011-07-07 07:14:57 -07:00
Taylor Otwell 607b23b742 Refactoring Session class. Trimmed comment bloat. Added support for closures on Session::get default value. 2011-07-06 15:07:18 -07:00
Taylor Otwell 881d7f78a1 Trim comment bloat from Router class. 2011-07-06 15:03:51 -07:00
Taylor Otwell cf8e5e2f80 Trim comment bloat from Route class. 2011-07-06 15:02:01 -07:00
Taylor Otwell e334fd80b6 Trim comment bloat on Response class. 2011-07-06 14:59:53 -07:00
Taylor Otwell 37927ee44b Refactoring Request::remove_from_uri method. 2011-07-06 14:58:29 -07:00
Taylor Otwell b1342a5928 Refactoring the Request class. 2011-07-06 14:57:10 -07:00
Taylor Otwell af7ba04628 Trimming comment bloat in Redirect class. 2011-07-06 14:50:48 -07:00
Taylor Otwell 31e4b7a407 Trimming comment bloat in Memcached class. 2011-07-06 14:50:05 -07:00
Taylor Otwell 5114f2ee87 Trimming comment bloat in Log class. 2011-07-06 14:49:18 -07:00
Taylor Otwell 5643daa66c Refactor Lang class. 2011-07-06 14:45:08 -07:00
Taylor Otwell e2973e565d Allow closures as Config default. 2011-07-06 14:37:59 -07:00
Taylor Otwell 57f61dc54c Formatting Input class. 2011-07-06 14:36:10 -07:00
Taylor Otwell 2a1c01f1c9 Cleaning up HTML class bloat. 2011-07-06 14:29:48 -07:00
Taylor Otwell 28d11f15bb Refactoring Hash class. 2011-07-06 14:26:04 -07:00
Taylor Otwell 77c23c4665 Trim bloat from Form class. 2011-07-06 14:19:18 -07:00
Taylor Otwell fa0e6c8db1 Trimming comment bloat from Error class. 2011-07-06 14:13:57 -07:00
Taylor Otwell 014c2ebf66 Removing comment bloat from DB class. 2011-07-06 14:11:44 -07:00
Taylor Otwell 3c7dd2822b Trimming comment bloat in Crypt class. 2011-07-06 14:08:50 -07:00
Taylor Otwell e5beda1d5b Converted Session class to use Cookie::put. 2011-07-06 14:05:16 -07:00
Taylor Otwell 65bbea81fd Put the Cookie class on a diet. 2011-07-06 14:04:48 -07:00
Taylor Otwell d1f1c367e2 Formatting Cache class. 2011-07-06 14:00:20 -07:00
Taylor Otwell 45333c5743 Formatting Config class. 2011-07-06 13:53:25 -07:00
Taylor Otwell 48acf1d273 Refactoring Config class to use Arr. Removed unnecessary comments. 2011-07-06 13:53:00 -07:00
Taylor Otwell 65ffe0b610 Added support for closures as Arr::get default parameter. 2011-07-06 13:45:03 -07:00
Taylor Otwell 1e84c8901a Formatting Cache class. 2011-07-06 13:40:34 -07:00
Taylor Otwell a3401d5247 Cleaning up Cache class. 2011-07-06 13:40:03 -07:00
Taylor Otwell 39d3ccb8f0 Refactoring / comment clean-up on Auth class. 2011-07-06 13:37:59 -07:00
Taylor Otwell 6fc0770bce Continuing to clean up Input class. 2011-07-06 13:35:59 -07:00
Taylor Otwell 0e02a8a53d Remove unnecessary comments from Input class. 2011-07-06 13:34:55 -07:00
Taylor Otwell 629122a5a9 Remove usage of Arr from Cookie class. 2011-07-06 11:24:14 -07:00
Taylor Otwell 1a82d9c54f Removed usage of Arr from Request class. 2011-07-06 11:23:14 -07:00
Taylor Otwell f8b12b5daa Added support for retrieving specific elements from the Input::file method. Ex: Input::file('picture.size')... 2011-07-06 11:19:04 -07:00
Taylor Otwell 622635d5cf Fixed typo in Query::select comment. 2011-07-05 09:54:31 -07:00
Taylor Otwell c480e19b6c Added better support for aliases column to Query class. 2011-07-05 09:49:38 -07:00
Taylor Otwell 4ace7c8f80 Cleaning up Config class comments. 2011-07-05 08:29:03 -07:00
Taylor Otwell 64704cf5c4 Added comments to HTML class. 2011-07-05 06:58:27 -07:00
Taylor Otwell 181237e9ef Refactoring Form class. 2011-07-05 06:57:42 -07:00
Taylor Otwell a4ca806081 removed spaces and br function from html class. 2011-07-03 15:34:31 -05:00
Taylor Otwell c3f418b13c cleaning up form class. 2011-07-03 13:03:00 -05:00
Taylor Otwell c3ea6e656d adding some comments to the form class. 2011-07-03 12:58:41 -05:00
Taylor Otwell 1375ff98f2 cleaning up form class. 2011-07-03 12:55:23 -05:00
Taylor Otwell f7dcb05799 added more html5 form elements. 2011-07-02 08:51:14 -05:00
Taylor Otwell 2da478cc38 added more html5 form elements. 2011-07-02 08:43:12 -05:00
Taylor Otwell cd33e81702 added several of the new html5 form elements. added support for attributes such as required, autofocus, etc. 2011-07-02 07:37:37 -05:00
Taylor Otwell a9029ddfe9 change form and html class to use html5 style elements. 2011-07-02 07:17:17 -05:00
Taylor Otwell 0013e5bcbe Fixed bug in validator message handling for empty file uploads. 2011-06-30 13:46:11 -07:00
Taylor Otwell cbf2399ab8 Default Validator target to Input data. 2011-06-30 13:36:39 -07:00
Taylor Otwell 87ec697f2d Refactoring dynamic redirects to routes. 2011-06-30 07:45:38 -07:00
Taylor Otwell c7e7d64545 Refactoring dynamic URLs to routes. 2011-06-30 07:45:05 -07:00
Taylor Otwell 553f377ed0 Adjusted signature for dynamic route URL creation. 2011-06-30 07:39:27 -07:00
Taylor Otwell 6af79d8bdb Added ability to dynamically create links to named routes using the HTML class. 2011-06-30 07:31:57 -07:00
Taylor Otwell b90c6ddcc5 Fixing tabbing on HTML::entities method. 2011-06-29 14:19:06 -07:00
Taylor Otwell 4f73200675 moved route filter to route directory. 2011-06-28 23:26:42 -05:00
Taylor Otwell de6312ccf9 adjusted route/loader comments. 2011-06-28 22:47:44 -05:00
Taylor Otwell cd903fc0ce tweaked uri determination. 2011-06-28 20:11:05 -05:00
Taylor Otwell e452bbdf3a Fixed return type of Eloquent delete method. 2011-06-28 15:01:15 -07:00
Taylor Otwell b7997a95ba Tweaked request URI determination. 2011-06-28 13:11:41 -07:00
Taylor Otwell 1aa86d0798 improved performance. added support for database ports. 2011-06-28 12:21:21 -05:00
Taylor Otwell fef1809982 fix syntax error in upload_of... add types to file_wrong_type lang message. 2011-06-27 21:08:49 -05:00
Taylor Otwell d51be02dd2 enhanced validation, added mimes config array. 2011-06-27 17:33:07 -05:00
Taylor Otwell bd3d8f6347 added error type to validation rule. 2011-06-26 16:17:41 -05:00
Taylor Otwell 2289570c95 fixed exception message in validation/rule. 2011-06-26 14:52:14 -05:00
Taylor Otwell 8770d0aea1 tweaked File::is method. 2011-06-26 12:28:48 -05:00
Taylor Otwell 6f5aca8d48 added File::is method for accurately determining file type. 2011-06-26 12:26:15 -05:00
Taylor Otwell 8ccf789b01 added mime types, tweaked File::method to return first mime type. 2011-06-26 11:59:51 -05:00
Taylor Otwell 567da2419f added Form::open_multipart and tweaked Upload_of rule. 2011-06-26 09:19:54 -05:00
Taylor Otwell dc01b3c26e added default value to Input::file and defaulted Validator::make. 2011-06-26 09:10:11 -05:00
Taylor Otwell 9f7da5cb39 added methods for upload_of. 2011-06-26 09:04:40 -05:00
Taylor Otwell ee4dd5e987 tweaked File::upload. 2011-06-26 08:48:12 -05:00
Taylor Otwell 650563834e Merge branch 'develop' of github.com:taylorotwell/laravel into develop 2011-06-26 08:45:14 -05:00
Taylor Otwell abfaeaff4d added upload_of validation rule. 2011-06-26 08:44:31 -05:00
Michael Hasselbring 6410e83377 Created File::upload() 2011-06-25 23:35:38 -05:00
Taylor Otwell 0b7dbab0af adjusted method order in request class. 2011-06-25 20:20:09 -05:00
Taylor Otwell b7b258a10b removed error collector bloat, switched to plain array. thanks mikelbring. 2011-06-25 20:05:20 -05:00
Taylor Otwell 4a5190dfd9 changed loader to search in libraries instead of packages. 2011-06-24 23:42:53 -05:00
Taylor Otwell 739068b00d moved cache, db, logs, and sessions to the storage directory. 2011-06-24 23:03:22 -05:00
Taylor Otwell 3985a98f60 Added Eloquent::all(). 2011-06-24 11:33:42 -07:00
Taylor Otwell a97b8b7fda added exception for wrong number of parameters to dynamic finders. 2011-06-22 21:30:48 -05:00
Taylor Otwell 319dcbe777 Merge branch 'develop' of github.com:taylorotwell/laravel into develop 2011-06-22 21:12:04 -05:00
Taylor Otwell 3392971ce5 added dynamic finders to fluent query builder and eloquent. 2011-06-22 21:11:35 -05:00
Taylor Otwell d7aca820e5 Clarified comments in Eloquent\Hydrator. 2011-06-22 10:39:52 -07:00
Taylor Otwell dbeb2f4ddb Improving view class comments. 2011-06-22 07:27:11 -07:00
Taylor Otwell 9f5367f32b Improving view class comments. 2011-06-22 07:26:35 -07:00
Taylor Otwell ef2d2d85ff Improving validation code and comments. 2011-06-22 07:09:02 -07:00
Taylor Otwell 4d892ad3ac Improving validation code and comments. 2011-06-22 07:07:49 -07:00
Taylor Otwell 5956b90735 Improving validation code and comments. 2011-06-22 07:06:03 -07:00
Taylor Otwell 9d8c5d3587 Improving validation code and comments. 2011-06-22 07:03:36 -07:00
Taylor Otwell 72c3f1859f Improving validation code and comments. 2011-06-22 07:02:19 -07:00
Taylor Otwell 56e500419c Improving validation code and comments. 2011-06-22 06:55:58 -07:00
Taylor Otwell a536ceae72 Added default value to Lang::line()->get(). 2011-06-22 06:52:10 -07:00
Taylor Otwell eb3a5b0dc9 Improving validation code and comments. 2011-06-22 06:43:48 -07:00
Taylor Otwell 3b63335c95 added apc session driver. 2011-06-21 23:19:37 -05:00
Taylor Otwell 24c2344ae4 removed called to eloquent in uniqueness_of. 2011-06-21 22:50:09 -05:00
Taylor Otwell 7f8c686360 import lang class into validation rule. 2011-06-21 22:47:25 -05:00
Taylor Otwell 0d10ab740b changes to view class to have error collector. 2011-06-21 22:34:53 -05:00
Taylor Otwell 78301fb8c7 fixed bugs in validation classes. 2011-06-21 22:22:52 -05:00
Taylor Otwell 9b8942fa1d fixed equality check in validator. 2011-06-21 20:14:40 -05:00
Taylor Otwell 081a3e512f initial commit of validation classes. 2011-06-21 20:11:17 -05:00
Taylor Otwell adb583471b added Config::has and default value for Config::get. 2011-06-21 19:44:04 -05:00
Taylor Otwell fcdcc656b4 Add exception for SQLite databases that can't be found. 2011-06-21 13:14:54 -07:00
Taylor Otwell dbc418c0d7 changed Request::is to Request::route_is. 2011-06-19 22:49:01 -05:00
Taylor Otwell 1ff5f84545 added apc driver notes in cache configuration file. 2011-06-18 19:49:29 -05:00
Taylor Otwell ab3be568ea Merge pull request #15 from toszcze/apc
Added APC cache driver.
2011-06-18 17:44:50 -07:00
Bartosz Romanowski 2a2f699169 Added the cache key to avoid cache overwritting 2011-06-19 00:12:05 +02:00
Taylor Otwell fcd6cd77ef fixed messed up commit of file cache driver. 2011-06-18 16:44:34 -05:00
Bartosz Romanowski b031fdf43d APC cache driver 2011-06-18 23:01:52 +02:00
Taylor Otwell a3a9368707 added dynamic Request::is_ method.. e.g. Request::is_login(). 2011-06-18 12:00:52 -05:00
Taylor Otwell 7f06e0f4cd added request::is. 2011-06-18 10:38:56 -05:00
Taylor Otwell 396d148720 added is method, improved comments. 2011-06-18 10:26:04 -05:00
Taylor Otwell c972fe198b Merge remote-tracking branch 'pedroborges/develop' into request_is 2011-06-18 10:18:33 -05:00
Taylor Otwell 8a4db9ff2d fixed attribute setting bug in hydrator. 2011-06-18 10:02:18 -05:00
Pedro Borges d446ccc82f Added the method 'is' to request.php 2011-06-18 11:54:59 -03:00
Taylor Otwell c751844aab fixed belongs_to eager loading bug when parent does not exist. 2011-06-18 09:54:50 -05:00
Taylor Otwell 8f8c5f6dd4 fix bug in route loader that caused exception to be thrown when 404 should have been shown. 2011-06-18 09:34:52 -05:00
Taylor Otwell 90fadb2980 Fixing spacing in Eloquent\Hydrator. 2011-06-17 14:53:41 -07:00
Taylor Otwell 21c1249484 Fixing spacing in Eloquent. 2011-06-17 14:52:33 -07:00
Taylor Otwell e3ffb3f171 Refactoring Eloquent\Hydrator. 2011-06-17 14:50:07 -07:00
Taylor Otwell eaaac620a0 Refactoring System\DB\Eloquent. 2011-06-17 14:47:45 -07:00
Taylor Otwell 8c0dfffa34 Add PHPDoc to delete method in Eloquent. 2011-06-17 13:38:16 -07:00
Taylor Otwell 43f196878c Improved comments in System\DB\Eloquent. 2011-06-17 13:36:57 -07:00
Taylor Otwell 5bfbfe4243 Refactoring System\DB\Query. 2011-06-17 13:09:50 -07:00
Taylor Otwell 2f7fa6687c Added "driver" method to System\DB. 2011-06-17 12:33:50 -07:00
Taylor Otwell 0f8f3f347c Refactor Query\Compiler. 2011-06-17 11:56:13 -07:00
Taylor Otwell 00fcaf2be9 Improve comments in DB\Connector. 2011-06-17 11:51:53 -07:00
Taylor Otwell 1e57baf923 Refactor database session driver. 2011-06-17 11:47:37 -07:00
Taylor Otwell 89239abd9e Take extra junk out of Route\Parser comments. 2011-06-17 11:43:18 -07:00
Taylor Otwell c55b4c5b7b Improve comments in Route\Parser. 2011-06-17 11:42:24 -07:00
Taylor Otwell 253e529c41 Fix typo in Route\Finder comment. 2011-06-17 11:37:26 -07:00
Taylor Otwell ad3f98db6b Improve comments in Route\Finder. 2011-06-17 11:30:30 -07:00