2159 Commits

Author SHA1 Message Date
8803496cf5 docs/guide/output-data-widgets.md typo fix [ci skip] (#13459) 2017-01-28 11:45:51 +03:00
9deb24e262 docs/guide/output-client-scripts.md typo fix [ci skip] (#13455) 2017-01-27 17:00:17 +03:00
3f66fb6cdf Suggest latest PHP 7 usage in the guide [skip ci] 2017-01-18 19:00:50 +03:00
96069b341a fixed some links in doc (#13390) 2017-01-14 21:37:31 +01:00
4c2e5119b6 Fixes #13387: Extracted "Custom validator for multiple attributes" into community cookbook 2017-01-14 13:09:49 +03:00
25a7ed60e7 Docs about namespaced migrations fixed 2017-01-10 14:22:50 +02:00
b113ad460a Docs about cache key limitation (#13341) [skip ci] 2017-01-07 17:48:00 +03:00
11f8078ec4 docs/guide/db-migrations.md readability improved [skip ci] 2017-01-07 10:43:27 +09:00
8e12383048 docs/guide/db-active-record.md typo fix (#13335) [skip ci] 2017-01-06 16:27:36 +03:00
4f59ec2f5b Update concept-di-container.md 2017-01-06 13:57:49 +01:00
b37598d0ee docs/guide/concept-di-container.md typo fix (#13331) [skip ci] 2017-01-06 08:14:20 +03:00
1bcdcdefc8 fixes typos in docs/guide/concept-di-container.md [ci skip] (#13330) 2017-01-05 18:41:18 +03:00
a232c74e3b Added small specification to result of conversion object to array (#13329) [skip ci] 2017-01-05 14:31:54 +03:00
1e513a91d1 edited guide runtime-routing 2017-01-03 14:24:34 +01:00
4cc2a620ba tutorial-console fix param input (#13315) 2017-01-02 14:30:25 +01:00
178d319556 Added Cache::getOrSet() 2016-12-30 23:49:18 +02:00
b62edcb78d Update input-forms.md (#13292) [skip ci] 2016-12-30 00:26:35 +07:00
9d67f9b31d Updated guide 2016-12-29 11:26:28 +02:00
e27a13bb19 Improved HATEOAS example (#13250) [skip ci] 2016-12-26 18:15:02 +03:00
e13a18ba8b added missing version information
fixes #13259
2016-12-20 22:40:44 +01:00
c3c6035117 updated images gii (#13244) [skip ci] 2016-12-19 16:10:05 +03:00
3624eae23f Merge pull request #13217 from yiisoft/throwable
Catch `\Throwable` in critical places
2016-12-18 19:53:27 +02:00
405c8b7e43 Merge pull request #13188 from yiisoft/guide-client-scripts
Edited and extended Guide section about client scripts
2016-12-18 19:21:43 +02:00
cb52c42cf5 more details about PHP 5 and 7 compatibility regarding Throwable 2016-12-17 00:43:48 +01:00
a3b6dfbb7b Catch \Throwable in critical places
Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.

Mainly on transactions but also some other places where some values are
reset before exiting.

Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.

fixes #12619
2016-12-16 02:20:02 +01:00
837b33767c Fixes #11697: Added filterHaving(), andFilterHaving() and orFilterHaving() to yii\db\Query
Signed-off-by: Alexander Makarov <sam@rmcreative.ru>
2016-12-14 23:58:04 +03:00
7be8ccbb41 All words in h3 in docs must start with capital letter (#13207) 2016-12-14 12:44:15 +01:00
a1581329cf Fixes #13183: Docs for working with separated migrations (#13201) 2016-12-14 13:19:43 +03:00
b13940c31d Minor syntax and style fixes 2016-12-13 02:39:05 +03:00
b6e250857c Edited and extended Guide section about client scripts
This section had the "under development note" for a long time and was
lacking a lot of information.
It should also contain info about `yii.js` but that is to be added in
another PR.
2016-12-13 00:07:45 +01:00
bd85b7ced2 Closes #6242: Access to validator in inline validation (#13027)
* Closes #6242: Access to validator in inline validation

* Updated PHPDoc according to PR review [skip ci]

* Imrpoved PHPDoc, updated guide info [skip ci]

* Fixes related with PR review

* Corrected CHANGELOG [skip ci]

* Update input-validation.md

added version info
2016-12-08 23:29:53 +01:00
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