Commit Graph

955 Commits

Author SHA1 Message Date
Taylor Otwell c4594afce1 cleaning up the validator.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 15:12:30 -06:00
Taylor Otwell 8104862667 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-03-03 14:49:10 -06:00
Taylor Otwell 606b8ceada Fixed typo in comment.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-03 14:48:45 -06:00
Taylor Otwell d43157b61f Fix drop_foreign SQL grammar for MySQL.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:27:37 -06:00
Taylor Otwell 1d93cab0d0 Cleaning up foreign key support. Added drop_foreign command.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:23:27 -06:00
Taylor Otwell c002ae6337 Use constraints for "unique" on Postgres schemas.
Previous was using CREATE INDEX, should be using ADD CONSTRAINT as this will create the index automatically per Postgres documentation.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:54:43 -06:00
Taylor Otwell 1302ded5f8 Added foreign key support to schema builder for MySQL, Postgres, and SQL Server.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:41:30 -06:00
Dayle Rees 601b29a9d1 added bundle fetching notification for bundle:install
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-03-02 11:40:16 +00:00
Jason Lewis aac2507858 When no key is provided to first it returns the first message from all the messages. 2012-03-02 18:04:57 +11:00
Taylor Otwell 028703d9d5 Clean up the life-cycle file.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 13:30:02 -06:00
Taylor Otwell f473e4418a Cleaning up the core bootstrap file.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 13:06:27 -06:00
Taylor Otwell fdcebc1bcb Added override and clear methods to event class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 12:02:16 -06:00
Taylor Otwell 2331ae18cf Added lang and view loader events.
Added lang and view loader events similar to the configuration loader.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 11:52:05 -06:00
Taylor Otwell 16fa094cc3 Setting up default config loader event.
Went ahead and just register the config.load event with Laravel on every request and default to the file implementation.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 11:21:11 -06:00
Taylor Otwell be95496158 Allowing for config.load event.
Moved more basic logic into application start to make it easier to hook into early life cycle events such as configuration loading while not introducing extra files into the framework.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-01 10:55:37 -06:00
Dayle Rees 2c4d35e6a4 allow File::cpdir() to fail (and return false) 2012-03-01 12:12:39 +00:00
Colin Viebrock b7d068f2f2 Move method into grammar.php instead of duplicating in each grammar 2012-02-29 15:21:20 -06:00
Colin Viebrock 26c7273493 Add unsigned() modifier, so you can create unsigned integer columns 2012-02-29 15:09:13 -06:00
Taylor Otwell b37c966aea improve session ID assignment to avoid possible overlaps.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-28 10:06:53 -06:00
Taylor Otwell 425192a05d fix bug in route. 2012-02-28 09:30:43 -06:00
Taylor Otwell 5325acac64 adding support for attaching filters based on URI routing.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-28 09:28:23 -06:00
Taylor Otwell 01ddff5cdc adding support for filter patterns.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 22:36:28 -06:00
Taylor Otwell 9954482194 added search and extension functions to view class for registering them.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 16:27:28 -06:00
Taylor Otwell 64b61abcd5 added paths and extensions options to view class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 15:29:11 -06:00
Taylor Otwell ca5dfa4061 fixing underscored library auto-loading.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 14:08:01 -06:00
Taylor Otwell 621fee09be cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 09:28:21 -06:00
Taylor Otwell d87b01ad6c cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 09:26:51 -06:00
Taylor Otwell a08537335a simplify autoloader namespace mapping.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:41:19 -06:00
Taylor Otwell 909413916c cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:32:12 -06:00
Taylor Otwell 2a02b9f6ac cleaning up view code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-25 22:30:35 -06:00
Taylor Otwell 484a737382 make the pdo fetch style configurable. 2012-02-24 11:35:02 -06:00
Taylor Otwell 9804bb55dc comment cleanup. 2012-02-24 11:17:56 -06:00
Taylor Otwell 97cb0035f4 clarify cookie comment. 2012-02-24 10:31:43 -06:00
Taylor Otwell c9bb800ee9 cleaning up the cookie class. 2012-02-24 10:29:20 -06:00
Taylor Otwell 9019c6e2f6 added link_to_action method to html class. 2012-02-24 08:08:56 -06:00
Taylor Otwell d6fba0ade1 blade ext constant no longer needed. 2012-02-23 22:35:33 -06:00
Taylor Otwell 49d3c5251b removed blade from core and extracted it into bundle. added view engine event to hook in any view engine to the core. 2012-02-23 22:34:42 -06:00
Aaron Kuzemchak 115eb8d085 Added shortcut method to load a designated route's response 2012-02-23 20:08:12 -05:00
Taylor Otwell 441a9e206f working on view engine event. 2012-02-23 17:00:36 -06:00
Taylor Otwell 2b4ab94e6b trimming up comment bloat. 2012-02-23 16:29:30 -06:00
Taylor Otwell 753c769d10 fixing comment. 2012-02-23 16:19:00 -06:00
Taylor Otwell 160e839e81 cleaning up classes. 2012-02-23 16:18:08 -06:00
Taylor Otwell fadadd0f62 allow events to override the log class. 2012-02-23 14:50:07 -06:00
Taylor Otwell 157f619e98 basic code cleanup. 2012-02-23 14:02:59 -06:00
Taylor Otwell e69f988fe5 improving some comments. 2012-02-23 09:09:56 -06:00
Taylor Otwell d29a127948 allow multiple request methods for uri. 2012-02-23 09:09:00 -06:00
Taylor Otwell f624a6849f fix handling of HEAD http requests. 2012-02-23 08:43:55 -06:00
Taylor Otwell e70261e962 added support for controller factories. 2012-02-22 15:09:04 -06:00
Taylor Otwell 86fa595317 set application key by default. 2012-02-22 11:00:02 -06:00
Taylor Otwell f84bdb98a1 cleaning up code. 2012-02-21 10:52:38 -06:00
Taylor Otwell 271e73462d cleaning up code. 2012-02-21 10:52:19 -06:00
Taylor Otwell ca40180b54 cleaning up code. 2012-02-21 10:51:31 -06:00
Taylor Otwell 353c7c527f cleaning up code. 2012-02-21 10:50:25 -06:00
Taylor Otwell f6ef233d39 alias aggregate column in query grammar. 2012-02-21 09:23:24 -06:00
William Cahill-Manley 6bed34fb8b Use rtrim instead of prepending DS to avoid Windows issues 2012-02-20 14:52:32 -08:00
William Cahill-Manley dd5ff5f12b Trimmed Directory separator produces relative (and wrong) paths for bundles 2012-02-20 14:44:13 -08:00
Taylor Otwell 4e9369f5bf rename autoloading method. 2012-02-20 15:50:58 -06:00
Taylor Otwell 1ff9deb150 clean up auto-loader registrations. 2012-02-20 15:50:09 -06:00
Taylor Otwell e996093b72 cleaning up bundle registration. 2012-02-20 15:33:19 -06:00
Taylor Otwell 5c66658428 remove bundle guessing in autoloader in preference of explicit config. 2012-02-20 15:27:01 -06:00
Taylor Otwell 16dca5e74e updating bundle class loading. 2012-02-20 14:40:24 -06:00
Taylor Otwell ec84d3f90d added ability to specify autoloader configuration for bundles in bundles.php 2012-02-20 14:00:11 -06:00
Taylor Otwell a88511428a silently flush output buffer on error. 2012-02-20 09:28:12 -06:00
Taylor Otwell 1098d50aff cleaning. 2012-02-20 09:07:56 -06:00
Taylor Otwell ea358eb371 cleaning up code. 2012-02-19 22:56:59 -06:00
Taylor Otwell b262e743c0 autoload bundles based on namespace. 2012-02-19 21:59:57 -06:00
Taylor Otwell 106b5dc1e1 tweaks. 2012-02-19 09:43:34 -06:00
Taylor Otwell 22e5d8e425 tweaking autoloader variables. 2012-02-19 08:49:59 -06:00
Taylor Otwell 2f66c97806 changes 2012-02-18 13:37:02 -06:00
Taylor Otwell fe0b4b287d cleaning up code. 2012-02-17 16:30:11 -06:00
Taylor Otwell 33e4914634 random cleanup. 2012-02-17 14:47:46 -06:00
Taylor Otwell 3507d15323 fix charset in mysql and pgsql connectors. 2012-02-17 14:38:25 -06:00
Taylor Otwell bf6313e50b cleaning up code. 2012-02-17 14:02:53 -06:00
Taylor Otwell ba3f62f79a added auto_key config option. 2012-02-17 09:00:53 -06:00
Taylor Otwell faa2eec3b9 consolidate database methods into db::query. 2012-02-17 08:47:06 -06:00
Taylor Otwell 42b9d1e097 import router. 2012-02-17 08:33:46 -06:00
Taylor Otwell ed72448fb0 Merge pull request #343 from sparksp/patch-4
Consolidate Bundle::path and Bundle::location
2012-02-17 06:32:42 -08:00
Taylor Otwell 2296f63b8f tweak bundle:assets. 2012-02-17 08:31:17 -06:00
Phill Sparks aa9d790a15 Consolidate Bundle::path and ::location 2012-02-17 11:18:55 +00:00
Taylor Otwell e828b6c0c3 all database exceptions now include SQL and bindings in message for easier debugging. 2012-02-16 22:32:09 -06:00
Taylor Otwell dd6402c648 prefix built-in events with laravel. 2012-02-16 16:26:39 -06:00
Taylor Otwell 7aa78e1a3c change done event name. 2012-02-16 16:24:52 -06:00
Taylor Otwell 0e63717be9 use default index names on implicit indexes. 2012-02-16 15:37:06 -06:00
Taylor Otwell 62d8c09cce trim a long ling. 2012-02-16 15:31:07 -06:00
Taylor Otwell 851db1703e dont register session in ioc. 2012-02-16 15:14:31 -06:00
Taylor Otwell 0e4f726874 cleaning up code before release. 2012-02-16 15:12:42 -06:00
Taylor Otwell bb0967cceb throw exception if padding is invalid. 2012-02-16 14:53:22 -06:00
Taylor Otwell 1324ba368c tweak provider to use temp directory to avoid latest confusions. 2012-02-16 14:35:32 -06:00
Taylor Otwell ab5ce2a7eb added pkcs7 compliant padding to encryption class instead of default 0 padding. 2012-02-16 14:31:11 -06:00
Taylor Otwell 49d9666958 final code cleanup 2012-02-16 13:59:48 -06:00
Taylor Otwell f41717dcb1 dont try to guess the bundle of classes. 2012-02-16 13:53:19 -06:00
Taylor Otwell 5cfe371360 null should return default bundle path. 2012-02-16 13:02:40 -06:00
Taylor Otwell 86102ac417 update test runner. 2012-02-16 10:32:39 -06:00
Taylor Otwell 317e8db81f change query event name. 2012-02-16 09:08:00 -06:00
Taylor Otwell 36834c1118 add database.profile config option. 2012-02-16 08:46:48 -06:00
Taylor Otwell b29f8a88fe add default value for index names. 2012-02-15 16:17:47 -06:00
Taylor Otwell b73a60de2a rearrange str class. 2012-02-15 13:51:18 -06:00
Taylor Otwell ab17ea674a fix bug in db profiling. 2012-02-15 13:29:37 -06:00
Taylor Otwell 6e83add76f tweaking key setting. 2012-02-15 13:17:45 -06:00
Taylor Otwell 82315f31d5 added configurable automatic key generation. 2012-02-15 13:02:38 -06:00
Taylor Otwell 6b14bd394e change psr method to directories. 2012-02-15 11:12:23 -06:00
Taylor Otwell 188394bae1 added url::home 2012-02-15 08:27:10 -06:00
Taylor Otwell 75280a9fea cleaning up validator method. 2012-02-14 16:53:08 -06:00
Taylor Otwell e1c8928550 added passes and fails method to validtor. 2012-02-14 15:19:01 -06:00
Taylor Otwell 642b0f17f0 link_to_secure_route no longer needed. 2012-02-14 11:35:22 -06:00
Taylor Otwell 9f60c5e15a https option no longer needed on path helpers. 2012-02-14 11:34:43 -06:00
Taylor Otwell 3f44103760 added redirect::home 2012-02-14 09:38:08 -06:00
Taylor Otwell 14c9d38270 add facade for filter::register. 2012-02-14 08:22:10 -06:00
Taylor Otwell 479b3f6773 cleaning up various codes. 2012-02-13 23:51:33 -06:00
Taylor Otwell f27ec7ab95 cleaning up the session cli task. 2012-02-13 23:26:17 -06:00
Taylor Otwell 6ced385d20 use 'as' instead of 'name'. 2012-02-13 16:50:41 -06:00
Taylor Otwell 86e109b7bc simplify route parameter parsing and fix default value bug. 2012-02-13 14:42:38 -06:00
Taylor Otwell 2713ee9b87 use is_callable instead of method_exists. 2012-02-13 11:06:27 -06:00
Taylor Otwell 09da91501d update comment and add check to command metho_exists. 2012-02-13 09:19:02 -06:00
Dayle Rees 29d062da75 better handling of undefined task methods 2012-02-13 15:07:52 +00:00
Taylor Otwell 620f3ba91f fixing a bug and cleaning. 2012-02-12 21:52:28 -06:00
Taylor Otwell b0a223aa4b cleaning up comment. 2012-02-12 21:27:07 -06:00
Taylor Otwell b353afdc79 fixing router bugs. 2012-02-12 20:09:27 -06:00
Taylor Otwell 0438c69648 added better random sources in crypter, seed random number generator on every call. 2012-02-12 19:45:04 -06:00
Taylor Otwell 74887986a7 fixing bugs in router. 2012-02-12 19:26:16 -06:00
Taylor Otwell 775b97ee76 load controller file before checking in ioc container. 2012-02-12 19:15:13 -06:00
Taylor Otwell 3d1a44028a added route::share method. 2012-02-12 16:41:03 -06:00
Taylor Otwell 0f2d311739 cleaning up some code. 2012-02-12 16:34:11 -06:00
Taylor Otwell aed1443bf1 cleaning up the cookie class. 2012-02-12 16:15:17 -06:00
Taylor Otwell ae544b85da fix bug in router::route method. 2012-02-12 15:39:53 -06:00
Taylor Otwell 597feed4a7 fix bug with root routing. 2012-02-12 15:23:20 -06:00
Taylor Otwell 89ea17d9d9 fleshed out redirect::to_action 2012-02-12 14:53:54 -06:00
Taylor Otwell 3a92facc76 updated routing to fix several issues. 2012-02-12 14:48:36 -06:00
Taylor Otwell 31cf44c374 working on routing. 2012-02-09 23:43:02 -06:00
Taylor Otwell 4330124d79 added route:destination method. 2012-02-09 23:36:08 -06:00
Taylor Otwell 8737dde682 making changes to routing. 2012-02-09 23:35:08 -06:00
Taylor Otwell 38da9f47b9 added bundle option 2012-02-09 23:32:19 -06:00
Taylor Otwell ebcf34e3b4 cleaning up crypter. 2012-02-08 21:31:27 -06:00
Taylor Otwell 874f02c759 fix comment typo. 2012-02-08 14:37:58 -06:00
Taylor Otwell 0e66517ec9 simplify with ternary shortcut. 2012-02-08 14:35:30 -06:00
Taylor Otwell a216af62dc add more portable uri support. 2012-02-08 14:27:22 -06:00
Taylor Otwell 490eb0f5bf remove die. 2012-02-08 11:35:29 -06:00
Taylor Otwell 5e59a72b5b fix bug in paginator. 2012-02-08 11:16:55 -06:00
Taylor Otwell e88d2213ab added support for complex joins on query builder. 2012-02-08 10:53:58 -06:00
Taylor Otwell 326b5929e9 cleaning up bundler. 2012-02-08 09:12:09 -06:00
Taylor Otwell fb516f83ca added bundle:make command 2012-02-08 08:58:42 -06:00
Taylor Otwell 55b714af0b added message to refresh. 2012-02-08 08:33:01 -06:00
Taylor Otwell bf4f464f67 added bundle:refresh command to cli. 2012-02-08 08:28:16 -06:00
Taylor Otwell 67de20b485 cleaning up the test runner. 2012-02-07 20:09:17 -06:00
Taylor Otwell 3e398d1b49 added auto start bundle option. 2012-02-07 16:59:51 -06:00
Taylor Otwell 3292024e69 use start.php for bundle bootstrapping, bundle.php for info. 2012-02-07 16:51:57 -06:00
Taylor Otwell e4d55cbc8e added bundle::disable method. 2012-02-07 15:41:28 -06:00
Taylor Otwell fd1b63ed14 removing bundles.php file. 2012-02-07 15:39:58 -06:00
Taylor Otwell 428257758d clean up base directory of phpunit stuff. 2012-02-07 15:33:34 -06:00
Taylor Otwell a11318863a improving bundle workflow. 2012-02-07 15:00:35 -06:00