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
Irina Peshinskaya
17642b79bf
TT#39360 Adapt conversations order_by_cols to absent fax col
...
Change-Id: I315ce38f5dea4a985f97945096341c36f96a6d70
7 years ago
Rene Krenn
11c1e0499b
TT#38767 prevent self-calls dupes in conversations
...
Change-Id: Ieed9cdb72a32604d60259915836de0f889e7cbd9
7 years ago
Irina Peshinskaya
cc6cf3b067
TT#37375 Allow additional "order by" columns specifications
...
Change-Id: Id37c305b2abeba87bd5ba25f97399888411eeab3
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
f916bdcf3f
TT#37104 fix Subroutines::ProhibitBuiltinHomonyms perlcritic error
...
to fix sipwise TAP tests.
Change-Id: I622eb8063694a0056d55796001ff35242b0ea847
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
Irina Peshinskaya
89fa3a14ec
TT#37684 Fix broken journal rails - remove debug
...
Change-Id: If97909f54dcadc3096bf944eb8c517f587c61917
7 years ago
Irina Peshinskaya
3a814a98a1
TT#37684 Fix broken journal rails
...
Place journal action configuration to correct place
Change-Id: I0cd82d0801ac6ce4ad40b86ec715d6704ecff0b0
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
Alexander Lutay
2bb814d326
TT#29620 Clean TAP test warning: ProhibitMixedBooleanOperators
...
"Mixed high and low-precedence booleans"
The operations have different precedence and must not be mixed together.
Change-Id: If38e25d6e94f599dc9462d9ee37ce165fa303b35
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
Alexander Lutay
8cba6b5d10
TT#29620 Clean TAP test warning: RequireInitializationForLocalVars = local variable not initialized
...
Change-Id: I413c8ab924bb996b5b1ab3031be7155bfb92ab1f
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
a9b94c4808
TT#29620 Switch Perl code from Windows \r\n to Unix \n
...
The only JS and json data left in Windows style:
14:19:58 ✔ taurus:(master)~/sipwise/git/ngcp-panel$ ack -l "\r\n"
share/static/js/jquery.loadJSON.js
share/static/js/libs/svg-edit/config-sample.js
share/static/js/libs/svg-edit/canvg/canvg.js
share/static/js/libs/svg-edit/contextmenu/jquery.contextMenu.js
share/static/js/libs/svg-edit/jquery-ui/jquery-ui-1.8.custom.js
share/static/js/libs/svg-edit/extensions/webappfind-icon.svg
share/static/js/libs/svg-edit/extensions/shapelib/animal.json
share/static/js/libs/svg-edit/extensions/shapelib/object.json
share/static/js/libs/svg-edit/extensions/shapelib/electronics.json
share/static/js/libs/svg-edit/extensions/shapelib/misc.json
share/static/js/libs/svg-edit/extensions/shapelib/game.json
share/static/js/libs/svg-edit/extensions/shapelib/flowchart.json
share/static/js/libs/svg-edit/extensions/shapelib/raphael.txt
share/static/js/libs/svg-edit/extensions/shapelib/raphael_1.json
share/static/js/libs/svg-edit/extensions/shapelib/symbol.json
share/static/js/libs/svg-edit/extensions/shapelib/music.json
share/static/js/libs/svg-edit/extensions/shapelib/arrow.json
share/static/js/libs/svg-edit/extensions/shapelib/raphael_2.json
share/static/js/libs/svg-edit/extensions/shapelib/math.json
share/static/js/libs/svg-edit/extensions/shapelib/dialog_balloon.json
share/static/js/libs/svg-edit/extensions/ext-xdomain-messaging.js
share/static/js/libs/svg-edit-2.6/jquery-ui/jquery-ui-1.8.custom.js
share/static/js/jquery.dump.js
14:19:58 ✔ taurus:(master)~/sipwise/git/ngcp-panel$
Change-Id: Ia6245db0528abf0902fe5e62cff26de294510dd4
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
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
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
ce3fde0c50
TT#35607 Consider no_count query parameter and infinite next link
...
Change-Id: I0e0b5407994b1ef24ef6060ce1679f2e5556f05f
7 years ago
Irina Peshinskaya
57786469cc
TT#35714 Fix calllists mandatory parameters
...
Change-Id: I229e4b91307204c23a846b86b97b8e54f2ed4257
7 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
7 years ago
Irina Peshinskaya
8eec82f1bb
TT#34567 Use already created hal links for embedded and Location
...
Change-Id: I3e32ecb89cc9b6966dbe5caa2fa7a26054c7b23b
7 years ago
Irina Peshinskaya
05c2708832
TT#34567 Apply mandatory parameters to hal links
...
Change-Id: I90dd7f7ae600ccfa589a7624681f35655ae9a098
7 years ago
Irina Peshinskaya
5adf181084
TT#34567 Use getter for the API controller config
...
Change-Id: I17eaa813a3b7eb0ae18c110e12037af713016dad
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
bb655be001
TT#32913 Synchronize access to voip_numbers
...
to avoid unique index error in simultaneous requests
Change-Id: I0e848445b87ee3104c97f9353b4b9114e51b8b1b
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
Andreas Granig
272e658628
TT#21050 Tighten POST checks
...
* Validate Content-Type before validating content itself.
* Validate Prefer
Change-Id: Ie966fa5f0df0b8b695130ea5e4384ff84773bd87
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
14496cc465
TT#14501 Allow any value for the Prefer header
...
Return 'minimal' on unknown
Change-Id: I6247b7cbf1df7e477894bac6a4d3826d7f3a5c10
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
Gerhard Jungwirth
00633d1618
TT#30376 filter interception numbers from log
...
Change-Id: I280e7fd7266c47d9e3afdd0a96874a7f620e5316
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
b9f593b7fc
TT#28460 Entities classes use more unified config
...
And introduce EntityPreferences
Change-Id: I4753f14e1ba2c1e6d01559b44ba0138891c91e81
7 years ago
Irina Peshinskaya
e1c660e442
TT#28460 Introduce log_request config param
...
Change-Id: I665b2949361ccd5511ccf93ebe2fa10018aef74c
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
Irina Peshinskaya
a5d3358849
TT#28508 Fix own_transaction_control usage
...
Change-Id: I08e39afc86ff3c05358fe589ebea4c963ef59344
7 years ago
Rene Krenn
fc57ea6ded
TT#30379 billing profile currency for call conversations
...
Change-Id: I31aa601f14aeb242cd6a30f6126570ee95fc1007
8 years ago
Kirill Solomko
bead4cb85e
TT#30500 subscriberregitrations: increase flush timeout
...
* flush timeout is increased from 5 to 30 seconds
Change-Id: Ife10172bc8f169822247a1bd8ba48b30c2095f9c
8 years ago
Gerhard Jungwirth
24de4232e6
TT#30507 remove DataHal workaround layer
...
(NGCP::Panel was loaded every time this was used)
Change-Id: I62861e0756aaaf548c9be42b4842e9a06127119c
8 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
8 years ago
Rene Krenn
a4d9180cf1
TT#29904 remove /api/numbers readonly field checks
...
Change-Id: Ic0367de1e2899ef8c7d31c1f25556fbcb3b05def
8 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
8 years ago
Gerhard Jungwirth
d36902191a
TT#29617 automatically generate form exceptions for validation
...
exceptions here means, the fields are not automatically changed to
the format {field}{id} for form validation because a field named
{field_id} is present in the form anyway.
Change-Id: I64b8e3ca1864c2b3b2697a69f87cfba17683bd19
8 years ago
Rene Krenn
0f3c6602c0
TT#29904 allow /api/numbers undef ac-cc-sn-is_primary
...
Change-Id: I6a7a8d7d0cc66a25fcae7ffae2c20992125a510a
8 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
Gerhard Jungwirth
1f7be85e31
TT#20866 remove dead code (Forms)
...
Change-Id: I26bc316086fa6d9bf18941fc60f8bd2a8e0e28bb
8 years ago
Irina Peshinskaya
f15effb2e9
TT#24122 Fix voicemail filename field
...
Change-Id: I3cd69b8ec76e37219d4de21e05c7323f980debce
8 years ago
Irina Peshinskaya
6cb867e06d
TT#24122 Add filename to the voicemail conversations
...
Change-Id: Ib55f1e46428707c75a095fde626daf8797cc3465
8 years ago
Irina Peshinskaya
ffcd18ce58
TT#24093 Add direction field to the fax item
...
Change-Id: I4f82736f56e48751a02d9734338e4f9393d0c1e9
8 years ago
Irina Peshinskaya
77ae84e215
TT#23282 Replace customer field with customer_id for the API subscribers form
...
Change-Id: I50eb7b11e520db1509e68f50744b5ee0dab2193c
8 years ago
Irina Peshinskaya
d7c6689b93
TT#22496 TT#22495 Disable "sipwise" admin edit and delete
...
Change-Id: I33341247220c389f997ca02104ccfa6028e76ebb
8 years ago
Irina Peshinskaya
09d5589f75
TT#24061 Fix broken conversations filter
...
Consider item_rs probable additional params in get_list
Use uuid from get_owner for conversation filtering
Define subscriber_id for fax conversations
More clear debug
Change-Id: Ibef1662795a07e6b31e1dcf0052d618efeb2dbcd
8 years ago
Irina Peshinskaya
46c02edf7f
TT#23876 Format sms time as timestamp in conversations
...
Change-Id: Ic472bcfe29ac16231ca1c76c0965515f440631df
8 years ago
Irina Peshinskaya
7709f541bf
TT#23955 Consider form_exceptions in the Entities GET
...
Change-Id: Id407f7af9e9696d76b16e602b2c0d50818c99a45
8 years ago
Kirill Solomko
5f29592e7a
TT#23772 remove PCMA transcoding for music_on_hold sound files
...
* with the removal of PCMA transcoding for music_on_hold
sound files, the transcoding only applies to convert
any WAV -> expected WAV format by sems
* adjust File::Slurp play_file() to use the buffer, to
avoid possible issues with the stream data read
* fail if the sound file to upload is empty or cannot be read
Change-Id: I527aadd279dfe7dee42593be89f65dedf65fd6dd
8 years ago
Kirill Solomko
21975ad88c
Revert "TT#22550 disable sound files transcoding"
...
This reverts commit d419c49f76
.
Change-Id: I634bd8bf8f8725d86b82f17eb0447b23dff81027
8 years ago
Kirill Solomko
171a0facca
Revert "TT#22550 set codec to WAV in the API sound file update"
...
This reverts commit e10cc89715
.
Change-Id: I8bbd12f3cdbc07154224284cdbd743255ba66dc2
8 years ago
Irina Peshinskaya
34bc2d5485
TT#21348 Add Item class for the conversations API
...
Change-Id: Id357e747842d5c3e0f11634dfd5fa950ca36cb1c
8 years ago
Irina Peshinskaya
d67c2c09a6
TT#22494 Fix return_representation
...
Pass forms_exceptions to the get_hal_from_item from the PUT and PATCH
Change-Id: I95ce0df9e3b9d6ba0d361d61bd1a2b18815d84cd
8 years ago
Andreas Granig
eb09639458
TT#23569 Fix interception ACLs
...
* Make sure resellers with interception rights can query both
collections and items
* Make sure we only query the reseller specific interceptions
when accessing API as reseller
Change-Id: I3010f899cbbd1a7a4f60025d95f09f013cc07c03
8 years ago
Gerhard Jungwirth
acade2e599
TT#23280 proper domain reload xmlrpc
...
tries multiple times to reload domain on all proxies
and fails if unsuccessful.
Change-Id: I7a08df97243d0389232a0c0c7ad95652f87c7eb7
8 years ago
Kirill Solomko
e10cc89715
TT#22550 set codec to WAV in the API sound file update
...
Change-Id: I791adb3df1f5dfd26e558ddb7758dc837809d4b0
8 years ago
Kirill Solomko
d419c49f76
TT#22550 disable sound files transcoding
...
* NGCP sound files do not need transcoding anymore and
it is disabled for the sound file upload/download logic
(voicemail sound files transcoding is still required
and retained)
Change-Id: I756c794ae614d3d85096936e217d83f3e0c6db44
8 years ago
Irina Peshinskaya
542de9b517
TT#23426 API: Format properly rewriterules in rewriterulesets output
...
Change-Id: I09f9aafc4f357c188196e493c5ea1e16c8233c9f
8 years ago
Gerhard Jungwirth
cbf8fd68f1
TT#21112 remove Moose from some modules
...
some simple refactorings, the Formhandler Fields are mostly cosmetic
Change-Id: I71fe5540a326e53d8bbf769c0f2f85540df71b58
8 years ago
Rene Krenn
ab869fa2a4
TT#23275 TT#21348 hash2obj util method
...
+ working example for api/conversation ->
process_cdr_item
Change-Id: I12357d6105618743f6a1270a0c5995f8db8b60a2
8 years ago
Irina Peshinskaya
4dc630cd27
TT#22505 TT#21271 Fix subscribers API so get2put works
...
Change-Id: I4d5e2abfe96b147362f22d9f715198cf0bd7731a
8 years ago
Rene Krenn
443426674f
TT#22505 safe handling of "" lock level pref values
...
Change-Id: I46b0e507daabe1c3af2412cdae1bfe403a85286b
8 years ago
Rene Krenn
d64158cdba
TT#22505 TT#21271 api/subscriber put2get related fixes
...
Change-Id: I7d9734c31a75fdaa428f56942f444ab39cd79bc7
8 years ago
Rene Krenn
57c6cf58ea
TT#21871 add "ratio" field to /api/customerbalances
...
+ to be used by ngcp-credit-warning script exclusively.
Change-Id: Ia549e5dab2ef729b56a521c2793b2dd5a74474e2
8 years ago
Gerhard Jungwirth
68fb888237
TT#22422 make rtc errors fail on reseller changes
...
Change-Id: I63fc5ffbf85ff77bde5ab0af915ac6b3660868ef
8 years ago
Gerhard Jungwirth
933e0fc4a8
TT#22420 properly reload trusted sources via xmlrpc
...
kamailio cannot see our changes while we're inside the transaction
Change-Id: Id571906a5084773051271da1c20dc89db4ab23b6
8 years ago
Andreas Granig
0d3bf6b1ce
TT#22827 Implement form factory
...
This patch reuses existing forms by clearing them, rather than
re-instantiating them again and again.
Also, panel start time should be better due to less package
pre-loading.
Change-Id: Ia3e64fd4b4084bb5ec35a669c5840c9fc3c58f2e
8 years ago
Irina Peshinskaya
38ef5dafb2
TT#21819 Allow to adjust resource before form validation.
...
Add separate pre-process method
Change-Id: I939d4d516de7d3d955b281b6afb6c59006771c8d
8 years ago
Andrii Pogrebennyk
2bcac80e96
Revert "TT#21819 Allow to adjust resource before form validation"
...
This reverts commit 2031ea21c5
.
Change-Id: I6f4092eddc6f7c203c808e3c9ce255c49aa7aa41
8 years ago
Irina Peshinskaya
2031ea21c5
TT#21819 Allow to adjust resource before form validation
...
Change-Id: I47d71a6df12bdaa6f20f30fd9562f1ad2d91ecad
8 years ago
Andreas Granig
a52558b411
TT#22422 Implement capabilities endpoint
...
Used to fetch whether pbx, faxserver, rtcengine etc is enabled.
* Fix rtcengine reseller creation:
- Refuse to create reseller if rtcengine part fails
- Use proper auto-generated rtcengine values (pass, domain)
to not fail on reseller names which are not forming valid
hostnames.
* Implement /api/admins/id to support testing
- add test
- fix creating admins with overly long login
- fix various ACL bugs handling /api/admins/
- fix creating /api/admincerts/ as r/o user
* Fix test framework
- use proper client cert when switching API user
Change-Id: I602fdd8181c0b3f23e76e3eab0df90a1ff9e986f
(cherry picked from commit 0d376bd8b59db65296090d26f2c84d704129beef)
8 years ago
Michael Prokop
12234e584d
TT#22411 Fix spelling mistakes/typos
...
s/Diffrent/Different/
s/If it mathes/If it matches/
s/addreses/addresses/
s/altough/although/
s/autenticate/authenticate/
s/curently/currently/
s/dont't/don't/
s/dont/don't/
s/existance/existence/
s/explicitely/explicitly/
s/in in/in/
s/lenght/length/
s/neccessary/necessary/
s/occured/occurred/
s/occurence/occurrence/
s/packge/package/
s/paramters/parameters/
s/perfomed/performed/
s/propery/property/
s/recieve/receive/
s/reponse/response/
s/sematical/semantical/
s/serie /series /
s/than than/than/
s/the the/the/
s/underun/underrun/
s/wether/whether/
s/wihout/without/
NOTE: Ignoring stuff in share/static + debian/changelog though
Change-Id: I90fe718c92582eedf9325d2df3c3280f5f25afd7
8 years ago
Irina Peshinskaya
ce315a86c6
TT#21819 Add provisioning fields to the API response resource
...
Remove excrescent code from the pbxdevicemodels API & Panel
Add roles control per method for the API
Use form field "required" attribute for the API uploads
Fix getting old resource for the PATCH and PUT methods
Change-Id: Ia0515b3d071d45435db7c9138ea9de9447775143
8 years ago
Andreas Granig
dc0bd38e73
TT#4333 Fix CF issues for subscribers
...
* Fix syntax errors and internal errors
* Pass set ids back in mappings
* Allow updates of mappings both via name and ids
Change-Id: I26fdfe96d67563c11040a6c1e87f13a835bb793f
8 years ago
Andreas Granig
f9030b4f21
TT#4333 subscribers/customers/numbers/CF ACL
...
* Implement r/o access to /api/customers for subadmin
* Implement r/o access to /api/subscribers for subs
* Implement create access to /api/subscribers for subadmins
* Implement /api/numbers to re-assign a number
* Implement CF endpoints access for subs
* Implement new test framework to simplify testing
* Fix updating number by using Utils to make sure allowed_clis etc
are handled correctly
* Install missing docker dependencies for new test framework
* Add edr handling on /api/numbers/xx update
Change-Id: I678da16cfb1361b2809780cba8c204ac90bb1736
8 years ago
Rene Krenn
02a161be2a
TT#21106 properly terminate reseller contract
...
Change-Id: Ib20e787a2af5046c87e0a21284d4831a50a9dc94
8 years ago
Rene Krenn
ea1b26fbfc
TT#20322 preliminary fix for failing conversations tests
...
+ added conversations to api_root.t
+ disabled xmpp conversations source, since "soap"
MySQL user is not yet granted to prosody.* tables
Change-Id: I3d6a9418e7c2b77503f8472fe639e971ad7be3fa
8 years ago
Rene Krenn
94c9b92d1e
TT#20322 TT#20344 basic /api/conversations
...
+ basic calls rs added
+ basic voicemails rs added
+ basic sms rs added
+ basic faxes rs added
+ calls+voicemails union-compatible
+ sms union-compatible
+ make call list suppressions work
+ add Tie::IxHash dependency
+ fax union-compatible
+ xmpp/sipwise_mam union-compatible
+ separate "timestamp" column for sorting
+ support explicity order-by column definitions
+ order by "timestamp" working
+ order by "type" working
+ "subscriber_id" filter parameter
+ "customer_id" filter parameter
+ "type" filter parameter
+ timestamp "from" filter parameter
+ timestamp "to" filter parameter
+ "direction" filter parameter
+ preliminary json fields: id, timestamp, type
+ cleanups for preliminary commit.
Change-Id: I7697635079b49bf2724731dee1c78e1801146b94
8 years ago
Irina Peshinskaya
5f29fe2895
TT#17638 Take rule data from validated form values
...
Change-Id: Ia4c31a6a0bd72f29021141f72aa11aede6a23157
8 years ago
Kirill Solomko
792c2bccf7
TT#20095 improve sms billing handling and journaling
...
* billing is split into 2 parts:
- init_prepaid_billing (reserves billing/creates session)
- perform_prepaid_billing (commits or cancels the session)
* when sms fails to be sent the billing session is canceled
(was committed before, regardless)
* NGCP::Panel::Entities::post
- do not do $self->return_representation_post() if
api_error_message is present, therefore, the actual
error is returned
* sms_journal item is now created also in case of an error
* improved errors indication
Change-Id: I454b8c6a1c04d743ee82e03f8621c7cc4c7c4f98
8 years ago
Irina Peshinskaya
c0940df9db
TT#17638 Rewrite Rule API to set priority
...
Change-Id: I84099ab6d4869ee232532668fa15f1cc40501fb8
8 years ago
Andreas Granig
52ac0a8088
TT#20696 Fix contract_id validation in reseller
...
When creating or updating a reseller, catch non-numeric contract_id
and return 422, otherwise 500 would be returned.
Change-Id: I0e22f6f514fef80f5265eca28d7ec97811c1172f
8 years ago
Kirill Solomko
476904f77f
TT#20690 Fix rtc user create/update/terminate for Resellers
...
* create reseller with enable_rtc now succeds but shows an
error if the "rtc" related part cannot be created
* update reseller with enable_rtc now succeds but shows an
error if the "rtc" related part cannot be update
* terminate reseller with enable_rtc now fails with an
error if the "rtc" related part cannot be deleted
Change-Id: I59a8b531d59bc3d4ca9201a2a25c783cb149b759
8 years ago
Irina Peshinskaya
24f550a012
TT#17848 Invoice API POST request
...
Change-Id: Ibbeccf077c125650547f4e28156325e402d8ec9b
8 years ago
Irina Peshinskaya
07b9f8dcae
TT#10837 Make allowed_roles array reference
...
Change-Id: I6ed557df160b963f964cd3cc09f79132ff37cfe8
8 years ago
Irina Peshinskaya
10b25b2bba
TT#10837 Cleanup unused code and libraries references
...
Change-Id: I11b2b3ad480980f391af508f946703ca230be6d1
8 years ago
Irina Peshinskaya
f508bf8831
TT#10837 Test all collections in one script - POST
...
Change-Id: I05b3bb4f73813efe757e695c11315ff9fccd085d
8 years ago
Rene Krenn
ad3562cba8
TT#14295 timezone field for /api/subscribers
...
added checking and persisting of timezone for
+ panel UI subscriber create
+ POST /api/subscribers
+ PUT /api/subscriber/x
+ PATCH /api/subscriber/x
+ central is_valid_timezone_name method
Change-Id: I59865f5af33a71e5b5032dc35ba9c41eca74b04c
8 years ago
Kirill Solomko
dee760a15b
TT#18850 add Manager Secretary feature, API Prefer='internal'
...
* new "Manager Secretary" call forwarding type
* new /api/managersecretary
- controls "Manager Secretary" call forwarding auto set
* support Prefer='internal' to avoid all form validations,
and creations as well as no hal is created but json body
is returned instead. only usable on port 1442 for
internal ngcp api clients.
* Role/API valid_uuid() check
Change-Id: I826138d8cdbce737c09c3b98bc7bdd905d09e81c
8 years ago
Kirill Solomko
8cd3572eed
TT#19855 fix numeric preference value cast to int
...
* set it to undef if it is not positive int
Change-Id: Iae4094db86124cc277e9e9fb38bb6334c219b95e
8 years ago
Rene Krenn
fc70bcd3ba
TT#19855 align writing the 'lock' pref value
...
Change-Id: Ibd03f3624fe31d670df14a38cf18d1f75fe9040f
8 years ago
Kirill Solomko
3c6dba6070
TT#19459 check for undefined CF sourceset mode
...
* CF source set is optional, in this case its value
should be default to 'whitelist'
Change-Id: If521c5ebf361ff22f5c491f4cfd7e26fad5476d8
8 years ago
Kirill Solomko
ad5f1b2ef7
TT#19459 add whitelist/blacklist mode to cf source sets
...
* enables a mode for cf source sets, where all numbers are
considered as whitelisted or blacklisted (similar to the
NCOS levels mode)
Change-Id: I84e76e5ba717050c48bcaf5c1fd5f67ed5582cab
8 years ago
Rene Krenn
34d8404a2c
TT#14755 filter param sorting safe against malformed params
...
Change-Id: I57ed1df4c8ea20bb625e9df18458a0aa53a1df02
8 years ago