ionutboangiu
8443af3a89
Relicense from GPLv3 to AGPLv3
2025-10-29 19:42:40 +01:00
gezimbll
c842623f4a
fixes on integration tests
2025-05-12 17:31:56 +02:00
gezimbll
dd56a471e7
renamed *localtime dataconverter to *timestring
2025-05-09 14:47:49 +02:00
gezimbll
5929cd0d1b
added optional layout parameter for *localtime dataconverter
2025-05-09 14:04:05 +02:00
gezimbll
e6bbbbef7a
added *localtime dataconverter
2025-05-07 20:46:45 +02:00
gezimbll
e76a2f3d47
added dataconverter for duration in minutes
2025-05-02 15:48:22 +02:00
gezimbll
8e89b84e03
added *gigawords DataConverter
2025-04-24 20:17:48 +02:00
armirveliaj
ba8cd0cd9a
Add new unit tests on engine && utils
2024-12-12 15:50:29 +01:00
gezimbll
8bf51a6112
added URLEncoder data converter
2024-06-07 16:40:54 +02:00
gezimbll
2293f7f66d
added urldecode data converter
2024-06-07 16:40:54 +02:00
ionutboangiu
0aea8ac641
Revert "Move CGREvent from utils to engine"
...
This reverts commit 02195c47ed .
2024-03-04 09:49:15 +01:00
ionutboangiu
02195c47ed
Move CGREvent from utils to engine
2024-02-27 17:16:57 +01:00
arberkatellari
e32ebe8415
Add duration format data converter
2023-11-15 17:24:44 +01:00
ionutboangiu
6cfb934c9b
Update *strip converter implementation and its tests
...
Added in-depth comments to the constructor.
Added test cases for most edge cases (if not all).
Updated the test to verify not only if an error occurs, but to also
check whether it matches the one we expect.
Added 3 more sanity checks that were missed.
2023-10-09 21:09:27 +02:00
ionutboangiu
f0fea43a41
Update to new *strip data converter
2023-10-06 09:38:08 +02:00
ionutboangiu
3e56a5aac7
Implement *strip data converter
2023-10-06 09:38:08 +02:00
ionutboangiu
6c16ff320f
Replace interface{} with any
2023-05-31 10:23:12 +02:00
gezimbll
1c3db609a3
improved coverage tests at utils
2022-10-21 10:17:08 +02:00
ionutboangiu
f0adf870a3
Update json converter to return empty string when error is not nil
2022-03-09 10:59:20 +01:00
ionutboangiu
e0470a4cb6
Add *json converter + tests
2022-03-09 10:59:20 +01:00
Trial97
ec539b5994
Updated DNSAgent
2021-10-04 11:30:13 +02:00
Trial97
7c8103de3c
Added *slice dataconverter
2021-07-19 15:37:19 +02:00
nickolasdaniel
285dc2a4ea
Added float64 converter in dataconverter.go
2021-07-09 16:33:41 +02:00
andronache
b54c76ca9d
Added tests for dataconverter *len in utils
2021-06-22 19:24:30 +02:00
Trial97
b8437f4a7d
Updated utils tests
2021-03-26 13:46:25 +01:00
ionutboangiu
278e583bf6
Switch expected with received
2021-03-16 13:13:37 +01:00
ionutboangiu
4602e61045
Test remaining functions in utils/dataconverter.go
2021-03-08 19:26:21 +01:00
TeoV
78cf9a5d90
Add *random converter + tests
2021-02-02 19:34:59 +01:00
andronache
1470267727
Modified consts in utils
2021-01-07 18:15:35 +01:00
Trial97
5da4cf6d1c
Updated account action plans integration tests for cache
2020-10-31 20:52:09 +01:00
Trial97
327921bdad
Added *unixtime dataconverter
2020-10-07 18:23:06 +02:00
TeoV
0978e200cf
Update tests to work with go 1.15
2020-08-20 12:02:04 +02:00
Trial97
c97314202f
Added protection on refundIncrements for BalanceInfo nil. Fixes #2123
2020-07-21 09:21:20 +02:00
Trial97
088f43c7af
Added more tests for dataconverters
2020-07-21 09:03:04 +02:00
Trial97
f6c1fa4eaa
Added new dataconverter *string2hex
2020-07-21 09:03:04 +02:00
Trial97
48a7440d2e
Added more tests for ip2hex
2020-07-09 12:17:37 +03:00
adragusin
60e9bee8ae
Added test for NewTimeStringConverter
2020-07-02 11:00:17 -04:00
Trial97
43c19e3a14
Added tests for mapstorage
2020-05-26 09:34:06 +02:00
Trial97
fe7a046c16
Added unit tests for the SIPAgent
2020-05-18 13:26:06 +02:00
Trial97
c6cc4b2287
Fixed typos
2020-04-01 16:29:14 +02:00
Trial97
ae6060be54
Renamed IP2HexConvertor to IP2HexConverter
2020-03-30 15:21:04 +02:00
Trial97
1c35af9689
Added new dataconvertor: *ip2hex
2020-02-19 12:02:01 +01:00
adragusin
b0f99c471a
Updated tests in utils
2019-12-18 08:15:18 -05:00
adragusin
a72e688672
Updated tests in utils
2019-12-06 18:20:37 +02:00
adragusin
3528165b0e
Updated tests in utils
2019-12-05 18:23:25 +02:00
TeoV
b909f76105
Rename *phone_number to *libphonenumber
2019-08-01 23:21:51 +02:00
TeoV
db8c670ae5
Add new type of DataConverter *phone_number ( + tests )
2019-08-01 10:38:04 +02:00
TeoV
2fb52f9b28
Add new converter *duration
2019-03-15 12:31:18 +01:00
DanB
96b8557f57
Adding *duration_nanoseconds data converter
2018-05-28 16:04:43 +02:00
DanB
64f6a4f42e
New data converter: *divide
2018-05-28 15:13:09 +02:00