Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
42825775
Commit
42825775
authored
13 years ago
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up base directory of phpunit stuff.
parent
d36aa512
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
185 deletions
+51
-185
changelog.md
+0
-182
laravel/bundle.php
+13
-0
laravel/cli/tasks/test/phpunit.php
+0
-0
laravel/cli/tasks/test/runner.php
+37
-2
laravel/cli/tasks/test/stub.xml
+1
-1
No files found.
changelog.md
deleted
100644 → 0
View file @
d36aa512
# Laravel Change Log
## Version 2.1.0
-
Fix: Multiple wildcards / regular expressions per segment are now supported.
### Upgrading from 2.0.9
-
Replace
**laravel**
directory.
## Version 2.0.9
-
Minor: Made "timestamps" method in Eloquent model protected instead of private.
-
Fix: Authentication cookies are not deleted properly when custom domains or paths are used.
### Upgrading from 2.0.8
-
Replace
**laravel**
directory.
## Version 2.0.8
-
Fix: Limited URI segments to 20 to protect against DDoS.
### Upgrading from 2.0.7
-
Replace
**laravel**
directory.
## Version 2.0.7
-
Fix: Fixed raw_where in query builder.
### Upgrading from 2.0.6
-
Replace
**laravel**
directory.
## Version 2.0.6
-
Fix: Fixed nested sections.
## Version 2.0.5
-
Feature: Added array access to session::get.
-
Fix: Remove orderings before running pagination queries.
-
Fix: Session flush now correctly prepares empty data.
-
Fix: DB::raw now works on Eloquent properties.
### Upgrading from 2.0.4
-
Replace
**laravel**
directory.
## Version 2.0.4
-
Feature: Added default parameter to File::get method.
-
Feature: Allow for message container to be passed to Redirect's "with_errors" method.
-
Fix: Lowercase HTTP verbs may be passed to Form::open method.
-
Fix: Filter parameters are now merged correctly.
### Upgrading from 2.0.3
-
Replace
**laravel**
directory.
## Version 2.0.3
-
Feature: The application URL is now auto-detected.
-
Feature: Added new URL::to_action and URL::to_secure_action methods.
-
Fix: Fixed a bug in the Autoloader's PSR-0 library detection.
-
Fix: View composers should be cached on the first retrieval.
### Upgrading from 2.0.2
-
Replace
**laravel**
directory.
## Version 2.0.2
-
Fixed bug in validator class that prevented required file uploads from being validated correctly.
-
Added API example to File::upload method.
### Upgrading from 2.0.1
-
Replace
**laravel**
directory.
## Version 2.0.1
-
Fixed bug in routing filter class.
### Upgrading from 2.0.0
-
Replace
**laravel**
directory.
## Version 2.0.0
-
Added support for controllers.
-
Added Redis support, along with cache and session drivers.
-
Added cookie session driver.
-
Added support for database expressions.
-
Added Blade templating engine.
-
Added view "sections".
-
Added support for filter parameters.
-
Added dependency injection and IoC support.
-
Made authentication system more flexible.
-
Added better PSR-0 library support.
-
Added fingerprint hashing to cookies.
-
Improved view error handling.
-
Made input flashing more developer friendly.
-
Added better Redirect shortcut methods.
-
Added standalone Memcached class.
-
Simplified exception handling.
-
Added ability to ignore certain error levels.
-
Directories re-structured.
-
Improved overall code quality and architecture.
## Version 1.5.9
-
Fixed bug in Eloquent relationship loading.
### Upgrading from 1.5.8
-
Replace
**system**
directory.
## Version 1.5.8
-
Fixed bug in form class that prevent name attributes from being set properly.
### Upgrading from 1.5.7
-
Replace
**system**
directory.
## Version 1.5.7
-
Fixed bug that prevented view composers from being called for module named views.
### Upgrading from 1.5.6
-
Replace
**system**
directory.
## Version 1.5.6
-
Fix bug that caused exceptions to not be shown when attempting to render a view that doesn't exist.
### Upgrading from 1.5.5
-
Replace
**system**
directory.
## Version 1.5.5
-
Fix bug in session class cookie option extraction.
### Upgrading From 1.5.4
-
Replace
**system**
directory.
## Version 1.5.4
-
Fix bug in Eloquent belongs_to relationship eager loading.
### Upgrading From 1.5.3
-
Replace
**system**
directory.
## Version 1.5.3
-
Various bug fixes.
-
Allow columns to be specified on Eloquent queries.
### Upgrading From 1.5.2
-
Replace
**system**
directory.
## Version 1.5.2
-
Moved
**system/db/manager.php**
to
**system/db.php**
. Updated alias appropriately.
-
Unspecified optional parameters will be removed from URLs generated using route names.
-
Fixed bug in Config::set that prevented it from digging deep into arrays.
-
Replace Crypt class with Crypter class. Ditched static methods for better architecture.
-
Re-wrote exception handling classes for better architecture and design.
### Upgrading From 1.5.1
-
Replace the
**system**
directory.
-
Replace the
**application/config/aliases.php**
file.
-
Take note of encryption class changes.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
laravel/bundle.php
View file @
42825775
...
...
@@ -40,6 +40,19 @@ class Bundle {
*/
public
static
function
detect
(
$path
)
{
$bundles
=
static
::
search
(
$path
);
return
array_merge
(
$bundles
,
require
path
(
'base'
)
.
'bundles.php'
);
}
/**
* Detect all of the installed bundles from disk.
*
* @param string $path
* @return array
*/
protected
static
function
search
(
$path
)
{
$bundles
=
array
();
$items
=
new
fIterator
(
$path
);
...
...
This diff is collapsed.
Click to expand it.
phpunit.php
→
laravel/cli/tasks/test/
phpunit.php
View file @
42825775
File moved
This diff is collapsed.
Click to expand it.
laravel/cli/tasks/test/runner.php
View file @
42825775
...
...
@@ -89,11 +89,45 @@ class Runner extends Task {
*/
protected
function
stub
(
$directory
)
{
$
stub
=
File
::
get
(
path
(
'sys'
)
.
'cli/tasks/test/stub.xml'
)
;
$
path
=
path
(
'sys'
)
.
'cli/tasks/test/'
;
$stub
=
str_replace
(
'{{directory}}'
,
$directory
,
$stub
);
$stub
=
File
::
get
(
$path
.
'stub.xml'
);
// The PHPUnit bootstrap file contains several items that are swapped
// at test time. This allows us to point PHPUnit at a few different
// locations depending on what the develoepr wants to test.
foreach
(
array
(
'bootstrap'
,
'directory'
)
as
$item
)
{
$stub
=
$this
->
{
"swap_
{
$item
}
"
}(
$stub
,
$path
,
$directory
);
}
File
::
put
(
path
(
'base'
)
.
'phpunit.xml'
,
$stub
);
}
/**
* Swap the bootstrap file in the stub.
*
* @param string $stub
* @param string $path
* @param string $directory
* @return string
*/
protected
function
swap_bootstrap
(
$stub
,
$path
,
$directory
)
{
return
str_replace
(
'{{bootstrap}}'
,
$path
.
'phpunit.php'
,
$stub
);
}
/**
* Swap the directory in the stub.
*
* @param string $stub
* @param string $path
* @param string $directory
* @return string
*/
protected
function
swap_directory
(
$stub
,
$path
,
$directory
)
{
return
str_replace
(
'{{directory}}'
,
$directory
,
$stub
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
laravel/cli/tasks/test/stub.xml
View file @
42825775
<phpunit
colors=
"true"
bootstrap=
"
phpunit.php
"
bootstrap=
"
{{bootstrap}}
"
backupGlobals=
"false"
>
<testsuites>
<testsuite
name=
"Test Suite"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment