Irina Peshinskaya
af314a0d33
TT#47906 Remove unnecessary code from /api/soundsets/
...
And fix discrepancy between doc and accepted parameter
Change-Id: Ied28b5c93f2f6c528af4dba070054c828404e84e
7 years ago
Irina Peshinskaya
4ceb7754b7
TT#47906 Fix discrepancy between doc and code in /api/soundsets/
...
generated from form api doc shows contract_id parameter, but code consider only customer_id
Change-Id: I55a91e052a04ee182b1d39f89ff5543439945c72
7 years ago
Irina Peshinskaya
e0ee27d2bb
TT#47569 Rename soundset override parameter to replace_existing
...
Change-Id: I9d7ddb0592e4631fe1cf38ea8554f17284d6b331
7 years ago
Irina Peshinskaya
b88000b968
TT#47569 Add possibility to load default files in sounsets api
...
Change-Id: I1bf9a90ca3655772d9c671f9de725c974ebdd0bd
7 years ago
Irina Peshinskaya
e438feafa3
Revert "TT#45685 Fix peering server uniq check"
...
This reverts commit 5d499b42cb
.
Change-Id: I3f9f5a418c52320eb03e8ba51fd7ab054d36c10c
7 years ago
Irina Peshinskaya
5d499b42cb
TT#45685 Fix peering server uniq check
...
Change-Id: Ie5a8e87d62589946535863a0717320fad8ebc43d
7 years ago
Irina Peshinskaya
e462e95957
TT#41628 Add web ui for the TimeSets
...
Add test script for API
Fix DateTime create/update issue in TimeSets API (get2put case)
(add and edit functionlity used raw/inflated data respecively)
Add datetimepicker field
Change-Id: If724b7350658c306dbbecbc04309d1d1c0b4a3e2
7 years ago
Kirill Solomko
ad9fead357
TT#44603 fax number normalization logic selection
...
* Faxes numbers representation now uses one of the available
normalization logics. For the API part it is possible to
override it in /api/faxes with a new 'number_rewrite_mode'
query param or 'fax_number_rewrite_mode',
in case of /api/conversations
Change-Id: I64cfcaa53284eafdc980cdab4c3a01d22a55749b
7 years ago
Rene Krenn
36169c0271
TT#44963 fix getting contract in /api/capabilities
...
Change-Id: I9aa8d5fe40bd4092d88ba65a93f08f7656292c83
7 years ago
Irina Peshinskaya
bc926d6ae9
TT#40453 Remove obsolete code from /api/callrecordings/
...
Change-Id: I4eb14b3f33abe63d8d26ad4513514d1b196661f6
7 years ago
Gerhard Jungwirth
25efe6622e
TT#41627 new /api/timesets in iCal format
...
Change-Id: Ie94a799ac1491c005835ac21f89e30bb6266c4a7
7 years ago
Irina Peshinskaya
b1e4733d00
TT#43351 Check subscriberadmin access to profile and profile_set
...
Unify UI and API code to make subscriberadmin behavior with profile_set and profile common
Change alias_numbers input field to embedded RepeatableJS so it pass form validation
Change-Id: I1b3dc6f88cc6c1f43d76acc8e339dbb664c166a3
7 years ago
Irina Peshinskaya
c76d300f7d
TT#40503 Remove explicit role checking for journal links
...
Change-Id: Id33dc65590d87f15fa565d4a400bd059f6bd9654
7 years ago
Irina Peshinskaya
49e9e49b74
TT#44077 Disable subscriberadmin creation for subadmin in API
...
And add checking of used customer to limit
subscriberadmin and reseller to own customers
Change-Id: I979afe8d2babaa0df3ac7106cb9d423548d3634c
7 years ago
Rene Krenn
ad0fadef81
TT#43755 fix miliseconds presentation
...
Change-Id: I8a150e3c70cdc7d55de88daef7ca0cf4f4f12ad1
7 years ago
Kirill Solomko
ecfe7f5a17
TT#43561 /api/calllists add init_time field
...
* init_time field is added as a field as well
as query parameters init_le,init_ge to query
calls by the call initiation time
Change-Id: I6540d632e40d9f0fed6b8f50f126a977eb34e369
7 years ago
Rene Krenn
2b7a1a33a8
TT#41553 TT#41554 billing fee match_mode
...
Change-Id: I77e2cccdcb320e55642f3166bc49ca4f491a8eea
7 years ago
Irina Peshinskaya
cf0a6a3684
TT#42860 Add proper reseller checking to subscribers API
...
Change-Id: I5bb688af5f1a247bb99d198daaf17f8523d22b3a
7 years ago
Irina Peshinskaya
9ed0657d4c
TT#40503 Show journal links to allowed roles only
...
Change-Id: I547b2db4767b1e383506bc812b6486db944fceec
7 years ago
Irina Peshinskaya
47ebd02be5
TT#28457 Remove inherited code from faxserversettings
...
Change-Id: I697eb79ccd04ef6e5f3d0de5297be840cb23b731
7 years ago
Irina Peshinskaya
3e95f54c09
TT#40511 Check subscriberadmin edit only own customer subscriber
...
Change-Id: Icede280da9f72172eb19e0bf8bdb2ee22befcfc4
7 years ago
Gerhard Jungwirth
d7cb06c215
TT#38811 fix changed subscriber form
...
alias_numbers are in a different format than expected by the form.
Change-Id: Id3146e0538e3a02aa520c663a641f1eabb0eee06
7 years ago
Rene Krenn
7d045b9ffc
TT#42260 remove prepaid and prepaid_library pref usage
...
Change-Id: Iebd75291f0648ea054b82ace4251b1a98e629198
7 years ago
Rene Krenn
0574a4f90c
TT#40507 tz and use_owner_tz query params for /api/conversations
...
Change-Id: Ic1fcb2e158cc2a10341d52b88cb75c32d7a273c1
7 years ago
Rene Krenn
8173249197
TT#41022 calllist, faxes, vm: use owner's inherited tz
...
Change-Id: Icf7bb86055b8008e18856579907386137fc67e7d
7 years ago
Rene Krenn
145167e3db
TT#38401 switch to new billing mappings tables
...
Change-Id: I4e57b50a5668170c66521ed5f130bd8293b76b38
7 years ago
Irina Peshinskaya
0d11ae61ff
TT#39949 Allow faxserversettings to subscriber roles
...
Change-Id: Ied032bffb79c732add80856453d0799d3541c6d6
7 years ago
Kirill Solomko
62a81f1ec7
TT#40010 add new call forward type "cfr"
...
* "cfr" is for Call Forward Rerouting
* "cfr" was not added into the "Secretary Manager" part
Change-Id: I8cbc9888e827a343a2f80970f36de7ee011c7c66
7 years ago
Gerhard Jungwirth
9210ac0487
TT#37206 is_regexp flag for callforwardings
...
implemented for Source Sets and B-Number Set in:
* Panel
* /api/cfbnumbersets/
* /api/cfsourcesets/
* /api/callforwards/
in addition, the fields have also been documented in the forms (and therefore
also in the API documentation)
Change-Id: I955dd9addf1e61ec7516b4c518adec151248bacc
7 years ago
Irina Peshinskaya
2431c0efd9
TT#36007 Remove /api/sipcaptures standard GET method
...
Change-Id: I6b318df167056486181542460217de3b2b221773
7 years ago
Gerhard Jungwirth
f5687b2294
TT#37205 bnumber cf in API: complex /api/cf*
...
* /api/cfmappings
* /api/cfbnumbersets
small fix: "anonymous" doesn't make sense for b-numbers
Change-Id: I13fe97bb35c7c34f8919932391dea86bd492a291
7 years ago
Gerhard Jungwirth
a97cbbab0d
TT#37205 bnumber cf in API: /api/callforwards
...
plus reorganize the Form to reduce code duplication
Change-Id: I361fccb7b717649ebd439992d79856c97413feeb
7 years ago
Irina Peshinskaya
5a504e97c1
TT#37459 Implement outbound lb_set/path for permanent registrations
...
Change-Id: I5565eb20c61bd46dcdf888ee482a79b94c43813f
7 years ago
Rene Krenn
11c1e0499b
TT#38767 prevent self-calls dupes in conversations
...
Change-Id: Ieed9cdb72a32604d60259915836de0f889e7cbd9
7 years ago
Gerhard Jungwirth
4feeb76a93
TT#38005 fix/resolve various perlcritic errors
...
this is to fix the TAP tests of the sipwise QA chain
fixed (or ignored):
- ControlStructures::ProhibitMutatingListFunctions
- Documentation::RequirePodSections
- InputOutput::RequireEncodingWithUTF8Layer
- Subroutines::ProhibitSubroutinePrototypes
- BuiltinFunctions::ProhibitStringySplit
- TestingAndDebugging::ProhibitNoStrict
- TestingAndDebugging::ProhibitProlongedStrictureOverride
- InputOutput::ProhibitTwoArgOpen
- CodeLayout::ProhibitQuotedWordLists
Change-Id: I7dce4ce123bad40de2d9b51ba5b1a141e20c3783
7 years ago
Irina Peshinskaya
b96431b909
TT#37951 Fix regression made in /api/admins
...
Now it accepts both true/false and 0/1
Change-Id: Ifb96c896745483038b4c6a2fa0f9f4b4929e0484
7 years ago
Irina Peshinskaya
323d12bd8a
TT#37325 Make lines not mandatory for /api/pbxdevices
...
Change-Id: I42947ad31a00cd7b7020575db82e575894413f55
7 years ago
Gerhard Jungwirth
20a201581a
TT#37222 fix some perlcritic errors ValuesAndExpressions::ProhibitCommaSeparatedStatements
...
this is to clean the Sipwise TAP tests for this repo
Change-Id: I6761369e039070f9726a276f39792dae6e37138a
7 years ago
Kirill Solomko
6dc1e7c5b3
TT#36007 add /api/sipcaptures
...
* enables fetching captured sip data
GET all collection returns JSON with available SIP messages
GET item collection requires a valid call-id and
returns pcap data generated from the packets of the call-id
Change-Id: I552ee9a312a4b9acf95bde93f6c584bbf82f9ea9
7 years ago
Andrew Pogrebennyk
40502cd746
TT#36224 Show loc entries in /api/subscriberregistrations when ignore realm
...
Change-Id: I18b169be8fa8b4f470bb141bb1466792a5fda505
7 years ago
Irina Peshinskaya
bfb760c3fb
TT#36402 Fix preferencesmetaentries enum processing
...
And move form checking to the form validate method from API
Change-Id: Ic66758666e04e60d784128ea807fc93daec6d52a
7 years ago
Irina Peshinskaya
17a788718d
TT#36402 Add field device preferences API
...
Change-Id: I2ddcc58808f8bf370279c228a755a276372a0a88
7 years ago
Irina Peshinskaya
9b10bc58ae
TT#36055 Remove common code from preferences
...
Change-Id: Ib5770b10dd8dcf4ca7a327345c9a78e9b1e22452
7 years ago
Irina Peshinskaya
681d5e93c3
TT#36055 Introduce container_resource parameter for preferences
...
Change-Id: I0dac074f325e3911e266b3ead659a0d0860d2b8c
7 years ago
Alexander Lutay
cdbc01978c
TT#29620 Clean TAP test warning: Missing AUTHOR/DESCRIPTION/LICENSE section in POD
...
Change-Id: I522f20e6966253933d98766d0b3a51f43768be82
7 years ago
Rene Krenn
17082b3b38
TT#33369 remove check for LI number in 3306 db (again)
...
Revert "TT#11701 check existence of voip number in InterceptionDB"
This reverts commit b803c1ae3e
.
Change-Id: I56832cf412a97c4f0fc9f169498a60653d979614
7 years ago
Rene Krenn
b35b0e1cbc
TT#35662 move product_id to billing.contracts
...
Change-Id: I5381b36e226b1c0c2032fa40c3a082b85485e4ac
7 years ago
Irina Peshinskaya
17d36cc339
TT#35429 Fix using boolean json strings in /api/admins
...
Change-Id: If60ef0e75042c23771294315bd62513ee6d7678d
7 years ago
Irina Peshinskaya
a3382a92f6
TT#35538 Faxes allow application/json and multipart/form-data
...
Change-Id: Ic08995e096581c1b0f3dc7d6abce1fe15720cde7
7 years ago
Irina Peshinskaya
1d9907ad45
TT#35429 Allow both 0/1 an true/false as boolean input in /api/admins
...
Change-Id: I4c9805ebce17586674f52a9fe97f280fb9991612
7 years ago
Irina Peshinskaya
57786469cc
TT#35714 Fix calllists mandatory parameters
...
Change-Id: I229e4b91307204c23a846b86b97b8e54f2ed4257
7 years ago
Irina Peshinskaya
05c2708832
TT#34567 Apply mandatory parameters to hal links
...
Change-Id: I90dd7f7ae600ccfa589a7624681f35655ae9a098
7 years ago
Irina Peshinskaya
5c2dab378e
TT#34567 Fix incorrect DBIC find using
...
Change-Id: Iab0dcec802ffd6c43259d9962d962b962068ab89
7 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
7 years ago
Irina Peshinskaya
13cc8b6f66
TT#35057 Enable fax sending to subscriber and subscriberadmin roles
...
Change-Id: I95083ceabd8fb351351e95a8822f769f8338903f
7 years ago
Irina Peshinskaya
f103d31d8a
TT#35058 Apply write access checking for subscriberadin on subscribers API
...
Change-Id: I0700ea80026bfb959d240b7ed67c88d5a9385ad9
7 years ago
Irina Peshinskaya
4c53ac4d7d
TT#34564 Add csv download and upload to PhonebookEntries API
...
Change-Id: Ie4bd350348370ba51fe868cf478244a549dec930
7 years ago
Irina Peshinskaya
3308321387
TT#34015 Clear and stable implementation of early input check
...
Change-Id: I12788583d24f8a02e6e29f04194d8daa0b159efa
(cherry picked from commit e946675f4893ba50e0389ff78642b783f7386318)
7 years ago
Irina Peshinskaya
8505eb2470
TT#34565 Consider existent but undefined privileges
...
Change-Id: I82743bfbddd472c7e99f554ffd8c94d13acc7de9
7 years ago
Irina Peshinskaya
ca8f0c2805
TT#34565 Consider empty privileges for the subscriberadmin
...
Change-Id: I3a9680584b56a12c6e1afb814b47938201753125
7 years ago
Irina Peshinskaya
fd6fe07c88
TT#34021 Rename acl to privileges
...
Change-Id: Id6eee8009f9a35399b5bffab62913710e0e507a0
7 years ago
Irina Peshinskaya
ad9748860f
TT#34454 Show billing voip_subscriber.id instead of provisioning
...
Change-Id: I217117598133a93b420480cb010db34ddd776e74
7 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
7 years ago
Irina Peshinskaya
cb1a3a4cd8
TT#34021 Allow PUT and PATCH to subscriberadmin on subscribers
...
Change-Id: I3c3d5b0c5d1bfd4c3c8771ed332cbf00d3d3c1dc
7 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
7 years ago
Irina Peshinskaya
469d481b9f
TT#32913 Remove excrescent code from /api/numbers
...
and add test script
Change-Id: I70407cec591b8d719582dd476e7586496a795d69
7 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
7 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
7 years ago
Irina Peshinskaya
1877770f94
TT#33391 Adapt process_cdr_item to special conversation cdr item
...
Change-Id: I68881fab706a8c69f6106a16f4cd56fe8d620145
7 years ago
Andreas Granig
3a1d30bee6
TT#32972 Fetch location data from redis
...
Change-Id: Id4edc72e2e7748ff6e9adb4c3370720232065ab6
7 years ago
Irina Peshinskaya
5330d1aa4e
TT#32910 Consider possible null initial_cash_balance
...
to fix tests
Change-Id: I8fecca8e3b0a2f54bc62ab6c2ca5ae4c766ec10a
7 years ago
Irina Peshinskaya
ef943eb7a8
TT#15059 Add mos avg data to call info representation
...
Change-Id: I28db040b2fd1e823d07649ec369c105ec7ea8b08
7 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
7 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
7 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
7 years ago
Rene Krenn
528faeb811
Revert "TT#31179 fix PATCH subscriberpreferences /lock"
...
This reverts commit feee8da1a5
.
Change-Id: If37131d33220ca17c1c4512376ebe51142d54a07
7 years ago
Rene Krenn
feee8da1a5
TT#31179 fix PATCH subscriberpreferences /lock
...
... when lock pref was not set before.
Change-Id: I5033b81759995e7fe059dc692c3d0cffa57960b7
7 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
7 years ago
Irina Peshinskaya
b14f34f008
TT#28460 Change parents in API controllers
...
Use Entities and EntitiesItem respectively
Change-Id: I5d32b010cc51810acee42d14c5c24ce3d4267602
7 years ago
Irina Peshinskaya
7d4518010a
TT#28462 Rewrite PbxDeviceImages API to Entities
...
Change-Id: Ic1d5ad3d54f933d6e6b4a274f80cf67cdf4bb2c6
7 years ago
Irina Peshinskaya
84c1bacc40
TT#28462 Rewrite admins API to Entities
...
Change-Id: I3bf47038bfb48c09f95030eed5d83550e392ff0c
7 years ago
Irina Peshinskaya
4f25a4d7de
TT#28460 Fix RTC networks and RTC apps get-put use case
...
Set empty networks and apps to empty array.
Change-Id: I2e23de8a3fe206808766b0abf485dc6a59903c48
7 years ago
Irina Peshinskaya
357c8c5f37
TT#28460 Fix PbxDeviceProfiles PUT
...
Remove device id from resource before update
Change-Id: I97e246fcd2b9d71b610acafb02782f0f0bf24bd2
7 years ago
Irina Peshinskaya
6950268a97
TT#28460 Fix UpnRewriteSets API
...
Consider terminated subscribers
Change-Id: I7177c3a81da4a2492bfc3de4328834946d6af10c
7 years ago
Rene Krenn
fc57ea6ded
TT#30379 billing profile currency for call conversations
...
Change-Id: I31aa601f14aeb242cd6a30f6126570ee95fc1007
7 years ago
Kirill Solomko
bead4cb85e
TT#30500 subscriberregitrations: increase flush timeout
...
* flush timeout is increased from 5 to 30 seconds
Change-Id: Ife10172bc8f169822247a1bd8ba48b30c2095f9c
7 years ago
Gerhard Jungwirth
24de4232e6
TT#30507 remove DataHal workaround layer
...
(NGCP::Panel was loaded every time this was used)
Change-Id: I62861e0756aaaf548c9be42b4842e9a06127119c
7 years ago
Kirill Solomko
dbb62078e1
TT#23771 fix /api/subscriberregistration logic
...
* Fix item update: a new reloaded item is correctly fetched
fom the db
* Fix Location header: path and item id are correctly delivered
with the header
* Fix xmlrpc ul.add call params:
- correct params order
- "expires" param value is properly calculated
Change-Id: I194b6bab9cb0d295e0a350e6317f7ddbcebdc021
7 years ago
Rene Krenn
a4d9180cf1
TT#29904 remove /api/numbers readonly field checks
...
Change-Id: Ic0367de1e2899ef8c7d31c1f25556fbcb3b05def
7 years ago
Gerhard Jungwirth
edbef3c5b8
TT#29617 remove unnecessary form exceptions
...
with the previous commit, there is no need anymore to specify form
exceptions manually. validate_form will now automatically consider fields
in the correct format with and without "_id"
Change-Id: I70afae4003c6407c7a37396630110736f1fb13f8
7 years ago
Rene Krenn
0f3c6602c0
TT#29904 allow /api/numbers undef ac-cc-sn-is_primary
...
Change-Id: I6a7a8d7d0cc66a25fcae7ffae2c20992125a510a
7 years ago
Irina Peshinskaya
61bf07b038
TT#28510 Remove "domain" from resource for subscriberadmin
...
For subscriberadmin domain is taken from the pilot
Change-Id: I6aa8da07014c18732df4ffc66bd5c2744fc0e81f
8 years ago
Irina Peshinskaya
3becbebe1b
TT#28453 Fix roles for config_allowed_roles inheritance entities
...
And add subscriber as allowed role for the pbxdevicemodels
Change-Id: Ifc373a57fcc647d83d955df80494d4a60c825db3
8 years ago
Gerhard Jungwirth
0a8c92f461
TT#28827 fix profile_id documentation for PbxDevices
...
Change-Id: Iad81626d8028c9d03776366c7089f252bed70616
8 years ago
Irina Peshinskaya
33852166d5
TT#27766 Allow subscriber and subscriberadmin access to faxrecordings
...
Change-Id: Id01dbf992096be1d110981a6a13f9a6ac499e481
8 years ago
Kirill Solomko
e28e3100b2
TT#26652 fix subscriberregistration API internal rs query
...
* search_rs(undef... did not work as the related query
contained a non-existing column 'aor', failing it silentlly
and caused a full join select without the where clause
* search() now provides with a fail immediately if a column does not
exist
Change-Id: If28d985b634809ae6583eebd6ffe7e302a2012fc
8 years ago
Kirill Solomko
b0ab2317e4
TT#16675 fix duplicate rows for Calllist representations
...
Change-Id: I3d492dd342f92c0193b64db63b792db92839f2a4
8 years ago
Irina Peshinskaya
b08b742fd5
TT#24128 Fixes found during testing
...
Change-Id: I5e431ebd12b925e526e12571e2acf7f773b33d30
8 years ago
Irina Peshinskaya
7e6b950eb6
TT#24123 Add call_id to the fax and voicemail items
...
Change-Id: I70f3fe581c602926053b0e8fe0b8da3e6db8a98a
8 years ago
Irina Peshinskaya
5475944552
TT#26101 Add recordings hal links to the conversations
...
Change-Id: Id95d76e12a4a4ba20f9a4be56c365000bbaa0aca
8 years ago