Commit Graph

4552 Commits

Author SHA1 Message Date
Arthur Khachaturov
21eff20fcf Fixed typos in docs/internals/core-code-style (#13391) [skip ci] 2017-01-15 17:01:37 +03:00
alchimik
96069b341a fixed some links in doc (#13390) 2017-01-14 21:37:31 +01:00
Alexander Makarov
4c2e5119b6 Fixes #13387: Extracted "Custom validator for multiple attributes" into community cookbook 2017-01-14 13:09:49 +03:00
Dmitry Naumenko
6a8b22f87a Fixed typos in guide-ru/db-migrations 2017-01-14 10:24:35 +02:00
Klimov Paul
25a7ed60e7 Docs about namespaced migrations fixed 2017-01-10 14:22:50 +02:00
Nobuo Kihara
92270bcd24 docs/guide-ja updated [skip ci] (#13342)
* docs/guide-ja/caching-data.md updated

* docs/guide-ja/caching-fragment.md updated

* docs/guide-ja/concept-configurations.md updated

* WIP

* docs/guide-ja/concept-di-container.md updated

* docs/guide-ja/db-active-record.md updating WIP

* docs/guide-ja/db-active-record.md updated

* docs/guide-ja updating (WIP) [skip ci]
2017-01-07 20:05:18 +03:00
Bizley
b113ad460a Docs about cache key limitation (#13341) [skip ci] 2017-01-07 17:48:00 +03:00
Nobuo Kihara
11f8078ec4 docs/guide/db-migrations.md readability improved [skip ci] 2017-01-07 10:43:27 +09:00
Nobuo Kihara
30cb2454ea Japanese documentation updates (#13337) [skip ci] 2017-01-06 20:56:24 +03:00
Nobuo Kihara
8e12383048 docs/guide/db-active-record.md typo fix (#13335) [skip ci] 2017-01-06 16:27:36 +03:00
Carsten Brandt
4f59ec2f5b Update concept-di-container.md 2017-01-06 13:57:49 +01:00
Nobuo Kihara
b37598d0ee docs/guide/concept-di-container.md typo fix (#13331) [skip ci] 2017-01-06 08:14:20 +03:00
Nobuo Kihara
1bcdcdefc8 fixes typos in docs/guide/concept-di-container.md [ci skip] (#13330) 2017-01-05 18:41:18 +03:00
Alexey Rogachev
a232c74e3b Added small specification to result of conversion object to array (#13329) [skip ci] 2017-01-05 14:31:54 +03:00
Carsten Brandt
1e513a91d1 edited guide runtime-routing 2017-01-03 14:24:34 +01:00
bonzzy
4cc2a620ba tutorial-console fix param input (#13315) 2017-01-02 14:30:25 +01:00
Alexander Makarov
84242c3c7f Russian translation updates [skip ci] 2017-01-01 14:00:00 +07:00
Alexander Makarov
d8a3f731c5 Russian translation updates [skip ci] 2017-01-01 13:32:56 +07:00
SilverFire - Dmitry Naumenko
aaf18ccadb Update guide-ru/caching-data 2016-12-30 23:55:29 +02:00
SilverFire - Dmitry Naumenko
178d319556 Added Cache::getOrSet() 2016-12-30 23:49:18 +02:00
Evgeniy Tkachenko
b62edcb78d Update input-forms.md (#13292) [skip ci] 2016-12-30 00:26:35 +07:00
SilverFire - Dmitry Naumenko
9d67f9b31d Updated guide 2016-12-29 11:26:28 +02:00
Evgeniy Tkachenko
e27a13bb19 Improved HATEOAS example (#13250) [skip ci] 2016-12-26 18:15:02 +03:00
Carsten Brandt
e13a18ba8b added missing version information
fixes #13259
2016-12-20 22:40:44 +01:00
Evgeniy Tkachenko
c3c6035117 updated images gii (#13244) [skip ci] 2016-12-19 16:10:05 +03:00
Dmitry Naumenko
3624eae23f Merge pull request #13217 from yiisoft/throwable
Catch `\Throwable` in critical places
2016-12-18 19:53:27 +02:00
Dmitry Naumenko
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
Carsten Brandt
cb52c42cf5 more details about PHP 5 and 7 compatibility regarding Throwable 2016-12-17 00:43:48 +01:00
Carsten Brandt
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
Alexander Makarov
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
Alexey Rogachev
7be8ccbb41 All words in h3 in docs must start with capital letter (#13207) 2016-12-14 12:44:15 +01:00
Alexey Rogachev
a1581329cf Fixes #13183: Docs for working with separated migrations (#13201) 2016-12-14 13:19:43 +03:00
Alexander Makarov
b13940c31d Minor syntax and style fixes 2016-12-13 02:39:05 +03:00
Carsten Brandt
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
Alexey Rogachev
d96363674c Added JS tests for yii.captcha.js (#12840), fixes #13159 (#13160)
* Added JS tests for yii.captcha.js (#12840), fixes #13159

* Sinon needs to be imported in similar fashion in other test files

* Added according line to CHANGELOG [skip ci]

* Update CHANGELOG.md

* Try to run tests with default timeout in Travis

* Added note about JS tests to the docs [skip ci]

* Simplified tests for multiple elements (init, destroy methods)
2016-12-10 14:42:28 +02:00
Alexey Rogachev
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
Alexander Makarov
6e826dfade Assorted minor Russian guide updates [skip ci] 2016-12-08 22:17:32 +07:00
Alexander Makarov
d815ca102a Updated Russian translation of AR guide [skip ci] 2016-12-08 22:17:32 +07:00
Alexander Makarov
447c68bef7 Updated configuration and DI guides Russian translation [skip ci] 2016-12-08 22:17:32 +07:00
Alexander Makarov
74f72ac663 Updated caching guide Russian translation [skip ci] 2016-12-08 22:17:32 +07:00
Nikola Kovacs
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
Alexander Makarov
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
Alexey Rogachev
76e253e140 yii\validators\Validator - added separate methods for client-side validation options
Closes #11163
2016-12-05 22:33:49 +02:00
Boudewijn Vahrmeijer
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
Carsten Brandt
9c1f892ecf Update concept-di-container.md
put code block into the list
2016-12-05 12:57:33 +01:00
Evgeniy Tkachenko
72532fe910 Fixed code formatting in concept-di-container.md [skip-ci] (#13136) 2016-12-05 13:54:01 +03:00
Carsten Brandt
d7436dea83 fixed urls in bash/zsh installation instructions 2016-12-04 13:17:38 +01:00
Carsten Brandt
496310e7e3 fixed typo in security guide about namespace
backslash vs. slash
fixes #13132
2016-12-04 02:50:22 +01:00
Boudewijn Vahrmeijer
c5a88ae0b5 Update security-authorization.md
fix namespace to fix #13125
2016-12-03 10:31:29 +01:00
Robert Korulczyk
35998449eb Add yii\filters\HostControl::$fallbackHostInfo (#13117) 2016-12-03 08:25:39 +02:00