2128 Commits

Author SHA1 Message Date
f5beaf3edf Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.

Fixes #11163
close #13145
2016-12-08 01:30:36 +01:00
0e5efb91eb Replaced links to non-existing widget demos with links to API docs and guide [skip ci] 2016-12-07 18:59:48 +03:00
76e253e140 yii\validators\Validator - added separate methods for client-side validation options
Closes #11163
2016-12-05 22:33:49 +02:00
eb6ea11931 Fix docs about table prefixes (#13127)
* fixes #8354 to improve docs on table prefixes

* accents

* patched silverfires comments

* Update db-active-record.md

improved wording and added link about quoting.

* fix link to DAO guide
2016-12-05 13:57:07 +01:00
9c1f892ecf Update concept-di-container.md
put code block into the list
2016-12-05 12:57:33 +01:00
72532fe910 Fixed code formatting in concept-di-container.md [skip-ci] (#13136) 2016-12-05 13:54:01 +03:00
d7436dea83 fixed urls in bash/zsh installation instructions 2016-12-04 13:17:38 +01:00
496310e7e3 fixed typo in security guide about namespace
backslash vs. slash
fixes #13132
2016-12-04 02:50:22 +01:00
c5a88ae0b5 Update security-authorization.md
fix namespace to fix #13125
2016-12-03 10:31:29 +01:00
35998449eb Add yii\filters\HostControl::$fallbackHostInfo (#13117) 2016-12-03 08:25:39 +02:00
4454d05410 Added ZSH completion, moved scripts to a separate directory 2016-12-03 00:36:40 +01:00
05b17ebb65 Added bash completion file for ./yii commands
This allows to auto-complete commands available by the `./yii`
executable on the bash by expanding the first argument with the TAB key.
E.g. Typing `./yii [TAB]` will list all commands. `./yii mig[TAB]` will
auto-complete to `./yii migrate` and tab after that will list all
migration sub-commands(actions).

fixes #475
2016-12-03 00:36:40 +01:00
437825be70 Implemented Container::setDependencies(), Container::setDefinitions
Closes #11758
Closes #13029
2016-12-02 15:08:24 +02:00
53a2a48f97 Update tutorial-i18n.md
to double quotes
2016-12-01 18:55:31 +01:00
9d9b800a57 Improve docs on i18n messages (#13107)
* start with improving doc

* updates

* fixes for @samdark review

* fixes after @cebe's review

* changes after @silverfire
2016-12-01 18:23:21 +01:00
7da77c3d5a created HostControl filter to prevent Host header attacks
fixes #13050
close #13063
2016-12-01 00:59:26 +01:00
b5b62e7a0f Fix name variable (ttl -> defaultDuration) (#13083) [skip ci] 2016-11-27 21:07:28 +03:00
a498dedb5c Added documentation about Host header attack (#13073)
* Added documentation about Host header attack

Added info about Host header attack (#13050) to the guide and the Request class.
When we introduce a filter or property to protect against this, these
sections should be updated to link to that option.
2016-11-26 21:57:52 +01:00
f1f357bad3 Documentation for Events updated 2016-11-26 12:19:45 +02:00
f4e54a1b5a Fixed typo in get parameter in docs [skip ci] (#13066) 2016-11-24 11:52:44 +03:00
db349527e7 fix typo in guide code block 2016-11-22 16:12:57 +01:00
8fec6555eb Merge pull request #13051 from w3lifer/patch-4
Typos
2016-11-20 12:25:33 +02:00
2bfc0ff853 improve message translation guide
issue #13052
2016-11-19 21:06:32 +01:00
bc61e4b498 Typos 2016-11-19 16:38:02 +03:00
6428fab406 Closes #9162: Added support of closures in value for attributes in yii\widgets\DetailView (#13013)
#9162: Added support of closures in `value` for attributes in `yii\widgets\DetailView`
2016-11-18 11:31:40 +03:00
60af0a56cf Closed #12778: Added docs for multiple attributes validation (#13005)
* Added docs for mutiple attributes validation

* Fixed typo in formatting [skip ci]

* More precise explanation about count of validator runs

* Corrected salary min in integer rule

* More strict check in when, additional h3 headers, loop alternative

* Added custom validator section

* Use more accurate phrase

* Block code formatting - php was missing [skip ci]

* Fixes related with PR review [skip ci]

* More fixes related with PR review, removed unnecessary @inheritdoc [skip ci]
2016-11-17 18:52:24 +01:00
17f3b8d8a6 Fixed Model::attributes of documentation (#13028) [skip ci] 2016-11-17 13:46:54 +03:00
65c488dd9e echo, die, *test*, *automated testing* (#13023) [skip ci] 2016-11-16 21:26:04 +03:00
556e9cf99b Updates after PR review (related #6809) 2016-11-14 23:53:09 +01:00
8df1017f42 Default cache ttl (duration) property (fixes #6809) 2016-11-14 23:53:09 +01:00
0d89bc5171 added example about alias for nesting joinWith calls
close #10878
2016-11-09 20:57:08 +01:00
9a6e6a21e0 Fixed formatting 2016-11-09 12:24:26 +03:00
5f8ec360ca fixing doc for list fields #7214 (#12922)
examples in doc for list fields
2016-11-09 10:03:03 +01:00
3c8d39e3f4 "$data" renamed to "$array" (#12935)
thanks
2016-11-07 21:33:17 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
43ddcb4f92 Fixes #7182: with info about return statement 2016-11-04 22:42:11 +03:00
6ff2b3e8ab Fixes #9220: GridView::filterModel docs update (#12886) [skip ci] 2016-11-01 13:29:43 +03:00
4f89265fff Fixes #12748: Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly 2016-11-01 02:02:16 +03:00
2ab41948a8 Change place of note about pluralize controller name (#12813) [skip ci] 2016-10-28 13:17:10 +03:00
5f821feff7 Added constants for CompareValidator::$type
also improved and fixed docs about 'compare' validator.

fixes #12864
2016-10-28 10:17:27 +02:00
0dbb945cb7 Errors in sequence numbers of registerCssFile()'s arguments (#12812) [skip ci] 2016-10-26 18:09:02 +03:00
15c665974d (Not set) to (not set) (#12786) [skip ci] 2016-10-19 23:49:16 +03:00
64ed8c9112 added note about timezone conversion to DateValidator
fixes #11692
2016-10-13 13:06:50 +02:00
45d1041cfb adjusted guide for #12198 2016-10-13 12:36:35 +02:00
9da97f676d Duplicate hash link [skip ci] (#12724) 2016-10-12 12:44:23 +03:00
e0a021cd25 Added a checkAccess example [skip ci] 2016-10-05 15:13:20 +03:00
76ced661b2 DetailView captionOptions & contentOptions attributes 2016-10-05 11:43:21 +03:00
cc06d85260 Fixes #10975: added note about PHP 7 + oci_pdo to the guide 2016-09-24 09:52:33 +03:00
fda4fccbb9 fix pull !11207 does not update db migrations guide 2016-09-23 12:09:14 +08:00
25ecc6394b minor 2016-09-20 11:23:16 +03:00