Flaviu Mates
c9985a51a9
TT#69407 - Add customer external_id to credit warning email
...
Change-Id: I07c5ee47590e69a66597e74ab28a01fafd644c16
(cherry picked from commit 5cc2e21123 )
6 years ago
Rene Krenn
3ecad5c8e3
TT#45455 fix reading multiple cdredit_warnings configs
...
Change-Id: I88259bd84f3ea44be97822e70e82f369b49da57d
(cherry picked from commit ab9bf2f555 )
7 years ago
Rene Krenn
afb27fc020
TT#48198 TT#48196 use ?no_count=true in fraud scripts
...
Change-Id: I96062ad1e9e975fc3fdd51028f84d9e0609b4082
(cherry picked from commit 588aade8d2 )
7 years ago
Rene Krenn
184d780828
TT#21871 consider ratio for credit warnings
...
Change-Id: I410918f33efbd844b62ee49519a963293233bcef
(cherry picked from commit 11a6a0382c )
8 years ago
Rene Krenn
9f7800ab20
TT#10964 paginated retrieval of /api/customerbalances
...
+ filter by "prepaid"
Change-Id: Ifb84124353b353ac9d84423b497201d91159b617
9 years ago
Rene Krenn
26d232437e
TT#18755 load full fraud event collection
...
Change-Id: I4d977e582ee2a201938dd26ab212c2982beec519
9 years ago
Kirill Solomko
85c434e169
TT#16933 ngcp fraud notify events with no emails
...
* skip the email send part for events where "interval_notify"
undef/empty
Change-Id: I7f5bf651ec8c019ab5d7560fda10c0a2c4f4f6fa
9 years ago
Guillem Jover
c3463345ea
TT#15450 Fix POD sections, markup and content
...
Change-Id: If17383b9cb6496f120aed19a8da83cfea79b8f66
9 years ago
Kirill Solomko
6cab5bb0f2
TT#15208 fix undef interval_lock variable check
...
* in certain cases $event->{interval_lock} may be undef
and a check is added to prevent the script from exiting
abnormally
Change-Id: I179d60efd796996db8dee280df6da2a3f1fa5b21
9 years ago
Victor Seva
f25c4f5aae
TT#12905 fix error introduced at 0b49ec43f3
...
> Global symbol "@tmp" requires explicit package name
Change-Id: I6e589c7d0b962711909217b7cbd2c84645e54bbb
9 years ago
Victor Seva
0b49ec43f3
TT#12905 ngcp-panel API will change, '_embedded' will be an array
...
Change-Id: I320cdffe66c321fd8a71a0857549992e24027fa8
9 years ago
Kirill Solomko
94266a5814
TT#6702 do not die on fraud/credidwarning send mail errors
...
* simply print the send mail error occurrences instead
of dying to allow the whole list to be processed
Change-Id: I82faa2ec863a8fcae8a220c937afcd61f483c0fd
9 years ago
Kirill Solomko
e11ab08e23
MT#18411 add fraud template variable "interval" (month, day)
...
Change-Id: I432a2d953ac4d4984986f816f91b5564aa8a165a
10 years ago
Kirill Solomko
0ed5a535e1
MT#18411 ngcp-fraud-*-lock fixes
...
- improve fetch email templates
- check for email template
- check for missing email hears
Change-Id: If0de4bedcdf138bc1929f83844817385be0ee107
10 years ago
Kirill Solomko
289c9ff53d
MT#18411 add exit codes, minor fixes
...
* parse domain as non-first argument for create_domain
* fix create_subscriber primary number construction
Change-Id: I994f46ef38098607e3d054ee868f80207020d6c4
10 years ago
Kirill Solomko
3d65648d9f
MT#18411 provisioning scripts rework
...
- reworked /bin/* provisioning scripts to use NGCP::API::Client
- completely reworked ngcp-fraud-* ngcp-credit-warning scripts
Change-Id: I416847c5c1d3e7dda5695d700a03182fa47f5b24
10 years ago
Dominik Kukacka
46e737d677
MT#17195 added webpassword (-w) cli option to create_subscriber
...
Change-Id: Ic7729128cb8f97ffd697f8d46daaf4f3b83f5ecd
10 years ago
Victor Seva
933c00a582
MT#16401 ngcp-ossbss-clients-perl: use NGCP_API_SSLVERIFY config
...
- add ngcp-api_ping script to check api status
ngcp-panel scripts stop working in Jessie due new behaviour
of the library related to openssl policies. We are creating
self-signed certificates at dev enviroment, so we need a way
to skip that new verification
Change-Id: I7f7f323636c4c405e1b01590f0434e2dda1b0d25
10 years ago
Gerhard Jungwirth
244095467d
MT#15797 option to skip domain-reload
...
Change-Id: I8a7ff07474b5b26cec55023a064b3f11ff00d698
10 years ago
Victor Seva
1c66df8bdd
MT#13015 migrate scripts to REST API
...
use /etc/default/ngcp-api as default values
Change-Id: I93a5a5d30948afa16150a2696dc370fc912e139a
10 years ago
Kirill Solomko
a43ce1a9ba
MT#11509 - make mysql optimizator favor contractid_idx index for fraud checks
...
Change-Id: I396e1114dfcb4e2bcfe3944624df13f0e4d75818
10 years ago
Kirill Solomko
4ce2e06d06
MT#11225 monthly lock rework, fraud_use_reseller_rates usage - rework of ngcp-auto-lock sql to use cdr instead of contract_balances - add fraud_use_reseller_rates option usage in ngcp-daily-lock, ngcp-auto-lock calculations - ngcp-daily-lock - locks if limit is equal to sum(cost)
...
Change-Id: I6740dffd89af0fdc8db0395530aea5f61a5c647e
10 years ago
Kirill Solomko
c845f572d7
MT#11509 fraud-daily-lock optimizations and fixes - optimized the query - fixed a bug when fraud-daily-lock used a wrong key in the customers array loop
...
Change-Id: Ic03c4bb5950f15ec2112b6c031ecbd6547aa66e3
10 years ago
Richard Fuchs
2e312a0925
MT#8307 MT#11737 exclude peering/reseller contracts from fraud locks
...
Change-Id: Ic63ba9b65b3ff73b43784394d019e8c7dc1f4123
10 years ago
Irina Peshinskaya
ee0577e11b
MT#11509 Optimize query
...
Further optimization described in the ticket.
Change-Id: Ie559a888a0e7fb8ed3ffc470349a2faab1b894ab
10 years ago
Gerhard Jungwirth
74f02786b7
MT#8735 Fraud email without terminated subscribers
10 years ago
Gerhard Jungwirth
3650e3fe07
MT#8325 fix ngcp-terminate_subscriber script
10 years ago
Andreas Granig
a71c0e4c30
MT#4819 Add test script for sound set handling.
10 years ago
Victor Seva
588e595e6e
ngcp-ossbss-clients-perl: Added ngcp-delete_domain and ngcp-create_domain commands
10 years ago
Andreas Granig
0a5a475bed
Adapt daily fraud check to new source_customer_cost.
10 years ago
Andreas Granig
fc4c1a0240
Use account fraud preference overrides.
10 years ago
Andreas Granig
dd0ac396a4
Use account-specific fraud preference overrides.
10 years ago
Roman Dieser
b2c40b5807
first version of the daily limit check
10 years ago
Daniel Tiefnig
3c1b2eb630
make number parameter optional in ngcp-create_subscriber
10 years ago
Michael Prokop
961ee468ca
Use provisioning.conf to retrieve password for ngcp-ossbss-clients-perl scripts
...
Finalizes https://bugtracker.sipwise.com/view.php?id=1835
From: Michael Prokop <mprokop@sipwise.com>
10 years ago
Michael Prokop
fadbd2d9b0
Adjust ngcp-ossbss-clients-perl scripts to use new cmd auth data
...
80% of https://bugtracker.sipwise.com/view.php?id=1835 done
From: Michael Prokop <mprokop@sipwise.com>
10 years ago
Daniel Tiefnig
e0b81419d1
renamed and added some sample clients, fixed output and default auth
...
these should be packaged as ngcp-ossbss-clients-perl or so
10 years ago
Richard Fuchs
36e43f0790
mysql doesnt booleanize like perl does
10 years ago
Richard Fuchs
559a3031ac
don't say that an account was locked when it wasn't
10 years ago
Christian Veigl
24923afc9d
some tweaks to make perlcritic happy; mantis:1579
10 years ago
Daniel Tiefnig
72f52d497f
fraud detection performance improvement, only select configured profiles
10 years ago
Daniel Tiefnig
a04126cbf8
reformat SQL queries, no functionality change
10 years ago
Richard Fuchs
8541f5c32e
changes requested per https://bugtracker.sipwise.com/view.php?id=915#c5549
10 years ago
Andrew Pogrebennyk
7cca978556
replace "mail -t" which depends on alternatives with "sendmail -oi -t"
10 years ago
Richard Fuchs
922e007b3f
rename fraud-auto-lock script to match ngcp standard and add crontab entry for it
10 years ago
Daniel Tiefnig
42a77852d0
write joined recipients list to To header
10 years ago
Daniel Tiefnig
b124fd7eea
add notification script for balances below configurable thresholds
10 years ago