-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChangeLog
More file actions
350 lines (276 loc) · 16.3 KB
/
ChangeLog
File metadata and controls
350 lines (276 loc) · 16.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
2024-05-14 Stipe Tolj <stolj at kannel.org>
* gw/dlr_spool.c: fix crutial DLR lookup bug for SMSC modules that DO use
the destination address in the DLR find function. We used a hex string
of the destination address as filname surrogate, and need to ensure we
do the same hex string conversion when doing the lookup, i.e. CIMD2
was broken for DLR support via spool.
2023-04-21 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: add '[forced|max]-priority' to the
'sendsms-user' context group.
* gw/smsbox.c: add handling of '[forced|max]-priority' for sendsms-user.
* gw/urltrans.[ch]: add external access functions for above priority
handling.
2023-04-21 Stipe Tolj <stolj at kannel.org>
* gw/smsbox.c: add missing handling of '[allowed|denied]-prefix[-regex]'
for 'group = sendsms-user' group in function smsbox_req_handle().
* gw/urltrans.[ch]: add external access functions for above prefix rules.
2023-02-08 Stipe Tolj <stolj at kannel.org>
* gw/smsc_emi.c: allow support for MO only inbound UCP connections via
'receive-port', without the need to define for outbound UCP connections
via 'host' and 'port' settings.
2023-02-08 Stipe Tolj <stolj at kannel.org>
* gw/smsbox.c: avoid sms_split() in send_message() to work-arround the
limitations of the extract_msgdata_part_by_coding() function that does
a UTF-8 to GSM and back to UTF-8 transcoding, effectively lossing chars
that are not part of GSM, but COULD be transported in the lower SMSC
protoocol implementation layer.
2023-02-03 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: document %x and %y escape codes.
* gw/urltrans.c: ensure we have %x for smsbox-id and %y for priority.
2022-09-13 Alexander Malysh <amalysh @ kannel.org>
* gw/bb_store_redis.c: fixed usage in hash mode. Use SCAN instead of KEYS command,
because KEYS block whole redis. Added usage of return values.
2022-09-13 Alexander Malysh <amalysh @ kannel.org>
* gwlib/dbpool_redis.c: added handling of array in array, recursively.
2022-09-13 Alexander Malysh <amalysh @ kannel.org>
* configure.in, configure: applied patch to use pkg-config for libxml2 version
detection. Fixes #830. Thanks to hugh.mcmaster at outlook.com for this patch.
2022-08-03 Stipe Tolj <stolj at kannel.org>
* gw/smsc/http/generic.c: fix missing content-type value setting for HTTP
POST sending.
2022-05-19 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: add comment about default smsbox-route.
* gw/bb_boxc.c: allow setting a default 'group = smsbox-route' without
smsc-id or shortcode criteria.
2022-04-20 Stipe Tolj <stolj at kannel.org>
* gwlib/conn.c: change previous fix to be more protective for any
additional data reads.
Thanks to Alexander Malysh for pointing this better alternative out.
2022-04-07 Stipe Tolj <stolj at kannel.org>
* gwlib/conn.c: fix assertion check PANIC if negative length is read in
conn_read_withlen(), as we then would traverse into unlocked_get() and
then into octstr_copy() with a negative length, causing the gw_assert()
to PANIC.
2022-01-26 Stipe Tolj <stolj at kannel.org>
* gwlib/log.c: increase log-file limit at least to thread limit, 4096.
2022-01-24 Stipe Tolj <stolj at kannel.org>
* configure[.in]: ensure we add -ldl to LDFLAGS if not in glibc, this is at
least the case for debian-11.
2022-01-24 Stipe Tolj <stolj at kannel.org>
* gw/wap_push_ota.c: ensure we have static definitions of variables, since
wap/wtp_resp.c defines it already public, and we run into linker error on
gcc-10 platforms.
2021-11-24 Stipe Tolj <stolj at kannel.org>
* gwlib/gw-timer.[ch]: add function variants for callback timed events,
suffixed with _cb() that do not lock the Timerset, since the callback
function runs within the locked watch loop and would cause a dead-lock
if using the functions that are used for queue pushed timer events.
* test/Makefile.am: add test_timeset.c build instruction.
* test/test_timerset.c: add a simple testing case.
2021-10-20 Stipe Tolj <stolj at kannel.org>
* gw/bb_http.c: ensure we provide an adequate 'Content-Type' header value
with a MIME type that is requested via the /status.<suffix>.
2021-08-14 Alexander Malysh <amalysh @ kannel.org>
* gwlib/cfg.c: fixed config parsing error log
2021-08-09 Alexander Malysh <amalysh @ kannel.org>
* gw/bb_smscconn.c: fixed memleak & double conn creation for add-smsc
2021-07-27 Alexander Malysh <amalysh @ kannel.org>
* gwlib/conn.c: applied SSL cache data patch.
Thanks to Paul Bagyenda for this patch.
2021-07-08 Alexander Malysh <amalysh @ kannel.org>
* gw/smsc/smsc_smpp.c: fixed wrong if condition
2021-07-08 Alexander Malysh <amalysh @ kannel.org>
* gwlib/gwthread-pthread.c: increased thread limit and change warning to error
about our thread limits
2021-06-28 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.c: use trans->conn instead of direct conn.
2021-06-28 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.c: fixed issue with not encoded user & pass in the URL
2021-03-18 Stipe Tolj <stolj at kannel.org>
* gw/dlr_spool.c: fix error based memory leaks. NLC.
2021-03-04 Stipe Tolj <stolj at kannel.org>
* utils/mtbatch.c: add support for various codings (7bit, 8bit, Unicode) via
'-c coding' and character transocing via option '-C charset'.
2021-03-02 Stipe Tolj <stolj at kannel.org>
* utils/mtbatch.c: add '-M meta-data' support.
2020-11-09 Stipe Tolj <stolj at kannel.org>
* gwlib/http.c: change default HTTP client side timeout from 240s to 30s.
2020-10-29 Stipe Tolj <stolj at kannel.org>
* gw/meta_data.[ch]: implement meta_data_remove_value() to allow removing values
from a group.
2020-06-19 Stipe Tolj <stolj at kannel.org>
* bb_smscconn.c: fix smsc2_remove_smsc() which didn't calibrate the i counter
when a SMSC connection is removed, so we would step over one index in the list
without trying to match it's smsc-id, and fix smsc2_add_smsc() for SMSC group
with multiple instances indicated, this would only start-up one instance,
even if several would be configured.
Thanks to Roberto Facchin for providing the reporting.
[Msg-Id: <674281A5-E42B-4B2F-9D0C-1C5328787FDB@getmailspring.com>]
2020-06-08 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: document new 'reroute-receiver-regex' directive.
* gw/bb_smscconn.c: handle 'reroute-receiver-regex' in route_incoming_to_smsc().
* gw/smscconn_p.h: add a List in struct smscconn for reroute-receiver-regex.
* gw/smscconn.c: init and de-init handling of reroute-receiver-regex.
* gwlib/cfg.def: add directive 'reroute-receiver-regex'.
This patchset allows defining regex patterns for receiver numbers when doing
re-routing of MOs towards MTs.
2020-06-03 Stipe Tolj <stolj at kannel.org>
* gw/smsc/smsc_fake.c, test/fakesmsc.c: add type 'utf8' to allow simple
injection of UTF-8 encoded MOs.
2020-05-04 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.[ch]: added http PATCH method support
2020-03-30 Stipe Tolj <stolj at kannel.org>
* gw/dlr_redis.c: fix dlr_redis_update() to get correct DLR entry updates,
i.e. for intermediate events.
2020-01-06 Alexander Malysh <amalysh @ kannel.org>
* gw/smsc/smsc_smpp.c, doc/userguide.xml, gwlib/cfg.def: added new config
option to retry even if SMSC rejects login due to wrong username & password.
2020-01-06 Alexander Malysh <amalysh @ kannel.org>
* doc/userguide/userguide.xml, gw/urltrans.c: added %U escape code for
hexcoded UDH.
2019-12-10 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: fixed last commit, wrong XML struct.
Thanks to Alexander Malysh for pointing to this.
2019-12-07 Stipe Tolj <stolj at kannel.org>
* gw/smsc/http/generic.c: allow using the 'alt-charset' usage in the MT
direction too, to transcode the payload before URL-encoding and
setting the corresponding charset="" value in the content-type header
for HTTP POST methods.
2019-12-04 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: document 'use-post' for generic type
of HTTP SMSC.
* gw/smsc_http_p.h: add use_post flag.
* gw/smsc_http.c: use 'use-post' boolean config from 'group = smsc'.
* gw/smsc/http/generic.c: implement HTTP POST method support for the
sending and receiving side of the 'system-type = generic'.
* gwlib/cfg.def: add 'use-post' config directive to 'group = smsc'.
* gwlib/http.[ch]: export function parse_cgivars() publically.
This patchset adds support for the HTTP POST method for the SMSC HTTP
type 'generic'. Handling long Unicode messages can easily exceed the
max length limits of HTTP GET URLs on various HTTP servers and HTTP
proxy components, causing HTTP/502 and other defects in processing.
Now we can use content-type 'application/x-www-form-urlencoded' data
in the HTTP POST body to overcome those limitations if necessary.
2019-12-04 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: clarify dlr-url and dlr-mask usage in
'group = sendsms-user' contexts.
* gw/smsbox.c: fix non-working 'dlr-url' for 'group = sendsms-user',
which would never trigger the if statement, since the upper layer
of the sendsms HTTP interface would init msg->sms.dlr_url with a
empty string; now we handle also a 'dlr-mask' in the group as
default value if no HTTP GET paramter is presented.
* gw/urltrans.c: ensure we also use 'dlr-mask' as config directive in
the 'group = sendsms-user' context as possible default.
* gwlib/cfg.def: add 'dlr-mask' to 'group = sendsms-user'.
This patchset fixes the default 'dlr-url' handling for the sendsms-user
group handling, where the default would effetively never be handled.
2019-11-27 Stipe Tolj <stolj at kannel.org>
* gw/bb_smscconn.c: fix missing DLR SMSC FAIL payload <NACK/xxx> for
concatenated messages.
2019-08-13 Alexander Malysh <amalysh @ kannel.org>
* gw/bb_boxc.c: fixed memleak.
Thanks to Denis S.Davydov.
2019-08-03 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.[ch]: added DELETE moethod support.
2019-08-03 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.[ch]: added PUT support.
Thanks to Lamasuta, Franck <franck.lamasuta at vodafone.com> for this patch.
2019-08-03 Alexander Malysh <amalysh @ kannel.org>
* gwlib/dbpool_mysql.c: fixed compilation for mysql v8. This fixes #782.
2019-08-03 Alexander Malysh <amalysh @ kannel.org>
* gwlib/dbpool_mysql.c: fixed compilation for mysql v8. This fixes #782.
2019-08-03 Alexander Malysh <amalysh @ kannel.org>
* gwlib/cfg.c: fixed issue with multiple includes of the same file, we don't bell out
anymore, just ignore
2019-07-09 Alexander Malysh <amalysh @ kannel.org>
* gw/smsc/smsc_cimd2.c: use smsc connection id instead of name for DLRs.
2019-07-09 Alexander Malysh <amalysh @ kannel.org>
* doc/userguide/userguide.xml, gw/smsc/http/clickatell.c, gw/smsc/smsc_http.c,
gw/smsc/smsc_http_p.h, gwlib/cfg.def: applied patch from Franck Lamasuta.
Main changes:
- Better support of Clickatell HTTP API (Developer’s Central): from, mo, validity and callback parameters
- Better DLR and error management
Minor changes:
- Removed useless struct field (conndata->proxy)
- Fixed code indentation
- Removed tabs in cfg.def
- User guide: Fixed invalid character entities (ä and ) + Fixed literals (& and >)
2019-06-24 Alexander Malysh <amalysh @ kannel.org>
* gwlib/http.c: this fixes race if no list is in conn pool anymore #802.
Thanks to Ivan Shcherbak for the fix.
2019-06-07 Alexander Malysh <amalysh @ kannel.org>
* gwlib/octstr.c: fixed url encoding safe chars
2019-01-21 Alexander Malysh <amalysh @ kannel.org>
* gw/bb_boxc.c: fixed small mem leak wile initializing of box_allow_ip/box_deny_ip.
Thanks to Paul Bagyenda for report.
2018-11-22 Stipe Tolj <stolj at kannel.org>
* gwlib/date.c: fix case where, struct universaltime element offset_sec may
be initialized with random value on MacOS X 10.11.x (clang-800.0.42.1),
but is then used in the following up call to date_convert_universal(), so
make sure we set this to zero as we're handlign GMT times anyway. NLC.
2018-11-03 Stipe Tolj <stolj at kannel.org>
* gw/smsbox.c: re-intend smsbox_req_handle(). NLC.
2018-10-01 Stipe Tolj <stolj at kannel.org>
* gw/bb_boxc.c: use init_smsbox_routes() for initial and reload cases, use
smsbox_restart() to reload smsbox routing.
* gw/bb_http.c: interpret bb_graceful_restart() outcome in HTTP admin command
function httpd_graceful_restart().
* gw/bearerbox.c: use gw_log_force() for starting/stopping log evetns that
we want to see in the log, no matter waht log-level is used (forced),
reload config in bb_graceful_restart() and call the sub-module reload
functions.
* gw/bearebox.h: change prototype for smsc2_graceful_restart().
This patchsets implement the reloading (aka graceful restart) capabilities
for the MO direction smsbox routing groups.
2018-09-26 Alexander Malysh <amalysh @ kannnel.org>
* gwlib/date.[ch]: added handling of fraction
2018-09-26 Alexander Malysh <amalysh @ kannnel.org>
* gwlib/date.[ch]: added handling of timezone
2018-09-25 Stipe Tolj <stolj at kannel.org>
* gwlib/http.c: fixing PANIC condition within conn_unregister() in case the
connection was destroyed already.
[Msg-Id: <5B964593.1070105@kannel.org>]
2018-09-07 Alexander Malysh <amalysh @ kannnel.org>
* gw/smsc/smsc_http.c, gw/smsc/smsc_http_p.h, gw/smsc/http/*.c: moved kannel
callbacks to gw/smsc/http/kannel.c. Added gw/smsc/http/*.c to Makefile.am
and use new gw_dlopen_get_symbol to get callback symbols.
2018-09-07 Alexander Malysh <amalysh @ kannnel.org>
* gwlib/gw-dlopen.[ch]: added simple dlopen lookup functionality.
2018-09-07 Stipe Tolj <stolj at kannel.org>
* configure.in: removing own binary suffix handling, automake provides an own
construct for this.
[https://www.gnu.org/software/automake/manual/automake.html#Renaming]
2018-09-04 Stipe Tolj <stolj at kannel.org>
* test/test_http.c: fix compiler warnings. NLC.
2018-09-04 Stipe Tolj <stolj at kannel.org>
* test/fakewap.c: cast panic() output to fix compiler warning on 64bit.
2018-09-04 Stipe Tolj <stolj at kannel.org>
* doc/doxygen/kannel.conf: re-tag the config with the current svn snapshot
revision number.
2018-08-30 Stipe Tolj <stolj at kannel.org>
* test/test_dbpool.c: fix compiler warning/error in case we compile without
any DB support. NLC.
2018-08-28 Stipe Tolj <stolj at kannel.org>
* doc/userguide/userguide.xml: fixed 'window' value type for GSMA OneAPI.
Thanks to Franck Lamasuta for this patch.
2018-08-20 Alexander Malysh <amalysh @ kannnel.org>
* switched wmlscript to automake.
2018-08-20 Alexander Malysh <amalysh @ kannnel.org>
* wmlscript/wsgram.[chy], wmlscript/wsint.h, wmlscript/wslexer.c: Applied patch that
fixes build issues with bison. This fixes #699 .
Thanks to Rici Lake for this patch.
2018-08-12 Alexander Malysh <amalysh @ kannnel.org>
* gwlib/octstr.c: applied patch that fixes octstr_shrink_blanks.
Thanks to Werner Coetzee for this patch.
2018-06-19 Stipe Tolj <stolj at kannel.org>
* Making stable release 1.4.5.
2018-06-19 Stipe Tolj <stolj at kannel.org>
* README: update documentation build package dependencies.
2018-06-19 Stipe Tolj <stolj at kannel.org>
* bootstrap.sh: re-order GNU auto-tools calls, NLC.
* Makefile.in: provide phony 'am--refresh' to cope with bootstrapped source
packages on different environments.
2018-06-19 Stipe Tolj <stolj at kannel.org>
* doc/*/[alligata|arch|userguide|wtls].xml: update DOCTYPE URL reference to
new official URL location to fix 'make docs' processing.
* configure.in: adding Debian 8 location for xml.dcl.