Rene Krenn
2537819f0d
MT#12643 billing networks and multi bill prof WIP
...
-properly validate billing mapping intervals
-api/contracts and api/customers complete
+the problem with updating the "prepaid" preference remains at the moment
+billing_mappings field contains future (editable) mappings only, the full schedule is given in a separate field
+hal-links to all occurring billing profiles and networks
-extended tests: api-customer.t and api-contract.t
-api-billingnetworks.t test
-billing networks panel controller
+search by enclosed IP address
-panel UIs for billing networks, customers, contracts
+past billing mapping intervals that cannot be edited are displayed by a seperate hfh "block" part of the billing_profiles repeatable
-profile packages api, UI
+terminating billing profiles (MT#8645) will be broken
+fixed now: profile cannot be terminated unless there are:
-zero non-terminated customers, whose mappings contain the profile with future or open end
-zero profile packages, that link to the profile in either one of their initial-, underrun- or topup profile sets
+panel edit should work, termination wip
+topup_profiles w/o amounts
+contracts/customers API profile_package_id field:
+apply the package's initial profiles
+api/customer and api/contract profile definition modes (id/profiles/package)
+api OK, api-customer.t tests
+customer and contract panel UI with selector to specify actual billing mapping, schedule or profile package (same as api)
+terminate logic harmonized: profiles, networks, packages
+api tests updated
+prepare for merging: cleanup, enable tests
Change-Id: I6c0dec72f490b5731fc673cd393d6aeb08dd8143
11 years ago
Irina Peshinskaya
003e717c02
MT#12937 Replace groups managements different code parts with common methods
...
Change-Id: If598ff0b3cef7c9c8c21ad2c509bce0d9fc4edb7
11 years ago
Andreas Granig
4227fd2522
MT#13201 Enhance voucher API.
...
- Use billing_data ACL grants to modify vouchers
- Use encryption in UI for voucher code
Change-Id: I7711a43db8596d5f733d6c52d2f6608f434b2463
11 years ago
Gerhard Jungwirth
8cb165b3fc
MT#13243 api filter by webuser, -password
...
Change-Id: I27bfe8bfb87cf55272af6dd21fc38608b1d8eb54
11 years ago
Andreas Granig
2c54106fd0
MT#13201 Implement voucher API
...
Change-Id: Ia82579179a29245d51c5ae3d3ea71054ceaf1bf0
11 years ago
Irina Peshinskaya
2e2c008542
MT#7227 Upload billing_fees into 2 stages, for speed and unique records
...
Change-Id: Ie3b4711fa1d31cc900d997e1863800777e526464
11 years ago
Irina Peshinskaya
03aaaa2362
MT#11549 Fix API search by aliases, broken after optimization
...
Change-Id: Ie453ea2a22d8df53464344a4d158b0416da76235
11 years ago
Rene Krenn
a750b795f1
MT#11917 align snapshots in DELETE methods
...
+error message in test descriptions texts
+with recent changes to "description" fields to "required", the strict_sql_mode flage in api-journals.t has to be set.
+missing cftimestes and cfdestinationsets DELETE methods are now finally "journalized" and tested OK.
+other tests were disabled:
>test_billingzone -> journal settings not in yaml file yet, test_customerpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
>test_profilepreferences -> a valid rewrite rule set item has to be referred (since today?) - rewrite rule set api crud methods not journalized yet
>test_autoattendants -> journal settings not in yaml file yet
>test_subscriberpreferences -> a valid ncos level item has to be referred (since today?) - ncos api crud methods not journalized yet
Change-Id: I75b24b3eb0758d6e4e248758c7861f93abc791c0
11 years ago
Andreas Granig
1a2a467345
MT#12673 Show ncos and rwr prefs desc in API
...
Change-Id: I7207c0ef965deb6f0e35aadb88b5439127188bdb
11 years ago
Rene Krenn
bce0058915
MT#11917 test enviroment json boolean conversion
...
Change-Id: I5b880bfdd39898a14e50949aa9858f800d4bd558
11 years ago
Rene Krenn
c411ece3a9
MT#11917 'must-have' api resources complete
...
- ApplyRewrites
+ AutoAttendants
~ BillingFees
OK + BillingProfiles
+ BillingZones
- CallControls
OK * CallForwards
- CallLists
- Calls
OK * CCMapEntries
OK * CFDestinationSets
OK * CFMappings
OK * CFTimeSets
OK ~ Contracts
+ CustomerBalances
OK * CustomerContacts
OK * CustomerPreferences
OK * Customers
- CustomerZoneCosts
+ DomainPreferences
OK + Domains
~ EmailTemplates
OK * FaxserverSettings
- Interceptions
- Invoices
~ InvoiceTemplates
+ NcosLevels
+ NcosPatterns
+ PbxDeviceConfigFiles
+ PbxDeviceConfigs
+ PbxDeviceFirmwareBinaries
~ PbxDeviceFirmwares
+ PbxDeviceModelImages
+ PbxDeviceModels
+ PbxDeviceProfiles
+ PbxDevices
OK * ProfilePreferences
OK * Reminders
OK ~ Resellers
+ RewriteRules
+ RewriteRuleSets
- SoundFileRecordings
~ SoundFiles
~ SoundHandles
OK * SoundSets
OK * SpeedDials
OK * SubscriberPreferences
OK ~ SubscriberProfiles
OK ~ SubscriberProfileSets
- SubscriberRegistrations
OK * Subscribers
OK ~ SystemContacts
OK * TrustedSources
- VoicemailRecordings
- Voicemails
* VoicemailSettings
Change-Id: Ibbaf8be32c6cda71637e16c40f345a15b8c1f530
11 years ago
Rene Krenn
0d361710f7
MT#11917 CFTimeSets typos
...
Change-Id: I9cc3b44581906f9b26ffa1735a60fb2e05178ada
11 years ago
Irina Peshinskaya
4970dd68fa
MT#12499 Apply default email templates to the created reseller
...
And delete on the reseller deletion
Change-Id: Iab7fdef6c1cadeb7a3b8d2d890c1ee271646558e
11 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
11 years ago
Rene Krenn
b5dca5e6e2
MT#11917 next batch of API resources w. journal
...
-enhanced test detail: did not detect missing CRUD operations yet
-query param 'operation' didn't work for 'recent' yournal entry of all API resources so far
-fix of several copy paste errors in existing rest api code
-...
Change-Id: I71b54212d8126b0280fcad2e568fad52a673cbf0
11 years ago
Irina Peshinskaya
bda844c9d3
MT#10159 Add API call towards MWI on voicemail dir change
...
Change-Id: I37907d1a5351911f5b357ae1e7992c189a9730d3
11 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
11 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
11 years ago
Gerhard Jungwirth
63371e46af
MT#11637 properly define reseller_id on roles of customercontacts
...
Change-Id: I67f845ecbbba53b1ec1b9d1e80388f007f3af069
11 years ago
Kirill Solomko
b622c5e6d1
MT#12165 - utf8 support for JSON data
...
Change-Id: I8416777d8d9030d30881ef92074917757584119d
11 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
11 years ago
Rene Krenn
eed41633bd
MT#11917 Write journal for customer create/update.
...
Work in progress.
11 years ago
Andreas Granig
bc32830ad9
MT#11741 API: fix pbxdevicemodelimages props doc
...
Change-Id: Iae529c693f7f909e568083b6983b4a792b76b8f0
11 years ago
Andreas Granig
d40f9976ba
MT#11741 API: Add pbxdevicemodelimages resource.
...
Allows to download front/mac image of device model via API.
Change-Id: I83b6ea6a5a25fde23b591468aaa74d3ce42b09e4
11 years ago
Irina Peshinskaya
80ee2a1af9
MT#11549 Add alias filter for subscribers in API too.
...
Change-Id: I88d8650256e5833957bf43f00a506036fa34dd16
11 years ago
Kirill Solomko
8717f99396
MT#10965 - Callforwards api DELETE fix to use callforwards instead of rewriterules, check for non-existing mapping auto removed by mysql
...
Change-Id: Id6fb16b15fae86b00ddf1e4ab590d43c05fe0e03
11 years ago
Irina Peshinskaya
3081b7ab57
MT#10315 Add lock processing into POST method of Subscribers API.
...
Change-Id: Ic171e12906f746b21a714e4864f3a546851c77ff
11 years ago
Andreas Granig
8e844ecf75
MT#10705 Show pbx_groupmember_ids in API doc.
...
Change-Id: I2d1a20e55dcebb09e27fa147add892965bada3a3
11 years ago
Irina Peshinskaya
ce29d22a53
MT#10715 Add Polycom Zero Touch Provisioning (ZTP) client.
...
Change-Id: Ia3671355258dbfcf1533d7d4f87083e3beb10dc6
11 years ago
Irina Peshinskaya
9977fa35f0
MT#10797 Add documentation note and sample with required "type" parameter.
...
Change-Id: I7f935d6593058a732888b79f4301a6fa78a4443e
11 years ago
Andrew Pogrebennyk
21833bf8cf
MT#9453 introduce handling for adm_cf_ncos[_id] preference
...
Change-Id: I17fdb7fa89a8e1682aafe43c02d94c8e230b8098
11 years ago
Irina Peshinskaya
13b2465d9e
MT#10797 Fix package to view API doc.
...
Change-Id: I7709851da67841f8476126e50423392045855fc0
11 years ago
Irina Peshinskaya
649ccfb5c4
MT#10797 Check manadatory customer "type" presence.
...
Change-Id: I0a99845caabc8edfd718163b6bf4b8a0ff79a211
11 years ago
Andreas Granig
64093a0a88
MT#10691 Add digits group for contract sound set
...
Change-Id: I41e2adcb9a0f3b5545fe182ca9764cb519320a97
11 years ago
Andreas Granig
c6b336072b
MT#10537 Support customer_id for calllists.
11 years ago
Andreas Granig
71620f6b8e
MT#10587 Encrypt Yealink configs.
11 years ago
Andreas Granig
ad6dbc258c
MT#10537 API: filter for call type in calllist
11 years ago
Andreas Granig
266e8e7f3e
MT#10537 API: own/other logic for calllist item
11 years ago
Andreas Granig
e28726c1c3
MT#10537 API: Add calllists call.
11 years ago
Irina Peshinskaya
e45b214de4
MT#9177 Add yealink, change architecture and fix credentials store issue
...
Squashed commit of the following:
commit 79484a6e87
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Dec 3 02:11:23 2014 +0200
MT#9177 We don't need update device_id in credentials.
Rather usual thing.
commit d2161a9b3f
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Tue Nov 25 13:16:02 2014 +0200
MT#9177 Return unregister into utils area.
commit ac8115bcc2
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 13:58:35 2014 +0200
MT#9177 Yealink works
commit 51336e2b18
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 12:23:19 2014 +0200
MT#9177 Yealink add_server
commit 6dc0fde8dd
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Fri Nov 14 09:54:14 2014 +0200
MT#9177 Yealink url via serverName
commit ec00e65878
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:55:07 2014 +0200
MT#9177 Yealink requires server length < 20
commit 0c29750e74
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:45:27 2014 +0200
MT#9177 Wonderfully authorization for Panasonic started to work
Without = at the end
commit 7d3c540a82
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:36:51 2014 +0200
MT#9177 Fix yealink authorization too
commit e39da24bc9
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:15:26 2014 +0200
MT#9177 Small fixes for yealink
commit 9b9e2973ee
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 08:12:33 2014 +0200
MT#9177 Add yealink credentials fields
commit d63e9ab967
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 06:24:46 2014 +0200
MT#9177 Some fixes for this layout
commit bd2a026ed4
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 22:43:37 2014 +0200
MT#9177 Use custom bootstrap uri in this layout
commit bfd2f7a96c
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 17:07:50 2014 +0200
MT#9177 Further yealink changes
commit 3779466cb6
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 15:55:47 2014 +0200
MT#9177 Yealink added
commit 3fa77dcdb0
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 5 08:23:56 2014 +0200
MT#9177 Refactor code to separate vendor specific and common logic
Change-Id: I41a912a5c8f90b3c58cf49b87a38a3b6a7b64bd6
11 years ago
Irina Peshinskaya
0dc5e7bd64
MT#10337 More filters to get uniq records for cloudpbx
11 years ago
Irina Peshinskaya
8792913264
MT#10337 Panel changes get model by get the same way as the dup_item
11 years ago
Andreas Granig
7ae4eb5c07
MT#10199 Exlude profile prefs def.
11 years ago
Andreas Granig
a16c98ae35
MT#10199 Add subscriber profile preferences.
11 years ago
Irina Peshinskaya
0c26c90685
MT#10041 Query_params raised multidomain request in not multidomain env.
...
Let's query_params to know config
11 years ago
Irina Peshinskaya
bcd8c30efd
MT#9177 Add credentials as device fields logic
11 years ago
Andreas Granig
efa2acbc0f
MT#9177 Adapt API to new device bootstrap.
11 years ago
Irina Peshinskaya
a6527bb4c7
MT#9177 API for autoprov. Not tested yet.
12 years ago
Irina Peshinskaya
5902c07ef5
MT#9177 Add panasonic bootstrap.
12 years ago
Irina Peshinskaya
64e0428b85
MT#9671 Add search of subscribers by customer external_id too. Again.
...
This reverts commit c52040353f .
Tests failed also with this revert, so it seems as safe
to return this functionality.
12 years ago
Irina Peshinskaya
c52040353f
Revert "MT#9671 Add search of subscribers by customer external_id too."
...
This reverts commit a2b4c627f3 .
Reverted to check the cause of the failed api tests.
Will be returned just after build if is not a reason for the failed tests.
12 years ago
Irina Peshinskaya
a2b4c627f3
MT#9671 Add search of subscribers by customer external_id too.
12 years ago
Andreas Granig
5a7c924ff2
MT#9653 Allow reseller api access to cf and fax
12 years ago
Irina Peshinskaya
806820ebb2
MT#9447 Add external_id query parametere for customers.
...
(cherry picked from commit aa99236a2b6d6e86a5dad110edc16eeeb16dc32a)
12 years ago
Andreas Granig
a58ac04e17
MT#9481 API: Implement customer balance handling
12 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
12 years ago
Andreas Granig
3d22196c4a
MT#9263 Fix CF API handling of timesets.
12 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
12 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
12 years ago
Andreas Granig
0204022cf5
MT#9225 Modify allowed_clis on add/remove number
...
If ossbss.provisioning.auto_allowed_cli is set, then add/remove
a number from subscriber preference allowed_clis when adding/
removing a number.
12 years ago
Andreas Granig
8e0157b78b
MT#8613 Add basic CRUD for LI X-1 provisioning
12 years ago
Andreas Granig
1306ba53c6
MT#8561 API: filter write ops for r/o users
12 years ago
Andreas Granig
996fd6000c
MT#8299 API: align PUT for pbxdevicemodels.
...
Use multipart/form-data as we do in POST.
12 years ago
Andreas Granig
a5b0aaee2c
MT#8299 Use extended form for device model
...
Define x, y, linepos via HFH instead of validating it manually.
12 years ago
Andreas Granig
4596002eca
MT#8299 API: create full device model with labels
12 years ago
Andreas Granig
853ab093d5
MT#8299 API: Use multipart upload for device model
12 years ago
Gerhard Jungwirth
789d162414
MT#8367 api fix subscriber delete as reseller
12 years ago
Irka
b59e7bb3df
MT#8367 Remove potentially ambiguous voip_subscribers.status reference
...
Now DBIx uses subqueries for sequential searches so no ambiguity
is present now.
12 years ago
Gerhard Jungwirth
2b4e5d0f61
MT#8309 API billingfees logic
...
is_true is not necessary if not mangled by JSON::Types::bool
12 years ago
Gerhard Jungwirth
edff2c4120
MT#7791 API ccmappingentries (callthrough CLIs)
12 years ago
Irka
f95f158323
MT#5879 Merge with Andreas version of Invoice Template APIs.
12 years ago
Irina Peshinskaya
3b281f61cd
MT#7867 InvoiceTemplate API draft.
12 years ago
Gerhard Jungwirth
9f7f55d07f
MT#8063 api fix uploading music_on_hold
...
in case of customer sound set.
and prevent uploading multiple items of the same set/handle.
12 years ago
Gerhard Jungwirth
6c5f35d159
MT8165 explain cfmappings on callforwards doc
12 years ago
Gerhard Jungwirth
17f092219f
MT#7959 fix contract PUT/PATCH, tests
...
now that type is checked by form, it must be
properly passed by put/patch. Also error message changed.
(cherry picked from commit 526a6c1a19 )
12 years ago
Andreas Granig
63056e4d15
MT#7867 Also add invoice tmpl per customer in API
12 years ago
Gerhard Jungwirth
b0a7f8f2b2
MT#7717 explicitly delete related tables of voip_domains
...
to ensure trigger execution on them
12 years ago
Gerhard Jungwirth
fc4bdaf750
MT#7959 update contracts api doc
12 years ago
Andreas Granig
d74f2653f1
MT#7747 Make sure to not store purge_existing
12 years ago
Andreas Granig
6834738216
MT#7747 API: Improve fee bulk upload documentation
12 years ago
Andreas Granig
c34f5e11a0
MT#7747 API: implement fee bulk upload
...
You can now do a POST to /api/billingfees/?billing_profile_id=xx
with Content-Type text/csv, and it will try to parse and insert
the file like the panel does on file upload.
12 years ago
Andreas Granig
3b0aa836d9
MT#7797 API: allow list in customer status filter
...
Use comma-sparated list to filter for certain stati.
Use not_status filter to exclude certain stati.
12 years ago
Gerhard Jungwirth
54810af842
MT#7447 fix soundfiles controller
...
when we disable log_request in auto, the method,
returns false, which means abort the chained dispatch.
see MT#7067
12 years ago
Andreas Granig
9157588f97
MT#7803 API: fetch invoice details via API
12 years ago
Gerhard Jungwirth
49f14f8e8f
MT#7447 fix api customers test
...
we now show terminated customers by default, so filter for
active ones only. see also MT#7797
12 years ago
Gerhard Jungwirth
6dd1562252
MT#7841 API callforwards: improve documentation examples
12 years ago
Gerhard Jungwirth
b0235d97d1
MT#7841 document api callforwards, cfmappings
12 years ago
Andreas Granig
26ec3aad80
MT#7067 API: Don't log sound file on upload.
12 years ago
Andreas Granig
3f8f4880de
MT#7555 API: Terminate instead of delete subs
12 years ago
Andreas Granig
9115b48f70
MT#7797 Filter for terminated customers.
...
- Allow status=xxx in collection
- Fix moving customercontacts
12 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
12 years ago
Andreas Granig
3845260070
MT#7649 API: Implement create/update for pbx devs
...
Delete is not there yet.
12 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
12 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
12 years ago
Andreas Granig
2f06618362
MT#4019 Implement C2D in api via /api/callcontrols
12 years ago
Andreas Granig
7089121482
MT#7377 API: Add filter for is_pbx_pilot.
12 years ago
Andreas Granig
c36a127a97
MT#7495 Add customerpreferences rel and fix doc.
12 years ago
Andreas Granig
151b77692f
MT#7487 API: filter subscribers using profile_id
12 years ago
Andreas Granig
e136be4c68
MT#7485 API: filter soundsets for name
12 years ago
Irina Peshinskaya
9f5bf1ad35
MT#5879 Changes related to invoice email template.
...
All schemas are taken as it was before.
12 years ago
Irina Peshinskaya
6d6484a645
MT#5879 Changes related to invoice email template.
12 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
12 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
12 years ago
Andreas Granig
e0bb62f82b
MT#7323 API: fetch sound handles via REST
12 years ago
Andreas Granig
1b08f6e3ac
MT#7395 API: implement NCOS level and pattern
...
Manage levels and patterns via REST.
12 years ago
Gerhard Jungwirth
8f5c6d0907
MT#7239 API faxserversettings
12 years ago
Andreas Granig
126cf25581
MT#7405 API: allow to filter folder in voicemails
12 years ago
Andreas Granig
e8853cf869
MT#5349 API: Fix domain activation for xmpp
12 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
12 years ago
Andreas Granig
b827f73ab4
MT#5879 PoC of generating invoice out of template
...
Rework zone fee handling.
Implement invoice creation (WIP) - still real template data missing.
12 years ago
Andreas Granig
4e3b373df3
MT#7119 API: Fix PBX subscriber creation.
...
Document only rendered form fields.
Expose pbx_extension and others via subscribers form.
12 years ago
Gerhard Jungwirth
71aa24e791
MT#7239 enforce boolean context
...
when updating a JSON::Boolean
12 years ago
Gerhard Jungwirth
1b0f0ead8f
MT#7119 remove redundant collection sort
12 years ago
Gerhard Jungwirth
7a79ad2fec
MT#7211 API autoattendants
12 years ago
Andreas Granig
378f53c806
MT#7191 Use DT to select contact country.
12 years ago
Gerhard Jungwirth
09ac08508b
MT#7119 API document sortable columns
...
for collections, as query parameters
12 years ago
Gerhard Jungwirth
c93c8eeb6d
MT#7119 fix broken soundfilerecordings collection
...
when auto returns false, the catalyst chaining is aborted
12 years ago
Gerhard Jungwirth
83d37c5d23
MT#7119 API order_by for collections
...
most collections support ordering by the column names of
their primary table now
12 years ago
Andreas Granig
388cd7cca3
MT#7175 Skip collection in doc if role unspecified
12 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
12 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
12 years ago
Gerhard Jungwirth
7333869c54
MT#7113 API subscribers: provide hunt-policy/timeout
...
for a subscriber with is_pbx_group=true
12 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
12 years ago
Andreas Granig
60de7de4a7
MT#7067 API: Implement sound file handling.
...
Create new sound files.
Update sound files.
Delete sound files.
12 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
12 years ago
Andreas Granig
b0993b62b9
MT#3939 API: Implement trusted source handling.
12 years ago
Andreas Granig
1cc0aa69f4
MT#7039 API: link subscriberregistrations
...
- Properly join voip_subscribers and voip_domains
- Link relations to subscriber
12 years ago
Andreas Granig
74d3458e66
MT#7061 API: implement reminder handling.
12 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
12 years ago
Andreas Granig
7cbdb2762f
MT#3947 API: Implement voicemail settings.
...
Change email, pin, attach and delete via REST.
12 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
12 years ago
Gerhard Jungwirth
14d6b1db63
MT#6985 API more subscribers filters
...
by customer_id, is_pbx_group, is_admin
12 years ago
Andreas Granig
61eb05dd13
MT#3941 API: fix voicemail filtering.
12 years ago
Andreas Granig
4fe7db30c4
MT#3941 API: Prettify voicemail descriptions.
...
Properly link between the corresponding collections.
12 years ago
Andreas Granig
6e5e1b53c4
MT#3941 API: Implement voicemail message handling.
12 years ago
Gerhard Jungwirth
f7ebfe07c1
MT#3937 API speeddials put/patch
12 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
12 years ago
Gerhard Jungwirth
139dabf562
MT#6827 API pbxdevice* improvements
...
search queries, description and form validation
12 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
12 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
12 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
12 years ago
Andreas Granig
42031a1627
MT#6913 API: prevent reseller profile deletion.
...
Reject if reseller_edit is disabled in config.
12 years ago
Andreas Granig
f30518384b
MT#6913 API: fix syntax error
12 years ago
Andreas Granig
84cc7c36c9
MT#6913 API: fix profile(_set) deletion.
12 years ago
Andreas Granig
19d6b47796
MT#6913 API: implement profile handling.
12 years ago
Andreas Granig
427bd2e312
MT#6913 API: Basic management of profile sets.
12 years ago
Andreas Granig
3ec2d88bfe
MT#6909 API Check for existance of email tmpl name
...
Make sure to not expose internal error on duplicate email template
name/reseller.
12 years ago
Andreas Granig
954367aad5
MT#6827 Update api description for pbxdevices
12 years ago
Andreas Granig
cd98d27ad7
MT#6909 API: implement email template management.
12 years ago
Andreas Granig
1da7f9a7bc
MT#6789 API: validate email template id
...
Its reseller needs to match the customer contact's reseller.
12 years ago
Andreas Granig
88c6e4d78f
MT#6789 API: handle subscriber email and profile.
...
Handle new email field.
Fix profile handling on subscriber creation.
12 years ago
Andreas Granig
e9d30a3b89
MT#6773 Remove DDP, shortcut for Data::Printer
12 years ago
Andreas Granig
976843e55e
MT#6827 API POST/PUT/PATCH/DELETE of field devices
12 years ago
Gerhard Jungwirth
d2a3348a78
MT#6827 API pbxdevices POST
...
wip
12 years ago
Gerhard Jungwirth
816fbcefb6
MT#6827 API pbxdevices GET
...
wip
12 years ago
Gerhard Jungwirth
2fc4743183
MT#6497 API use billing subscriber id on all places in cf_*_sets
...
that is:
- api/cfdestinationsets
- api/cftimesets
12 years ago
Gerhard Jungwirth
63ac99218e
MT#6497 API cfmappings PUT, PATCH
12 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
12 years ago
Gerhard Jungwirth
2dd40a8999
MT#6497 API cftimesets
12 years ago
Gerhard Jungwirth
d4cf98646d
MT#6497 API cfdestinationsets
12 years ago
Gerhard Jungwirth
b343f16e5e
MT#6497 API: edit callforwards
...
we use the billing.voip_subscribers id now (as everywhere else)
12 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
12 years ago
Gerhard Jungwirth
21a5d7ee37
MT#6195 API rwr: Give proper reseller access
...
see also MT#6479
12 years ago
Andreas Granig
861e38b649
MT#6283 Add more query params to existing colls
12 years ago
Andreas Granig
45a42b9b61
MT#6479 API: Allow resellers to access some funcs.
12 years ago
Gerhard Jungwirth
6f368e820f
MT#6195 API: rewriterule/rewriteruleset: DELETE
...
and remove some redundant checks (done by formhandler)
12 years ago
Gerhard Jungwirth
31e6c5fa71
MT#6195 API: ability to handle rules directly in rewriteruleset
12 years ago
Gerhard Jungwirth
c7c1e012a9
MT#6195 API: adapt RewriteRules to search framework
...
see MT#6283
12 years ago
Gerhard Jungwirth
ede3d43a42
MT#6195 API: rewriterule/rewriteruleset: POST
12 years ago
Gerhard Jungwirth
11e421dc08
MT#6195 API: rename rewrite -> rewriterulesets
12 years ago
Andreas Granig
11d83a7ead
MT#6283 Implement search-framework.
...
- let custom roles "derive" from main api role
- have an item_rs in each role
- call search logic after each item_rs call automatically
- render search query doc dynamically
12 years ago
Gerhard Jungwirth
36f2be7689
MT#6195 API: rewrite: GET, PUT and PATCH implemented
12 years ago
Andreas Granig
c61b9eec5d
MT#3933 API: Handle subscriber lock/termination
12 years ago
Andreas Granig
da79426c00
MT#3933 API: Implement subscriber preferences.
...
While at it, combine preference handling for subscribers, domains
and peers into a single role.
12 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
12 years ago
Andreas Granig
0218de9cc0
MT#5833 Update italian translation.
12 years ago
Andreas Granig
1f9e407377
MT#3925 API: more doc and description fixes.
12 years ago
Andreas Granig
2c49abb49e
MT#3925 Add more field descriptions to forms.
12 years ago
Andreas Granig
c799df3ebd
MT#3925 API: dynamically render API documentation.
12 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
12 years ago
Andreas Granig
aef3a499a3
MT#5797 Skip Link hdrs for fetching collections.
...
Too many headers break web servers (and probably UAs).
12 years ago
Andreas Granig
71658e12a7
MT#5599 Rework auth/authz for pwd-based API access
...
Cleanup unnecessary realms.
Use roles instead of realms for authz.
HTTP basic auth for api access.
Use admin/reseller roles instead of api_admin/api_reseller.
Fix API::Root invalid_user detaching.
12 years ago
Andreas Granig
ce01267079
MT#3933 API: Check for max_subscribers on create
12 years ago
Andreas Granig
9651c81852
MT#3933 API: fetch and create subscriber. WIP.
...
Doesn't handle PBX stuff yet, only basic subscriber stuff.
12 years ago
Andreas Granig
5929bcdc06
MT#5349 API: add method to fetch dompref meta data
12 years ago
Andreas Granig
e8fa8b2f9c
MT#5349 API: Implement domain preferences. WIP.
...
Missing sanity checks and special handling for certain preferences.
12 years ago
Andreas Granig
58adac5da9
MT#5349 API: Implement GET/DELETE for domain item.
...
There is no PUT/PATCH as we are not allowed to change the domain itself.
TODO: relations to preferences!
12 years ago
Andreas Granig
9592c6b3b7
MT#5349 API: Implement collection part for doms
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago
Andreas Granig
5c5668da28
MT#3949 API: Implement reseller resource handling.
12 years ago
Andreas Granig
c0a6264507
MT#5299 API: Implement implicit zone def for fees
12 years ago
Andreas Granig
b3de58ff9c
MT#5299 API: Implement billing zone handling.
12 years ago
Andreas Granig
bdb129ec67
MT#5299 API: Add billing fee handling.
12 years ago
Andreas Granig
cd2d9e47aa
MT#5255 Fix boolean handling and HFH validation
12 years ago
Andreas Granig
829b432b47
MT#5299 API: PUT/PATCH/GET billingprofiles item
12 years ago
Andreas Granig
3ce79d6703
MT#5299 API: GET and POST billing profiles.
12 years ago
Andreas Granig
45a460a1ce
MT#3949 API: implement contracts handling.
12 years ago
Andreas Granig
14d9374e8c
MT#3949 API: move common contract stuff to role.
12 years ago
Andreas Granig
b64266b969
MT#3949 API: Implement base-line for sys contracts
...
Allows to post, put, patch and get peering and reseller contracts.
Needs tests.
12 years ago