Commit Graph

2027 Commits

Author SHA1 Message Date
Dayle Rees a7c2c2544e Merge pull request #1053 from tobsn/patch-12
added array and array count validation for multi-select input
2012-08-12 12:50:10 -07:00
Dayle Rees 4b8ba99211 Merge pull request #1043 from tobsn/patch-10
type boolean is tinyint(1)
2012-08-12 12:43:15 -07:00
Dayle Rees e0338f3671 Merge branch 'core-tests' of https://github.com/franzliedke/laravel into develop 2012-08-12 16:19:13 +01:00
Kelly Banman e3a000af41 Fix Query::lists() for empty resultsets 2012-08-11 15:52:58 -07:00
Jason Lewis 1bd157d0a6 Added in develop changes.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-08-12 02:48:55 +09:30
Jason Lewis f685597180 Defer URI language support to L4.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-08-12 02:16:11 +09:30
Jason Lewis a95b5eb4b9 Defer URI language support to L4.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-08-12 02:15:52 +09:30
Jason Lewis 694f696cb6 Merge pull request #1063 from stayallive/develop
Changed jQuery '$' to 'jQuery' in the Profiler
2012-08-11 09:20:50 -07:00
Taylor Otwell 43614cfeb9 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-08-09 22:50:22 -05:00
Taylor Otwell 749948bc9d fix conflicts. 2012-08-09 22:49:36 -05:00
Taylor Otwell 4d25f50f4b Merge pull request #1016 from purwandi/develop
Add decimal schema on docs
2012-08-09 20:45:11 -07:00
Taylor Otwell 29a4ac2701 Merge pull request #1049 from Apathetic012/develop
fix namespace issue on exception
2012-08-09 20:44:15 -07:00
Taylor Otwell 343d132737 tweak change log. 2012-08-09 22:42:35 -05:00
Taylor Otwell 79f92e57df defer language support in URIs to version 4. 2012-08-09 22:42:03 -05:00
Joe Wallace d31f89d42f Fixing a bug with saving data to pivot table 2012-08-09 22:10:49 -05:00
Spencer Deinum e5dc10840a Fix documentation error in input.md
Documentation says "Replacing the entire input" but calls Input::merge()
instead of Input::replace().

Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>
2012-08-09 15:44:34 -04:00
Taylor Otwell f5123f935a Merge pull request #1052 from sergiigrebeniuk/hotfix-phpdoc
phpdoc fixes
2012-08-09 10:02:21 -07:00
Simon Aebersold 8227784e11 Documentation Error, see /laravel/html.php line 225 for reference 2012-08-07 17:24:02 +02:00
Tobsn 43c3c2de68 fixes from testing
- all tested now - ready for merge into staging :P
2012-08-06 03:10:39 +02:00
Alex Bouma f0e261c87f Changed jQuery '$' to 'jQuery' in the Profiler
Changed the '$' to 'jQuery' in profiler.js because it conflicts with libs like 'prototype.js'.

I did not use '.noConflict()' because of the people that do use the '$'.

Signed-off-by: Alex Bouma <info@alboweb.nl>
2012-08-05 00:34:54 +03:00
Jakobud 31c730c913 Passing a null $value to Form::submit(), Form::reset() or Form::button() was throwing an Exception. I made the default $value = null for those methods. They result in the following respective valid HTML: <input type='submit'/> <input type='reset'/> <button></button>
Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-08-03 10:47:34 -06:00
Tobsn bf07de7d5e added array and array count validation
added validate_array/count/countmin/countmax/countbetween -
corresponding replace_count/countmin/countmax/countbetween message
functions - corresponding validator error messages into all language
files (please have maintainers update their language files) - also
converted spaces to tabs in the polish language file to fit all the
others.
2012-08-03 17:27:29 +02:00
Sergii Grebeniuk 690e8572aa phpdoc fixes 2012-08-03 18:17:48 +03:00
Franz Liedke 228f57226b Extract sweep method in Session payload class.
This allows for manually triggering garbage collection in session drivers.
2012-08-03 18:09:37 +03:00
apathetic012 727afc1bfa fix namespace issue on exception
Signed-off-by: apathetic012 <apathetic012@gmail.com>
2012-08-03 10:01:16 +08:00
Franz Liedke e86cd79b11 Make database connection protected in session driver. 2012-08-02 18:50:44 +03:00
Tobsn 5716b4da40 type boolean is tinyint(1)
switched from default "tinyint" which creates a tinyint(4) to the
standard mysql boolean type "tinyint(1)"
2012-08-02 00:54:30 +02:00
crynobone d816eb9ef3 Refix unit testing for Laravel
Signed-off-by: crynobone <crynobone@gmail.com>
2012-08-01 13:05:59 +08:00
Jakobud 761186a676 Reorganized Control Structure section.
Added Control Structure to TOC.
Added in missing @elseif example.
Move the Blade Comments to more appropriate section.
Simplified Blade Comments examples.
Minor changes to @parent example.

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-31 12:00:47 -06:00
Dayle Rees 7256dc2a65 Merge pull request #1024 from Apathetic012/develop
add output of File::mime() example
2012-07-31 09:11:12 -07:00
Dayle Rees 0556ef35ce Merge branch 'develop' of github.com:laravel/laravel into develop 2012-07-31 16:55:50 +01:00
Dayle Rees 30175c2a52 fixing merge issues for comment tweaks 2012-07-31 16:55:02 +01:00
Dayle Rees dab2c79298 Merge pull request #933 from franzliedke/patch-22
Request::time()
2012-07-31 08:46:43 -07:00
Dayle Rees a0fd22f6f1 Merge pull request #772 from loic-sharma/patch-3
Fixed bug where the profiler did not correctly put quotes around bindings
2012-07-31 08:42:47 -07:00
Dayle Rees 01f8323420 Merge pull request #945 from cviebrock/html-link
Allow second param of HTML::link* methods to be null
2012-07-31 08:39:24 -07:00
Dayle Rees 2611c1f27a fixing merge issue for blade comments pull 2012-07-31 14:42:23 +01:00
Dayle Rees 9ea5018372 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-07-31 14:37:07 +01:00
Dayle Rees 9d9d1d010c fixing merge for contribution docs 2012-07-31 14:36:44 +01:00
Dayle Rees 4b97c28c6b Merge pull request #860 from stevefrost/develop
Updated the helper method dd()
2012-07-31 06:33:27 -07:00
Dayle Rees 184cc090bc Merge pull request #1026 from jbruni/patch-1
Update laravel/documentation/controllers.md
2012-07-31 02:16:36 -07:00
Dayle Rees 3a471de777 franz routing docs fix 2012-07-31 10:06:10 +01:00
Dayle Rees 3d66011249 Merge pull request #1037 from tobsn/patch-9
Returning results with SHOW queries
2012-07-31 01:56:39 -07:00
Dayle Rees 37e5605c22 Merge pull request #1036 from tobsn/patch-8
Added use Closure to database.php
2012-07-31 01:55:02 -07:00
Dayle Rees 8c5ac60154 Merge pull request #935 from tobsn/patch-7
Added explanation about PDO default attributes
2012-07-31 01:53:41 -07:00
Tobsn 89d8c5bb0d Returning results with SHOW queries
reference to #991
2012-07-31 10:04:53 +02:00
Tobsn 244ecd49fd Added use Closure to database.php
function extend($name, Closure $connector
extend uses closure - causes exception on call without use.
2012-07-31 09:55:45 +02:00
Jason Lewis c9710525d9 Merge pull request #1020 from metaphox/develop
Removes status parameter for Response::view() in documentation section "Views & Responses"
2012-07-30 20:27:32 -07:00
Jakobud 2c7bf657ed Removed empty Coding Standards doc.
Removed Coding Standards from Table of Contents Sidebar.

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-30 13:32:53 -06:00
Jakobud fd6e73aaa7 Added TortoiseGit contribution docs.
Revised Command-Line contribution docs.

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-30 12:12:07 -06:00
Jakobud 72d091ee54 Added first draft of command-line contributing docs.
Added empty files for coding standards and tortoisegit docs.
Adjusted Contributions in the Table of Contents sidebar.

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-30 10:19:42 -06:00
Franz Liedke 37dbeef2bb Use LARAVEL_START constant to calculate request time.
Suggested by @Kindari.
2012-07-30 13:48:55 +03:00
J Bruni c7890bcdc3 Update laravel/documentation/controllers.md
Included missing verb in "Bundles can easily configured" sentence.
2012-07-29 09:01:16 -03:00
apathetic012 5eef002374 add output of File::mime() example
Signed-off-by: apathetic012 <apathetic012@gmail.com>
2012-07-29 19:12:44 +08:00
Tao Wu 0dd1af665f changes binding data variable to an array 2012-07-29 12:44:58 +02:00
Tao Wu a497a3efcb changed header to data 2012-07-28 13:58:11 +02:00
Tao Wu 9268b1eb4e Merge branch 'master' into develop 2012-07-28 13:49:19 +02:00
Jakobud 5622f6e35c Added basic GitHub contribution docs. 2012-07-27 11:28:40 -06:00
Purwandi c667788be7 Add decimal schema on docs
Signed-off-by: Purwandi <free6300@gmail.com>
2012-07-27 22:34:41 +07:00
Dayle Rees 2c6ed23b45 fixing merge issues 2012-07-27 13:52:15 +01:00
Dayle Rees da35e257fd Merge pull request #898 from franzliedke/patch-13
[Profiler] Display page rendering time & memory usage
2012-07-27 04:59:41 -07:00
Dayle Rees 7b5e37a316 fixing merge issues on blade pull 2012-07-27 12:37:40 +01:00
Pascal Borreli 8a34aa5077 Fixed typos 2012-07-27 11:29:59 +00:00
Dayle Rees c27614b217 Merge pull request #996 from Jakobud/feature/pagination-docs
Added documentation for paginate's second optional argument.
2012-07-27 04:01:55 -07:00
Dayle Rees f7e7fa6299 Merge pull request #995 from cviebrock/eloquent-delete-doc
Deleting Eloquent models
2012-07-27 03:59:15 -07:00
Dayle Rees 3b09f99f9e Merge pull request #989 from dprvig/develop
Fixed various typos throughout laravel folder.
2012-07-27 03:54:40 -07:00
Jason Lewis f408fcc26b Allow bundles to respond to root requests.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-07-27 12:30:41 +09:30
Jakobud 433318181b In the call() method, the exception wasn't being thrown if only 1 or more than 2 arguments were passed to the method. Fixed conditional statement to only accept exactly 2 arguments.
In the route() method, URI::current() was evaluating as '/' in all situations. It was never evaluating as the route that you specified when executing the command. This could be part of a larger underlying bug with Symfony's HttpFoundation\Request class. It might be a band-aid fix, but replacing URI::current() with $_SERVER['REQUEST_URI'] allows the method to run the correct route.
These fixes uncovered what I believe is potentially another bug. When var_dump($route->response()) is run, "NULL" and a newline is appended to the output. It's something to do with var_dump(), as echo $route->response() echo's the correct output without the extra "NULL".

Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-26 16:00:46 -06:00
Jakobud 7475bcd348 Added documentation for the @render() Blade method
Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-25 10:08:54 -06:00
Tao Wu 2f48bbba12 Update laravel/documentation/views/home.md
Response::view() does not take a status code as the second parameter.
2012-07-25 17:28:02 +03:00
Tobsn 34c746b4f8 added @continue
like @break - as of request issue #1001
2012-07-25 00:23:31 +02:00
Tobsn 6cb2ddad64 multiline echo and comments
for issue #647
2012-07-25 00:21:32 +02:00
Tobsn 1c92b907d5 fixed two typos
connecter class => connector class
Therefor => Therefore
2012-07-24 20:42:38 +02:00
Taylor Otwell 5c3ede74d9 Merge pull request #946 from franzliedke/patch-23
Fix eager loading constraints
2012-07-24 06:09:41 -07:00
Taylor Otwell 764e7bc630 Merge pull request #983 from racklin/bugfix/memcached
Fixed Memcached get connection instance typo in __callStatic method.
2012-07-24 06:08:54 -07:00
Taylor Otwell b194d8372d Merge pull request #987 from robmeijer/develop
Fix pivot table name in Many-to-Many section in Eloquent documentation.
2012-07-24 06:08:32 -07:00
Jakobud 289c02ab47 Added documentation for paginate's second optional argument.
Signed-off-by: Jakobud <jake.e.wilson@gmail.com>
2012-07-23 15:50:04 -06:00
Colin Viebrock c60a58ff26 Someone else can re-word this, but a easy-to-find paragraph on deleteing Eloquent models seemed missing.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-07-23 14:29:29 -05:00
Dayle Rees 1db67d47a3 Merge pull request #947 from franzliedke/patch-24
Missing semicolon breaking test runner
2012-07-23 08:21:07 -07:00
resurtm 0a85a54c2f Indentation fixes in html.php. 2012-07-22 21:48:11 +06:00
Josh Miller 0ea30993d4 Fixed various typos throughout laravel folder.
Signed-off-by: Josh Miller <josh@joshmmiller.com>
2012-07-21 20:18:55 -04:00
Rob Meijer 84fcb60f8b Fix pivot table name in Many-to-Many section in Eloquent documentation. 2012-07-21 20:16:57 +01:00
Rack Lin 9944192af9 Fixed Memcached get connection instance typo in __callStatic method.
Signed-off-by: Rack Lin <racklin@gmail.com>
2012-07-20 22:20:37 +08:00
Taylor Otwell 38234c61dd Merge pull request #480 from cviebrock/schema-rename
Schema::rename('oldtable','newtable') support
2012-07-19 13:42:34 -07:00
Taylor Otwell c937f98b49 Merge pull request #932 from JeffreyWay/feature/auth_attempt_extend
Extend Auth::Attempt()
2012-07-19 13:41:33 -07:00
Taylor Otwell 19c64f1ea7 return false on empty string for active url. 2012-07-19 15:39:18 -05:00
Taylor Otwell cd9a745cb5 Merge pull request #972 from franzliedke/patch-28
[Schema] Allow boolean default values
2012-07-19 13:35:18 -07:00
Rack Lin 54f4cb2644 Added support PostgreSQL schema setting, if schema has been specified.
Signed-off-by: Rack Lin <racklin@gmail.com>
2012-07-19 12:55:23 +08:00
Taylor Otwell ec41836241 Merge pull request #938 from Anahkiasen/develop
Added quick notes on Pivot tables
2012-07-17 17:19:31 -07:00
Taylor Otwell 680407f051 Merge pull request #959 from franzliedke/patch-25
[Docs] Deleting files
2012-07-17 17:18:41 -07:00
Taylor Otwell c6e4a25ae9 Merge pull request #966 from racklin/develop
Fixed IoC::resolve forces singleton issue.
2012-07-17 17:16:43 -07:00
Taylor Otwell a73a6fb6c4 Merge pull request #970 from franzliedke/patch-26
[Docs] Schema default helper
2012-07-17 17:15:30 -07:00
Franz Liedke 61364c553d Make sure default values in schema columns are always non-empty (especially booleans). 2012-07-17 23:47:05 +02:00
Franz Liedke 02e84eb5eb Documentation: fix menu link to "Bundle Routes" section. 2012-07-17 23:56:43 +03:00
Franz Liedke a03bcb521b Mention default value helper function in database schema documentation. 2012-07-17 23:51:00 +03:00
Rack Lin 096f9c2b78 Fixed IoC::resolve forces singleton issue.
Signed-off-by: Rack Lin <racklin@gmail.com>
2012-07-17 17:42:01 +08:00
Franz Liedke b973c25905 Add documentation about deleting files. 2012-07-16 14:57:35 +03:00
Shawn McCool 25b8bd889b add help:commands artisan task to documentation 2012-07-16 11:37:05 +03:00
Shawn McCool 186b0f2e24 Merge branch 'feature/artisan-tasklist' into develop 2012-07-16 10:29:12 +02:00
Shawn McCool 7dcbf33a80 cleaned up help task 2012-07-16 10:28:40 +02:00
Shawn McCool 1a1e74a90a Merge branch 'feature/eloquent-pagination' into develop 2012-07-16 10:07:29 +02:00
Shawn McCool dc6bcf0793 use global paginator alias in the query class 2012-07-16 10:05:07 +02:00
Franz Liedke 08fce4fbf8 After running tests, exit with PHPUnit's exit status. 2012-07-14 11:47:31 +02:00
Franz Liedke 37241db646 Fix View test case still referring to the old bundle setup for tests. 2012-07-13 03:07:14 +02:00
Franz Liedke 7351845ec3 Fix PHP errors in test cases related to changed cookie data storage. 2012-07-13 03:06:31 +02:00
Franz Liedke feefa8d9c4 Fix PHP errors in test cases related to now using Symfony's HttpFoundation component. 2012-07-13 03:05:55 +02:00
Franz Liedke 86013f1b84 Fix old code in Auth test cases. 2012-07-13 03:04:36 +02:00
Franz Liedke 59e7e4a2ca Update authentication config file in testing application. 2012-07-13 03:04:13 +02:00
Franz Liedke 41ff7af213 Change inner workings of test runner to use different bootstrap file when testing the core. 2012-07-13 03:02:30 +02:00
Loic Sharma eb76c34cd3 Added a missing parenthesis and semicolon. 2012-07-12 17:46:17 -05:00
Franz Liedke 9bd8755167 Fix wrong API usage in Auth unit test. 2012-07-13 00:14:30 +02:00
Franz Liedke a7c211339a Import testing bundle to laravel/tests directory. 2012-07-13 00:14:03 +02:00
Franz Liedke 6d23c4f5c6 Fix missing semicolon in laravel/cli/test/runner.php. 2012-07-13 00:21:18 +03:00
Franz Liedke 78920c5d27 Move automatic relationship parsing to Eloquent's query class. 2012-07-12 22:32:43 +02:00
Franz Liedke 8c2a4fba14 The Eloquent model includes can now be taken directly from the model when assembling the query. 2012-07-12 23:20:17 +03:00
Franz Liedke 71f8e4acc0 Fix a bug introduced in pull request #799 that caused eager loading constraints to stop working. 2012-07-12 23:16:22 +03:00
Colin Viebrock 4d44df4885 Allow second param of HTML::link* methods to be null, in which case the title of the link is the URL itself, similar to HTML::email() method.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-07-12 10:40:41 -05:00
Chris Berthe b325e954e3 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-12 11:15:43 -04:00
Shawn McCool 644ecfcc25 adding basic help functions to artisan 2012-07-12 13:00:35 +02:00
Shawn McCool 29b668b83d added help:commands task to artisan 2012-07-12 00:30:04 +02:00
Shawn McCool 1503aed7ce Merge branch 'hotfix/docs-nav-update' into develop 2012-07-11 22:43:18 +02:00
Shawn McCool 3acc64051f simplify navigation copy 2012-07-11 22:42:36 +02:00
Shawn McCool 05ada38d8f style update 2012-07-11 22:36:20 +02:00
Shawn McCool 95bb9dfee8 Merge branch 'hotfix/fix_markdown' into develop
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:35:58 +02:00
Shawn McCool a6c28050e6 style updates 2012-07-11 22:34:38 +02:00
Shawn McCool 85ec19367d fix merge 2012-07-11 22:31:46 +02:00
Shawn McCool ee6adc26d9 fix merge 2012-07-11 22:30:38 +02:00
Shawn McCool bcdde02229 Merge branch 'feature/docs-install' into develop
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:30:21 +02:00
Shawn McCool a66eb44809 fixed typo 2012-07-11 22:28:44 +02:00
Shawn McCool ce1392aa82 Merge branch 'feature/docs-install'
Conflicts:
	laravel/documentation/install.md
2012-07-11 22:25:28 +02:00
Shawn McCool 49928b397a added server configuration to the documentation 2012-07-11 22:22:57 +02:00
Taylor Otwell e19e4ebd24 tweak url for languages. 2012-07-11 10:30:44 -05:00
Taylor Otwell 5f919d76a5 updated change log. 2012-07-11 10:20:12 -05:00
Taylor Otwell c8718a32ec added option for URI languages. 2012-07-11 10:18:48 -05:00
Anahkiasen 8a4aade8f7 Quick notes on Pivot tables 2012-07-11 16:27:11 +02:00
Tobsn 27fb9d0612 fixed "here" link 2012-07-11 12:27:29 +02:00
Jeffrey Way c659a92603 Fix typo in comments 2012-07-10 11:03:55 -04:00
Taylor Otwell 1879e6575a tweak eloquent model change method to not check types. 2012-07-10 08:02:08 -05:00
Franz Liedke 204a6a7980 Add a Request::time() function. 2012-07-10 15:29:26 +03:00
Jeffrey Way ff525b995b Add "remember" to ignore list
Signed-off-by: Jeffrey Way <jeffrey@envato.com>
2012-07-09 22:18:32 -04:00
Jeffrey Way 9dd964c316 Extend Auth::laravel to accept multiple params to verify
Signed-off-by: Jeffrey Way <jeffrey@envato.com>
2012-07-09 21:34:17 -04:00
Taylor Otwell 82ababb4cb Add note about making view directory writable. 2012-07-09 09:54:56 -05:00
Taylor Otwell 845023fc80 Merge pull request #847 from tobsn/patch-1
NOT NULL order issue fixed!
2012-07-06 18:12:11 -07:00
Taylor Otwell 430eeb6da1 Merge pull request #798 from xsbeats/feature/validation_required_with
Added required_with validation rule...
2012-07-06 18:11:19 -07:00
Taylor Otwell 990f10f6de Merge pull request #854 from jasonlewis/feature/pattern-filters
Allow filter patterns to supply a name and callback as an easier alternative.
2012-07-06 17:57:46 -07:00
Taylor Otwell 4de201002d Merge pull request #862 from franzliedke/patch-15
[View] Pass variables with more expressive methods
2012-07-06 17:57:15 -07:00
Taylor Otwell 8198dc23f3 Merge pull request #874 from franzliedke/patch-16
[Eloquent] Constraining eager loads only allows WHERE clauses
2012-07-06 17:51:27 -07:00
Taylor Otwell 69e1ea939d Merge pull request #868 from lucadegasperi/bug/phpunit
Artisan test command fix
2012-07-06 17:50:13 -07:00
Taylor Otwell f338db50db Merge pull request #888 from TommyC81/patch-3
Documentation on how to attach data to pivot table
2012-07-06 17:49:20 -07:00
Taylor Otwell 90447e7183 Merge pull request #892 from jasonlewis/bug/database/select
Fixes #818, allows Query select to just be an Expression.
2012-07-06 17:14:20 -07:00
Franz Liedke 6b5cccc15f Move get_file_size() helper function to helpers.php. 2012-07-07 02:13:44 +02:00
Taylor Otwell 06154abe8d Merge pull request #895 from TomorrowToday/develop
Eloquent docs update: eager loading using $includes example
2012-07-06 17:12:15 -07:00
Taylor Otwell e6ff7ba336 Merge pull request #901 from franzliedke/patch-18
Ignore NULL values when determining whether a model object is dirty
2012-07-06 17:07:58 -07:00
Taylor Otwell a9d27ba79c Merge pull request #902 from JesseObrien/feature/eloquent-update-timestamp
Feature/eloquent update timestamp
2012-07-06 17:07:34 -07:00
Taylor Otwell 6e9efb464d Merge pull request #903 from Lapayo/master
Fixed a little bug with the Input::has_file function
2012-07-06 17:06:33 -07:00
Taylor Otwell dcf1966c28 Merge pull request #910 from franzliedke/patch-20
Force UTF-8 charset on JSON responses
2012-07-06 17:04:55 -07:00
Taylor Otwell 5c44cf98cd Merge pull request #879 from franzliedke/patch-17
[Eloquent] Bug with eager loading relationships and isset()
2012-07-06 17:04:34 -07:00
Franz Liedke db9f220f57 Force UTF-8 charset on JSON responses. 2012-07-07 02:17:12 +03:00
Franz Liedke d7bbdd9735 Fix anchor name for "Retrieving a language line" section on localization page. 2012-07-05 01:52:30 +03:00
Simon f05148503e Input::has_file was not working properly.
This one should work perfect :)
2012-07-04 22:56:58 +03:00
Jesse O'Brien 1be274caa6 Change update function so it uses timestamp like save
Calling update() on an eloquent model has no way of overriding
the timestamp that should be set if $timestamps is set on the
model. This changes that so it uses the timestamp() function
which is an easy way to over ride the type of timestamps used.
2012-07-04 15:46:12 -04:00
Franz Liedke f2ccc688fe Ignore NULL values when determining whether a model object is dirty. 2012-07-04 21:44:11 +03:00
Steven Lischer 72558bda3b removed extra newline 2012-07-02 12:50:26 -05:00
Steven Lischer 550913843e Merge branch 'develop' of git://github.com/laravel/laravel into develop 2012-07-02 12:44:29 -05:00
Steven Lischer b28c5eb19f docs edit: eager loading using $includes in model 2012-07-02 12:32:14 -05:00
Franz Liedke 94e9106b76 Display memory usage (and peak usage) in the profiler bar, too. 2012-07-02 03:42:43 +03:00
Franz Liedke 98b92185e3 Calculate memory and peak memory usage in profiler, too. 2012-07-02 03:38:58 +03:00
Chris Berthe 3b6191ec16 Merge remote-tracking branch 'upstream/develop' into develop 2012-07-01 12:33:03 -04:00
Jason Lewis 52f76b9d66 Fixes #818, wraps in an array instead of type casting.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-07-01 22:51:42 +09:30
TommyC81 f77b22eb45 Add documentation on how to attach pivot table fields to attach command. 2012-06-30 18:11:31 +03:00
TommyC81 110078d2af Fixed typo 2012-06-29 21:55:38 +03:00
TommyC81 2159596a83 Bold characters for reflash and keep. 2012-06-29 21:49:54 +03:00
TommyC81 26623c79ed Removed empty row. 2012-06-29 21:45:31 +03:00
TommyC81 837f617627 Re-organized and added some more help on the reflash() and keep() functions. 2012-06-29 21:42:06 +03:00
Franz Liedke a87bb86999 Fix a bug with Eloquent model classes and isset() when eager loading a relationship returns an empty result set. 2012-06-29 20:56:32 +03:00
TommyC81 3a504cfa8e Fixed small typo. 2012-06-29 20:34:00 +03:00
Taylor Otwell d53ac0e9d1 update change log 2012-06-28 15:28:03 -05:00
Taylor Otwell 8d17702b9c Merge branch 'staging' into develop 2012-06-28 15:26:25 -05:00
Taylor Otwell 14e9488cf9 Speed up eager loading of many to many. 2012-06-28 15:19:20 -05:00
Franz Liedke 39df69fdc1 Allow more than just WHERE clauses on eager load constraints. 2012-06-28 18:33:45 +03:00
Taylor Otwell 2d4fa7217a Merge pull request #867 from niallobrien/develop
Updated Validation docs
2012-06-27 20:41:19 -07:00
Taylor Otwell 1f93039ba7 Merge pull request #873 from dlpetrie/master
Adding support for '=', in (:any) and (:any?) route patterns
2012-06-27 20:39:59 -07:00
Daniel Petrie f640cd42ad adding in '=' to regex for (:any) / (:any?) calls. 2012-06-27 11:15:34 -07:00
Luca Degasperi 79a5dc1931 Using escapeshellarg instead of putting backshlashes in front of spaces
Signed-off-by: Luca Degasperi <dega.luca@gmail.com>
2012-06-27 17:31:38 +02:00
Luca Degasperi ad2540c979 Fixed the spaced directory when calling php unit via the command line
Signed-off-by: Luca Degasperi <dega.luca@gmail.com>
2012-06-27 15:20:28 +02:00
niallobrien 9858f8aa61 Added examples for using $errors in views. 2012-06-27 14:19:21 +02:00
Tobsn a04f38c262 Now with Balanced Parentheses!
it's not regex, its not posix, but it can fly… finally balanced
parentheses to fix all the () issue. it's ugly but it's fast and works
with all kinds of combinations.

it basically just counts open vs. closed and if they are even again it
knows exactly where the condition is and does not cut into html or cut
off too much.
2012-06-27 03:46:31 -07:00
Franz Liedke 5e2373817d Allow for passing variables to views with more expressive method calls.
Example: with_foo($bar) instead of with('foo', $bar)

Signed-off-by: Franz Liedke <franz@develophp.org>
2012-06-25 21:31:54 +03:00
Chris Berthe f3d756476b Merge remote-tracking branch 'upstream/develop' into develop 2012-06-25 13:11:54 -04:00
Franz Liedke bcd63ab5af We can be fairly sure the $time variable is set in the profiler view. 2012-06-25 14:56:42 +03:00
Franz Liedke 204a64f006 Simply use the LARAVEL_START constant for calculation page generation time in profiler. 2012-06-25 14:56:04 +03:00
Franz Liedke 0f5de55d5b Fix variable name in retrieve() method for Eloquent auth driver. 2012-06-25 14:53:15 +03:00
Shawn McCool 0493431597 Merge branch 'feature/installation' into staging 2012-06-25 13:46:07 +02:00
Shawn McCool 4d7d67dd82 Merge branch 'feature/installation' into develop 2012-06-25 13:46:01 +02:00
Shawn McCool d08db5c26b added server configuration to install docs 2012-06-25 13:45:29 +02:00
Steve Frost a8b5231e57 Updated the dd function to var_dump inside pre tags, makes is a bit more readable 2012-06-25 12:16:14 +02:00
Franz Liedke 9572329c49 Allow Auth::login() to work with objects for the Eloquent driver. 2012-06-25 02:36:20 +03:00
Franz Liedke 52f98b7cf6 Use start_time attribute like a static attribute (as it is). 2012-06-25 01:12:31 +03:00
Franz Liedke c74123098b Render page generation time on anbu profiler console. 2012-06-24 21:27:57 +03:00
Franz Liedke 59397eb726 Calculate the total render time in the profiler. 2012-06-24 21:17:32 +03:00
Jason Lewis cea48d4fe5 Updated the documentation.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-24 19:37:08 +09:30
Jason Lewis ac810f8597 Allow filter patterns to supply a name and callback as an easier alternative.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-24 19:28:53 +09:30
Jeffrey Way 5a4d622bb7 Fix small typo in validation docs. 2012-06-23 14:32:27 -03:00
Tobsn 31abcd599b unique typo 2012-06-22 08:54:10 -07:00
Tobsn 0b9b102dc7 NOT NULL order issue fixed!
thanks @crynobone !!!
2012-06-22 08:50:09 -07:00
Dayle Rees 6415f1d2ac Merge pull request #846 from tobsn/patch-6
fixed link for query builder
2012-06-22 08:35:27 -07:00
Dayle Rees 8d13bf9c5a removing unsigned from mysql grammer due to bug
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-06-22 16:25:50 +01:00
Tobsn 61a61fc285 Added explanation about PDO default attributes
regarding issue #788

https://github.com/laravel/laravel/issues/788
2012-06-22 06:06:54 -07:00
Tobsn 36226b99bc fixed link for query builder /query -> /fluent
thanks to @NXB
2012-06-22 03:09:50 -07:00
Taylor Otwell 7af0304fe8 Merge branch 'master' into develop 2012-06-21 11:38:50 -05:00
Tobias Orterer be264ab181 added break function to closing structure 2012-06-21 00:09:08 -07:00
Koen Schmeets 276f96aec3 Adding comment to finish call 2012-06-20 19:27:24 +02:00
Taylor Otwell 1b062499dd Merge pull request #774 from franzliedke/patch-8
Avoid unnecessary end() in Table::command() function
2012-06-20 09:59:50 -07:00
Taylor Otwell 3fcb3aac6c Merge pull request #775 from franzliedke/patch-9
Foreign key creation ignores database prefix
2012-06-20 09:58:38 -07:00
Taylor Otwell a203a12da4 Merge pull request #799 from Jelle-S/develop
Eloquent - simplify eager loading
2012-06-20 09:57:59 -07:00
Taylor Otwell 81efdcf157 Merge pull request #776 from JesseObrien/develop
Request::ip() doesn't return default
2012-06-20 09:56:01 -07:00
Taylor Otwell 6e28d0bf2c Merge pull request #812 from stefanneubig/patch-2
Fixed namespace issue when registering a session driver with the extend ...
2012-06-20 09:52:09 -07:00
Taylor Otwell 6405175dbd Merge pull request #819 from jasonlewis/patch-11
Allow checking of named view existance.
2012-06-20 09:49:12 -07:00
Taylor Otwell fc96014c4f Merge pull request #821 from daylerees/feature/clear-input
Added clear() method to the input class
2012-06-20 09:47:02 -07:00
Taylor Otwell 7354b5fc72 Merge pull request #824 from tobsn/patch-1
Added UNSIGNED to mysql grammar inrementer()
2012-06-20 09:46:16 -07:00
Taylor Otwell 1f9f064bf6 Merge pull request #831 from jasonlewis/feature/blade-break
Added an @break to blade to break out of loops.
2012-06-20 09:43:15 -07:00
Taylor Otwell 749a91f948 Merge pull request #840 from noor/develop
Fixed optgroup closing tag
2012-06-20 09:42:12 -07:00
Noor Alhiraki ec0128be8f fixed optgroup closing tag 2012-06-20 16:18:16 +03:00
SonicHedgehog ec4556321d Fixed typo 2012-06-20 13:01:52 +03:00
Tobias Orterer c6ebf685bf Added important note about @layout on first line
leads to confusion if not pointed out.
2012-06-18 21:55:35 -07:00
Chris Berthe 17e75a9719 Merge remote-tracking branch 'upstream/develop' into develop 2012-06-18 12:38:59 -04:00
Jason Lewis b6cc836bf4 Added an @break to blade to break out of loops.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-19 01:58:14 +09:30
Tobias Orterer ddee5b7199 Blade cleanup
sanitized most functions and regular expressions. made the bigger
functions a bit more solid, flexible in what they ignore and simplified
various processes.
2012-06-16 20:02:03 -07:00
Tobias Orterer e0d491cb15 Added UNSIGNED to mysql grammar inrementer()
Added UNSIGNED to the mysql grammar file because auto increment fields
only run upwards, it's a waste of space to provide negative values by
the default SIGNED state of INT.
2012-06-16 19:46:50 -07:00
Taylor Otwell c92578b217 Merge branch 'master' of github.com:laravel/laravel 2012-06-16 15:08:38 -05:00
Taylor Otwell 681f80eafb update change log 2012-06-16 15:08:03 -05:00
Koen Schmeets aeeb010e0a Fixing reference issue in relationship matching 2012-06-16 17:52:07 +02:00
Koen Schmeets 189f3813d0 Calling the finish method on the right object 2012-06-16 13:20:39 +02:00
Dayle Rees e3317324b0 added clear() method to the input class
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-06-16 11:42:25 +01:00
Jason Lewis a5cc8616fc Fix bug where error is shown when named view isn't set.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-16 10:29:45 +09:30
Jason Lewis 5d6258a7b4 Can now check for existance of named views.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-15 10:29:09 +09:30
anaxamaxan 19a3e9dc2b Allow Model instance an id for first argument in Has_Many_And_Belongs_To::attach() and same for ::detach(). Also a typo fix for the docblock on attach(). 2012-06-13 16:23:28 -07:00
Stefan Neubig ac2e7c6a2d Fixed namespace issue when registering a session driver with the extend closure 2012-06-14 01:33:56 +03:00
Jason Walton e9e8a5b32e Adds limit_exact method which will limit a string and its custom ending to a specified length
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-06-13 10:50:50 -07:00
Taylor Otwell b27b132128 update change log 2012-06-13 10:26:42 -05:00
Taylor Otwell 0a24189b0e added resolving event. 2012-06-13 10:25:14 -05:00
Chris Berthe fafaf724b0 Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
2012-06-13 11:19:20 -04:00
dlabs88 06d7abc2d4 Route::get('admin', array('before' => 'auth', function() {}));
forgot the last )
2012-06-12 04:00:15 +03:00
Jelle Sebreghts ac8bd0829e Fix for https://github.com/laravel/laravel/issues/789 2012-06-11 20:00:46 +02:00
Jason Walton 6881bdaf02 Added required_with validation rule to conditionally require an attribute based on the presence of another attribute
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-06-11 09:18:42 -07:00
Lucas Cherkewski 6c35bbade6 Fix typo. 2012-06-10 10:13:56 -04:00
Jesse O'Brien 67ac2f2f9a Default was never returned. If no IP was found it returns NULL.
While unit testing I found that providing a default IP address to
Request::ip() returns NULL in a CLI environment.
2012-06-06 15:10:06 -04:00
Franz Liedke 7ead1796d0 Apply prefix to foreign key's "on" attribute, too. 2012-06-06 12:33:50 +03:00
Franz Liedke 605be704ff Avoid unnecessary end() in Table::column() function. 2012-06-06 12:23:00 +03:00
Franz Liedke 8fc80c47d9 Avoid unnecessary end() in Table::command() function. 2012-06-06 12:20:30 +03:00
Loic Sharma f2e915f13d Improved the way the quotes were added to the bindings. 2012-06-05 22:57:56 -05:00
Loic Sharma ea3021f3dd Fixed bug where the profiler did not correctly put quotes around bindings 2012-06-05 22:46:35 -05:00
Samuel Fitz db351fedf0 added dblib option to sqlsrv connector class /sam fitz (abigwonderful)
simple conditional added to look for dsn type. if set and is dblib,
syntax for PDO connection adjusted slightly to allow for mac connection
to mssql server (utilizing freetds)
2012-06-05 13:31:21 -06:00
Aaron Kuzemchak 75033f6287 Updating docs for Blade comments 2012-06-04 14:51:42 -04:00
Aaron Kuzemchak 3d7dc61697 Fixing multiline Blade comments, making closing comment tag required 2012-06-04 14:48:22 -04:00
Franz Liedke 3ccc37bd8f Documentation: Fix typo on routing page's TOC. 2012-06-04 20:36:33 +03:00
Franz Liedke 161ea09861 Documentation: Add link to Controller Routing section to Routing submenu. 2012-06-04 20:34:04 +03:00
Taylor Otwell d9802fe656 flush output buffer in error class. 2012-06-04 09:04:20 -05:00
Colin Viebrock 1cc33dea26 Clean-up whitespace issues
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-06-03 21:32:03 -05:00
Taylor Otwell f595deea1e updated change log. 2012-06-03 19:53:44 -05:00
Taylor Otwell 9d99cfad7e added default to config call to get auth password for backwards compatibility. 2012-06-03 19:53:21 -05:00
Taylor Otwell 8205a21965 Merge pull request #707 from cviebrock/auth-pass-field
Allow password field to be configured for Authentication drivers
2012-06-03 17:51:15 -07:00
Taylor Otwell 84e8892c29 updating change log. 2012-06-03 17:45:08 -05:00
Taylor Otwell ba6590d7b1 cleaning up code. 2012-06-03 17:44:53 -05:00
Taylor Otwell f608157ffc Merge pull request #732 from franzliedke/patch-4
Add a last_query() function to Database connection class.
2012-06-03 15:43:44 -07:00
Taylor Otwell c9a4f5ea2f cast values when comparing. 2012-06-03 17:42:16 -05:00
Taylor Otwell 563568fbfe Merge branch 'staging', remote-tracking branch 'origin' into develop 2012-06-03 17:38:56 -05:00
Taylor Otwell aae8b62d6a Merge pull request #735 from lukemartin/patch-1
Adding third parameter (filename) to upload method.
2012-06-03 15:38:27 -07:00
Taylor Otwell e12b554cbb cleaning up. 2012-06-03 17:37:46 -05:00
Taylor Otwell d9c0dc0c35 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-06-03 17:37:05 -05:00
Taylor Otwell 1ac911f05d Merge branch 'master' of github.com:laravel/laravel into develop 2012-06-03 17:36:16 -05:00
Taylor Otwell 930a3e89e0 Merge pull request #736 from joecwallace/cli-env-management
Check  against host name for CLI commands
2012-06-03 15:35:33 -07:00
Taylor Otwell 1b71a0ed89 Merge pull request #743 from kbanman/response-fix
Render Response objects when casting as string
2012-06-03 15:34:31 -07:00
Taylor Otwell 0bdfea32e7 Merge pull request #747 from kloy/master
Fixing bug in IoC::resolve
2012-06-03 15:33:07 -07:00
Taylor Otwell 3805b69aee Merge pull request #748 from hamuz/patch-1
Use the static "compiled" method
2012-06-03 15:32:45 -07:00
Taylor Otwell 5cb8b9bfe9 Merge pull request #750 from robmeijer/develop
Add a note about registering a named route for a controller action.
2012-06-03 15:32:04 -07:00
Taylor Otwell 4dd82a0de3 update change log. 2012-06-03 17:29:59 -05:00
Taylor Otwell ba4271c999 Merge pull request #752 from AndrewBNZ/master
Fixed typo from previous fix in sqlserver grammar, primary key function.
2012-06-03 15:28:55 -07:00
AndrewBNZ c8466f5766 Fixed typo from previous fix, should be $command->columns not $command->$columns. 2012-06-03 23:51:38 +12:00
Jason Lewis 6d5239bf30 Missed a semi-colon.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:47:44 +09:30
Jason Lewis b4db0f1b36 Small change moving array to a variable.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:45:49 +09:30
Jason Lewis ab2fcb84ef Possible fix for issue #378.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:23:35 +09:30
Rob Meijer dc81e1b7ab Add a note about registering a named route that points to a controller action. 2012-06-02 22:13:09 +01:00
hamuz ea143fd9e1 Use the static "compiled" method 2012-06-02 17:16:59 +03:00
Keith Loy d0afdf7bb2 fixing bug where parameters are not passed in IoC::resolve() 2012-06-01 23:29:43 -05:00
Kelly Banman 338b74c142 Render Responses when cast as string
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
2012-05-31 16:15:55 -07:00
lukemartin 52bce5596e Adding third parameter (filename) to upload method. 2012-05-30 23:37:48 +02:00
Taylor Otwell e35ec6b390 update change log. 2012-05-30 14:25:27 -05:00
Taylor Otwell 691d68ba54 improve / fix postgres support. 2012-05-30 14:23:27 -05:00
Taylor Otwell 56c6202d28 update change log. 2012-05-30 13:46:41 -05:00
Taylor Otwell 544821bdeb fix eloquent auth driver bug. 2012-05-30 13:46:20 -05:00
Colin Viebrock bb2afdf559 Fix for Fluent ... this should work, I'd think 2012-05-30 11:40:21 -05:00
Franz Liedke b4f07d43f5 Add last_query() helper method to Database class, too.
Signed-off-by: Franz Liedke <franz@develophp.org>
2012-05-30 18:44:48 +03:00
Franz Liedke 98b9898003 Add a last_query() function to Database connection class. 2012-05-30 18:37:55 +03:00
Taylor Otwell 2dd8b242b9 update change log. 2012-05-30 09:02:48 -05:00
Taylor Otwell bc67c667a9 Merge pull request #730 from sparksp/develop-default-https
Generated URLs default to use the current protocol (http or https)
2012-05-30 07:01:28 -07:00
Taylor Otwell cf604d4e79 Merge pull request #689 from crlosmify/html
Method for HTML special characters
2012-05-30 06:58:48 -07:00
Taylor Otwell 4bb2e5f63f Merge pull request #698 from bencorlett/html-lists
Adding support for values in nested lists generated in the HTML class.
2012-05-30 06:58:19 -07:00
Taylor Otwell 79b4279101 update change log. 2012-05-30 08:41:45 -05:00
Taylor Otwell 5f97030ce8 refactored set_format to foromat. 2012-05-30 08:41:03 -05:00
Taylor Otwell c2ad6a8126 Merge pull request #714 from daylerees/feature/error-format
Allow custom global message format.
2012-05-30 06:38:27 -07:00
Taylor Otwell d6bcc414b1 update change log. 2012-05-30 08:33:32 -05:00
Taylor Otwell 9114d2a033 Merge branch 'master' into staging 2012-05-30 08:28:58 -05:00
Taylor Otwell aa687d039d Merge pull request #725 from kapv89/patch-1
Changed a line which causes "illegal string offset" error to be thrown i...
2012-05-30 06:25:29 -07:00
Taylor Otwell 36247267e8 update change log. 2012-05-30 08:23:19 -05:00
Taylor Otwell d1bb02ab64 fix conflicts. 2012-05-30 08:22:40 -05:00
Phill Sparks 6151886860 Generated URLs default to use the current protocol (http or https)
Signed-off-by: Phill Sparks <phill@bulbstudios.com>
2012-05-30 13:14:16 +01:00
AndrewBNZ b4b9c1f442 Fixes Laravel issue #727 - updated sqlserver grammar file to fix error in primary key function. 2012-05-30 18:42:22 +12:00
Taylor Otwell 9c1272093b update change log. 2012-05-29 17:07:47 -05:00
Taylor Otwell c062418ee1 fixing conflicts. 2012-05-29 17:06:11 -05:00
Taylor Otwell 012663ddbb fix conflicts. 2012-05-29 17:02:39 -05:00
Taylor Otwell 69d9257a50 Return value of cookie. 2012-05-29 17:00:23 -05:00
kapv89 86a5fd0739 Changed a line which causes "illegal string offset" error to be thrown in php5.4 on trying to access $value['tmp_name'] 2012-05-29 14:04:06 +05:30
Ben Corlett 7f0d709b3b Adding mb_output_handler as the default callback for output buffering, Thanks @syntaqx 2012-05-29 11:26:27 +10:00
Shawn McCool 11c67a56cc added eloquent model detection to eloquent auth driver 2012-05-28 11:31:21 +02:00
Shawn McCool 22f99bce1f Merge branch 'hotfix/auth_login_eloquent_driver' into develop 2012-05-28 10:47:54 +02:00
Shawn McCool 495ff1b197 eloquent model detection moved to eloquent driver 2012-05-28 10:44:22 +02:00
Shawn McCool 278dbf7a1d Merge branch 'fix-auth' into develop 2012-05-27 20:29:38 +02:00
Shawn McCool 3c43f5fac4 updated auth::login to use get_key() 2012-05-27 20:29:00 +02:00
Phill Sparks 548e73ac94 Merge pull request #715 from daylerees/feature/overide-core-tasks
Allow overloading of core tasks.
2012-05-27 03:18:43 -07:00
Colin Viebrock ef5ab30ca2 Fix ... thanks Vespakoen! 2012-05-26 20:51:35 -05:00
Shawn McCool 23f469ae53 Merge pull request #716 from daylerees/feature/forelse-fix
Fix for @forelse only matching $vars.
2012-05-26 04:57:36 -07:00
Dayle Rees ffa9c7997a added ability to pass eloquent model to Auth::login()
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-26 13:19:12 +02:00
Dayle Rees 992a5f74ca fix for forelse only matching $vars
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-25 20:34:13 +01:00
Dayle Rees f58b9dea7f allow for overriding core tasks
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-25 19:05:34 +01:00
Dayle Rees 3f0adcb5f3 allow global messages format
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-25 18:47:17 +01:00
Koen Schmeets 52fded661d Extending Symfony's Response class and adding & calling the finish method
Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
2012-05-24 11:50:48 +02:00
Koen Schmeets 0f3e8eb62b Reverting Symfony's Response class to previous version
Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
2012-05-24 11:49:35 +02:00
Colin Viebrock 62afdf3f2c Allow password field to be configured.
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-05-23 22:47:18 -05:00
Koen Schmeets b02fd5232c Fixing a bug that would stop the script execution before the laravel.done event has been fired for php-fastcgi users
Signed-off-by: Koen Schmeets <k.schmeets@gmail.com>
2012-05-24 02:01:24 +02:00
Phill Sparks 80386977aa Merge pull request #699 from falzhobel/profiler-js-finetune
Profiler js finetune
2012-05-23 06:10:01 -07:00
Phill Sparks 8edd8fcbec Fixed line endings.
Signed-off-by: Phill Sparks <me@phills.me.uk>
2012-05-23 11:21:07 +01:00
Phill Sparks 3e92ee27db Merge pull request #701 from tkaw220/develop
Typo in documentation
2012-05-23 03:03:40 -07:00
Edwin Aw 5bd64f4030 Typo in documentation
Fixed typo in controllers documentation
2012-05-23 17:44:41 +08:00
Guillaume Lambert 5f0e70a2ef fixed a conflict with .hidden class when using twitter bootstrap and made animation smoother
Signed-off-by: Guillaume Lambert <falzhobel@gmail.com>
2012-05-22 23:33:02 -04:00
Guillaume Lambert fa6d0e92a9 added prevent default to anbu events and linted/formatted profiler.js code, profiler config in application back to false
Signed-off-by: Guillaume Lambert <falzhobel@gmail.com>
2012-05-22 23:09:56 -04:00
Guillaume Lambert 7cc4df852b added prevent default to anbu events and linted/formatted profiler.js code
Signed-off-by: Guillaume Lambert <falzhobel@gmail.com>
2012-05-22 23:03:29 -04:00
Ben Corlett af2bf68a29 Adding support for values in nested lists generated in the HTML class.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-05-23 12:25:26 +10:00
Joe Wallace 1aabbc38bb Check against host name for CLI commands 2012-05-22 11:04:17 -05:00
Dayle Rees cdcca78548 profiler upgrade additions
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-05-22 17:03:26 +01:00
Taylor Otwell 49944bab96 Increment version. 2012-05-22 09:12:21 -05:00
Taylor Otwell 91c64b38a7 updated change log. 2012-05-22 08:32:23 -05:00
Taylor Otwell 2ea35398c3 Merge branch 'develop' into staging 2012-05-22 08:29:22 -05:00
Kelly Banman e46d9c5b6d Fix capitalization regression in Request::server()
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
2012-05-21 23:56:48 -07:00
Taylor Otwell 98535868ac Merge branch 'develop' into staging 2012-05-21 11:06:35 -05:00
Taylor Otwell 5ba802d473 Update environment documentation. 2012-05-21 11:05:59 -05:00
Taylor Otwell e7a40c0caf Updating event docs. 2012-05-21 11:02:43 -05:00
Taylor Otwell a7959ebc3d Updating docs. 2012-05-21 10:57:23 -05:00
Taylor Otwell e7ee6865b1 Updating docs. 2012-05-21 10:55:08 -05:00
Taylor Otwell 0f0c291ffb updating docs for merge and replace input methods. 2012-05-21 10:53:28 -05:00
Taylor Otwell 7d1102dd6e Updated authentication offline docs. 2012-05-21 10:48:15 -05:00
Taylor Otwell 5c03938e3b Merge branch 'develop' into staging 2012-05-21 10:35:55 -05:00
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
Ben Corlett 33fdcb4ae7 Fixing type-o with the spelling of "Symfony".
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-05-17 13:02:57 +10:00
Ben Corlett 056e547855 Adding output buffering to allow redirects to work after content has been outputted.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-05-17 11:47:10 +10: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
Kelly Banman 1b2ab309c4 Add support for non-string parameters in controller routes
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
2012-05-11 22:32:19 -07: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
Pavel 524375781e Added Bundle::expand() method.
Signed-off-by: Pavel <proger.xp@gmail.com>
2012-05-06 12:19:13 +04: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