Commit Graph

1696 Commits

Author SHA1 Message Date
Hirohisa Kawase aca179cb95 Deleted an anchor of top of line. Defined "config", but it was reffered from no where. So, keep code simple.
Signed-off-by:Hirohisa Kawase <hiro.soft@gmail.com>
2012-08-18 21:57:54 +09:00
Hirohisa Kawase 359ee49f37 Added ## Laravel 3.2.5, and changed 'Upgrading From ...' to <h3>
Signed-off-by:Hirohisa Kawase <hiro.soft@gmail.com>
2012-08-18 20:40:56 +09:00
Hirohisa Kawase 973551cd8d Change some Markdown to fit other md files' format.
Signed-off-by: Hirohisa Kawase <hiro@linux-eejv.(none)>
2012-08-18 19:46:23 +09:00
Dayle Rees 7298c93be1 Merge pull request #1109 from JesseObrien/feature/profiler-timers
Added profile timers
2012-08-17 13:28:28 -07:00
Jesse O'Brien 7193f29240 Added profile timers
Track the running time of a function
Profiler::time(function(){});
Profiler::time(function(){}, 'name');

Track a stopwatch style timer throughout your app
Profiler::tick('name');
Profiler::tick('name', function($timer){});
2012-08-17 16:22:12 -04:00
Taylor Otwell 1203473469 revert eloquent back to 3.2.3 2012-08-17 09:18:16 -05:00
Taylor Otwell 1e20052b08 Merge branch 'staging' 2012-08-17 09:03:56 -05:00
Taylor Otwell 4d1405269c Merge branch 'develop' into staging 2012-08-17 09:02:51 -05:00
Taylor Otwell 9718d5cd0d fix nested queries. 2012-08-17 09:02:32 -05:00
Spencer Deinum 6c9d903e58 Added Command::run() to the documentation for artisan tasks.
Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>
2012-08-16 17:18:50 -04:00
Franz Liedke 385b776ba8 Docs: Finish section on pull request guidelines. 2012-08-15 11:47:27 -04:00
Franz Liedke f80d694a95 Contrib docs: add section stub about pull requests. 2012-08-15 10:47:51 -04:00
Franz Liedke 67464cb0f8 Fix typo in Github page table of contents. 2012-08-15 10:45:37 -04:00
Franz Liedke 1c7297dc02 Contrib docs: Remove pointless staging branch info. 2012-08-15 17:33:22 +03:00
Franz Liedke 5359085eda Fix contribution page links in documentation. 2012-08-15 17:27:50 +03:00
Taylor Otwell 8dbe2d1a9a Merge pull request #681 from bencorlett/develop
Added Output Buffering
2012-08-13 12:17:35 -07:00
Taylor Otwell 64605f2223 Merge pull request #706 from Vespakoen/patch-1
(profiler doesn't show up) laravel.done event doesn't get fired for php-fcgi users
2012-08-13 12:16:08 -07:00
Taylor Otwell feb651f630 Merge pull request #670 from kbanman/hmvc-fix
Add support for non-string parameters in controller routes
2012-08-13 12:13:58 -07:00
Taylor Otwell fdac5e843f Merge pull request #636 from ProgerXP/patch-bexpand
Branch::expand()
2012-08-13 12:08:50 -07:00
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