Skip to content

Commit

Permalink
Release v4.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 8, 2021
1 parent 3561462 commit 3216a21
Show file tree
Hide file tree
Showing 17 changed files with 238 additions and 291 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ framework are exposed.

## Repository Management

We use Github issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.
We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
FEATURE REQUESTS.

Expand Down
22 changes: 22 additions & 0 deletions app/Config/CURLRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class CURLRequest extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* CURLRequest Share Options
* --------------------------------------------------------------------------
*
* Whether share options between requests or not.
*
* If true, all the options won't be reset between requests.
* It may cause an error request with unnecessary headers.
*
* @var bool
*/
public $shareOptions = true;
}
14 changes: 14 additions & 0 deletions app/Config/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,20 @@ class Cache extends BaseConfig
*/
public $ttl = 60;

/**
* --------------------------------------------------------------------------
* Reserved Characters
* --------------------------------------------------------------------------
*
* A string of reserved characters that will not be allowed in keys or tags.
* Strings that violate this restriction will cause handlers to throw.
* Default: {}()/\@:
* Note: The default set is required for PSR-6 compliance.
*
* @var string
*/
public $reservedCharacters = '{}()/\@:';

/**
* --------------------------------------------------------------------------
* File settings
Expand Down
27 changes: 27 additions & 0 deletions app/Config/Feature.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

/**
* Enable/disable backward compatibility breaking features.
*/
class Feature extends BaseConfig
{
/**
* Enable multiple filters for a route or not
*
* If you enable this:
* - CodeIgniter\CodeIgniter::handleRequest() uses:
* - CodeIgniter\Filters\Filters::enableFilters(), instead of enableFilter()
* - CodeIgniter\CodeIgniter::tryToRouteIt() uses:
* - CodeIgniter\Router\Router::getFilters(), instead of getFilter()
* - CodeIgniter\Router\Router::handle() uses:
* - property $filtersInfo, instead of $filterInfo
* - CodeIgniter\Router\RouteCollection::getFiltersForRoute(), instead of getFilterForRoute()
*
* @var bool
*/
public $multipleFilters = false;
}
1 change: 1 addition & 0 deletions app/Config/Generators.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class Generators extends BaseConfig
*/
public $views = [
'make:command' => 'CodeIgniter\Commands\Generators\Views\command.tpl.php',
'make:config' => 'CodeIgniter\Commands\Generators\Views\config.tpl.php',
'make:controller' => 'CodeIgniter\Commands\Generators\Views\controller.tpl.php',
'make:entity' => 'CodeIgniter\Commands\Generators\Views\entity.tpl.php',
'make:filter' => 'CodeIgniter\Commands\Generators\Views\filter.tpl.php',
Expand Down
24 changes: 7 additions & 17 deletions app/Config/Kint.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,28 @@ class Kint extends BaseConfig
*/

public $plugins;

public $maxDepth = 6;

public $maxDepth = 6;
public $displayCalledFrom = true;

public $expanded = false;
public $expanded = false;

/*
|--------------------------------------------------------------------------
| RichRenderer Settings
|--------------------------------------------------------------------------
*/
public $richTheme = 'aante-light.css';

public $richTheme = 'aante-light.css';
public $richFolder = false;

public $richSort = Renderer::SORT_FULL;

public $richSort = Renderer::SORT_FULL;
public $richObjectPlugins;

public $richTabPlugins;

/*
|--------------------------------------------------------------------------
| CLI Settings
|--------------------------------------------------------------------------
*/
public $cliColors = true;

public $cliForceUTF8 = false;

public $cliColors = true;
public $cliForceUTF8 = false;
public $cliDetectWidth = true;

public $cliMinWidth = 40;
public $cliMinWidth = 40;
}
28 changes: 28 additions & 0 deletions app/Config/Publisher.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

namespace Config;

use CodeIgniter\Config\Publisher as BasePublisher;

/**
* Publisher Configuration
*
* Defines basic security restrictions for the Publisher class
* to prevent abuse by injecting malicious files into a project.
*/
class Publisher extends BasePublisher
{
/**
* A list of allowed destinations with a (pseudo-)regex
* of allowed files for each destination.
* Attempts to publish to directories not in this list will
* result in a PublisherException. Files that do no fit the
* pattern will cause copy/merge to fail.
*
* @var array<string,string>
*/
public $restrictions = [
ROOTPATH => '*',
FCPATH => '#\.(?css|js|map|htm?|xml|json|webmanifest|tff|eot|woff?|gif|jpe?g|tiff?|png|webp|bmp|ico|svg)$#i',
];
}
19 changes: 15 additions & 4 deletions app/Config/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,23 @@

class Security extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* CSRF Protection Method
* --------------------------------------------------------------------------
*
* Protection Method for Cross Site Request Forgery protection.
*
* @var string 'cookie' or 'session'
*/
public $csrfProtection = 'cookie';

/**
* --------------------------------------------------------------------------
* CSRF Token Name
* --------------------------------------------------------------------------
*
* Token name for Cross Site Request Forgery protection cookie.
* Token name for Cross Site Request Forgery protection.
*
* @var string
*/
Expand All @@ -22,7 +33,7 @@ class Security extends BaseConfig
* CSRF Header Name
* --------------------------------------------------------------------------
*
* Token name for Cross Site Request Forgery protection cookie.
* Header name for Cross Site Request Forgery protection.
*
* @var string
*/
Expand All @@ -33,7 +44,7 @@ class Security extends BaseConfig
* CSRF Cookie Name
* --------------------------------------------------------------------------
*
* Cookie name for Cross Site Request Forgery protection cookie.
* Cookie name for Cross Site Request Forgery protection.
*
* @var string
*/
Expand All @@ -57,7 +68,7 @@ class Security extends BaseConfig
* CSRF Regenerate
* --------------------------------------------------------------------------
*
* Regenerate CSRF Token on every request.
* Regenerate CSRF Token on every submission.
*
* @var bool
*/
Expand Down
2 changes: 1 addition & 1 deletion app/Views/welcome_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
color: rgba(200, 200, 200, 1);
padding: .25rem 1.75rem;
}
@media (max-width: 559px) {
@media (max-width: 629px) {
header ul {
padding: 0;
}
Expand Down
Loading

0 comments on commit 3216a21

Please sign in to comment.