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
9 years ago
Victor Seva
aa089fe10e
MT#18815 debian: remove depends on ngcp-templates and ngcp-panel
...
* depending on ngcp-panel makes no sense, we connect
to it but no need to be installed in the same machine
* depending on templates is not necessary + introduces
complexity and no benefits
Change-Id: I99f4364c4e9e2bc8cf951e0c651952d2d7296b64
9 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
9 years ago
Kirill Solomko
82a1be5c3e
MT#17801 added NGCP::API::Client::Result->result() method
...
Change-Id: I439475ceb0da5e84b5c1cceac3c2dcdbb7cf1fd1
9 years ago
Kirill Solomko
ff1ecaaf00
MT#17801 NGCP::API::Client::Result uses HTTP::Response as base
...
Change-Id: Iea4921d133dd10146d5a632ddf5ee15fae1e61d9
9 years ago
Jenkins User
a092f37d92
Release new version 1.1.0.0+0~mr4.4.0.0
9 years ago
Kirill Solomko
1f480bc458
MT#17801 added NGCP::API::Client
...
Change-Id: I13940fc97a6027bd8c3951620063853544cfb2a6
9 years ago
Michael Prokop
7a099b6efc
MT#17699 Bump Standards-Version to 3.9.7
...
No further changes required to update to Debian Policy 3.9.7[.0]
Change-Id: I013e1b719f63a6aaf0d70df841809543968d6290
9 years ago
Victor Seva
a16994c570
MT#17965 fix upgrade from previous mr4.2 versions
...
> Unpacking ngcp-provisioning-tools (1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737) ...
> dpkg: error processing archive /var/cache/apt/archives/ngcp-provisioning-tools_1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737_all.deb (--unpack):
> trying to overwrite '/usr/bin/ngcp-terminate_subscriber', which is also in package ngcp-ossbss-clients-perl 3.19.0.0+0~mr4.3.0.0+0~20160127151655.1561+jessie~1.gbp584fd3
> Preparing to unpack .../ngcp-billing-tools_1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737_all.deb ...
> Unpacking ngcp-billing-tools (1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737) ...
> dpkg: error processing archive /var/cache/apt/archives/ngcp-billing-tools_1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737_all.deb (--unpack):
> trying to overwrite '/usr/sbin/ngcp-fraud-daily-lock', which is also in package ngcp-ossbss-billing 3.19.0.0+0~mr4.3.0.0+0~20160127151655.1561+jessie~1.gbp584fd3
> Errors were encountered while processing:
> /var/cache/apt/archives/ngcp-provisioning-tools_1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737_all.deb
> /var/cache/apt/archives/ngcp-billing-tools_1.0.0.0+0~mr4.3.0.0+0~20160215104446.17+jessie~1.gbp46e737_all.deb
* wrap-and-sort
Change-Id: I7e24fdd52caaa43a374f588da5da029d1546f348
9 years ago
Dominik Kukacka
46e737d677
MT#17195 added webpassword (-w) cli option to create_subscriber
...
Change-Id: Ic7729128cb8f97ffd697f8d46daaf4f3b83f5ecd
9 years ago
Kirill Solomko
50593926e3
MT#14675 Add debian packaging
...
[gjover@sipwise.com: Finished up the packaging. ]
Change-Id: I1062b358b5f999db581f6a91598d0dfa55551248
9 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
9 years ago
Gerhard Jungwirth
244095467d
MT#15797 option to skip domain-reload
...
Change-Id: I8a7ff07474b5b26cec55023a064b3f11ff00d698
9 years ago
Victor Seva
1c66df8bdd
MT#13015 migrate scripts to REST API
...
use /etc/default/ngcp-api as default values
Change-Id: I93a5a5d30948afa16150a2696dc370fc912e139a
9 years ago
Kirill Solomko
a43ce1a9ba
MT#11509 - make mysql optimizator favor contractid_idx index for fraud checks
...
Change-Id: I396e1114dfcb4e2bcfe3944624df13f0e4d75818
9 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
9 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
9 years ago
Richard Fuchs
2e312a0925
MT#8307 MT#11737 exclude peering/reseller contracts from fraud locks
...
Change-Id: Ic63ba9b65b3ff73b43784394d019e8c7dc1f4123
9 years ago
Irina Peshinskaya
ee0577e11b
MT#11509 Optimize query
...
Further optimization described in the ticket.
Change-Id: Ie559a888a0e7fb8ed3ffc470349a2faab1b894ab
9 years ago
Gerhard Jungwirth
74f02786b7
MT#8735 Fraud email without terminated subscribers
9 years ago
Gerhard Jungwirth
3650e3fe07
MT#8325 fix ngcp-terminate_subscriber script
9 years ago
Andreas Granig
a71c0e4c30
MT#4819 Add test script for sound set handling.
9 years ago
Victor Seva
588e595e6e
ngcp-ossbss-clients-perl: Added ngcp-delete_domain and ngcp-create_domain commands
9 years ago
Andreas Granig
0a5a475bed
Adapt daily fraud check to new source_customer_cost.
9 years ago
Andreas Granig
fc4c1a0240
Use account fraud preference overrides.
9 years ago
Andreas Granig
dd0ac396a4
Use account-specific fraud preference overrides.
9 years ago
Roman Dieser
b2c40b5807
first version of the daily limit check
9 years ago
Daniel Tiefnig
3c1b2eb630
make number parameter optional in ngcp-create_subscriber
9 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>
9 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>
9 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
9 years ago
Richard Fuchs
36e43f0790
mysql doesnt booleanize like perl does
9 years ago
Richard Fuchs
559a3031ac
don't say that an account was locked when it wasn't
9 years ago
Christian Veigl
24923afc9d
some tweaks to make perlcritic happy; mantis:1579
9 years ago
Daniel Tiefnig
72f52d497f
fraud detection performance improvement, only select configured profiles
9 years ago
Daniel Tiefnig
a04126cbf8
reformat SQL queries, no functionality change
9 years ago
Richard Fuchs
8541f5c32e
changes requested per https://bugtracker.sipwise.com/view.php?id=915#c5549
9 years ago
Andrew Pogrebennyk
7cca978556
replace "mail -t" which depends on alternatives with "sendmail -oi -t"
9 years ago
Richard Fuchs
922e007b3f
rename fraud-auto-lock script to match ngcp standard and add crontab entry for it
9 years ago
Daniel Tiefnig
42a77852d0
write joined recipients list to To header
9 years ago
Daniel Tiefnig
b124fd7eea
add notification script for balances below configurable thresholds
9 years ago
Alexander Lutay
6ce2d653ad
MT#17073 Init repo with file .gitreview
9 years ago