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