Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.x #11122

Merged
merged 85 commits into from
Nov 24, 2015
Merged

2.0.x #11122

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
9868e94
Fixed misspelling in doc
sergeyklay Sep 11, 2015
3fa3a6c
Update CHANGELOG.md [ci skip]
sergeyklay Sep 13, 2015
8572ea1
Added mixed return type Phalcon\Config::get
sergeyklay Sep 20, 2015
2c289b4
Added mixed return types to Request
sergeyklay Sep 22, 2015
a49da41
Fix: cookie is allways resent after get.
Sep 24, 2015
ec3ef0e
fix the indentation
Sep 24, 2015
5bb9da9
Merge pull request #10966 from sergeyklay/patch-5
andresgutierrez Sep 25, 2015
7a6b79e
Merge pull request #10972 from snowair/2.0.x
andresgutierrez Sep 26, 2015
eb7c5d0
Update di.zep
sergeyklay Sep 27, 2015
2477fd2
Merge pull request #10942 from sergeyklay/patch-1
andresgutierrez Sep 29, 2015
4d6f1e1
Update di.zep
sergeyklay Sep 29, 2015
f6fc156
Merge pull request #10983 from sergeyklay/patch-5
andresgutierrez Sep 29, 2015
17493b8
Fix #10829
dreamsxin Sep 30, 2015
c1cadf3
Fixed logger doc
sergeyklay Sep 30, 2015
5460d71
Update file.zep
sergeyklay Sep 30, 2015
5336ab7
Update stream.zep
sergeyklay Sep 30, 2015
9090a03
Update syslog.zep
sergeyklay Sep 30, 2015
5b8ec52
Merge pull request #10986 from dreamsxin/session_redis
andresgutierrez Oct 1, 2015
5441584
Updating version to 2.0.9, using latest Zephir
andresgutierrez Oct 1, 2015
6f4096d
Merge pull request #10991 from sergeyklay/patch-6
andresgutierrez Oct 1, 2015
f27c7f1
Added console:boot event
sergeyklay Sep 30, 2015
425abc4
Removes duplicate use statement in router
Green-Cat Oct 6, 2015
60cbfa4
Removes duplicate use statement in response
Green-Cat Oct 8, 2015
91b68db
Merge pull request #10993 from sergeyklay/boot
andresgutierrez Oct 8, 2015
413722c
#10992 - Added implementation options "allowEmpty"
KorsaR-ZN Oct 2, 2015
fac1ef7
Fixed issue #11014
sergeyklay Oct 9, 2015
31cbb01
Merge pull request #10994 from KorsaR-ZN/hostfix-1
andresgutierrez Oct 15, 2015
2715982
Fixed issue #10997
sergeyklay Oct 4, 2015
c8455b2
Added tests for SQLite indexes
sergeyklay Oct 4, 2015
35b72ff
Updated CHANGELOG [ci skip]
sergeyklay Oct 4, 2015
15a2952
Escape table & keyName in Sqlite::listIndexesSql
sergeyklay Oct 4, 2015
cb8453b
Amended Router Mvc Test
sergeyklay Oct 18, 2015
a580952
Merge pull request #10933 from sergeyklay/sql/dialect/general
andresgutierrez Oct 19, 2015
b0fd988
Merge pull request #10961 from sergeyklay/patch-4
andresgutierrez Oct 19, 2015
fb8d18b
Merge pull request #10998 from sergeyklay/sql/dialect/sqlite/indexes
andresgutierrez Oct 19, 2015
fddfed4
Merge pull request #11015 from sergeyklay/patch-5
andresgutierrez Oct 19, 2015
2df9582
Small fixes in Sqlite::describeIndexes
sergeyklay Oct 21, 2015
1ffa9a7
Fixed issue #11036
sergeyklay Oct 21, 2015
3a8f73b
Added tests for MySQL indexes
sergeyklay Oct 21, 2015
71345a4
Updated CHANGELOG
sergeyklay Oct 21, 2015
23de7e9
Merge pull request #11039 from sergeyklay/sql/dialect/mysql/indexes
andresgutierrez Oct 21, 2015
0c5a012
Fixed typo in Db\Dialect (filed -> field).
SidRoberts Oct 22, 2015
c98d9fa
Removed redundant type-checking code from `Db\Dialect::getSqlExpressi…
SidRoberts Oct 22, 2015
56f9583
Added another example to Mvc\Url::get() (phalcon/docs#432)
SidRoberts Oct 22, 2015
d120eb7
Added stricter type-checking to `Db\Dialect::getSqlExpressionHaving()`.
SidRoberts Oct 22, 2015
cd73ca7
Fixed notice in query builder paginator when totalQuery result is empty
ashpumpkin Oct 22, 2015
660596b
Update Phalcon\Queue\Beanstalk\Job doc for getters
sergeyklay Oct 22, 2015
cd1152a
#11042 - Fix setting relation should not always cause dirty state change
mmmmmmb78876 Oct 23, 2015
6da308e
Added missed RouteInterface::setHostname, RouteInterface::getHostname
sergeyklay Oct 18, 2015
44e8916
Fixed Filter::sanitize return type
sergeyklay Oct 27, 2015
eea3eb3
Merge pull request #11030 from sergeyklay/mvc/router/host_name
andresgutierrez Oct 29, 2015
edcdea2
Merge pull request #11040 from sergeyklay/sql/dialect/sqlite/indexes
andresgutierrez Oct 29, 2015
b1bccbc
Merge pull request #11032 from sergeyklay/mvc/router/tests
andresgutierrez Oct 29, 2015
7362fd8
Merge pull request #11047 from SidRoberts/docs-432
andresgutierrez Oct 29, 2015
8dcc5d3
Merge pull request #11048 from SidRoberts/db-typo-getsqlexpressionhaving
andresgutierrez Oct 29, 2015
7b0a878
Merge pull request #11011 from Green-Cat/patch-6
andresgutierrez Oct 29, 2015
575beea
Merge pull request #11050 from ashpumpkin/paginate-notice
andresgutierrez Oct 29, 2015
975f7a9
Merge pull request #11051 from sergeyklay/patch-4
andresgutierrez Oct 29, 2015
dd97416
Update filter.zep
sergeyklay Oct 29, 2015
471760b
Replaced spaces to tabs
sergeyklay Oct 31, 2015
e4ad6e8
Add 'strict' option in ExclusionIn validator
altapo Nov 3, 2015
8c68d90
Update CHANGELOG.md
altapo Nov 4, 2015
0773159
Merge pull request #11004 from Green-Cat/patch-5
andresgutierrez Nov 4, 2015
036bc44
Merge pull request #11079 from sergeyklay/patch-4
andresgutierrez Nov 4, 2015
97e740e
Merge pull request #11092 from AlexDRiVER/patch-2
andresgutierrez Nov 4, 2015
6acca85
Merge pull request #11086 from AlexDRiVER/patch-1
andresgutierrez Nov 4, 2015
f5466c5
Added Text::humanize, Text::underscore
sergeyklay Nov 8, 2015
7707552
Update routeinterface.zep
sergeyklay Nov 8, 2015
0b7683e
Merge pull request #11076 from sergeyklay/filter
andresgutierrez Nov 8, 2015
ceb7e5d
Fixed issue #11109
sergeyklay Nov 9, 2015
96941a7
Fixed Serghei email
sergeyklay Nov 9, 2015
788cab8
Fixed issue #11112 [ci skip]
sergeyklay Nov 9, 2015
e90febe
Fixed issue #11115 [ci skip]
sergeyklay Nov 9, 2015
b3a3ade
Merge pull request #11105 from sergeyklay/patch-4
andresgutierrez Nov 9, 2015
78cfcfc
Amended doc for Phalcon\Security\Random [ci skip]
sergeyklay Nov 10, 2015
b5cc079
Merge pull request #11102 from sergeyklay/text
andresgutierrez Nov 11, 2015
5d5cbed
Merge pull request #11110 from sergeyklay/patch-6
andresgutierrez Nov 11, 2015
7ccdbd8
Merge pull request #11111 from sergeyklay/fixed_serghei_email
andresgutierrez Nov 11, 2015
72c94c4
Merge pull request #11113 from sergeyklay/issue_11112
andresgutierrez Nov 11, 2015
53d7c50
Merge pull request #11116 from sergeyklay/patch-7
andresgutierrez Nov 11, 2015
e5ef953
Merge pull request #11120 from sergeyklay/random_doc
andresgutierrez Nov 11, 2015
c641cd6
Added ability to change document class to be returned in ODM through …
ashpumpkin Oct 25, 2015
b59ce2f
Merge pull request #11063 from ashpumpkin/odm-class-option
andresgutierrez Nov 17, 2015
75aecad
Merge pull request #11055 from nsossonko/2.0.x
andresgutierrez Nov 20, 2015
c8fdec8
Regenerating build [ci skip]
andresgutierrez Nov 24, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#10992 - Added implementation options "allowEmpty"
  • Loading branch information
KorsaR-ZN committed Oct 9, 2015
commit 413722cfa4064d250b98e94599df83843d89b8fc
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [2.0.9](https://github.com/phalcon/cphalcon/releases/tag/phalcon-v2.0.9) (2015-??-??)
- Fixed bug that double serializes data using Redis adapter
- Added `console:boot` event to allow the developer to perform initialization actions
- Added implementation options `allowEmpty` for `Phalcon\Mvc\Model\Validator\Ip`

# [2.0.8](https://github.com/phalcon/cphalcon/releases/tag/phalcon-v2.0.8) (2015-09-19)
- Added `Phalcon\Security\Random::base58` - to generate a random base58 string
Expand Down
4 changes: 4 additions & 0 deletions phalcon/mvc/model/validator/ip.zep
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ class Ip extends Validator implements ValidatorInterface
let allowPrivate = this->getOption("allowPrivate") ? 0 : FILTER_FLAG_NO_PRIV_RANGE;
let allowReserved = this->getOption("allowReserved") ? 0 : FILTER_FLAG_NO_RES_RANGE;

if this->getOption("allowEmpty", false) && empty value {
return true;
}

let options = [
"options": [
"default": false
Expand Down