Commit Graph

1370 Commits

Author SHA1 Message Date
Carlos
e057193de0 Added function for converting html special characters.
With entities there are problems encoding characters in other languages, for example á, ó, in spanish will become special characters.
2012-05-19 01:21:18 -05:00
Carlos
23a25b9abb Revert "Added a function for handling HTML special characters"
This reverts commit b47fc6476a.
2012-05-19 01:17:53 -05:00
Carlos
b47fc6476a Added a function for handling HTML special characters 2012-05-19 01:12:29 -05:00
Loic Sharma
4ea27c9daf Fixed minor spelling mistakes 2012-05-17 23:03:42 -05:00
Taylor Otwell
a6ad5c6dee Merge pull request #671 from ErikDubbelboer/docfix
Fix error in comment.
2012-05-16 14:15:23 -07:00
Dayle Rees
70b64f1928 forgot to add blade::extend() to this 2012-05-14 14:11:56 +02:00
Erik Dubbelboer
11b9f52239 fix error in comment
Signed-off-by: Erik Dubbelboer <erik@dubbelboer.com>
2012-05-12 18:28:45 +02:00
Taylor Otwell
a303d66ae0 Fix bug in events. 2012-05-11 15:32:28 -05:00
Taylor Otwell
135b6d5132 Merge pull request #664 from franzliedke/patch-3
Remove more unneeded Closure references
2012-05-11 12:18:15 -07:00
Andrew Ellis
8e12e7a819 where_nested no longer breaks on closures that don't actually set anything 2012-05-11 13:11:02 -06:00
Taylor Otwell
b097b6c682 Fix to_array() in eloquent model. 2012-05-11 13:22:04 -05:00
Taylor Otwell
f8fe7843ab tweak event queue. 2012-05-11 10:30:23 -05:00
Taylor Otwell
314f25bd28 fixing conflicts. 2012-05-11 08:49:17 -05:00
Taylor Otwell
ef6076b2ce added event queues. 2012-05-11 08:48:31 -05:00
Franz Liedke
df9c223ed6 Remove obsolete class import in request.php. 2012-05-11 12:30:45 +03:00
Franz Liedke
6a58e98316 Remove obsolete class import in file.php. 2012-05-11 12:29:18 +03:00
Franz Liedke
5097e9053b Remove obsolete class import in cookie.php. 2012-05-11 12:28:52 +03:00
Franz Liedke
b40e13a892 Remove obsolete namespace import in config.php. 2012-05-11 12:28:12 +03:00
Franz Liedke
83f7847ccd Remove obsolete namespace import in session/payload.php. 2012-05-11 12:27:38 +03:00
Franz Liedke
09cb38fc67 Fix PHPDoc referring to Closure class. 2012-05-11 12:23:25 +03:00
Franz Liedke
f6bad1e809 Remove obsolete namespace import in driver.php. 2012-05-11 12:21:43 +03:00
Franz Liedke
bf172272da Remove obsolete code. 2012-05-11 12:20:18 +03:00
Colin Viebrock
97de6ef1d7 Order of elements for Cookie::put() was wrong
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-10 22:04:56 -05:00
Colin Viebrock
5637a29fa3 Add Cookie::forever constant, fixes #660
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-10 16:32:07 -05:00
Colin Viebrock
a1cca24e8a Doc change for issue #648 2012-05-10 11:41:29 -05:00
Taylor Otwell
af9f875ee3 Remote unneeded properties. 2012-05-10 11:37:30 -05:00
Taylor Otwell
5fcf57a27d Updated change log. 2012-05-10 08:45:12 -05:00
Taylor Otwell
21a51b7cf9 Add controller and controller_action to route. 2012-05-10 08:44:43 -05:00
Taylor Otwell
641f1d4c14 Merge pull request #615 from awellis13/feature/route-cleanup
Laravel\Route PHPDoc cleanup and removed $uri from Route::parameters().
2012-05-10 06:35:54 -07:00
Taylor Otwell
01894ae4ee Merge pull request #651 from dlpetrie/patch-4
Controller property Bundle ( and some additions )
2012-05-10 06:34:18 -07:00
Taylor Otwell
0ad9c67fa0 Merge pull request #631 from loic-sharma/patch-2
Allow Blade extensions to actually extend Blade
2012-05-10 06:28:58 -07:00
Taylor Otwell
287f2a299f Merge pull request #641 from crynobone/feature/form-select-optgroup
Add support for Form::select with optgroup, solved #526
2012-05-10 06:26:35 -07:00
Daniel Petrie
8a8d331981 Update laravel/routing/controller.php 2012-05-09 17:14:01 -07:00
Daniel Petrie
b6cbac56c8 bundle property wasn't being used, so I made use of it as well as adding the controllers name and action being called. 2012-05-09 17:06:04 -07:00
Colin Viebrock
319c450f6f Make Input::only() and Input::except() into array_only() and array_except() helpers.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-09 15:51:16 -05:00
Colin Viebrock
be5eaf946c Driver uses Laravel\Crypter
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-08 21:17:50 -05:00
crynobone
ec9f5f1995 Add support for Form::select with optgroup, solved #526 2012-05-07 20:43:40 +08:00
crynobone
57f94a7829 Validator: During replace :attribute, need to verify Lang::has('key') instead of checking is_null()
Signed-off-by: crynobone <crynobone@gmail.com>
2012-05-06 00:53:33 +08:00
Taylor Otwell
47b6492a7e updated lang::has method. 2012-05-05 11:36:04 -05:00
Loic Sharma
d866244225 Moved the extensions compiler to first. 2012-05-05 08:41:22 -05:00
Taylor Otwell
515f5f4009 change matcher function to public. 2012-05-04 14:49:07 -05:00
Daniel Petrie
3d284d2b8a Adding use Closure; to fix namespacing issue. 2012-05-04 12:40:17 -07:00
Taylor Otwell
70d4746159 cleaning up. 2012-05-04 13:38:30 -05:00
Dayle Rees
b870807e1a renamed blade::register to blade::extend
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 19:02:44 +01:00
Dayle Rees
d2de301ede added custom compilers to blade
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-04 18:44:43 +01:00
Taylor Otwell
0824c871fd tweaking wording. 2012-05-04 10:51:16 -05:00
Alexandru Bucur
7f7a0cf035 Added a small example on how to call a function in blade :P 2012-05-04 18:47:51 +03:00
Taylor Otwell
c764f76e5b remove extra method call. 2012-05-04 09:13:03 -05:00
Phill Sparks
0baf5ad9b1 Fix View's use of Events so you can actually implement your own things
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-05-04 14:55:05 +01:00
Taylor Otwell
e85ca96e38 Merge pull request #614 from awellis13/feature/trim-sql-for-query
Add trim() to Connection::query()
2012-05-04 06:52:22 -07:00
Taylor Otwell
caf0bb7cb2 Fully qualify eloquent class. 2012-05-03 20:22:03 -05:00
Taylor Otwell
50dc9f8663 Use regular array_merge on Input::all(). 2012-05-03 17:32:33 -05:00
Andrew Ellis
100a59c9c4 added trim() for the sql statement 2012-05-03 11:16:32 -06:00
Andrew Ellis
fdad58383b cleaned up phpdoc and removed as it is not used 2012-05-03 11:14:33 -06:00
Taylor Otwell
e256a66b18 Merge pull request #562 from ProgerXP/patch-lang
Lang::__construct(): turn non-array $replacements into an array
2012-05-03 06:44:34 -07:00
Taylor Otwell
c2ed9e3429 return key instead of null when language line isn't found. 2012-05-03 08:42:44 -05:00
Taylor Otwell
74022cfa5a fix typo. 2012-05-03 08:38:43 -05:00
Taylor Otwell
280bc99ed8 add u PCRE modifier to str::words. 2012-05-03 08:37:52 -05:00
Taylor Otwell
4f036cf7dd add spacing to router. 2012-05-03 08:36:32 -05:00
Taylor Otwell
9ca81296d8 Merge pull request #589 from whitman/numeric-routes
Automatically wrap numeric routes in parentheses
2012-05-03 06:36:08 -07:00
Taylor Otwell
d0cdfb971d clean up has_file method. 2012-05-03 08:35:02 -05:00
Taylor Otwell
5fa78819eb Merge branch 'develop' of github.com:laravel/laravel into develop 2012-05-03 08:33:04 -05:00
Taylor Otwell
11f08fb737 Merge pull request #590 from Vespakoen/develop
Adding has_file method to the Input class
2012-05-03 06:32:51 -07:00
Taylor Otwell
295c3b80c2 add sqlite query driver. 2012-05-03 08:28:40 -05:00
Taylor Otwell
f53c8285a7 Merge pull request #564 from ProgerXP/patch-del
Make File::delete() return result of unlink()
2012-05-03 06:26:02 -07:00
Taylor Otwell
57c228aec6 Merge pull request #611 from asdfgh746/develop
Fix Typos
2012-05-03 06:21:21 -07:00
Taylor Otwell
4822f847c2 pass delete method through eloquent query. 2012-05-03 08:20:33 -05:00
Taylor Otwell
aca2a2ae1c Fix auth bug and other resolver bugs. 2012-05-02 16:52:55 -05:00
Taylor Otwell
cadfc3c50f Fix IoC bug. 2012-05-02 16:49:48 -05:00
Taylor Otwell
a68c4013f8 Fix import. 2012-05-02 16:36:34 -05:00
Taylor Otwell
2ccfa7b8f6 Fix return for real. 2012-05-02 16:06:20 -05:00
asdfgh746@gmail.com
9c109849c3 Fix typos.
Signed-off-by: asdfgh746@gmail.com <asdfgh746@gmail.com>

Change "develoepr" into "developer".
Change "started, yet but" into "started yet, but".
2012-05-02 16:51:52 -04:00
Taylor Otwell
f0a6111021 Set token. 2012-05-02 15:41:38 -05:00
Taylor Otwell
b10b8e3862 Import Config class. 2012-05-02 15:06:15 -05:00
Taylor Otwell
9d1d48fb4f Fix bug in IoC. 2012-05-02 13:39:59 -05:00
Taylor Otwell
348ff778ed Merged Linject into the core IoC container. 2012-05-02 13:28:29 -05:00
Taylor Otwell
30c87b9245 Updated change log. 2012-05-02 09:39:27 -05:00
Taylor Otwell
b5f5927fa7 Fix bug with many-to-many relationships on non-default database connection. 2012-05-02 09:37:40 -05:00
Taylor Otwell
9ed91af1e8 added Response::eloquent method. 2012-05-02 08:50:37 -05:00
Taylor Otwell
13638467b4 added Response::json method. 2012-05-02 08:35:26 -05:00
Taylor Otwell
f6b7e5f727 updated change log. 2012-05-02 08:13:08 -05:00
Taylor Otwell
208eb8a380 move json method to input class. 2012-05-02 08:12:52 -05:00
Taylor Otwell
138d08c04b added Requst::json method. 2012-05-02 08:09:23 -05:00
Taylor Otwell
f050f7731b Refactoring some auth code. 2012-05-01 13:12:32 -05:00
Taylor Otwell
de7046cc66 update change log. 2012-05-01 11:35:58 -05:00
Taylor Otwell
60ab0b66e7 Finishing up auth re-write. 2012-05-01 11:33:10 -05:00
Taylor Otwell
60f61f318b refactored authentication system. 2012-05-01 10:50:33 -05:00
Taylor Otwell
c49e1964a9 Working on base authentication driver. 2012-05-01 09:37:22 -05:00
Taylor Otwell
840954eb1d Rename "register" methods to "extend". 2012-04-30 22:43:30 -05:00
Taylor Otwell
1dd35dffdb Update change log. 2012-04-30 22:40:37 -05:00
Taylor Otwell
7e33ec5f34 Allow the registration of custom database drivers. 2012-04-30 22:40:18 -05:00
Taylor Otwell
cf29450b99 Fix bug in array_pluck helper. 2012-04-30 15:40:29 -05:00
Taylor Otwell
7af5afc4b5 Allow starter Closure for bundles. 2012-04-30 15:09:56 -05:00
Taylor Otwell
efe3de6843 Allow the specification of a asset base URL. 2012-04-30 11:52:30 -05:00
Taylor Otwell
48dae0c3d9 Merge pull request #578 from cviebrock/asset-url
Configuration option to set different base URL for assets
2012-04-30 09:49:06 -07:00
Taylor Otwell
5591307099 update toc. 2012-04-30 11:22:33 -05:00
Taylor Otwell
13f30262d9 Fix table of contents. 2012-04-30 11:19:48 -05:00
Taylor Otwell
d9bdb4f9ba Fix conflict text. 2012-04-30 11:16:31 -05:00
Taylor Otwell
bb4bf88c6f Updated change log. 2012-04-30 11:15:41 -05:00
Taylor Otwell
ba9a7263b0 Allow the registration of third party cache and session drivers. 2012-04-30 11:15:23 -05:00
Taylor Otwell
c49c60365f Cleaned up the section able implementation. 2012-04-30 10:17:59 -05:00
Taylor Otwell
9dea22c3eb require_once on error class. 2012-04-30 10:09:38 -05:00
Taylor Otwell
aaeb7bc3be More work on sectionable caches. 2012-04-28 22:46:25 -05:00
Taylor Otwell
31106a9211 Support implicit sectioned caching using :: syntax. 2012-04-28 22:40:11 -05:00
Taylor Otwell
4d2ecdbff2 Tweaking response->render() location. 2012-04-28 14:01:10 -05:00
Taylor Otwell
80448c3341 Fix typo in change log. 2012-04-28 11:14:08 -05:00
Taylor Otwell
aff9e194d9 Implement sectionable caching in array cache driver. 2012-04-28 11:12:44 -05:00
Taylor Otwell
68d9210ef5 Added array_pluck method. 2012-04-27 14:26:46 -05:00
Taylor Otwell
e9bcbeac8f Change location of when $response->render() is called. Make memory cache storage array public. 2012-04-27 13:30:03 -05:00
Taylor Otwell
b0fd803297 Updated change log. 2012-04-26 20:49:56 -05:00
Taylor Otwell
a892b85e8b Added new Sectionable interface to allow cache drivers to expose "namespace" type functionality. 2012-04-26 20:49:03 -05:00
Taylor Otwell
9057c60a5f Merge pull request #584 from bencorlett/develop
Adding having() support to the Fluent query builder.
2012-04-26 18:26:19 -07:00
Koen Schmeets
33c6027476 Adding has_file method
Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
2012-04-26 21:24:06 +02:00
Taylor Otwell
86fce099b3 Fixed belongs_to primary key bug. 2012-04-26 11:25:47 -05:00
Alex Whitman
14961350d0 Automatically wrap numeric routes in parentheses 2012-04-26 16:32:02 +01:00
Taylor Otwell
ca06582369 Add some events to Eloquent models. 2012-04-26 09:30:34 -05:00
Taylor Otwell
3a62036a9c fix urlencode prob 2012-04-24 22:47:35 -05:00
Taylor Otwell
9cee86ffb9 use array_values on relationship matches. 2012-04-24 22:38:30 -05:00
Taylor Otwell
b8b0c08495 fix html class. 2012-04-24 21:51:19 -05:00
Ben Corlett
af6d76f713 Adding having() support to the Fluent query builder.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-04-25 11:18:50 +10:00
Taylor Otwell
589b86ff3e remove unnecessary code in input class. 2012-04-24 13:41:19 -05:00
Taylor Otwell
e55cf31578 dont cast to string in str::words method. 2012-04-24 11:48:47 -05:00
Taylor Otwell
68834a47d9 fixing conflicts. 2012-04-24 10:42:57 -05:00
Taylor Otwell
a994c30ab3 fixed str::words php notice. 2012-04-24 10:40:20 -05:00
Taylor Otwell
1dea9852a9 fix eager loading of belongs_to relationships when all keys are null. 2012-04-24 10:37:40 -05:00
Taylor Otwell
47b60135bb fix possible error loading error class. 2012-04-24 08:57:31 -05:00
Taylor Otwell
39601e8a78 fix bugs in input class. 2012-04-24 08:37:37 -05:00
Taylor Otwell
3241de0cc1 fix Input::merge method. 2012-04-24 08:27:29 -05:00
Colin Viebrock
11b0d243ff Fixes 2012-04-23 23:43:09 -05:00
Colin Viebrock
71d361e071 Configuration option to set different server for asset files. 2012-04-23 22:48:16 -05:00
Taylor Otwell
94948cf675 Fix Eloquent eager loading matching. 2012-04-23 16:08:57 -05:00
Taylor Otwell
b65fa7040d tweak the status method.: 2012-04-23 13:36:25 -05:00
Taylor Otwell
f1feb467f1 added Input::merge method. 2012-04-23 13:33:48 -05:00
Julien TANT
8eae68bde0 Change htmlentities to urlencode for link
Signed-off-by: Julien TANT <julien@ao6-labs.eu>
2012-04-21 14:51:03 +02:00
Taylor Otwell
bb506bb30b Updating change log and docs for Schema::drop. 2012-04-20 11:37:05 -05:00
Taylor Otwell
a92ab1ca30 Fixing bugs. 2012-04-20 11:35:47 -05:00
Taylor Otwell
98ea9ac41f Fix bug in core script. 2012-04-20 10:54:40 -05:00
Pavel
1b9566070b File::delete() now returns result of unlink().
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-20 00:07:15 +04:00
Pavel
5019d05ed2 Lang::__construct() now converts $replacements into an array.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-04-19 23:40:38 +04:00
Taylor Otwell
7b65dc30a0 updated change log. 2012-04-19 14:32:59 -05:00
Taylor Otwell
58f69fdf47 fixing some issues related to environment. 2012-04-19 14:32:27 -05:00
Taylor Otwell
9a90d303c7 return empty string if no items in html list. 2012-04-19 08:45:56 -05:00
Taylor Otwell
09e456d2bf fix docblock. 2012-04-19 08:41:23 -05:00
Taylor Otwell
92e482de0d updating documentation. 2012-04-19 08:39:30 -05:00
Taylor Otwell
798b76d8d0 update change log. 2012-04-19 08:38:06 -05:00
Taylor Otwell
a150a7d457 allow multiple views to be registered for a single composer. 2012-04-19 08:37:42 -05:00
Taylor Otwell
d1428948ea fix docblock. 2012-04-19 08:28:22 -05:00
Taylor Otwell
cac5ebad4a Merge pull request #507 from sparksp/develop-patch-2
Don't show the trace on shutdown, it's useless.
2012-04-19 06:26:59 -07:00
Taylor Otwell
3670423da6 Merge pull request #558 from ProgerXP/patch-locks-dev
Fixing "Cannot remove ...: Permission denied" in File and bundle:: task
2012-04-19 06:23:42 -07:00
Taylor Otwell
affcad0948 fix bug surrounding cookie session driver. 2012-04-19 08:19:15 -05:00