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
Taylor Otwell
aa53dc70ce
Merge branch 'develop' into manifest
2012-02-07 13:33:41 -06:00
Taylor Otwell
88fc4e450d
added url::current.
2012-02-07 13:31:08 -06:00
Taylor Otwell
521e40f4d5
working on core.
2012-02-07 13:30:23 -06:00
Taylor Otwell
8fc48f7c7e
removed comment frmo bundle.
2012-02-07 08:21:09 -06:00
Taylor Otwell
6fe05ade85
cleaning up some comments.
2012-02-07 08:10:40 -06:00
Taylor Otwell
0c133dd96c
trimming comment.
2012-02-06 23:02:49 -06:00
Taylor Otwell
98ea0c0e6f
fix bug in url::to.
2012-02-06 22:48:34 -06:00
Taylor Otwell
8240b2ffd1
move shortcut method into grammar.
2012-02-06 22:09:15 -06:00
Taylor Otwell
087f50a52c
cast bindings to array.
2012-02-06 21:39:30 -06:00
Taylor Otwell
1351a2b189
cleaning up code.
2012-02-06 20:19:29 -06:00
Taylor Otwell
fc927aa63a
cleaning up artisan.
2012-02-06 20:08:25 -06:00
Taylor Otwell
007863a6fa
cleaning up various codes.
2012-02-06 19:59:07 -06:00
Taylor Otwell
78dc4529f1
added routed array.
2012-02-06 16:54:44 -06:00
Taylor Otwell
a4acb1c0fb
require routes as many times as necessary.
2012-02-06 16:39:54 -06:00
Taylor Otwell
37c06a5006
fix bundle handles greediness.
2012-02-06 16:12:17 -06:00
Taylor Otwell
bbae90adad
fix pagination comment.
2012-02-06 15:57:37 -06:00
Taylor Otwell
cd17761f72
fix distinct problems in paginator.
2012-02-06 15:28:03 -06:00
Taylor Otwell
e89082e3ba
fix possible problem in provider zip extraction.
2012-02-06 14:53:59 -06:00
Taylor Otwell
56ae5e9a7b
more autoloader tweaks.
2012-02-06 13:20:08 -06:00
Taylor Otwell
94b4887000
cleaning up the auto-loader.
2012-02-06 12:58:51 -06:00
Taylor Otwell
618980c678
improvements to autoloader namespace handling.
2012-02-06 11:59:24 -06:00
Taylor Otwell
bc1a7d0771
improving namespace autoloading support.
2012-02-06 11:40:18 -06:00
Taylor Otwell
5b6b156b41
move timezone set into core bootstrap.
2012-02-06 09:35:28 -06:00
Taylor Otwell
8b2f3e8421
added has_php helper.
2012-02-06 09:28:29 -06:00
Taylor Otwell
3dab550681
fixing route bundle determination.
2012-02-06 09:21:35 -06:00
Taylor Otwell
643b440872
bundle::exists should return true for default bundle.
2012-02-06 08:28:45 -06:00
Taylor Otwell
395236d643
support universal routes.
2012-02-05 19:57:34 -06:00
Taylor Otwell
df3a277bf9
Merge branch 'develop' of github.com:laravel/laravel into develop
2012-02-04 20:13:46 -06:00
Taylor Otwell
ab5e8615c5
fixing segments bug.
2012-02-04 20:13:30 -06:00
Taylor Otwell
ce5a922b87
cleaning up the uri method.
2012-02-04 20:13:10 -06:00
Taylor Otwell
2e492a710a
Merge pull request #308 from sparksp/patch-3
...
SQLServer::limit and ::offset return strings
2012-02-04 18:00:21 -08:00
Phill Sparks
8e5a143bbe
SQLServer::limit and ::offset return strings
2012-02-04 21:33:25 +00:00
Phill Sparks
62072e5281
PHPDoc fixes
2012-02-04 21:30:52 +00:00
Taylor Otwell
f3be544b1a
cache base url.
2012-02-04 10:58:38 -06:00
Taylor Otwell
d7fcd74a02
added with helper.
2012-02-03 16:00:01 -06:00
Taylor Otwell
be144288b3
upgrade all bundles supported.
2012-02-03 15:34:43 -06:00
Taylor Otwell
91518db6bd
dropped submodule support. added upgrade command for bundles.
2012-02-03 15:29:52 -06:00
Taylor Otwell
ea42fe75f2
working on bundle upgrade routine.
2012-02-03 14:54:23 -06:00
Taylor Otwell
b1f12b19bf
fix comment on file::rmdir.
2012-02-03 14:01:24 -06:00
Taylor Otwell
8598721e26
added recursive rmdir function.
2012-02-03 14:01:01 -06:00
Taylor Otwell
d9f3725afd
download zip archive of repos by default instead of submoduling.
2012-02-03 13:44:26 -06:00
Taylor Otwell
e370772cf9
tweaking provider.
2012-02-03 13:43:43 -06:00
Taylor Otwell
46bf67aeed
remove unused property from validator.
2012-02-03 13:37:28 -06:00
Taylor Otwell
ee2d38f260
added replace_mimes method.
2012-02-03 11:15:54 -06:00
Taylor Otwell
ad24b08b29
refactor the validation replacement code.
2012-02-03 11:13:44 -06:00
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