Commit Graph

1763 Commits

Author SHA1 Message Date
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
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
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
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
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
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