Irina Peshinskaya
6d69eebf74
TT#35538 Prepare API to faxes changes
...
* Consider POST body not utf8 encoded, so encode "json" parameter
* Allow empty body for multipart/form-data controlled by configuration
as faxes took text from "json" part too.
* Allow empty return from create, meaning asynchronous operations,
like fax creation
* Allow to skip hal validation through form.
Can be used for collections without PUT and PATCH.
Change-Id: If0d0e7cdc6abe53d76ad0b18568e93743040e90f
8 years ago
Irina Peshinskaya
1d9907ad45
TT#35429 Allow both 0/1 an true/false as boolean input in /api/admins
...
Change-Id: I4c9805ebce17586674f52a9fe97f280fb9991612
8 years ago
Irina Peshinskaya
174bfc9c02
TT#35516 Apply simplest filter logic for subscribersregistrations
...
Untill new requirements will be defined
Change-Id: Id0d1f2ade21d0bd8c0759077577685f4c45fdf9a
8 years ago
Irina Peshinskaya
ce3fde0c50
TT#35607 Consider no_count query parameter and infinite next link
...
Change-Id: I0e0b5407994b1ef24ef6060ce1679f2e5556f05f
8 years ago
Alexander Lutay
779fae3b1a
TT#35507 Fix 091dee6: typo fix in InternalSms.pm
...
Change-Id: I66737c536d4bca204719f562f29bf3afba7b245f
8 years ago
Sipwise Jenkins Builder
6634af93ae
TT#4166 I18N dump: snapshot 2018.04.24-03.44.14
...
Change-Id: I921645f8f9226915573666e9bb2897f7e4e2ff30
8 years ago
Kirill Solomko
3cd93a7d35
TT#35507 fix send_sms() smsc checks
...
* remove $config->{sms}{smsc} selection as
there is no such thing as smsc in ngcp_panel.conf
* remove charset from the send_sms query form as charset
is now set in the smsc peer group and taken from the template
Change-Id: I12ac8b74d2923a54194685c3f5e28a37f8df1902
8 years ago
Kirill Solomko
091dee6d0b
TT#35507 use domain sms_peer preference for SMS outbound routing
...
* smsc_peer preference is mandatory for NGCP::Utils::SMS::send_sms()
and contains a handle of one of the avilable group=smsc id
* sms_journal is extended to also store smsc_peer
Change-Id: I1a368b55c263bb5ea2acda004bbaf463d6431413
8 years ago
Kirill Solomko
db1d5ef95b
TT#35508 Improve SMS journaling, add SMS 'cli' field
...
* moved sms_journal record creation into a new
NGCP::Utils::SMS::add_journal_record()
* 'cli' is used when sending sms to store
user_cli or cli subscriber preference.
that is useful for calls where caller is a
remote number
Change-Id: I80bc31da294a56b302e154133525eea187ab6aff
8 years ago
Rene Krenn
c7d14e50ae
TT#35803 add fee's billing_profile_id for apidoc
...
Change-Id: Ifb40c8fc97c3d6652e52ea6ba54e6df7f9867436
8 years ago
Irina Peshinskaya
57786469cc
TT#35714 Fix calllists mandatory parameters
...
Change-Id: I229e4b91307204c23a846b86b97b8e54f2ed4257
8 years ago
Kirill Solomko
794b178dd1
TT#35426 get_fax(): fix fax data print into a closed filehandle
...
* in case of a specified fax format (pdf)
the temp filehandle had been closed before filled in with data
Change-Id: I938cfa47051a525069902f73b83de121838c00bb
8 years ago
Kirill Solomko
c93392e83d
TT#35714 fix collection_nav_links object name
...
Change-Id: I152c2dc31b08af6223b9d8f5f6514acf1c61ef16
8 years ago
Kirill Solomko
f976fe03fb
TT#35714 use collection_nav_links in all API controllers
...
* colelction_nav_links() should be used instead of the old
self/prev/next href link code
* Entities.pm fix colletion_nav_links() to pass missing
$c->request->params
* collection_nav_links() use default $c->request->path and
$c->request->params if those arguments are not specified
Change-Id: Icca5afac812f2e06e6927ba6f4e91057f9745d21
8 years ago
Irina Peshinskaya
8eec82f1bb
TT#34567 Use already created hal links for embedded and Location
...
Change-Id: I3e32ecb89cc9b6966dbe5caa2fa7a26054c7b23b
8 years ago
Irina Peshinskaya
05c2708832
TT#34567 Apply mandatory parameters to hal links
...
Change-Id: I90dd7f7ae600ccfa589a7624681f35655ae9a098
8 years ago
Irina Peshinskaya
5adf181084
TT#34567 Use getter for the API controller config
...
Change-Id: I17eaa813a3b7eb0ae18c110e12037af713016dad
8 years ago
Rene Krenn
64a96befd8
TT#35261 fix callroutingverify allowed_cli wildcards
...
Change-Id: Ice73edfbca3fa64afdf182e4a38c869874e2e438
8 years ago
Irina Peshinskaya
5c2dab378e
TT#34567 Fix incorrect DBIC find using
...
Change-Id: Iab0dcec802ffd6c43259d9962d962b962068ab89
8 years ago
Rene Krenn
fefcaef806
TT#34751 TT#34752 /api/callqueues
...
including:
+ call_id
+ start_time
+ duration
+ caller (from_uri)
+ callee (to_uri)
Change-Id: I1b0aea9bf578a71fd3e1a5433c9801ebde173b65
8 years ago
Irina Peshinskaya
13cc8b6f66
TT#35057 Enable fax sending to subscriber and subscriberadmin roles
...
Change-Id: I95083ceabd8fb351351e95a8822f769f8338903f
8 years ago
Irina Peshinskaya
f103d31d8a
TT#35058 Apply write access checking for subscriberadin on subscribers API
...
Change-Id: I0700ea80026bfb959d240b7ed67c88d5a9385ad9
8 years ago
Irina Peshinskaya
4c53ac4d7d
TT#34564 Add csv download and upload to PhonebookEntries API
...
Change-Id: Ie4bd350348370ba51fe868cf478244a549dec930
8 years ago
Irina Peshinskaya
3308321387
TT#34015 Clear and stable implementation of early input check
...
Change-Id: I12788583d24f8a02e6e29f04194d8daa0b159efa
(cherry picked from commit e946675f4893ba50e0389ff78642b783f7386318)
8 years ago
Irina Peshinskaya
a4cbfa38ca
TT#34566 Fix /api/ call response code
...
Change-Id: I9df736e669cf71514d1c5f227ccd7ff4739d08d5
8 years ago
Irina Peshinskaya
8505eb2470
TT#34565 Consider existent but undefined privileges
...
Change-Id: I82743bfbddd472c7e99f554ffd8c94d13acc7de9
8 years ago
Irina Peshinskaya
ca8f0c2805
TT#34565 Consider empty privileges for the subscriberadmin
...
Change-Id: I3a9680584b56a12c6e1afb814b47938201753125
8 years ago
Rene Krenn
778c484a5c
TT#34013 altered timezone to get into effect in balances by re-saving contract
...
Change-Id: I2e5ee4460115bd4472ff4977e3ad88f1562f2316
8 years ago
Rene Krenn
b57c84537b
TT#34013 new profile package "tz" interval start modes for api
...
Change-Id: I762d2187c807b1d89f372c79a5d71418dcd02c11
8 years ago
Sipwise Jenkins Builder
b87f143a27
TT#4166 I18N dump: snapshot 2018.03.23-03.17.00
...
Change-Id: Ib077b9b30a49efa19197910126e755d9e85317e1
8 years ago
Rene Krenn
cee33486f6
TT#34013 save contract_balances in the contract's tz
...
Change-Id: I23b4dc82ba8f0a3e535d6c43a195d97704fe69a5
8 years ago
Rene Krenn
fd0265d29c
TT#27469 fix callrouting verification form dependency in Verify.pm
...
Change-Id: Ibf4315a01168062763a0c2669afb7ef758e875f9
8 years ago
Irina Peshinskaya
fd6fe07c88
TT#34021 Rename acl to privileges
...
Change-Id: Id6eee8009f9a35399b5bffab62913710e0e507a0
8 years ago
Irina Peshinskaya
ad9748860f
TT#34454 Show billing voip_subscriber.id instead of provisioning
...
Change-Id: I217117598133a93b420480cb010db34ddd776e74
8 years ago
Irina Peshinskaya
60e209ca84
TT#34015 Introduce /api/phonebookentries
...
* /api/phonebookentries is used for the
phonebook_reseller
phonebook_contract
phonebook_subscriber data storage interaction
Change-Id: If45390fd3080886e03602216cfbacc33296f1558
8 years ago
Irina Peshinskaya
2252eff81a
TT#34014 Add phonebooks entries to the phones directories xml
...
Change-Id: I57182fb97ab600b020f42531bd21436741d86bbc
8 years ago
Kirill Solomko
4dbd1e20a4
TT#34014 TT#34016 Introduce phonebook entries
...
* reseller phonebook entries
* customer phonebook entries
* subscriber phonebook entries
* csv download/upload
Change-Id: Ie2c08e1baf8467769a04e6769512417953643811
8 years ago
Irina Peshinskaya
cb1a3a4cd8
TT#34021 Allow PUT and PATCH to subscriberadmin on subscribers
...
Change-Id: I3c3d5b0c5d1bfd4c3c8771ed332cbf00d3d3c1dc
8 years ago
Sipwise Jenkins Builder
0093c332e9
TT#4166 I18N dump: snapshot 2018.03.16-03.51.50
...
Change-Id: Ic0788fa8a78c2e5be2fcde9ff4b561decb31ffcf
8 years ago
Irina Peshinskaya
06f167be0e
TT#33354 Show device image buttons only if exists
...
Change-Id: I7fdaf351b41b8d64fbf0c5a76b6034eb70dc1c74
8 years ago
Irina Peshinskaya
84447ae277
TT#15059 Use has_column instead of has_column_loaded
...
Change-Id: Ic6090919168464830cc69a9333a118f0b7f2c7d7
8 years ago
Kirill Solomko
da4bc4e970
TT#33871 use a correct rs call in mailtofaxsettings
...
* secrent_renew_notify resultset was wrongly used
instead of the acl one
Change-Id: I67646b4cbcbdb97d3dfa150a35cf867dfe5b5022
8 years ago
Kirill Solomko
d045b35b3c
TT#33356 Rewrite rule validation checks for ambiguous non-char escapes
...
* Sequences with escaping a non-special char in the search pattern
like \43699 or \abc are now checked and prohibited
Change-Id: I72d65f2dbf5b9b9bae1ff37af098d74d238f77cb
8 years ago
Irina Peshinskaya
bb655be001
TT#32913 Synchronize access to voip_numbers
...
to avoid unique index error in simultaneous requests
Change-Id: I0e848445b87ee3104c97f9353b4b9114e51b8b1b
8 years ago
Irina Peshinskaya
469d481b9f
TT#32913 Remove excrescent code from /api/numbers
...
and add test script
Change-Id: I70407cec591b8d719582dd476e7586496a795d69
8 years ago
Irina Peshinskaya
fea5aa71af
TT#33399 Make owner a mandatory parameter for the conversations API
...
* Owner data checked and stored in stash to avoid multiply checking in list context
Change-Id: Ie5663ccc1c7385f25f8ff989b1f52a9b74a5ba2d
8 years ago
Andreas Granig
272e658628
TT#21050 Tighten POST checks
...
* Validate Content-Type before validating content itself.
* Validate Prefer
Change-Id: Ie966fa5f0df0b8b695130ea5e4384ff84773bd87
8 years ago
Andreas Granig
9b9a2ddb5b
TT#21050 Add length check to E164 number
...
The DB has lengths of 4, 7 and 31 for cc, ac and sn, respectively.
Instead of letting the DB fail and cause a 500, check the length
properly upfront.
Also make use of cc/ac/sn_regex from config.yml to allow narrowing
down the format by the operator.
Change-Id: Ie738177f7942454054c37bf8be66ab01cfe05ad5
8 years ago
Kirill Solomko
ad04649ece
TT#26652 addditional subscriberregistrations error checks
...
* return HTTP_UNPROCESSABLE_ENTRY if form data is not valid
or a susbcriber is not found
* POST: do not commit transaction if update_item fails
Change-Id: I7149922d4e4d701213ce351112cc67e611c3d910
8 years ago
Andreas Granig
5e76543664
TT#32972 Fix non-numeric item id for subscriberreg
...
If fetched from Redis, it's going to be the ruid instead of a
MySQL auto-increment id.
Change-Id: Ie3e04e7a1a4c249b6a38e04d622a78f48136a15d
8 years ago
Irina Peshinskaya
1877770f94
TT#33391 Adapt process_cdr_item to special conversation cdr item
...
Change-Id: I68881fab706a8c69f6106a16f4cd56fe8d620145
8 years ago
Andreas Granig
3a1d30bee6
TT#32972 Fetch location data from redis
...
Change-Id: Id4edc72e2e7748ff6e9adb4c3370720232065ab6
8 years ago
Sipwise Jenkins Builder
d30caf3d27
TT#4166 I18N dump: snapshot 2018.02.27-03.48.43
...
Change-Id: Ia45b2998780ab9da070001d733a7a360634efa05
8 years ago
Irina Peshinskaya
5330d1aa4e
TT#32910 Consider possible null initial_cash_balance
...
to fix tests
Change-Id: I8fecca8e3b0a2f54bc62ab6c2ca5ae4c766ec10a
8 years ago
Irina Peshinskaya
14496cc465
TT#14501 Allow any value for the Prefer header
...
Return 'minimal' on unknown
Change-Id: I6247b7cbf1df7e477894bac6a4d3826d7f3a5c10
8 years ago
Sipwise Jenkins Builder
9b764c4abd
TT#4166 I18N dump: snapshot 2018.02.23-03.42.52
...
Change-Id: I8af1d0d21bd22a75853069fe4a41e0057edd53c6
8 years ago
Irina Peshinskaya
ef943eb7a8
TT#15059 Add mos avg data to call info representation
...
Change-Id: I28db040b2fd1e823d07649ec369c105ec7ea8b08
8 years ago
Sipwise Jenkins Builder
1385e29620
TT#4166 I18N dump: snapshot 2018.02.22-11.42.22
...
Change-Id: I543a5053023bf77d8632fdd2d18b6271926a8f6c
8 years ago
Roman Romanchenko
3c6a7ff9f0
TT#29350 call flow advanced diagram builder
...
- static css and javascript libs added
Change-Id: I4d46b9736fc5c04c9d7d55d484b647741fc2eafe
8 years ago
Rene Krenn
c81ca69b70
TT#32910 TT#33037 initial cash_balance, free_time_balance
...
+ create topup_log records for edit balance operations
Change-Id: I6cecbf6025111198b8c43a33b0ffd0f0e30955ad
8 years ago
Gerhard Jungwirth
b5f01927a0
TT#33107 Revert "TT#30375 make IP addres optional for peering servers"
...
This reverts commit 56b6067063 .
we no longer want IPs to be optional
Change-Id: Ic3637c5b30119952284fa04266e53550251ec29e
8 years ago
Gerhard Jungwirth
20d6c7b3c0
TT#33107 Revert "TT#32990 validate if hostname or ip is set for peers"
...
This reverts commit 398edbd273 .
we no longer want IPs to be optional
Change-Id: I2019825465a69233b64b255424b4f7e55d07d183
8 years ago
Sipwise Jenkins Builder
4feebe3f43
TT#4166 I18N dump: snapshot 2018.02.20-03.35.02
...
Change-Id: I628afa6f5ad8e8ecf9fead689e938dfedff09586
8 years ago
Irina Peshinskaya
60bb147054
TT#26800 Adapt API to generate "fake" sms on demand
...
Also enable xmpp viewing and add test script draft.
Change-Id: I4f9dbd8e526515decb683c3a037287f279bbd556
8 years ago
Gerhard Jungwirth
38aa85d065
TT#32986 remove remaining parts of kibana
...
Change-Id: I06a4f316f9319ba64ba4bf8d9c282912c140c9f2
8 years ago
Rene Krenn
ae937a1429
TT#32996 correct "POSIX" re labels to "PCRE"
...
Change-Id: I310b2e99060b89a0a71d85f2200307ce4a2689bc
8 years ago
Gerhard Jungwirth
6e93a2551d
TT#32600 fix accidental debug statement data printer
...
Change-Id: Ia85816a6a512d615b8ae3e5a651d98d50b895669
8 years ago
Gerhard Jungwirth
398edbd273
TT#32990 validate if hostname or ip is set for peers
...
Change-Id: Ic58ba48c11e2c23b5a9e6c84aada56ed4be1068a
8 years ago
Gerhard Jungwirth
c9e0723db6
TT#32600 block grep, block map percritic fixes
...
fix perlcritic issues (around 50):
Policy::BuiltinFunctions::RequireBlockGrep
Policy::BuiltinFunctions::RequireBlockMap
Change-Id: I100565ad3b0d643d7b38c304ab75e600383b8ad0
8 years ago
Sipwise Jenkins Builder
e590e8ae11
TT#4166 I18N dump: snapshot 2018.02.15-03.36.05
...
Change-Id: Ief426f3455345b8bed5c6db74d25a9bc25bae22a
8 years ago
Irina Peshinskaya
058ff76152
TT#21818 Check password validation in API
...
Change-Id: I71555e8912d983814a4ab51184c9cd2caa75f1e2
8 years ago
Rene Krenn
528faeb811
Revert "TT#31179 fix PATCH subscriberpreferences /lock"
...
This reverts commit feee8da1a5 .
Change-Id: If37131d33220ca17c1c4512376ebe51142d54a07
8 years ago
Gerhard Jungwirth
196ddd76cb
TT#31504 restructure OpenAPI tags
...
now there is a tag per API rail instead of per method
this also makes it easy to render the documentation centrally per API rail
Change-Id: I683048f742c2bd2da591e502bc2d8f63cc422627
8 years ago
Rene Krenn
feee8da1a5
TT#31179 fix PATCH subscriberpreferences /lock
...
... when lock pref was not set before.
Change-Id: I5033b81759995e7fe059dc692c3d0cffa57960b7
8 years ago
Gerhard Jungwirth
9fd02605ee
TT#29909 fix remaining "use warnings" perlcritic errors
...
Change-Id: I6f0d1537c8de161b969d6afac8c2a2d3fecb6c31
8 years ago
Gerhard Jungwirth
56b6067063
TT#30375 make IP addres optional for peering servers
...
Change-Id: If8acdb58a318ef0db2aa3da09490d803f31fe38b
8 years ago
Gerhard Jungwirth
985d433900
TT#29909 fix perlcritic RequireUseStrict
...
by using strict where it wasn't used before
plus fix all bugs that were discovered along the way by enabling strict
Change-Id: I7f9a8bf0cee74014fd7551ec26f2ab3922715efc
8 years ago
Gerhard Jungwirth
00633d1618
TT#30376 filter interception numbers from log
...
Change-Id: I280e7fd7266c47d9e3afdd0a96874a7f620e5316
8 years ago
Irina Peshinskaya
232a84729b
TT#28460 Fix CCMapEntries get-put use case
...
Change-Id: I2c1c0624de0ad705fa99226770bfe25de20c7ec9
8 years ago
Irina Peshinskaya
2b8ae95170
TT#28460 Remove unused libraries
...
require Catalyst::ActionRole::ACL;
require Catalyst::ActionRole::CheckTrailingSlash;
require NGCP::Panel::Role::HTTPMethods;
require Catalyst::ActionRole::RequireSSL;
Change-Id: I3880fcb10067810d5e2de10a0c14bf6b15e34710
8 years ago
Irina Peshinskaya
2f76c1b6e8
TT#32011 Fix connect to Panasonic RPS
...
Change-Id: I5197ccc845a595dbc4298f05e591349b9eb26593
8 years ago
Irina Peshinskaya
09eba509bd
TT#32203 Fix voicemailgreetings filters
...
Change-Id: Ibca07c82732d84b911e0c469258edcd9a7848b0a
8 years ago
Irina Peshinskaya
08724a6096
TT#32108 Fix "around" method parameters
...
Change-Id: Icb7c12c060a9d1c4a77955901c92bf250081d945
8 years ago
Irina Peshinskaya
75d0a611f3
TT#28460 Separate resource_from_item for CustomerBalances
...
So we will be able to remove hal_from_item later
Change-Id: I38cfc6689665b64a4d114de65945c864dbf4cb89
8 years ago
Irina Peshinskaya
bfee03fa2d
TT#28460 Format: parentheses
...
Change-Id: Ib55575165d565e4c90000816fda4bc3580c04e4f
8 years ago
Irina Peshinskaya
0d4d8cdb23
TT#28460 Format: Remove excrescent empty lines
...
Change-Id: I5ff73d92bf62451fb6dbdae85ca07428c3f5af5d
8 years ago
Irina Peshinskaya
75d6edbcd9
TT#28460 Format: add line between subs in API controllers
...
Change-Id: I67f11fef716941dc965dffd4e8fbb1a211791bbf
8 years ago
Irina Peshinskaya
d28b6b688c
TT#28460 Adapt already customized configs
...
Change-Id: Ia5c6201e7ff59081a8a9a15d2ef4f24b4e8a550a
8 years ago
Irina Peshinskaya
bad54e0780
TT#28460 Configs - adapt balanceinterfals item
...
Change-Id: I60e1eeea5f41428645ae8ff2b0fa97057ea02b8e
8 years ago
Irina Peshinskaya
9fa2a19b4f
TT#28460 Replace configs - not journalized
...
Change-Id: I9843a780817922f23faa91041d3fab9b7336b2a3
8 years ago
Irina Peshinskaya
d527ebd953
TT#28460 Configs - replace Journalized items
...
Change-Id: I5f6604cbd97e1b0b7eb4e566f1c1ef38f605bf33
8 years ago
Irina Peshinskaya
1e2f06992a
TT#28460 Adapt PreferenceDefs APIs to new parent
...
Change-Id: Ib19e2026632eb4bfe18f9ce42781a1a8bd8483a8
8 years ago
Irina Peshinskaya
92e6215b71
TT#28460 Remove gather_default_action_roles
...
Change-Id: Ie8080a9ac3b5b1004de456fe0ece7b31ed1541fe
8 years ago
Irina Peshinskaya
6dbb3b2229
TT#28460 Introduce return_representation in item packages
...
Change-Id: Ibc2afdffd8a70245b6656f78bad2c4fc5273526e
8 years ago
Irina Peshinskaya
2498c8810e
TT#28460 Remove copy-pasted sub HEAD and sub end
...
Change-Id: Ia06320ead891945eebe715fa34012a14d5529f17
8 years ago
Irina Peshinskaya
05774c2338
TT#28460 Remove copy-pasted sub OPTIONS
...
Change-Id: I2b00ea267edcc3caa00eaac5753638794a13398c
8 years ago
Irina Peshinskaya
a113cbf1d0
TT#28460 Remove copy-pasted sub auto
...
Without config changes - all custom subs are in place
Change-Id: I23e50e7d1fcb02c245bc995a26e16e97308177c8
8 years ago
Irina Peshinskaya
b14f34f008
TT#28460 Change parents in API controllers
...
Use Entities and EntitiesItem respectively
Change-Id: I5d32b010cc51810acee42d14c5c24ce3d4267602
8 years ago
Irina Peshinskaya
b9f593b7fc
TT#28460 Entities classes use more unified config
...
And introduce EntityPreferences
Change-Id: I4753f14e1ba2c1e6d01559b44ba0138891c91e81
8 years ago
Irina Peshinskaya
e1c660e442
TT#28460 Introduce log_request config param
...
Change-Id: I665b2949361ccd5511ccf93ebe2fa10018aef74c
8 years ago