Commit Graph

1040 Commits

Author SHA1 Message Date
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
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
Taylor Otwell
4661ef14bc added code example to file::upload method. 2011-11-27 19:25:59 -06:00
Taylor Otwell
09b4471a5d fix file validation check in validator. 2011-11-27 19:05:54 -06:00
Taylor Otwell
472e377b02 fix the validation of required file uploads. 2011-11-27 15:38:59 -06:00
Taylor Otwell
dae283943f refactor the validate required method for clarity. 2011-11-27 13:50:50 -06:00
Taylor Otwell
170c29eaaa adding better comments in auth class. 2011-11-25 11:21:32 -06:00
Taylor Otwell
bf01e932c3 fixed variable typo in routing filter class. 2011-11-25 07:43:12 -06:00
Taylor Otwell
63ac87cc0f Clean up Form::token method. 2011-11-23 10:50:14 -06:00
Taylor Otwell
9b785fd70f Update csrf_token constant. 2011-11-23 10:44:46 -06:00
Taylor Otwell
e4fce8e468 Update the csrf_token constant. 2011-11-23 10:43:25 -06:00
Taylor Otwell
b7b5bc6938 Change csrf_token constant. 2011-11-23 10:42:42 -06:00
Taylor Otwell
d82f1d40c0 Facade should support calls with no parameters. 2011-11-23 10:42:07 -06:00
Taylor Otwell
8e5852b7eb Use constant for CSRF token. 2011-11-23 10:32:46 -06:00
Taylor Otwell
a739afc32f Use constant for CSRF token. 2011-11-23 10:32:17 -06:00
Taylor Otwell
0f5558d2e3 Add constant for session token. 2011-11-23 10:31:55 -06:00
Taylor Otwell
c432b7f55d Added Redirect->with_errors method. 2011-11-23 10:20:25 -06:00
Taylor Otwell
bbc8a5d0d0 Tweak upload method in file class. 2011-11-23 09:46:11 -06:00
Taylor Otwell
1ed1fdf6fc Clean up Input::upload method. 2011-11-23 09:45:55 -06:00
Taylor Otwell
de72602c0a Add cookie payload class constant. 2011-11-23 08:56:13 -06:00
Taylor Otwell
ba300e0233 Add some more comments to the session payload. 2011-11-23 08:52:38 -06:00
Taylor Otwell
ad9b49a23e Extract callback validation into method. 2011-11-23 08:49:09 -06:00
Taylor Otwell
05e365d0d5 Clean up route loader. 2011-11-23 08:45:35 -06:00
Taylor Otwell
a6bb5f26a3 Trim exception message in database manager. 2011-11-23 08:35:47 -06:00
Taylor Otwell
1b053815d3 Cleaning up comments in response class. 2011-11-23 08:33:07 -06:00
Taylor Otwell
f74d5ad2d4 Set timezone in core file. 2011-11-23 08:30:55 -06:00
Taylor Otwell
1867f28ad6 Move the timezone setting into the core file. 2011-11-23 08:30:40 -06:00
Taylor Otwell
3e90009263 Tweak the language line logic. 2011-11-23 08:29:23 -06:00
Taylor Otwell
2a27e5d3e4 Tweak comment in ioc class. 2011-11-23 08:25:09 -06:00
Taylor Otwell
eab5e24883 Change scope of private inflector methods to protected. 2011-11-23 08:23:40 -06:00
Taylor Otwell
55379a0adb Trim line of code in form class. 2011-11-23 08:23:01 -06:00
Taylor Otwell
d392365a1b Trim an exception message in the crypter. 2011-11-23 08:17:19 -06:00
Taylor Otwell
9c6d4871b2 Trim comment in config class. 2011-11-23 08:16:43 -06:00
Taylor Otwell
7ca6909fa9 Tweaking paginator comments. 2011-11-23 08:06:11 -06:00
Taylor Otwell
bcd590560f adding paginator commetns. 2011-11-23 00:12:42 -06:00
Taylor Otwell
d3d992d4b5 adding paginator comments. 2011-11-22 23:42:40 -06:00
Taylor Otwell
dfb3d35f16 add ability to specify the language on the paginator. 2011-11-22 23:40:10 -06:00
Taylor Otwell
16a21422fb remove some comment bloat. 2011-11-22 23:35:14 -06:00
Taylor Otwell
100ffb4ffe remove some comment bloat. 2011-11-22 23:33:37 -06:00
Taylor Otwell
1cdfd5a8b0 remove some comment bloat. 2011-11-22 23:33:22 -06:00
Taylor Otwell
216a38c574 remove some comment bloat. 2011-11-22 23:33:03 -06:00
Taylor Otwell
3ccad7de60 fix bug in link_to_asset method. 2011-11-22 23:32:24 -06:00
Taylor Otwell
74b65f74d1 tweaked link_to_asset https handling. 2011-11-22 23:28:31 -06:00
Taylor Otwell
7cc591f901 tweaked comments. 2011-11-22 23:21:47 -06:00
Taylor Otwell
8d8aa750d1 remove unnecessary paginator language lines. 2011-11-22 23:15:11 -06:00
Taylor Otwell
927e675cb8 refactor the paginator to reincorporate the google style slider. 2011-11-22 23:10:39 -06:00
Taylor Otwell
fcf9cd3ccc Merge branch 'develop' of github.com:laravel/laravel into develop 2011-11-22 21:21:49 -06:00
Taylor Otwell
1535eca1c9 refactoring pagination. 2011-11-22 21:21:36 -06:00
Taylor Otwell
8508f1bb3a Merge pull request #175 from sparksp/fix/response
Fix Response::of_something
2011-11-22 17:07:55 -08:00
Taylor Otwell
f492c81aa8 added ability to filter flashed input data. 2011-11-22 19:06:56 -06:00
Phill Sparks
e994dffc51 Fix Response::of_something() calls 2011-11-23 00:47:58 +00:00
Taylor Otwell
783101cc7a fixed bug in autoloader. 2011-11-22 18:03:37 -06:00
Taylor Otwell
5f348b2c6e refactoring various classes. 2011-11-22 18:00:17 -06:00
Taylor Otwell
246434f4c7 load the session. whoops!. 2011-11-22 07:47:21 -06:00
Taylor Otwell
ccb6bc6b8a refactoring the input class. 2011-11-21 22:33:09 -06:00
Taylor Otwell
937441d31b cleaning up more code. 2011-11-21 22:22:41 -06:00
Taylor Otwell
64501dd097 remove unnecessary variable initialization in router method. 2011-11-21 22:03:35 -06:00
Taylor Otwell
da016744d0 cleaning up code. 2011-11-21 21:57:11 -06:00
Taylor Otwell
a675b05237 fixing some commits i accidently overwrote. 2011-11-21 19:13:32 -06:00
Taylor Otwell
994949c6ce refactoring various classes. 2011-11-21 19:09:48 -06:00
Daniel Anechitoaie
0000ffc8c2 Double "for" in comment. 2011-11-21 23:07:12 +02:00
Han Lin Yap
ab5181e814 typo 2011-11-21 18:09:48 +01:00
Taylor Otwell
01a4efa4b0 Fix bug in paginator appendage. 2011-11-21 09:00:29 -06:00
Taylor Otwell
92a1c70918 Fix bug in query string construction. 2011-11-21 08:19:19 -06:00
Taylor Otwell
4283e7ec98 moved error pages to application directory. 2011-11-20 23:01:05 -06:00
Taylor Otwell
5e95f05d9b added more to comment. 2011-11-20 22:51:31 -06:00
Taylor Otwell
10b9001e13 adjust how the response is rendered, as well as move input flashing to after filter. 2011-11-20 22:47:56 -06:00
Taylor Otwell
7a9631975f dont return 404 error on null return from existing route. 2011-11-20 22:28:51 -06:00
Taylor Otwell
e55f9e9fad Added a helpful comment regarding expressions. 2011-11-18 14:50:11 -06:00
Taylor Otwell
193396506e Fix bug in cookie class. 2011-11-18 10:58:40 -06:00
Taylor Otwell
374f72f5e5 Provide immediate access to set cookies. 2011-11-18 10:43:37 -06:00
Taylor Otwell
570b431c05 Merge pull request #159 from sparksp/develop/redis
Refactored redis destruction
2011-11-18 06:15:08 -08:00
Phill Sparks
60033e52d3 Fixed Cache\Drivers\Driver::remember 2011-11-18 13:06:10 +00:00
Phill Sparks
8fd522fd67 Refactored redis destruction 2011-11-17 14:02:40 +00:00
Taylor Otwell
bbffa96c2d refactoring the auth login method. allow the developer to just pass an integer. 2011-11-16 22:57:56 -06:00
Taylor Otwell
b5207ee2b8 cast the error messages to an array. 2011-11-16 22:46:54 -06:00
Taylor Otwell
1c6f15a9fa make database connection protected. 2011-11-16 22:45:50 -06:00
Taylor Otwell
a1b3ba7538 added comment to url class. 2011-11-16 22:44:15 -06:00
Taylor Otwell
466ccdb96c throw an exception in the request forged method if no session driver has been specified. 2011-11-16 22:40:49 -06:00
Taylor Otwell
980caf31da added callStatic method to Memcached class. 2011-11-16 19:48:08 -06:00
Taylor Otwell
060e1f64b8 Added BadMethodCallException to view's __callStatic method. 2011-11-16 13:12:33 -06:00
Taylor Otwell
85936b3c20 Fix bug and shorten exception message. 2011-11-16 13:08:22 -06:00
Taylor Otwell
635ba52a69 Shorted a long exception message. 2011-11-16 12:58:24 -06:00
Taylor Otwell
2a1b5d55ae Shorten a long exception message. 2011-11-16 12:57:20 -06:00
Taylor Otwell
8c8ff5fac7 Shorten long exception message. 2011-11-16 12:56:28 -06:00
Taylor Otwell
2c2344c39f Shorten exception message. 2011-11-16 12:55:45 -06:00
Taylor Otwell
fc8b30159e Refactor the ignored error logging. 2011-11-16 11:46:27 -06:00
Phill Sparks
1d5fbab515 Refactor error handling to log ignored errors 2011-11-16 12:21:42 +00:00
Taylor Otwell
d3f9391981 fixing some bugs. 2011-11-15 23:15:58 -06:00
Taylor Otwell
49901bab31 tweaking a comment. 2011-11-15 19:46:20 -06:00
Taylor Otwell
f0d3589be4 changing a comment. 2011-11-15 19:36:48 -06:00
Taylor Otwell
a6641130c4 fixing bugs in validator and file classes. 2011-11-15 19:32:32 -06:00
Taylor Otwell
e226a463bf refactoring. 2011-11-15 19:15:31 -06:00
Taylor Otwell
6bd3dcb039 Update laravel/uri.php 2011-11-15 08:25:08 -06:00
Phill Sparks
662bde8580 Merge branch 'develop' of http://github.com/laravel/laravel into develop/exception 2011-11-15 12:53:48 +00:00
Phill Sparks
58638216e8 Throw better Exceptions 2011-11-15 12:35:04 +00:00
Phill Sparks
02929f7fbd Fixed the new URI class 2011-11-15 11:30:34 +00:00
Taylor Otwell
d1a969bd29 added uri class. refactored. 2011-11-14 21:18:18 -06:00
Taylor Otwell
2758b4c16d some small refactoring and bug fixing. 2011-11-13 15:23:48 -06:00
Taylor Otwell
a5aaf33fe5 fix error detail view. 2011-11-12 00:07:13 -06:00
Taylor Otwell
32684fa12e fixed router ioc bug. 2011-11-11 23:36:31 -06:00
Taylor Otwell
0e8432e373 fixed messages namespace in view. 2011-11-11 23:18:58 -06:00
Taylor Otwell
9281f04cdd minor refactorings. 2011-11-11 23:15:17 -06:00
Taylor Otwell
41ca816951 refactoring the blade class. 2011-11-11 22:58:24 -06:00
Taylor Otwell
f9ec36d7f8 slight clean-up to uri method. 2011-11-11 22:50:41 -06:00
Taylor Otwell
6cbac0e064 add note about ssl option. 2011-11-11 22:06:51 -06:00
Taylor Otwell
270e0d4994 fixed a few bugs. 2011-11-11 21:42:36 -06:00
Taylor Otwell
b6ab0b08ce moving some laravel classes around, switching alias to reflect changes. added some factories. removed system ioc container config file. 2011-11-11 21:27:30 -06:00
Taylor Otwell
b625ebdcf3 Fix bug in redirect. 2011-11-11 11:55:47 -06:00
Taylor Otwell
0b3ecf8973 Pass status when redirecting to route. 2011-11-11 11:52:45 -06:00
Phill Sparks
b4fe148de5 Got rid of all IoC::container() calls 2011-11-11 09:52:30 +00:00
Taylor Otwell
9dbe7a29e2 put back ini_set for errors. 2011-11-10 23:38:58 -06:00
Taylor Otwell
35d807ca2b git rid of some ioc::container calls. 2011-11-10 23:13:11 -06:00
Taylor Otwell
0a2c61ec29 refactoring error handling. 2011-11-10 22:46:01 -06:00
Taylor Otwell
0dc43490a6 moved functions to helpers file. 2011-11-10 22:10:18 -06:00
Taylor Otwell
c67a010c5c refactoring some classes. 2011-11-10 20:25:17 -06:00
Taylor Otwell
8ae9324ce3 tweaked comment in auth class. 2011-11-10 20:11:45 -06:00
Taylor Otwell
8a94c9787a Merge pull request #147 from sparksp/develop/fix_inflector
Inflector updates
2011-11-10 05:21:33 -08:00
Taylor Otwell
fa6489be6c remove comment bloat from string class. 2011-11-09 23:02:11 -06:00
Taylor Otwell
d55a5e722b adjusted autoloader priority for best performance. 2011-11-09 22:58:07 -06:00
Taylor Otwell
3854165595 refactoring autoloader. 2011-11-09 22:57:06 -06:00
Taylor Otwell
fe218f9b0b restore controller section of autoloader. 2011-11-09 22:38:29 -06:00
Taylor Otwell
8718b582df cleaning up the autoloader and core bootstrapping. 2011-11-09 22:32:35 -06:00
Taylor Otwell
56daba42c5 remove composers from ioc container. remove comment bloat from autoloader. 2011-11-09 22:10:37 -06:00
Taylor Otwell
dcc334b617 fixed bug in controller filter method. 2011-11-09 21:57:26 -06:00
Taylor Otwell
9e9ee931b5 moved session class. 2011-11-09 21:55:21 -06:00
Phill Sparks
5da8c1e1d9 Data is countable, it's plural of datum 2011-11-10 00:44:26 +00:00
Phill Sparks
932dec6af7 Added more uncountables, the list could go on 2011-11-10 00:40:45 +00:00
Phill Sparks
e84fb806f8 Fixed plural count check 2011-11-10 00:39:30 +00:00
Taylor Otwell
a38ba2a6ab clean up controller and session. 2011-11-08 20:35:24 -06:00
Taylor Otwell
a1e82d2166 added section class. refactored session for ioc usage. improved controller. added yielding and sections to blade. general blade improvements. 2011-11-08 20:08:20 -06:00
Taylor Otwell
d05f4fa0db renamed hasher class to hash and hash method to make. 2011-11-07 23:32:32 -06:00
Taylor Otwell
c4aa6e6ba2 consolidated plural and plural_if into single method. 2011-11-07 23:30:43 -06:00
Taylor Otwell
8d3327da3c ditched filter shortcuts 2011-11-07 22:53:59 -06:00
Taylor Otwell
3833e12c72 added before and after filter methods to controller. 2011-11-07 22:48:17 -06:00
Taylor Otwell
b9e91835ec fix bug in session class. 2011-11-07 22:43:57 -06:00
Taylor Otwell
cd310efd25 revised method of declaring filters on controllers. 2011-11-07 21:46:55 -06:00
Taylor Otwell
1d8dcd1246 Made blade echo match lazy. 2011-11-07 14:33:25 -06:00
Taylor Otwell
285a744fac Only reflash flashed items. 2011-11-07 13:48:08 -06:00
Taylor Otwell
e8561ca905 Clean up the MySQL database connector. 2011-11-07 13:35:00 -06:00
Taylor Otwell
05902d22d4 Cleaning up the Postgres connector. 2011-11-07 13:32:31 -06:00
Taylor Otwell
f46a3deab6 Clean-up the default database grammar. 2011-11-07 13:24:22 -06:00
Taylor Otwell
466f05499f clean up auto-loader comment. 2011-11-07 11:49:45 -06:00
Taylor Otwell
ef89dd3b31 Verify that the session is started before flashing errors. 2011-11-07 10:22:23 -06:00
Taylor Otwell
a11c456f42 Fix keep method and added started method. 2011-11-07 10:22:02 -06:00
Paul Boco
fb25edd0b1 Fixes issue #141 and a typo. 2011-11-06 11:39:52 -06:00
Paul Boco
6eae4c982b Change attributes from protected to public. 2011-11-06 00:30:40 -05:00
Taylor Otwell
97a3f33cb4 tweak session expiration calculation. 2011-11-04 22:15:35 -05:00
Taylor Otwell
88e6143338 made controllers restful by default. 2011-11-04 21:57:40 -05:00
Taylor Otwell
16a62193fc fix function namespacing. 2011-11-04 19:07:13 -05:00
Taylor Otwell
9f78c8be90 Fix bug in validate_mimes method. 2011-11-04 09:41:21 -05:00
Taylor Otwell
e89fd04ab7 Added check for application key in session class. 2011-11-04 08:34:35 -05:00
Taylor Otwell
aa55f3441f Tweak the CSRF token a little more. 2011-11-03 09:21:27 -05:00
Taylor Otwell
d0c3d65722 Fix CSRF token bug. 2011-11-03 09:19:23 -05:00
Taylor Otwell
3b8f5865a5 fix comment in validator. 2011-11-03 00:45:24 -05:00
Taylor Otwell
23fcf35804 fixed validator bug. 2011-11-03 00:43:50 -05:00
Taylor Otwell
895d876463 fixed bugs found when unit testing. 2011-11-02 23:02:23 -05:00
Taylor Otwell
9caf239f6b various refactorings. 2011-11-02 21:27:43 -05:00
Taylor Otwell
493e1c1374 remove tests from main repository, moved storage directory to application. 2011-11-01 23:51:14 -05:00
Taylor Otwell
527340d793 fix bug in request uri parsing. 2011-11-01 23:41:02 -05:00
Taylor Otwell
a986b010b6 deprecated the session payload class. 2011-11-01 23:22:04 -05:00
Taylor Otwell
c4eb6c9416 change controller->filters to protected. 2011-11-01 23:19:06 -05:00
Taylor Otwell
6048d20921 refactoring the session class. 2011-11-01 23:11:08 -05:00
Taylor Otwell
2e1fed294f refactoring bootstrapping. 2011-11-01 22:55:43 -05:00
Taylor Otwell
ca2c988274 added cookie option to session configuration. 2011-11-01 20:53:48 -05:00
Taylor Otwell
8df52df894 shorten really long statement. 2011-11-01 20:50:35 -05:00
Taylor Otwell
88c8cf6c10 refactoring. 2011-11-01 20:35:02 -05:00
Taylor Otwell
6810b99d38 change cookie forget time to be 25 hours in the past to cover strange timezone issues. 2011-11-01 20:04:00 -05:00
Taylor Otwell
83d927c4f1 refactoring. 2011-11-01 19:41:35 -05:00
Taylor Otwell
c3c0fbce96 Fix bug in update database grammar. 2011-11-01 08:34:00 -05:00
Taylor Otwell
cf6514fbb9 Fix bug in session flashing. 2011-11-01 08:33:36 -05:00
Taylor Otwell
06bf0a40a6 refactoring the session payload. 2011-11-01 00:10:25 -05:00