Commit Graph

900 Commits

Author SHA1 Message Date
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
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
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