Commit Graph

482 Commits

Author SHA1 Message Date
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
Taylor Otwell
82b75166ac refactor the library detection in the autoloader. 2011-11-01 00:00:10 -05:00
Taylor Otwell
c0c8108399 refactoring the autoloader. 2011-10-31 23:58:45 -05:00
Taylor Otwell
a0bbc9d472 refactoring the auto loader. 2011-10-31 23:46:45 -05:00
Taylor Otwell
d44c076ebf refactoring the autoloader. 2011-10-31 23:00:13 -05:00
Taylor Otwell
f824cc0f43 refactoring the uri method. 2011-10-31 22:44:54 -05:00
Taylor Otwell
92694da3a3 refactoring. 2011-10-31 22:36:30 -05:00
Taylor Otwell
997a90bcf5 major session refactoring. 2011-10-31 22:15:47 -05:00
Taylor Otwell
36ff7b81aa fix bug in listing method. 2011-10-30 23:16:16 -05:00
Taylor Otwell
b9c45264b8 tweaking a comment. 2011-10-29 23:30:53 -05:00
Taylor Otwell
58190c2db2 tweaking a comment. 2011-10-29 23:27:49 -05:00
Taylor Otwell
0586bbe04e remove some comment bloat from the request class. 2011-10-29 23:20:07 -05:00
Taylor Otwell
75ce8796d7 got rid of URI class and brought URI determination back to into request class. 2011-10-29 23:17:47 -05:00
Taylor Otwell
ef9e4dfd61 reverting di refactoring. 2011-10-29 22:31:50 -05:00
Taylor Otwell
f5680e4537 reverting facade changes. 2011-10-29 22:27:51 -05:00
Taylor Otwell
932a70b6cf refactoring for better dependency injection on a few classes. 2011-10-29 22:24:32 -05:00
Taylor Otwell
faaea17fd3 refactoring the validator. 2011-10-29 21:27:03 -05:00
Taylor Otwell
bb2cd3e373 refactoring the auth class. 2011-10-29 21:21:36 -05:00
Taylor Otwell
b3cdcb38a6 tweaking some comments. 2011-10-29 21:06:28 -05:00
Taylor Otwell
866f5d8fc3 removed provides functionality. need to explore doing this in a way that is more friendly to http, such as using the accept header. 2011-10-29 21:02:01 -05:00
Taylor Otwell
a2aebdb03f fix routing provides bug. 2011-10-27 10:48:54 -05:00
Taylor Otwell
6e916ea69d fix bug in routing that prevented comma delimited routes. 2011-10-27 08:03:08 -05:00
Taylor Otwell
0a2587d291 fixed bug in redis class. 2011-10-26 21:38:32 -05:00
Taylor Otwell
7bf84066bf refactoring. added redis drivers. 2011-10-26 21:21:31 -05:00
Taylor Otwell
8595253afe refactoring the uri class... again 2011-10-25 00:06:19 -05:00
Taylor Otwell
415cb0fe12 continuing to refactor the uri class. 2011-10-24 23:56:17 -05:00
Taylor Otwell
e454227d32 refactoring the uri class more. 2011-10-24 23:43:57 -05:00
Taylor Otwell
bce571bf26 refactoring the uri class more. 2011-10-24 23:41:08 -05:00
Taylor Otwell
bf50b67475 refactoring the uri class. 2011-10-24 23:39:27 -05:00
Taylor Otwell
bd6695844e refactoring. 2011-10-24 23:24:06 -05:00
Taylor Otwell
a6d487ecd4 refactoring the uri class. 2011-10-24 23:15:29 -05:00
Taylor Otwell
d4ddb05abb refactoring. added default controller. added uri class. 2011-10-24 21:00:51 -05:00
Phill Sparks
ca1e5ac29c Fix Laravel Env Config path 2011-10-23 21:41:18 +01:00
Taylor Otwell
32989d39c8 some small refactorings and cleanup. 2011-10-22 23:25:07 -05:00
Taylor Otwell
b71ecb4363 removed packages directory. refactoring. 2011-10-21 21:49:33 -05:00
Taylor Otwell
80f810de24 refactoring the crypter class. 2011-10-20 22:47:00 -05:00
Taylor Otwell
8d3151b134 refactoring the crypter class. 2011-10-20 22:30:31 -05:00
Taylor Otwell
0be75fc2d9 refactoring the crypter class. 2011-10-20 22:28:39 -05:00
Taylor Otwell
49b13e6960 refactoring lang and url classes. 2011-10-20 22:23:32 -05:00
Taylor Otwell
21dccae755 refactor sqlite connector to accept path in constructor. 2011-10-20 22:17:40 -05:00
Taylor Otwell
23c79a0317 only define environment constant if it hasnt already been defined. 2011-10-20 21:47:20 -05:00
Taylor Otwell
af36cb3d5a various refactoring and tweaks. 2011-10-20 21:44:18 -05:00
Taylor Otwell
df9130dafa refactoring and working on redis. 2011-10-19 22:44:02 -05:00
Taylor Otwell
d5d9776298 continuing to refactor the bootstrap process. 2011-10-18 21:03:13 -05:00
Taylor Otwell
9fc9f88a41 refactoring various pieces of the framework. 2011-10-18 20:19:36 -05:00
Taylor Otwell
e985057b4c fixed connector definition in container. 2011-10-16 21:43:08 -05:00
Taylor Otwell
6ed7c832d9 Merge pull request #119 from sparksp/fix/base_path
Fixed laravel path bug
2011-10-16 19:36:33 -07:00
Taylor Otwell
3a08b138b0 changed route __call exception. 2011-10-16 21:35:11 -05:00
Taylor Otwell
494bc0b4a7 Merge pull request #120 from sparksp/fix/route_before
Fixed route before filter
2011-10-16 19:33:26 -07:00
Taylor Otwell
95af020420 continued validation refactoring. 2011-10-16 21:31:44 -05:00
Taylor Otwell
d849cda377 more validator refactoring. 2011-10-16 20:48:01 -05:00
Taylor Otwell
06765e9aa3 continuing to refactor the validator. 2011-10-16 14:27:23 -05:00
Taylor Otwell
fc820e733b continuing to refactor the validator. 2011-10-16 14:23:52 -05:00
Taylor Otwell
4f560fdf5c continuing to refactor the validator. 2011-10-16 14:19:54 -05:00
Taylor Otwell
6f366d3010 continuing to refactor the validator. 2011-10-16 14:03:09 -05:00
Taylor Otwell
ca784e9fc2 continuing to refactor the validator. 2011-10-16 13:48:36 -05:00
Taylor Otwell
f8e63f313d adding validator tests. 2011-10-16 13:34:26 -05:00
Taylor Otwell
8bd6d34622 refactoring validator. 2011-10-16 13:25:37 -05:00
Phill Sparks
7f2fd60e9f Fixed route before filter
and throw an Exception for anything falling through __call
2011-10-16 11:46:38 +01:00
Phill Sparks
58807cc5a6 Fixed laravel path bug
Affects installations where laravel is in a submodule named laravel.
2011-10-16 11:14:11 +01:00
Taylor Otwell
48f1879b9f tweaking comments in sqlite connector. 2011-10-15 23:33:26 -05:00
Taylor Otwell
87e8dbeb32 refactoring database query class. 2011-10-15 23:25:18 -05:00
Taylor Otwell
454a5107c4 tweaking and refactoring the database connectors. 2011-10-15 23:20:44 -05:00
Taylor Otwell
893acd8743 tweaking and refactoring the database connectors. added connectors to the container. 2011-10-15 23:20:13 -05:00
Taylor Otwell
07f3f5d03c tweaking the error bootstrap file. 2011-10-15 22:59:17 -05:00
Taylor Otwell
543a487bc8 tweaking the error bootstrap file. 2011-10-15 22:58:31 -05:00
Taylor Otwell
048c917ea5 tweaking the error bootstrap file. 2011-10-15 22:57:49 -05:00
Taylor Otwell
736351911f tweaking the core bootstrapper. 2011-10-15 22:52:16 -05:00
Taylor Otwell
45538620da fixing bugs and refactoring. 2011-10-15 22:44:37 -05:00
Taylor Otwell
a7e98e8e9a fixing bugs and refactoring. 2011-10-15 22:38:43 -05:00
Taylor Otwell
b40e69c47a fixed controller routing bug. 2011-10-15 21:44:39 -05:00
Taylor Otwell
4a5e7c6f61 fixed controller routing bug. 2011-10-15 21:43:07 -05:00
Taylor Otwell
76a5bc483a refactoring various classes. 2011-10-15 14:39:52 -05:00
Taylor Otwell
2b93963f34 removed unnecessary namespace import from eloquent model. 2011-10-15 14:19:33 -05:00
Taylor Otwell
17ea09364d fixed str test cases and str::limit function. 2011-10-15 14:17:58 -05:00
Taylor Otwell
a6eaa06981 refactoring routing and comments. 2011-10-15 14:04:11 -05:00
Taylor Otwell
a44ca9d53b working on comments. 2011-10-13 21:49:40 -05:00
Taylor Otwell
9fa69e0844 refactoring routing and class comments. 2011-10-13 21:32:11 -05:00
Taylor Otwell
cff90b52ab remove session manager from ioc container configuration. 2011-10-12 23:37:22 -05:00
Taylor Otwell
3998066eb7 refactored session tests. 2011-10-12 23:35:15 -05:00
Taylor Otwell
ba751b430b restructured session handling. 2011-10-12 23:15:10 -05:00
Taylor Otwell
f68a918d69 refactoring session classes. 2011-10-12 22:29:49 -05:00
Taylor Otwell
4342f82aa9 refactoring cache and session classes. 2011-10-12 21:55:05 -05:00
Taylor Otwell
9f7ed576c5 allow eloquent models to use increment and decrement. 2011-10-12 21:35:23 -05:00
Taylor Otwell
9bf978abcd added decrement method to query builder. 2011-10-12 21:32:06 -05:00
Taylor Otwell
559785f168 added increment method to query builder. 2011-10-12 21:27:29 -05:00
Taylor Otwell
68455378cc added support for database expressions. 2011-10-12 19:55:44 -05:00
Taylor Otwell
8846110e8d refactored and prettified the default database grammar. 2011-10-11 22:45:19 -05:00
Taylor Otwell
08ea1dbbc8 fixed bug in request uri method. 2011-10-11 21:44:57 -05:00
Taylor Otwell
f6ea58ed96 improve request uri detection. 2011-10-11 21:41:57 -05:00
Taylor Otwell
02305fafc2 resolved conflicts. 2011-10-11 21:28:06 -05:00
Taylor Otwell
7317b5857b refactored welcome pages. 2011-10-11 21:27:16 -05:00
Eric Barnes
aa607c9962 Added unit tests for Str::limit and limit_words. Also fixed bug in limit with multibyte characters. 2011-10-11 16:35:54 -04:00
Taylor Otwell
459b2165a3 Merge pull request #111 from ericbarnes/feature/str_limit
Feature/str limit
2011-10-11 06:09:57 -07:00
Taylor Otwell
d07714936f finished tests for request class. 2011-10-10 22:55:57 -05:00
Taylor Otwell
0cb81d8585 added request::uri tests. 2011-10-10 22:42:43 -05:00
Taylor Otwell
f2b9d1e2f8 added request tests. 2011-10-10 22:31:59 -05:00
Taylor Otwell
b3c9dc59c0 refactoring testing setup. 2011-10-10 22:17:22 -05:00
Taylor Otwell
392caeed91 refactoring formatting. 2011-10-10 21:43:30 -05:00
Taylor Otwell
6cb79e6676 refactoring 2011-10-10 21:34:15 -05:00
Taylor Otwell
d1c5aea26b continuing to refactor auth remembrance. 2011-10-09 23:43:31 -05:00
Taylor Otwell
1b057c2854 continuing to refactor auth remembrance. 2011-10-09 23:41:58 -05:00
Taylor Otwell
17385697c0 continuing to work on the remember me authentication. 2011-10-09 23:20:54 -05:00
Eric Barnes
ba4fd3fab0 Added str::limit and str::limit_words. Unfortunately php doesn't include mb_str_word_count. 2011-10-09 23:23:45 -04:00
Taylor Otwell
6178a968ea Merge pull request #110 from ericbarnes/feature/remember_me
Feature/remember me
2011-10-09 20:22:41 -07:00
Eric Barnes
6e0d69e23a Refactered user and fixed parse error. 2011-10-09 12:49:41 -04:00
Eric Barnes
560a4cc1c2 Added comments and changed the $cookie var to use implode. 2011-10-09 12:05:12 -04:00
Eric Barnes
3d2aa29d44 Refactored auth remember me 2011-10-09 11:57:00 -04:00
Taylor Otwell
b7b5451a7f refactoring session handling. 2011-10-08 23:53:13 -05:00
Taylor Otwell
8ba0dfacc7 refactoring controller __get magic method ioc resolution. 2011-10-08 23:43:16 -05:00
Eric Barnes
b6537da8b6 Added first draft of remember me to auth. 2011-10-09 00:27:39 -04:00
Taylor Otwell
bcb6f189f7 refactored bcrypt hashing engine. 2011-10-08 22:41:52 -05:00
Taylor Otwell
8c9bd12003 fixed old uri ioc container reference. 2011-10-08 21:48:10 -05:00
Taylor Otwell
45933cd038 renamed auth remember to auth login. 2011-10-08 20:08:09 -05:00
Taylor Otwell
c5c0ebc00a allow rel and other stylesheet defaults to be overriden. 2011-10-08 19:55:57 -05:00
Taylor Otwell
e366c62db1 Merge pull request #106 from ericbarnes/feature/foreign_chars
Feature/foreign chars
2011-10-08 08:18:16 -07:00
Eric Barnes
1b09823545 Changed the D and d in ascii to be Dj and dj. Dj is used as the translation in more languages. 2011-10-08 00:08:30 -04:00
Taylor Otwell
845bdc58fa improved config loading performance. 2011-10-07 16:05:48 -05:00
Taylor Otwell
4edcc321aa fixed bug in route to controller delegation. 2011-10-07 12:26:47 -05:00
Taylor Otwell
f50a492510 fixed bug in ioc container singleton resolution. 2011-10-06 22:45:13 -05:00
Taylor Otwell
2c2dcdc502 Merge pull request #99 from sparksp/aeae2c8476523f1551825afcc17323c4b88d22c5
Secure extracts
2011-10-05 21:26:35 -07:00
Taylor Otwell
c00738a070 Merge pull request #101 from codler/patch-1
Added ö to ascii config
2011-10-05 21:23:31 -07:00
Taylor Otwell
48715bbb7d fixed bug in view composers. changed crypter alias. 2011-10-05 23:22:25 -05:00
Taylor Otwell
71b0ab8b8d refactoring container for speed. 2011-10-05 18:32:48 -05:00
Han Lin Yap
6f9ae6427b Added ö 2011-10-06 00:35:16 +03:00
Taylor Otwell
4263203dda added comments to pagination language. 2011-10-05 01:36:00 -05:00
Taylor Otwell
52b68c060b refactoring. adding back pagination. 2011-10-04 21:43:39 -05:00
Phill Sparks
aeae2c8476 Secure extracts
Updated extract calls to use EXTR_SKIP.
2011-10-04 13:11:11 +01:00
Taylor Otwell
34452f5f08 minor refactoring. 2011-10-02 23:39:26 -05:00
Taylor Otwell
eb956cc89d some routing enhancements - still a work in progress. 2011-10-02 23:28:30 -05:00
Taylor Otwell
7be960fb6f added missing parens. 2011-10-02 22:46:34 -05:00
Taylor Otwell
16575246af bug fixes. 2011-10-02 22:44:36 -05:00
Taylor Otwell
dfe3a04651 added support for route filter parameters. 2011-09-30 22:23:47 -05:00
Taylor Otwell
21592ec67f refactoring and tweaking. 2011-09-30 20:28:45 -05:00
Taylor Otwell
14186a00e0 refactoring and bug fixes. 2011-09-29 21:22:48 -05:00
Taylor Otwell
2eeb636198 changed $view->with to $view->nest. 2011-09-28 23:30:11 -05:00
Taylor Otwell
57d62f550a working on the pain in the rear paginator class. 2011-09-28 23:12:56 -05:00
Taylor Otwell
d2f3015636 added comments to cache classes. 2011-09-28 22:56:37 -05:00
Taylor Otwell
288781c0df added comments to cache classes. 2011-09-28 22:55:48 -05:00
Taylor Otwell
cc625e24c2 cleaning up the cache class. 2011-09-28 22:51:07 -05:00
Taylor Otwell
1fb70a8568 cleaning up sqlite connector. 2011-09-28 22:49:20 -05:00
Taylor Otwell
7018b85b4a cleaning up eloquent models. 2011-09-28 22:47:24 -05:00
Taylor Otwell
2ac5a37291 cleaning up eloquent models. 2011-09-28 22:47:05 -05:00
Taylor Otwell
b93a12209c commenting validation messages. 2011-09-28 22:42:28 -05:00
Taylor Otwell
3c05f7260c refactoring string class. 2011-09-28 22:25:54 -05:00
Taylor Otwell
442904b277 refactoring. 2011-09-28 22:12:41 -05:00
Taylor Otwell
5cc7c3a6bd refactoring. 2011-09-28 21:59:54 -05:00
Taylor Otwell
3dbc60aee3 commenting bootstrap files. 2011-09-28 21:52:58 -05:00
Taylor Otwell
abd23c9610 removed dies from error bootstraper. 2011-09-28 21:43:37 -05:00
Taylor Otwell
9c319ba0fc refactoring database layer. 2011-09-28 21:43:11 -05:00
Taylor Otwell
c6f9734603 refactoring. 2011-09-27 21:10:32 -05:00
Taylor Otwell
ed3e3e73cc tweaked view comment. 2011-09-25 23:31:54 -05:00
Taylor Otwell
d9201be431 refactoring view compilation. 2011-09-25 23:00:29 -05:00
Taylor Otwell
91e3e3ddb0 working on bootstrap comments. 2011-09-25 22:29:23 -05:00
Taylor Otwell
79c586523d working on the core bootstrap comments. 2011-09-25 22:25:33 -05:00
Taylor Otwell
d57af216e6 removed some comment bloat from view class. 2011-09-25 22:14:05 -05:00
Taylor Otwell
bd4fe8838c refactoring the view class. 2011-09-25 22:13:43 -05:00
Taylor Otwell
938c6f4de3 change response content to public. 2011-09-22 00:43:42 -05:00
Taylor Otwell
7a20240395 added some comments to the view class. 2011-09-22 00:42:44 -05:00