Commit Graph

2027 Commits

Author SHA1 Message Date
Taylor Otwell 4de8e2d717 Update change log. 2012-09-27 09:05:29 -04:00
Taylor Otwell b043482905 Improve view errors. 2012-09-26 16:20:56 -04:00
Taylor Otwell 633c2bde83 Pass the path to the filter event. 2012-09-26 11:20:03 -04:00
Taylor Otwell a976c555e6 Added "view.filter" event so we can hook in final filters. 2012-09-26 10:43:34 -04:00
Taylor Otwell 14c6ff1692 Increment version and change log. 2012-09-26 10:13:30 -04:00
Taylor Otwell 3e3ee870ea Merge branch 'develop' of github.com:laravel/laravel into develop 2012-09-26 10:11:46 -04:00
Taylor Otwell d64d6c9092 Fix logging issue when using the laravel.log event. 2012-09-26 10:11:24 -04:00
Taylor Otwell 09500818e0 Merge pull request #1204 from bryantebeek/optimisation/str-class
Performance enhancement for Str Class (see pull request #1180)
2012-09-25 18:37:53 -07:00
Taylor Otwell fc9b0e1636 Merge pull request #1201 from JoostK/fix-1
Fixed a problem with `Eloquent::get_dirty`
2012-09-25 18:37:09 -07:00
Taylor Otwell 4b7dc2e824 Merge pull request #1226 from akuzemchak/bug/language-routes
Fixes language URI routing issue
2012-09-25 18:34:40 -07:00
Taylor Otwell 439f9c8055 Merge pull request #1236 from kuroi/patch-1
Correct broken links in docs
2012-09-25 18:33:48 -07:00
Taylor Otwell dad0bbc688 Merge pull request #1247 from dcelasun/patch-1
Fix a tiny typo
2012-09-25 18:33:14 -07:00
Taylor Otwell 9acf541653 Merge pull request #1255 from joual/develop
Auth token now nulled on logout
2012-09-25 18:32:36 -07:00
Taylor Otwell 5a1741e9d5 Merge pull request #1276 from rk/rk-issue-1261
[#1261] get_key now pulls from $original instead
2012-09-25 18:31:34 -07:00
Taylor Otwell 4eac00a009 Use hash_hmac on cookie hashes. 2012-09-25 16:43:58 -04:00
Taylor Otwell 04f22f086d Update change log. 2012-09-25 08:42:03 -05:00
Taylor Otwell ad313198df working on cookie fingerprinting. 2012-09-25 08:40:48 -05:00
Jakobud e67ddd86dd Added output from String documentation examples. 2012-09-24 14:02:50 -06:00
RK f148f6211c Fixing the array_get misspelling. 2012-09-24 10:35:07 -04:00
RK 258169ea00 [#1261] get_key now pulls from $original instead
This is in reference to issue #1261, where Model->get_key() returns
the key from the $attributes instead of from the $original property.
This breaks the functionality of a model with a primary key that may
change, as the SQL generated will be something like:

UPDATE `model` SET `key` = 'new-key' WHERE `key` = 'new-key';

Which won't update the model in the database.
2012-09-24 09:58:20 -04:00
Mohammad Sadeghi 9d28938d55 . 2012-09-24 16:42:09 +03:30
Mohammad Sadeghi 7647c3fcba added 'u' flag for preg_match to match UTF-8 URIs. 2012-09-24 16:39:28 +03:30
Mohammad Sadeghi 9df9a5df04 segment pattern to match a single segment, also matches UTF-8 segments. 2012-09-24 16:15:11 +03:30
Jason Lewis 9fae4dc8d7 Merge branch 'master' into develop 2012-09-24 01:01:53 +09:30
Jason Lewis 8c580d17fb You can only pass the ID of a user, not an object.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-09-24 01:01:14 +09:30
Franz Liedke de53feb07e Fix validation tests one more time. 2012-09-21 13:11:54 +02:00
Franz Liedke f77041ced9 Add another test with quotes around the validation rule's parameter. 2012-09-21 12:31:49 +02:00
vtalbot 8931369665 Add task bundle:uninstall, bundle:unpublish, migrate:rollback bundle, migrate:reset bundle. 2012-09-20 22:15:29 -04:00
Joel Marcotte 3d51200a88 Auth token now nulled on logout
Signed-off-by: Joel Marcotte <skaner@gmail.com>
2012-09-20 17:54:28 -04:00
Duru Can Celasun 2b787763aa Fix a tiny typo 2012-09-20 10:13:01 +03:00
Shawn McCool 33b5f6377c Update laravel/documentation/routing.md
Added a warning about using Controller::detect() for routing.
2012-09-19 18:13:31 +03:00
Dayle Rees 0dc124d342 Merge pull request #1210 from franzliedke/patch-44
Definition list support (#1202)
2012-09-19 06:29:31 -07:00
Boris Strahija 925e5bed73 Trimming whitespace before doctype tag
When using layouts and sections
2012-09-18 17:22:45 +03:00
Peter Coles 184b2989e2 Correct correction 2012-09-18 11:59:11 +02:00
Peter Coles 14eebab94a Correct broken links in docs 2012-09-18 05:54:41 +02:00
Patrick Romowicz 966e8462c9 Update laravel/database/connection.php 2012-09-17 21:49:17 +03:00
Patrick Romowicz 5f9a26bae3 Undefined namespace Grammars 2012-09-17 21:42:47 +03:00
Patrick Romowicz 034c63b39d add use Closure; 2012-09-17 21:34:13 +03:00
Franz Liedke b1e4cf9d29 Use Request helper to determine whether we're in CLI mode. 2012-09-17 18:42:25 +03:00
Aaron Kuzemchak 581fcc5c47 Cleaner regex
Signed-off-by: Aaron Kuzemchak <aaron@kuzemchak.net>
2012-09-15 20:48:18 -04:00
Aaron Kuzemchak 03acf9ca50 Fixes language URI routing issue
Signed-off-by: Aaron Kuzemchak <aaron@kuzemchak.net>
2012-09-15 18:57:29 -04:00
Franz Liedke 65d4b2448b Fix closing tag in definition list helper. 2012-09-14 22:21:35 +03:00
Duru Can Celasun 1ee55a3b38 Fix a tiny typo
s/encourage/encouraged
2012-09-14 13:28:02 +03:00
arisk 752161cae3 Setting the exception code in the constructor 2012-09-14 16:47:55 +07:00
arisk e541cf9ebd Added PDO error code 2012-09-14 11:16:46 +07:00
Franz Liedke d051994e2c Fix CLI mode detection for some shared hosts. 2012-09-12 14:56:46 +03:00
Franz Liedke fedc9fc45e Fix hardcoded "id" column in Eloquent auth driver. 2012-09-12 14:48:07 +03:00
Franz Liedke 5942771ce9 Add documentation for definition list helper. 2012-09-12 14:42:20 +03:00
Franz Liedke c7763a23bd Add definition list helper to HTML class. 2012-09-12 14:40:55 +03:00
Dayle Rees 38562d5007 Merge pull request #1160 from kapv89/patch-2
Updated Paginator to fit better with bootstrap 2.1
2012-09-11 03:20:44 -07:00
kapil verma b63b0c0829 Updated Documentation for Bootstrap-y Pagination
The Docs now show bootstrap style Pagination
2012-09-11 08:09:30 +05:30
kapil verma 85cab82f37 Fixed 2 stupid bugs for better markup
Thats it .. pulling on the docs now
2012-09-11 07:48:01 +05:30
Bryan te Beek 01ba355787 Optimize Str-helper (see pull request #1180)
Signed-off-by: Bryan te Beek <bryantebeek@gmail.com>
2012-09-10 21:11:20 +02:00
Jason Walton adc23dc964 Added traffic and chassis as uncountable words to properly feed pluralizer
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-09-10 11:25:08 -07:00
Alex Andrews f02e7dc4ca Reformatted return
Changed the return of the method in line with suggestions from @JoostK.
2012-09-10 12:27:50 +01:00
Dayle Rees a5bb035e4c Merge pull request #1165 from JoostK/develop
Problem with manual running of Artisan tasks
2012-09-10 03:37:24 -07:00
Dayle Rees 666db87137 Merge pull request #1169 from mcintyre94/minor/add-touch-eloquent
Added new touch function to eloquent, updates timestamps and immediately saves
2012-09-10 03:30:32 -07:00
Dayle Rees f004ddcea7 Merge pull request #1189 from kapv89/patch-5
Turn profiler off using runtime Config
2012-09-10 03:23:36 -07:00
kapil verma 4de8921f2d Fixed The $dots property
So that it doesn't screw up pagination
2012-09-10 12:02:55 +05:30
JoostK 147e0ec656 Implementation of Eloquent tests
Basic Eloquent unit tests.

Lacks database operations, relationship testing and some magic method
calls.
2012-09-10 00:51:02 +02:00
JoostK 5f99c81035 Fixed a problem whith `Eloquent::get_dirty`
When you had a synched Eloquent model (e.g. without changed values) but
one of those values is `null`, then that value would be considered as
dirty. `Eloquent::changed` returns false, but the value is present in
`Eloquent::get_dirty`.

This fix makes sure that a `null` value in `$attributes` is only
present in `get_dirty` when it wasn't at all *set* in `$original`.
2012-09-09 20:52:33 +02:00
thybag aa32e4cf72 Rename static::get_encoding() method to static::encoding() to fit better with style. 2012-09-09 14:24:52 +01:00
Neo Ighodaro f0a2ffef2b The bundle variable is not defined anywhere in the method scope.
Signed-off-by: Neo Ighodaro <thecreativityteam@yahoo.com>
2012-09-09 09:09:41 +01:00
Neo Ighodaro f7cdb76f36 The bundle variable is not defined anywhere in the method scope. 2012-09-09 09:08:55 +01:00
Jason Lewis afbae10345 Merge pull request #1175 from franzliedke/patch-42
Fix #1140: Auth / Eloquent / Custom password getter
2012-09-07 23:49:11 -07:00
Jason Lewis 56f665bf6d Merge pull request #1193 from franzliedke/patch-43
Delete phpunit.xml when unit testing
2012-09-07 23:41:08 -07:00
Franz Liedke 9348046d0e Fix dynamically generated phpunit.xml file not being deleted automatically in the test runner. 2012-09-07 14:32:37 +02:00
Franz Liedke e407e67559 Add documentation for date_format validation rule. 2012-09-07 14:03:23 +02:00
Franz Liedke a40aabbb05 Implement date_format validation rule. 2012-09-07 14:02:04 +02:00
Franz Liedke 49331d74e2 Add unit tests for date_format validator rule. 2012-09-07 14:01:45 +02:00
kapil verma c1bcfec3d2 Turn profiler off using runtime Config
just added a check in Profiler's render method to also look at Config::get('application.profiler') as laravel allows changing config during runtime. This allows turning off profiler for certain actions
2012-09-06 04:42:58 +05:30
Aaron Kuzemchak 69ebe6d56a Allow Input::json() to return array instead of object 2012-09-05 16:07:20 -04:00
thybag f55bb85c6f Update to conform better with laravels coding style. 2012-09-05 09:49:04 +01:00
thybag a9be66d41a Refactor changes into single get_encoding() method within the HTML Class (in order to remove duplication of logic). All tests continue to pass. 2012-09-05 09:35:54 +01:00
thybag 6e44b4080a Cache application.encoding within HTML class to avoid unnecessary calls to Config::get();
Calling the "Config::get('application.encoding')" is expensive and within a large form (using the form builder) having it requested multiple times can result in a significant performance drag.

Caching this value reduced calls to Config:get within our project from 1200+ to 125. All core tests appear to pass with this change in place.
2012-09-04 16:09:56 +01:00
Franz Liedke 8e145e6c11 Make Eloquent auth driver respect a model's custom password getter.
This fixes #1140.
2012-09-04 16:36:17 +03:00
Callum McIntyre c8ee7ca614 Added documentation regarding the newly public timestamp() function
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 23:23:36 +01:00
kapil verma 2773e317ea Removed a Useless if conditional from bind method 2012-09-04 02:54:21 +05:30
Callum McIntyre 0161273010 Added documentation for the touch() function
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 22:23:58 +01:00
kapil verma 55ad4e9a6d Added a method to fluently set belongs-to relation
This method spun off from a discussion in IRC. What this enables is this:

$user->comments()->insert($comment_data)->article()->bind($article->id)
2012-09-04 02:40:28 +05:30
Callum McIntyre 6b73974505 Added new touch function to eloquent, updates timestamps and immediately saves
Signed-off-by: Callum McIntyre <mcintyre1994@gmail.com>
2012-09-03 21:44:16 +01:00
Joost Koehoorn a1c7dde08b Fixed problem with manual running of Artisan tasks
When running an Artisan task from within your application using `Command::run`, it fails when the same task is ran more than once. Every time the task is resolved, its file is included using `require` leading to duplicate class definitions. By using `require_once` this problem is avoided.
2012-09-03 16:42:14 +03:00
kapil verma 2a5d7c3080 Fixed the use of 5.4 array syntax in one place
SO that things dont break for 5.3 peeps
2012-09-02 12:27:06 +05:30
Taylor Otwell 07bec5c043 Merge branch 'master' into staging 2012-09-01 22:16:46 -05:00
Taylor Otwell 8afab342c6 Incrementing version and updating change log. 2012-09-01 22:09:47 -05:00
Taylor Otwell 4e21cfce39 Fixing a double slash bug in URL generation with languages. add tests. 2012-09-01 22:07:01 -05:00
Taylor Otwell 8a9acbccf0 Merge branch 'staging' 2012-09-01 21:50:41 -05:00
Taylor Otwell cfe5fa109a Add fix to change log. 2012-09-01 21:50:14 -05:00
Taylor Otwell 2e01c58f92 Fix error handling. 2012-09-01 21:48:37 -05:00
Taylor Otwell b061b9b21c Merge pull request #1150 from franzliedke/patch-40
Get rid of duplicate code for DROP TABLE in schema grammars.
2012-09-01 18:05:29 -07:00
Taylor Otwell 852b10e836 Merge pull request #1143 from franzliedke/patch-38
Fix insert() method for related models.
2012-09-01 18:02:41 -07:00
Taylor Otwell 1b475d8f9c Merge pull request #1142 from HendrikJan/master
Improved code examples for inserting related models
2012-09-01 18:01:20 -07:00
Taylor Otwell 50b10fca95 Merge pull request #1132 from cmenke/master
Add Routing Wildcard '(:all)' to Documentation
2012-09-01 17:56:31 -07:00
Taylor Otwell c17c872b6a Merge pull request #1123 from daris/patch-1
Update laravel/documentation/database/fluent.md
2012-09-01 17:53:14 -07:00
Taylor Otwell db48fa4140 Merge pull request #1121 from mcintyre94/minor/unprotect-eloquent-timestamps
Minor/unprotect eloquent timestamps
2012-09-01 17:52:53 -07:00
Taylor Otwell c974052c13 Merge pull request #1115 from HiroKws/delete-top-anchor/doc-session.config
Deleted an anchor of top of line. Defined "config", but it was reffered ...
2012-09-01 17:50:46 -07:00
Taylor Otwell 5e11cb91ed Merge pull request #1112 from HiroKws/fix-markdown/git-docs
Change some Markdown to fit other md files' format.
2012-09-01 17:50:04 -07:00
Taylor Otwell b3319f5d36 Merge pull request #1051 from franzliedke/patch-30
[Session] Trigger garbage collection (sweep) manually
2012-09-01 17:47:45 -07:00
Taylor Otwell 4db08087f7 Merge pull request #1089 from kbanman/fix-query-lists
Fix Query::lists() for empty resultsets
2012-09-01 17:41:49 -07:00
Taylor Otwell 4a60981582 Merge pull request #1084 from joecwallace/pivot_fix
Fixing a bug with saving data to pivot table
2012-09-01 17:40:14 -07:00
Taylor Otwell 017c65c0bc Merge pull request #1056 from Jakobud/bug/form/buttons/defaultValues
Fixed Exception thrown when passing null $value to Form::submit(), Form::reset(), Form::button()
2012-09-01 17:35:34 -07:00
Taylor Otwell 22962fce4a Merge pull request #1041 from Jakobud/feature/docs/templating
Reorg and Additions and Improvements to Templating Documentation
2012-09-01 17:29:41 -07:00
Taylor Otwell 0a908eff8d Merge pull request #1014 from jasonlewis/feature/root-bundles
Allow bundles to respond to root requests.
2012-09-01 17:26:35 -07:00
Taylor Otwell 8e8ef861b6 Merge pull request #1013 from Jakobud/bug/artisan-task-route
Artisan route task was ignoring the specified route
2012-09-01 17:25:40 -07:00
Taylor Otwell 5b14091e3f Merge pull request #858 from franzliedke/patch-14
[Auth] Eloquent driver does now allow login via object
2012-09-01 16:58:57 -07:00
Taylor Otwell 46f68ab78c Merge pull request #813 from anaxamaxan/patch-3
Allow Model instance or id for first argument in Has_Many_And_Belongs_To::attach()
2012-09-01 16:52:36 -07:00
Taylor Otwell 8f8fa09708 Merge pull request #811 from xsbeats/feature/str_limit_exact
Feature: Str::limit_exact    limits a string including its custom ending to a specified length
2012-09-01 16:51:39 -07:00
Taylor Otwell c7679bafe0 Merge pull request #770 from abigwonderful/develop
added dblib option to sqlsrv connector class /sam fitz (abigwonderful)
2012-09-01 16:45:50 -07:00
kapil verma f97fb3a457 Updated Paginator to fit better with bootstrap 2.1
The Paginator Renders a list of links compatible with bootstrap 2.1 standards ... so the irritating bug that used to be there on active and disabled pages is gone
2012-09-01 19:00:47 +05:30
Taylor Otwell c785067e95 Increment version and change log. 2012-08-29 14:45:22 -05:00
Taylor Otwell f34063c517 Fix bug in Eloquent to_array method. 2012-08-29 14:44:16 -05:00
Taylor Otwell e8046847c4 fix tests. 2012-08-28 23:58:52 -05:00
Taylor Otwell 928ce7c037 Merge branch 'staging' 2012-08-28 23:56:42 -05:00
Taylor Otwell 9b902427fd Updating version. 2012-08-28 23:55:04 -05:00
Taylor Otwell 9484db18ce Revert Blade back to 3.2.3 due to regression with layouts. 2012-08-28 23:52:15 -05:00
Franz Liedke e11d13ae31 Get rid of duplicate code for DROP TABLE in schema grammars. 2012-08-27 15:09:11 +02:00
Franz Liedke e46f07d436 Fix method signature and return values of insert() method. 2012-08-27 13:46:32 +03:00
Taylor Otwell dd01308315 Merge pull request #1098 from franzliedke/patch-35
[Docs] Fix contribution page links
2012-08-26 19:28:56 -07:00
Taylor Otwell 7fa54c2ed9 Merge pull request #1100 from franzliedke/patch-36
[Docs] Pull request guidelines
2012-08-26 19:28:30 -07:00
Taylor Otwell b86b8ffed1 Merge pull request #1113 from HiroKws/markdown-fix/doc-change
Added ## Laravel 3.2.5, and changed 'Upgrading From ...' to <h3>
2012-08-26 19:26:46 -07:00
Franz Liedke aa341357ec Fix insert() method for related models. 2012-08-26 01:10:31 +03:00
H.J. van Meerveld c44e69bf80 improved code to insert related models 2012-08-25 22:09:20 +02:00
Christoph Menke 20c696d4ae Added Routing Wildcard '(:all)' to Documentation 2012-08-21 17:08:21 +02:00
Tobsn 967d9898ae dann typo
i had one job…
2012-08-21 14:11:25 +02:00
Tobsn fa0fcff346 added unsigned() description
was missing…
2012-08-21 14:09:41 +02:00
Tobsn 161ae3f6e6 Docu on how to ensure foreign() works
tons of people are doing it wrong every day - this should fix it or at
least can be used as reference.
2012-08-21 00:12:29 +02:00
Tobsn 546c962612 Revert "Docu on how to ensure foreign() works"
This reverts commit b92f5bc854.
2012-08-21 00:10:03 +02:00
Tobsn b92f5bc854 Docu on how to ensure foreign() works
tons of people are doing it wrong every day - this should fix it or at
least can be used as reference.
2012-08-21 00:09:01 +02:00
Taylor Otwell 926cdaa7f5 reimplement locale uri slugs. 2012-08-20 10:46:23 -05:00
daris be7544b67a Update laravel/documentation/database/fluent.md
Missing comma
2012-08-19 19:05:45 +03:00
Callum McIntyre f8fdcd894a Changed timestamp function in eloquent/model.php to public 2012-08-19 15:15:42 +01:00
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
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