Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 63a001b

Browse files
committed
add add callback function for PortalRenamed
Signed-off-by: mesilov <mesilov.maxim@gmail.com>
1 parent 742878e commit 63a001b

File tree

3 files changed

+141
-58
lines changed

3 files changed

+141
-58
lines changed

CHANGELOG.md

+60-21
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
# bitrix24-php-sdk change log
22

3+
## 1.2.0 (15.01.2022)
4+
5+
* add callback function for PortalRenamed
6+
event [Добавить callback-функцию при переименовании портала для ветки 1.x](https://github.com/mesilov/bitrix24-php-sdk/issues/249)
7+
* bump minimum php version for 5.4.*
8+
* disable default CURLOPT_FOLLOWLOCATION
9+
310
## 1.1.0 (26.12.2021)
4-
* add class `Bitrix24\Exceptions\Bitrix24RestApiUnavailableOnFreeTariffException`
511

12+
* add class `Bitrix24\Exceptions\Bitrix24RestApiUnavailableOnFreeTariffException`
613

714
## 0.7.0 (11.07.2020)
15+
816
* add arguments in method `Bitrix24\Bizproc\Robot::add` for return results support
917

1018
## 0.6.2 (12.09.2019)
19+
1120
* remove in method, `processBatchCalls` remove call `handleBitrix24APILevelErrors`
1221
* remove php 5.x branch in travis config
1322

1423
## 0.6.1 (20.03.2019)
24+
1525
* add `offset` parameter to entity `CRM\Status\Status` in method `getList`
1626
* add `offset` parameter to entity `User\User` in method `getList`
1727
* add method `messageAdd` to entity `Bitrix24\Bitrix24`
@@ -24,8 +34,9 @@
2434
* fix log level in method `Bitrix24::handleBitrix24APILevelErrors`
2535

2636
## 0.6.0 (18.02.2018)
37+
2738
* add support for `FaceTracker` entity
28-
* add presets for request timing information
39+
* add presets for request timing information
2940
* add all methods for sonetgroup
3041
* add method `crm.contact.userfield.update`
3142
* add activities methods
@@ -42,39 +53,51 @@
4253
* add new placement presets for detail page
4354

4455
## 0.5.4 (8.07.2017)
56+
4557
* add Callback for expired token. Fix pullrequest#63 by valga
4658
* add method `update` in class `Bitrix24\CRM\Product`
4759
* increased curl time out
4860
* add new scope `placement` in class `Bitrix24\Presets\Scope`
4961
* add batch calls method to bitrix24 api client interface
5062

5163
## 0.5.3 (20.05.2017)
64+
5265
* add class `Bitrix24\Placement\Placement`
5366
* add preset `Bitrix24\Presets\Placement\Placement` with placement codes
5467
* add preset `Bitrix24\Presets\Placement\Fields` with placement fields
5568

5669
## 0.5.2 (11.05.2017)
70+
5771
* add preset `Bitrix24\Presets\CRM\Product\ProductRowFields`
5872
* updated preset `Bitrix24\Presets\CRM\Contact\Fields`
5973
* updated preset `Bitrix24\Presets\CRM\Deal\Fields`
6074
* updated preset `Bitrix24\Presets\CRM\Lead\Fields`
6175

6276
## 0.5.1 (30.04.2017)
77+
6378
* add preset `Bitrix24\Presets\CRM\Product\Fields`
6479
* add method `add` in class `Bitrix24\CRM\Product`
6580

6681
## 0.5.0 (4.09.2016)
82+
6783
* add class `Bitrix24\CRM\Quote` see pr [Added support for Quote API calls](https://github.com/mesilov/bitrix24-php-sdk/pull/53/)
68-
* add support http status 301 moved permanently in class `Bitrix24` see issue [301 Moved Permanently #49](https://github.com/mesilov/bitrix24-php-sdk/issues/49)
84+
* add support http status 301 moved permanently in class `Bitrix24` see
85+
issue [301 Moved Permanently #49](https://github.com/mesilov/bitrix24-php-sdk/issues/49)
6986
* fixed bug in class `Bitrix24` see pr [Issue in the isAccessTokenExpire method](https://github.com/mesilov/bitrix24-php-sdk/pull/54)
7087

7188
## 0.4.1 (4.08.2016)
72-
* add new events in class `Bitrix24\Presets\Event\Event` see issue [Add new bitrix24 events #44](https://github.com/mesilov/bitrix24-php-sdk/issues/44)
73-
* add new scope in class `Bitrix24\Presets\Scope` see issue [Update scope presets class #47](https://github.com/mesilov/bitrix24-php-sdk/issues/47)
74-
* remove file with old deprecated exceptions see issue [Move all exceptions in namespace «Exceptions» #46](https://github.com/mesilov/bitrix24-php-sdk/issues/46)
89+
90+
* add new events in class `Bitrix24\Presets\Event\Event` see
91+
issue [Add new bitrix24 events #44](https://github.com/mesilov/bitrix24-php-sdk/issues/44)
92+
* add new scope in class `Bitrix24\Presets\Scope` see
93+
issue [Update scope presets class #47](https://github.com/mesilov/bitrix24-php-sdk/issues/47)
94+
* remove file with old deprecated exceptions see
95+
issue [Move all exceptions in namespace «Exceptions» #46](https://github.com/mesilov/bitrix24-php-sdk/issues/46)
7596

7697
## 0.4.0 (16.07.2016)
77-
* remove all exceptions in namespace `\Exceptions` see issue [Move all exceptions in namespace «Exceptions» #46](https://github.com/mesilov/bitrix24-php-sdk/issues/46)
98+
99+
* remove all exceptions in namespace `\Exceptions` see
100+
issue [Move all exceptions in namespace «Exceptions» #46](https://github.com/mesilov/bitrix24-php-sdk/issues/46)
78101
* add class `Bitrix24\Exceptions\Bitrix24Exception`
79102
* add class `Bitrix24\Exceptions\Bitrix24IoException`
80103
* add class `Bitrix24\Exceptions\Bitrix24EmptyResponseException`
@@ -98,37 +121,48 @@
98121
* updated class `Bitrix24\Bitrix24SecurityException` mark as **deprecated**
99122

100123
## 0.3.4 (06.06.2016)
124+
101125
* add exception class `Bitrix24EmptyResponseException`
102126
* in class `Bitrix24` add debug information for some error types
103-
* temporary remove calls to oauth.bitrix.info for methods `app.info` and `app.stat` see issue [Fix errors after change REST API to support self hosted version #43](https://github.com/mesilov/bitrix24-php-sdk/issues/43)
127+
* temporary remove calls to oauth.bitrix.info for methods `app.info` and `app.stat` see
128+
issue [Fix errors after change REST API to support self hosted version #43](https://github.com/mesilov/bitrix24-php-sdk/issues/43)
104129

105130
## 0.3.3 (28.05.2016)
106-
* fixed bug in class `Bitrix24` see issue [Fix errors after change REST API to support self hosted version #43](https://github.com/mesilov/bitrix24-php-sdk/issues/43)
131+
132+
* fixed bug in class `Bitrix24` see
133+
issue [Fix errors after change REST API to support self hosted version #43](https://github.com/mesilov/bitrix24-php-sdk/issues/43)
107134

108135
## 0.3.2 (07.05.2016)
109-
* fixed bug in class `Bitrix24\Im\Notify` see issue [ATTACH_ERROR for calls method im.notify for empty attach #42](https://github.com/mesilov/bitrix24-php-sdk/issues/42)
110-
136+
137+
* fixed bug in class `Bitrix24\Im\Notify` see
138+
issue [ATTACH_ERROR for calls method im.notify for empty attach #42](https://github.com/mesilov/bitrix24-php-sdk/issues/42)
139+
111140
## 0.3.1 (04.05.2016)
141+
112142
* add `dev` branch in GitHub repo
113143
* fixed bug in class `Bitrix24\Im\Attach\Attach`, method `Attach::getAttachItems()` already return array
114144

115145
## 0.3.0 (04.05.2016)
146+
116147
* add class `Bitrix24\Im\Attach\Item\Message` class implements work with string messages in attach item
117-
* add interface `Bitrix24\Presets\Im\iChatColor` with chat color presets
148+
* add interface `Bitrix24\Presets\Im\iChatColor` with chat color presets
118149
* add phpUnit tests for items:
119-
* `Bitrix24\Im\Attach\Item\Delimiter`
120-
* `Bitrix24\Im\Attach\Item\File`
121-
* `Bitrix24\Im\Attach\Item\Grid`
122-
* `Bitrix24\Im\Attach\Item\Image`
123-
* `Bitrix24\Im\Attach\Item\Link`
124-
* `Bitrix24\Im\Attach\Item\Message`
125-
* `Bitrix24\Im\Attach\Item\User`
126-
* fixed bug in class `Bitrix24\Im\Attach\Attach`
150+
* `Bitrix24\Im\Attach\Item\Delimiter`
151+
* `Bitrix24\Im\Attach\Item\File`
152+
* `Bitrix24\Im\Attach\Item\Grid`
153+
* `Bitrix24\Im\Attach\Item\Image`
154+
* `Bitrix24\Im\Attach\Item\Link`
155+
* `Bitrix24\Im\Attach\Item\Message`
156+
* `Bitrix24\Im\Attach\Item\User`
157+
* fixed bug in class `Bitrix24\Im\Attach\Attach`
127158

128159
## 0.2.1 (27.04.2016)
129-
* add exception class `Bitrix24PortalDeleted` and handle Bitrix24 portal deleted event. See issue [Add support for deleted portals #40](https://github.com/mesilov/bitrix24-php-sdk/issues/40)
160+
161+
* add exception class `Bitrix24PortalDeleted` and handle Bitrix24 portal deleted event. See
162+
issue [Add support for deleted portals #40](https://github.com/mesilov/bitrix24-php-sdk/issues/40)
130163

131164
## 0.2.0 (24.06.2015)
165+
132166
* add class `Deal`
133167
* add class `LiveFeedMessage`
134168
* add task fields presets
@@ -147,6 +181,7 @@
147181
* remove class `Bitrix24\Task\TaskItem`
148182

149183
## 0.1.4 (18.04.2015)
184+
150185
* add presets for user fields data type structure
151186
* add method `Update` and predefined constants in class `Invoice`
152187
* add protected method `handleBitrix24APILevelErrors` in a base class
@@ -161,6 +196,7 @@
161196
* fixed bug in Fix method isAccessTokenExpire
162197

163198
## 0.1.3 (24.08.2014)
199+
164200
* add const `TOTAL` and `RESULT` for class `Bitrix24\Presets\Main`
165201
* add class `Bitrix24\Presets\Users\Fields` for Bitrix24 users fields
166202
* add class `Bitrix24\Departments\Department`
@@ -176,6 +212,7 @@
176212
* fixed bug in __construct in abstract class `Bitrix24Entity`
177213

178214
## 0.1.2 (22.01.2014)
215+
179216
* add security sign support in api-call
180217
* add class `User`
181218
* add method «admin» — Check is current user admin
@@ -184,9 +221,11 @@
184221
* add MIT-LICENSE
185222

186223
## 0.1.1 (9.10.2013)
224+
187225
* add namespace support
188226
* add classes of Bitrix24 parts: tasks, sonet
189227
* add base class `Bitrix24Entity`
190228

191229
## 0.1.0 (26.10.2013)
230+
192231
* Initial release

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.3.2",
15+
"php": "5.4.*",
1616
"ext-json": "*",
1717
"ext-curl": "*",
1818
"psr/log": "^1.0"

0 commit comments

Comments
 (0)