Commit Graph

810 Commits

Author SHA1 Message Date
Taylor Otwell 554d390f1e added same and different validation rules. 2012-02-03 11:02:54 -06:00
Taylor Otwell d462a72981 adjusting route class. 2012-02-03 10:43:09 -06:00
Taylor Otwell 17213fe073 urldecode all route parameters. 2012-02-03 10:35:15 -06:00
Taylor Otwell 3780da4ad1 add comment to boostrap. 2012-02-03 10:29:37 -06:00
Taylor Otwell d02f4deb8f tweaking bootstrap. 2012-02-03 09:39:10 -06:00
Taylor Otwell d681f49920 fix 404 route issue. 2012-02-03 09:37:22 -06:00
Taylor Otwell 6ed4adf6c4 added parens to router wildcard character list. 2012-02-03 08:45:51 -06:00
Taylor Otwell e21d914c1c improve work directory cleanup. 2012-02-02 16:52:47 -06:00
Taylor Otwell f0c273771a moved directory function into github provider since it doesnt belong in base provider. 2012-02-02 16:41:23 -06:00
Taylor Otwell b989594c82 clean up a few things. 2012-02-02 15:54:28 -06:00
Taylor Otwell b97dccfbbc attempt to clean up working directory after bundle install. 2012-02-02 15:52:57 -06:00
Taylor Otwell e0c84a94cc tweaking zip provider. 2012-02-02 15:41:20 -06:00
Taylor Otwell 62ee825071 added message for zip install. 2012-02-02 15:37:36 -06:00
Taylor Otwell ef2c5af4f1 remove die from github provider. 2012-02-02 15:36:50 -06:00
Taylor Otwell ec5c08a7cc added ability to install github bundles using zips. 2012-02-02 15:18:36 -06:00
Taylor Otwell 87424c73f5 added delete option to cpdir method. 2012-02-02 14:13:27 -06:00
Taylor Otwell ee400675d5 import request. 2012-02-02 13:47:30 -06:00
Taylor Otwell 14ab7c4e05 tweaking github provider. 2012-02-02 13:46:33 -06:00
Taylor Otwell a6c083f311 added activity method to session. 2012-02-01 16:04:17 -06:00
Taylor Otwell baac975fc6 added route task. 2012-02-01 15:22:25 -06:00
Taylor Otwell 10ee41f3b3 fix bug in fluent class. 2012-02-01 13:20:44 -06:00
Taylor Otwell ded215d0e3 change cookie::sign to public. 2012-02-01 11:42:37 -06:00
Taylor Otwell 2504f8693f fix cookie bug. 2012-02-01 11:02:12 -06:00
Taylor Otwell 33f34aa479 dont use ioc for session. 2012-02-01 10:32:06 -06:00
Taylor Otwell eaa2cf593c added support for custom validation lines. 2012-02-01 10:11:27 -06:00
Taylor Otwell a9873a479d added lang::has method. 2012-02-01 10:02:46 -06:00
Taylor Otwell 0c69b2c0c0 tweaked github provider. 2012-02-01 09:51:07 -06:00
Taylor Otwell cf33cae228 fix github provider. 2012-02-01 09:48:48 -06:00
Taylor Otwell 068e92286d added path support to bundle installer. 2012-02-01 09:29:34 -06:00
Taylor Otwell 8066a595bc added remember_me cookie config option. 2012-02-01 08:52:57 -06:00
Taylor Otwell ac277c58e6 Merge pull request #296 from cviebrock/develop
Date field support, please?
2012-02-01 06:45:24 -08:00
Taylor Otwell f3a78490bd fix sorting of migrations. 2012-02-01 08:44:26 -06:00
Taylor Otwell 8bd740d183 added support for named layouts. 2012-02-01 08:38:12 -06:00
Taylor Otwell 3c016285a1 make log function non-static. 2012-02-01 08:27:46 -06:00
Taylor Otwell 982e009a96 added query event for hooking into database for logging. 2012-02-01 08:25:54 -06:00
cviebrock 2d413044e8 Add HTML5 date field support. 2012-02-01 00:16:05 -06:00
Taylor Otwell 96b43e90b3 show warning when key is not set. 2012-01-31 16:35:35 -06:00
Taylor Otwell d20deb2847 die out if application key is not set. 2012-01-31 16:16:39 -06:00
Taylor Otwell 2b12c0c140 modified cookie class. set application key on first request if not set. 2012-01-31 15:58:00 -06:00
Taylor Otwell 4cf7f0c627 added cookie jar that holds cookies until end of request. 2012-01-31 15:19:23 -06:00
Taylor Otwell 5a6f2f888d unfix bug in validator, heh. 2012-01-31 14:21:59 -06:00
Taylor Otwell 62856a15ce added config option for display_errors. fixed response::error to use dot syntax. 2012-01-31 13:29:38 -06:00
Taylor Otwell 659fd50a65 change function type in payload. 2012-01-31 11:47:55 -06:00
Taylor Otwell bd532ee4b0 fix cache::remember method with closures. 2012-01-31 10:43:10 -06:00
Taylor Otwell fd446aec62 fix bug in validation unique method. 2012-01-31 10:22:26 -06:00
Taylor Otwell 224b9eadd2 added two new core events. 2012-01-30 13:22:08 -06:00
Taylor Otwell b5f9f9bd9a added event firing when bundle is started. 2012-01-30 13:18:33 -06:00
Taylor Otwell 363632165c fixed casing issues in inflection. 2012-01-30 10:58:32 -06:00
Taylor Otwell ea13ddfb7f fix aggregate selecting bug. 2012-01-30 10:38:12 -06:00
Taylor Otwell d19fd5a1ce added html::decode method. 2012-01-30 10:22:23 -06:00
Taylor Otwell 8ab33cf8c8 added support for select multiple. 2012-01-30 10:20:05 -06:00
Taylor Otwell 5bd0f27d1c change session:install command to session:table. 2012-01-30 10:16:53 -06:00
Taylor Otwell 8423b972d8 tweaked migration date for last time. 2012-01-30 10:15:11 -06:00
Taylor Otwell 75abe2237b fix migrator. 2012-01-30 10:07:05 -06:00
Taylor Otwell 64c284bcfa comment tweak 2012-01-30 09:59:05 -06:00
Taylor Otwell 221d2f8af5 Merge pull request #260 from sparksp/2.2b1/migrate-sort
Sort outstanding migrations by filename
2012-01-30 07:57:23 -08:00
Taylor Otwell 72d181b330 added exists method and language lines for ip and exists rules. 2012-01-30 09:54:19 -06:00
Taylor Otwell 429ac00ff5 fixed misleading comment. 2012-01-30 08:56:34 -06:00
Taylor Otwell c81be6d27b fix config class bug. 2012-01-30 08:50:07 -06:00
Taylor Otwell c44b6264dd fix autoloading system path issue. 2012-01-29 17:33:58 -06:00
Taylor Otwell 008819cd1e added db method to validator. 2012-01-29 13:59:50 -06:00
Taylor Otwell 3488a5449e adjust comment. 2012-01-29 13:55:33 -06:00
Taylor Otwell af5e4c6be6 Merge pull request #278 from codler/patch-8
Validate IP
2012-01-29 11:54:48 -08:00
Taylor Otwell 1fc861026a added back support for specifying column in validator unique rule. id is now a third parameter option. 2012-01-29 13:19:47 -06:00
Taylor Otwell 1ec6fc766c added support for database table prefixes. 2012-01-29 13:07:15 -06:00
Taylor Otwell 97fcea1e51 cleaned up paths. 2012-01-28 14:55:08 -06:00
Phill Sparks 733392f72f Really default location to bundle name. 2012-01-28 20:03:29 +00:00
Taylor Otwell 161796e983 default location to bundle name. 2012-01-27 19:38:22 -06:00
Taylor Otwell 4774c8d91e lowercase namespace when loading bundle. 2012-01-27 19:33:23 -06:00
Taylor Otwell a351e91aef fix testing of the core. 2012-01-27 16:28:17 -06:00
Taylor Otwell f44c565ee4 converted path constants to $GLOBALS. 2012-01-27 16:17:43 -06:00
Taylor Otwell 09d4b74cf1 added core option to test runner. 2012-01-27 15:43:05 -06:00
Taylor Otwell f706ed75bf made testing elegant. 2012-01-27 15:28:46 -06:00
Taylor Otwell 2b7e4d1873 tweak github bundle provider. 2012-01-27 12:11:00 -06:00
Taylor Otwell 6b1b0ee5e1 fix bundle publishing problem. 2012-01-27 11:22:26 -06:00
Taylor Otwell b9f6d162e6 improve key generation. 2012-01-27 10:43:45 -06:00
Taylor Otwell 59df5f3c6d set the application key when creating the session table. 2012-01-27 10:39:52 -06:00
Taylor Otwell 8f07192306 rename session:table to session:install. 2012-01-27 10:38:00 -06:00
Taylor Otwell 884b707c6b cleaning up comments. 2012-01-27 09:45:16 -06:00
Taylor Otwell 549d8cc370 cleaned up the router. 2012-01-27 09:31:16 -06:00
Taylor Otwell 7aecd7857f refactoring the router. 2012-01-27 08:47:12 -06:00
Taylor Otwell 54e0bef6b5 simplified the controller_key method in the router. 2012-01-27 08:18:30 -06:00
Taylor Otwell 29fc846f39 fix comment 2012-01-26 20:07:40 -06:00
Taylor Otwell 70082508f5 improve bundle configuration and registration. 2012-01-26 20:07:02 -06:00
Taylor Otwell 300ab50a84 explicitly registering the base_path as a psr-0 directory no longer necessary since auto-loader will detect core classes by namespace. 2012-01-26 19:55:46 -06:00
Taylor Otwell 9d1905ee24 improve autoloader and load entire framework core using PSR-0 on the base_path. 2012-01-26 19:54:43 -06:00
Taylor Otwell d76cf4ba23 bundle improvements. 2012-01-26 17:01:17 -06:00
Taylor Otwell 7052c33c37 dont automatically publish bundle assets. 2012-01-26 16:04:51 -06:00
Taylor Otwell da7d076f54 allow non routable bundles to just use string values. 2012-01-26 16:03:25 -06:00
Taylor Otwell 8dfb50c835 opened up bundles to live anywhere and respond to any URI.' 2012-01-26 14:37:43 -06:00
Taylor Otwell d3d3ffc168 refactoring. 2012-01-26 13:35:29 -06:00
Han Lin Yap 5974a58b3f validate ip 2012-01-26 18:26:54 +01:00
Taylor Otwell a36e2773e2 rearrange hash class. 2012-01-26 10:29:19 -06:00
Taylor Otwell f9856988bb cleaning up router comments. 2012-01-26 10:21:00 -06:00
Taylor Otwell 96c43d6d87 Merge pull request #272 from kbanman/clicommandfix
Fix typo in Cli\Command
2012-01-26 06:36:45 -08:00
Taylor Otwell da1e2b6bf8 change lang back to __ 2012-01-26 08:35:57 -06:00
Taylor Otwell 6d6fc1b13e fix bug in backreference. 2012-01-25 16:19:56 -06:00
Taylor Otwell d4c5114792 code quality and backreference support in controllers. 2012-01-25 16:07:16 -06:00
Taylor Otwell ae56f68c87 use query grammar to parameterize where in sql shortcut. 2012-01-25 15:34:19 -06:00
Taylor Otwell af170af12d overall code quality audit. 2012-01-25 15:31:04 -06:00
Taylor Otwell 45969e3593 added render method to response class. 2012-01-25 14:57:43 -06:00
Taylor Otwell 071d8ab069 move cookie payload check into cookie class. 2012-01-25 09:44:38 -06:00
Taylor Otwell c847bc4d5e added cookie storage limit exception. 2012-01-25 09:01:15 -06:00
Taylor Otwell 974ff302ef adding some view tests and fixing a few bugs. 2012-01-25 08:37:04 -06:00
Kelly Banman ac3c7b5c0a Fix typo in Cli\Command 2012-01-24 20:33:38 -08:00
Taylor Otwell c9eb7bdf35 updated session task to run through migration system. 2012-01-24 16:19:28 -06:00
Taylor Otwell 27fdb1e3f5 added key and session tasks. 2012-01-24 15:02:51 -06:00
Taylor Otwell 20b4cf7bb8 added key generation task. 2012-01-24 14:32:19 -06:00
Taylor Otwell 70dd657e80 make aggregate method public. 2012-01-24 13:36:22 -06:00
Taylor Otwell c6e814a6cc return true on ignored errors. 2012-01-24 13:03:12 -06:00
Taylor Otwell b8f17bb82d remove unnecessary imports. 2012-01-24 11:52:56 -06:00
Taylor Otwell 62571b3971 fix some problems on the CLI and allow specification of environment and database. 2012-01-24 11:51:15 -06:00
Taylor Otwell ec2fc6ddd0 fixed infinite loop when removing magic. 2012-01-24 11:29:05 -06:00
Taylor Otwell 18b6cc44af cleaning up bootstrap file. 2012-01-24 10:10:28 -06:00
Taylor Otwell 27483835f4 always disable magic quotes at runtime. 2012-01-24 10:06:48 -06:00
Taylor Otwell 02397c6732 use array_map to stripslashes. 2012-01-24 09:12:56 -06:00
Taylor Otwell 4d87565f74 workaround magic quotes. 2012-01-24 09:09:14 -06:00
Taylor Otwell 27502918fb fix bundle dependency error possibility. fix WSOD in view rendering. 2012-01-24 08:58:21 -06:00
Taylor Otwell 67696d8114 index names may be specified on fluent setup. 2012-01-24 08:43:12 -06:00
Phill Sparks 5502497432 Prevent a bundle from starting itself into a loop 2012-01-24 10:46:29 +00:00
Taylor Otwell 33d62e7753 refactoring the autoloader. 2012-01-23 16:07:08 -06:00
Taylor Otwell 8cfb6d621c refactoring the cli. 2012-01-22 20:01:45 -06:00
Kelly Banman a3cbe24b6e Fix inconsistent data referencing in View 2012-01-22 17:34:08 -08:00
Taylor Otwell 765dcc8bac tweaking the migrator. 2012-01-22 15:30:02 -06:00
Taylor Otwell 3569edbb0b fixed comment in grammar. 2012-01-21 10:46:03 -06:00
Taylor Otwell 4737c6d8a9 Merge pull request #244 from codler/patch-7
DB::raw should have higher precedence than alias
2012-01-21 08:45:09 -08:00
Taylor Otwell 8e5c736392 Merge pull request #245 from paulboco/develop
Change argument to $publisher->publish() from $bundle to $bundle['name'].
2012-01-21 08:43:33 -08:00
Taylor Otwell e6cec8c54b Merge pull request #246 from ericbarnes/develop
Bug fix for route::handles
2012-01-21 08:42:35 -08:00
Taylor Otwell 35e364282a Merge pull request #253 from sparksp/2.2b1/session
Session should throw an Exception when it's not started
2012-01-21 08:40:53 -08:00
Taylor Otwell e41657c4d1 do not check for existence of sqlite database before connecting. 2012-01-21 10:39:54 -06:00
Taylor Otwell dd8ebe60f0 make index names required. 2012-01-21 10:36:39 -06:00
Taylor Otwell e9da2ef27f added comment to migrator and use the DS constant. 2012-01-21 10:34:58 -06:00
Phill Sparks 1ecadb826c Sort outstanding tasks by filename 2012-01-21 13:34:45 +00:00
Phill Sparks e0db24aa9b Create the bundle migrations dir automatically 2012-01-21 00:09:40 +00:00
Phill Sparks b4621e489f Session throws an Exception when it's not started 2012-01-20 15:33:53 +00:00
Eric Barnes ea8c6e1825 Fixed route handles for uri's that partially match 2012-01-19 08:47:17 -05:00
Paul Boco 9dbc15a3be Change argument to $publisher->publish from $bundle to $bundle['name']. 2012-01-18 17:11:47 -06:00
Taylor Otwell 9bcbe6a357 fix bug in route handles method. 2012-01-18 15:28:16 -06:00
Taylor Otwell 319964fce2 added basic autoloader tests. 2012-01-18 14:03:12 -06:00
Taylor Otwell 9de8e0050c cleaning up the bootstrap file. 2012-01-18 13:18:35 -06:00
Taylor Otwell 8341797b45 cleaning up the bootstrap file. 2012-01-18 13:05:03 -06:00
Taylor Otwell eb193c1d12 working on the route class. 2012-01-18 12:44:00 -06:00
Taylor Otwell bfc04e283b set value in cookie array when cooke is set. 2012-01-18 11:51:42 -06:00
Taylor Otwell fce005d0b9 register session in ioc. 2012-01-18 11:43:45 -06:00
Taylor Otwell 73c09f2f29 fixed bug in router. 2012-01-18 11:41:13 -06:00
Taylor Otwell 6865db3f21 cleaning up the auth class. 2012-01-18 11:30:02 -06:00
Taylor Otwell aa427bbd39 added route test for handles method. fixed bug in route class. 2012-01-18 11:25:11 -06:00
Taylor Otwell 19f8430ce2 finished the asset tests. 2012-01-18 10:47:48 -06:00
Taylor Otwell ebb11b9783 adding asset container tests. 2012-01-18 10:25:12 -06:00
Taylor Otwell 775020666a automatically prepare the directories registered with the auto-loader. 2012-01-18 10:08:07 -06:00
Taylor Otwell d95c371867 fix bug in controller filters. 2012-01-18 09:44:12 -06:00
Taylor Otwell d8597e2095 fix comment in bundler. 2012-01-18 09:35:04 -06:00
Taylor Otwell 57925465fe added tests_path constant and added tests to bundle publisher. 2012-01-18 09:33:41 -06:00
Taylor Otwell ba1d2a6238 refactoring the file::is method. 2012-01-18 09:23:05 -06:00
Taylor Otwell f7e6b957de added function to recursively copy a directory. 2012-01-18 09:18:37 -06:00
Taylor Otwell c314c0ab2a added namespace to directory mapping support in autoloader. 2012-01-18 08:59:53 -06:00
Taylor Otwell 6e120eeeae cleaning up the hash class. 2012-01-17 14:23:11 -06:00
Taylor Otwell 86bbb5f187 added get and set magic methods. 2012-01-17 13:32:04 -06:00
Han Lin Yap b158a7a438 DB::raw higher precedence than alias 2012-01-17 17:25:51 +01:00
Taylor Otwell 471b7aaa81 fix glob problem in file cache driver. 2012-01-17 09:23:11 -06:00
Taylor Otwell 04f21380ca fix glob problem in migration resolver. 2012-01-17 09:21:46 -06:00
Taylor Otwell b218e80d5a Merge branch 'develop' of github.com:laravel/laravel into develop 2012-01-17 09:15:12 -06:00
Taylor Otwell f53ebbf672 fix glob error in bundle class. 2012-01-17 09:14:56 -06:00
Taylor Otwell 9e690c8af6 fix problem with bundle assets. 2012-01-16 19:37:57 -06:00
Taylor Otwell 2bbb9e55e9 fix bug in bundle assets method. 2012-01-16 19:25:01 -06:00
Taylor Otwell d50638cc75 added shortcut for registering controllers in the ioc container. 2012-01-16 16:50:34 -06:00
Taylor Otwell a204054ad3 added profile method to db class. 2012-01-16 16:39:54 -06:00
Taylor Otwell f9bc3cc2df added before and after methods to the base controller. 2012-01-16 14:21:06 -06:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00
Taylor Otwell c47a30fca6 fix bug in router parameter parsing. 2012-01-12 11:04:02 -06:00
Taylor Otwell 264cc51294 fixed bug in auth cookie removal. 2012-01-05 11:52:42 -06:00
Taylor Otwell 59fcd67637 Merge pull request #214 from akuzemchak/develop
Allow timestamp method to be extended
2011-12-30 09:29:48 -08:00
Taylor Otwell 09d1c85e98 limited number of uri segments that a request can have. 2011-12-30 11:24:15 -06:00
Han Lin Yap 4b3965e461 Fix bug when using raw_where with eloquent 2011-12-27 11:35:37 +01:00
Han Lin Yap 4a52aabd15 Fix bug when using raw_where with eloquent 2011-12-27 11:34:15 +01:00
Aaron Kuzemchak 81992a18fd Changed timestamp method to protected, so that it can be extended if desired. 2011-12-18 16:14:26 -05:00
Han Lin Yap 72793db8a3 Fix bug - nesting Section. 2011-12-18 16:12:22 +01:00
Taylor Otwell ff5b6315bc added array access to session::Get 2011-12-10 21:56:42 -06:00
Taylor Otwell ddd6d44782 fix bug affecting using db::raw with eloquent. 2011-12-10 21:54:07 -06:00
Phill Sparks 1f17629baa Session flush now correctly prepares empty data. 2011-12-09 19:05:08 +00:00
Taylor Otwell a2aa741814 Merge pull request #199 from syntaqx/master
Removed chr() references during bootstrap.
2011-12-04 15:07:24 -08:00
Taylor Otwell 4ec3f397cf fixed pagination bug affecting postgres. 2011-12-04 16:51:11 -06:00
Han Lin Yap 7106afea9c Change to correct parameters in phpdoc 2011-12-04 20:03:15 +01:00
Han Lin Yap 287433193d phpdoc correction 2011-12-04 15:00:14 +01:00
Chase Hutchins 077eab3a72 Removed chr() references. The ASCII table does not change from platform to platform. 2011-12-04 02:00:39 -07:00
Taylor Otwell 1c97dccaef fix filter parameter merging bug and update changelog. 2011-12-03 23:09:47 -06:00
Taylor Otwell 92ff0474a1 allow message container to be passed into redirect->with_errors. 2011-12-01 23:41:01 -06:00
Taylor Otwell cb306c9091 fixing a few bugs in the form class. 2011-12-01 23:34:31 -06:00
Taylor Otwell 271fbbbb68 added default parameter to file::get method. 2011-12-01 23:30:52 -06:00
Taylor Otwell 5b7a462131 Composers should not be loaded every time a new view is created. 2011-11-30 10:54:51 -06:00
Taylor Otwell 84e6224b1b Fix bug in Autoloader's library detection. 2011-11-30 09:05:10 -06:00
Taylor Otwell 958efea5bd Fix a docblock in the controller class. 2011-11-30 08:52:40 -06:00
Taylor Otwell 7e33b4f852 cleaning up some code comments. 2011-11-29 22:32:05 -06:00
Taylor Otwell 420ff3839a added clarification to base url method. 2011-11-29 22:26:16 -06:00
Taylor Otwell d22f209775 Simple formatting tweaks to the URL class. 2011-11-29 16:36:55 -06:00
Taylor Otwell 9e46cadab3 Minor refactoring of the Validator. Mainly code formatting and naming changes. 2011-11-29 13:40:33 -06:00
Taylor Otwell ed092bf6cd Added URL::to_action and URL::to_secure_action methods for conveniently generating URLs to controllers. 2011-11-29 11:14:55 -06:00
Taylor Otwell 1372cb3ff8 url::to method should use url::base. 2011-11-28 23:48:48 -06:00
Taylor Otwell 00b512a876 remove typo in method comment. 2011-11-28 23:15:35 -06:00
Taylor Otwell b7b80d6d49 the application url will now be auto-detected. 2011-11-28 23:10:16 -06:00