Irina Peshinskaya
5902c07ef5
MT#9177 Add panasonic bootstrap.
11 years ago
Irina Peshinskaya
abf4cb937f
MT#9177 Changes for centrlised sync parameters table. Draft.
11 years ago
Andreas Granig
e1a7f1a5a1
MT#6969 Pass proxy:port to check-sync script
...
The script is executed as user www-data and therefore can't read
sipwise.cnf. To avoid weakening security of the file, it's better
to read it from db in the panel and pass the proxy on to the script.
11 years ago
Andreas Granig
10624d734e
MT#6969 Catch and log sip sync errors.
11 years ago
Andreas Granig
30bc5d383d
MT#6969 Ignore capturex return value
11 years ago
Andreas Granig
f89efc9095
MT#6969 Fix sip sync error.
11 years ago
Andreas Granig
2651a83afa
MT#9881 Implement panasonic phone book
11 years ago
Victor Seva
83a33d4270
MT#8245 Change initial point of login to /login
...
- on nginx we have a rewrite depending on the port is listening on
http_admin: /login -> /login/admin
http_csc: /login -> /login/subscriber
Change-Id: If095023bb085984fadfc666b3b7859f367ec8459
11 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.
11 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.
11 years ago
Irina Peshinskaya
a2b4c627f3
MT#9671 Add search of subscribers by customer external_id too.
11 years ago
Andreas Granig
5a7c924ff2
MT#9653 Allow reseller api access to cf and fax
11 years ago
Irina Peshinskaya
806820ebb2
MT#9447 Add external_id query parametere for customers.
...
(cherry picked from commit aa99236a2b6d6e86a5dad110edc16eeeb16dc32a)
11 years ago
Irina Peshinskaya
29b988492f
MT#9431 Update usr_preference cloud_pbx_hunt_policy in Subscriber API.
11 years ago
Andreas Granig
a58ac04e17
MT#9481 API: Implement customer balance handling
11 years ago
Andreas Granig
eec03aa6b1
MT#9277 Fix date deflation for voucher.
11 years ago
Andreas Granig
64d65a10a5
MT#9277 Implement basic voucher management.
11 years ago
Andreas Granig
7389205d59
MT#9369 Export numbers in device config
11 years ago
Irina Peshinskaya
bf9ed81fd2
MT#9329 Use DB to count statistic for calls.
...
Optimization in case when calls dispersion is low.
11 years ago
Kirill Solomko
85978fb823
MT#8547 - Remove "push on reference" syntax
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
3d22196c4a
MT#9263 Fix CF API handling of timesets.
11 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
11 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
11 years ago
Andreas Granig
f2a00bad78
MT#9237 Fix editing advanced CF map with n>1 recs
11 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.
11 years ago
Kirill Solomko
799d95b314
MT#7705 - Subscriber.pm: add logging for destination sets/time sets, password recovery and internal errrors
11 years ago
Irina Peshinskaya
4bb916a33c
Revert "MT#9177 Fix device annotations sql error in devmod_edit."
...
This reverts commit f6a23d0602
.
11 years ago
Andreas Granig
cdba3fd0ac
MT#6969 Fix sync logic on registration.
11 years ago
Andreas Granig
d156577873
MT#9167 Fix setting contract timestamps
11 years ago
Kirill Solomko
2bebc00548
MT#7705 - Add logging for the rest of Controller/* modules. Message.pm: add data size check and trim the value if > 500 length
11 years ago
Alexander Lutay
643cf6d9da
MT#8215 Set NGCP-Summary.json as default Kibana page
11 years ago
Kirill Solomko
8c09ffa44a
MT#7705 - fix undef ids detection in error messages. add logging for Contract, Customer
11 years ago
Gerhard Jungwirth
c87db578f5
MT#7177 fix form initializatoin for DestinationSets
...
to apply deflation correctly
11 years ago
Andreas Granig
c33ae6d879
MT#8215 Implement proxy for kibana/elasticsearch
...
Make sure to authenticate kibana and elasticsearch requests,
and proxy the latter through to the backend.
11 years ago
Andreas Granig
18467405b0
MT#6969 Trigger device resync via SIP if online
...
If we find a registration for the subscriber on the device, we trigger
a resync via SIP.
11 years ago
Irka
e313eb7063
MT#8371 Remove duplicate joins contracts_rs with billing_mapping.
11 years ago
Irka
6299743d63
MT#8371 Additional changes for actual billing_mapping optimisation.
...
All billing_mappings for contract are linked now through
billing_mapping_actual view. Datatables configurations changed accordingly.
11 years ago
Kirill Solomko
aca1155e64
MT#7705 - Rework logging for Controller/Contract module
11 years ago
Kirill Solomko
4a346d6383
MT#7705 - Rework logging for Controller/Contact module
11 years ago
Kirill Solomko
68a1aa349e
MT#7705 - Rework logging for Controller/Billing module. Improve Message.pm $log parsing and shown as LOG= (optional)
11 years ago
Kirill Solomko
f759cbeb98
MT#7705 - Logging for Controller/Administrator module
11 years ago
Andreas Granig
30384f34dc
MT#8723 Provid direct pbx fw link for version
11 years ago
Irka
c7a2dae1fc
MT#8621 Check callforward spec against empty desctinations
11 years ago
Andreas Granig
8e0157b78b
MT#8613 Add basic CRUD for LI X-1 provisioning
11 years ago
Andreas Granig
1306ba53c6
MT#8561 API: filter write ops for r/o users
11 years ago
Gerhard Jungwirth
12ee43f671
MT#8395 replace email plugin
11 years ago
Andreas Granig
a30e471799
MT#8495 Handle another level of nesting in banlist
...
(cherry picked from commit 42ff210adb
)
11 years ago
Andreas Granig
953142d4f0
MT#8279 Deflate numbers in call list.
11 years ago
Andreas Granig
145291a23e
MT#8279 Deflate CF destination in CSC
11 years ago
Andreas Granig
a5cd159b56
MT#8279 Deflate speed dial in CSC list
11 years ago
Andreas Granig
cf519fb44b
MT#8279 Inflate/deflate block list input in CSC
11 years ago
Andreas Granig
c2e116a825
MT#8279 inflate/deflate subscriber speed-dial
11 years ago
Andreas Granig
996fd6000c
MT#8299 API: align PUT for pbxdevicemodels.
...
Use multipart/form-data as we do in POST.
11 years ago
Andreas Granig
6f50a2dac7
MT#8299 Create/Edit models via web interface.
11 years ago
Andreas Granig
a5b0aaee2c
MT#8299 Use extended form for device model
...
Define x, y, linepos via HFH instead of validating it manually.
11 years ago
Andreas Granig
4596002eca
MT#8299 API: create full device model with labels
11 years ago
Andreas Granig
853ab093d5
MT#8299 API: Use multipart upload for device model
11 years ago
Andreas Granig
c5067b4cac
MT#8299 Show disp name and ext in pbx dev config
11 years ago
Andreas Granig
c44d28ef54
MT#8299 Also properly edit pbx device.
11 years ago
Andreas Granig
7efc1c43d6
MT#8299 Successfully create new pbx device.
11 years ago
Andreas Granig
cc68e4959d
MT#8299 Show annotated pbx device.
11 years ago
Andreas Granig
b146fb45ee
MT#8299 PoC to render phone image with annotations
11 years ago
Andreas Granig
50777321c0
MT#7803 Fix invoice list preparation.
...
Caused js error on adding new pbx device.
11 years ago
Irka
c43ccd7c5d
MT#8401 Invoce data preprocessing.
11 years ago
Gerhard Jungwirth
789d162414
MT#8367 api fix subscriber delete as reseller
11 years ago
Gerhard Jungwirth
c15acb9423
MT#8287 only create aliases if available on subscriber creation
...
some input validation, fixes issues on subadmin subscriber creation
11 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.
11 years ago
Gerhard Jungwirth
2b4e5d0f61
MT#8309 API billingfees logic
...
is_true is not necessary if not mangled by JSON::Types::bool
11 years ago
Gerhard Jungwirth
b7eb095540
MT#7791 Manage Callthrough CLIs in Panel
11 years ago
Gerhard Jungwirth
edff2c4120
MT#7791 API ccmappingentries (callthrough CLIs)
11 years ago
Irka
18b86b3ffd
MT#5879 Remove template active as logic changed to invoice per customer.
11 years ago
Gerhard Jungwirth
d57aa0e7ff
MT#7673 update voicemail number in webinterface
11 years ago
Gerhard Jungwirth
9a8cd44e6e
MT#7931 group captured calls
...
and sort by newest first
11 years ago
Irka
f95f158323
MT#5879 Merge with Andreas version of Invoice Template APIs.
11 years ago
Irka
4d7f2ff7f8
MT#5879 Deny to create invoice templates with duplicated names
11 years ago
Irina Peshinskaya
3b281f61cd
MT#7867 InvoiceTemplate API draft.
11 years ago
Irka
b2f21dd777
MT#7861 Use pixels as main unit to be in accordance with svg-edit.
...
(cherry picked from commit bdd8562fb0ee0a98cb1296822fa1e211fa0d8c5f)
11 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.
11 years ago
Gerhard Jungwirth
6c5f35d159
MT8165 explain cfmappings on callforwards doc
11 years ago
Gerhard Jungwirth
309b5ab069
MT#8015 update de translation
11 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
)
11 years ago
Andreas Granig
63056e4d15
MT#7867 Also add invoice tmpl per customer in API
11 years ago
Gerhard Jungwirth
b0a7f8f2b2
MT#7717 explicitly delete related tables of voip_domains
...
to ensure trigger execution on them
11 years ago
Gerhard Jungwirth
c5fd0122a6
MT#7981 possibility to delete subscriber admin flag
11 years ago
Gerhard Jungwirth
c1c1117600
MT#8035 Write start_ivr and end_ivr events
...
when updating cf_mappings or cf_destination_sets
one entry per cf_mapping
11 years ago
Irina Peshinskaya
0dbc857613
MT#7867 Invoice template per reseller
11 years ago
Gerhard Jungwirth
fc4bdaf750
MT#7959 update contracts api doc
11 years ago
Andreas Granig
d74f2653f1
MT#7747 Make sure to not store purge_existing
11 years ago
Andreas Granig
6834738216
MT#7747 API: Improve fee bulk upload documentation
11 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.
11 years ago
Irina Peshinskaya
da71415239
MT#5879 Default content on template creation and x- mimetype.
...
Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
11 years ago
Andreas Granig
33ace9c766
MT#7941 Another fix for empty CF dsets.
11 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.
11 years ago
Andreas Granig
ec6c5c4557
MT#7941 Fix handling empty destination set in pref
11 years ago
Andreas Granig
0d577b3490
MT#7935 Show callid, cost and link to callmap.
...
In call history of a subscriber, link to callmap, and show the
call-id and source customer cost in case of admin/reseller.
11 years ago
Andreas Granig
d3a21f146f
MT#7545 Fix editing non-pbx subscriber.
11 years ago
Andreas Granig
b0491942f5
MT#6693 Handle pseudo-preferences for subprofs.
...
Certain preferences (speeddial, voicemail, faxserver etc) are not
really preferences, but are handled specially on the preferences
page. Introduce special preferences for them to be able to select
them when defining subscriber profiles, and filter them on the
preferences page of the csc.
11 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
11 years ago
Andreas Granig
9157588f97
MT#7803 API: fetch invoice details via API
11 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
11 years ago
Gerhard Jungwirth
6dd1562252
MT#7841 API callforwards: improve documentation examples
11 years ago
Gerhard Jungwirth
b0235d97d1
MT#7841 document api callforwards, cfmappings
11 years ago
Andreas Granig
26ec3aad80
MT#7067 API: Don't log sound file on upload.
11 years ago
Andreas Granig
b34ae4eed2
MT#7803 Fix customer balance creation on new month
11 years ago
Andreas Granig
c229863451
MT#7803 Fix fetching invoice svg data.
...
(cherry picked from commit b66a390653378b8ce1da64b6bf54de91fcd6244c)
11 years ago
Andreas Granig
3f8f4880de
MT#7555 API: Terminate instead of delete subs
11 years ago
Andreas Granig
915cf7749a
MT#7555 Properly terminate subscribers.
...
- Write end_huntgroup if a group
- Move numbers to pilot if it exists
11 years ago
Andreas Granig
14a629f4aa
MT#7803 Add invoice links and sections.
11 years ago
Andreas Granig
9115b48f70
MT#7797 Filter for terminated customers.
...
- Allow status=xxx in collection
- Fix moving customercontacts
11 years ago
Andreas Granig
4f370287af
MT#7793 Only log subprofile event on prof-change.
11 years ago
Andreas Granig
213e6bb606
MT#7793 Implement event billing for subprofiles.
...
Write start/end/update_profile event on subscriber modification.
11 years ago
Andreas Granig
0a83a9aa9d
MT#7775 Fix xmldispatching on domain creation
11 years ago
Andreas Granig
5805d848d3
MT#7771 Add cloud_pbx_ext preference.
11 years ago
Andreas Granig
2d9be3f212
MT#7771 Introduce @{...} for match in rewrite rule
...
It inflates to $(avp(s:xxx)[*]) and can then be used to match against
AVP lists.
11 years ago
Andreas Granig
fae332191a
MT#5879 Include Countries.pm before Sipwise::Base.
...
Otherwise we get UTF8 issues on panel startup.
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
adffda31ac
MT#7699 Strip colons from mac/identifier
11 years ago
Andreas Granig
3845260070
MT#7649 API: Implement create/update for pbx devs
...
Delete is not there yet.
11 years ago
Andreas Granig
7563aeeb43
MT#7625 Check subscriber status is active on login
11 years ago
Andreas Granig
eaa4fea245
MT#7555 Properly terminate subs on customer edit.
...
Recursively terminate subscribers and everything else if a customer
is terminated via the customer edit form.
11 years ago
Andreas Granig
dd0f61f081
MT#7377 Fix pilot subscriber tagging.
...
Only set is_pbx_pilot on subscriber creation if there is no pilot yet.
11 years ago
Andreas Granig
5b8d597dc3
MT#5879 Fix email template in customer edit.
11 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
11 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
11 years ago
Andreas Granig
2f06618362
MT#4019 Implement C2D in api via /api/callcontrols
11 years ago
Irina Peshinskaya
2f67a948ac
MT#5879 Contract buttons and generate_invoice.
...
Remove contract buttons from Reseller form work. Fix generate_invoice
error found in run on clean new vm.
11 years ago
Irina Peshinskaya
76b059fae7
MT#5879 Email templates buttons for contract forms.
...
Contract::edit is common for all contracts. For peering contract without
email templates works ok too.
11 years ago
Andreas Granig
7089121482
MT#7377 API: Add filter for is_pbx_pilot.
11 years ago
Andreas Granig
c36a127a97
MT#7495 Add customerpreferences rel and fix doc.
11 years ago
Andreas Granig
8fe6449bdb
MT#7469 Prepare for SPA client certificate auth
11 years ago
Andreas Granig
ac736caa00
MT#7495 Allow subadmin to configure contract prefs
11 years ago
Andreas Granig
151b77692f
MT#7487 API: filter subscribers using profile_id
11 years ago
Andreas Granig
e136be4c68
MT#7485 API: filter soundsets for name
11 years ago
Irina Peshinskaya
9f5bf1ad35
MT#5879 Changes related to invoice email template.
...
All schemas are taken as it was before.
11 years ago
Irina Peshinskaya
6d6484a645
MT#5879 Changes related to invoice email template.
11 years ago
Irina Peshinskaya
576f5e0dea
MT#5879 Return invoice_email_template into customer creation form.
11 years ago
Irina Peshinskaya
3ee4f3e61d
MT#5879 Implement countr name in controller.
11 years ago
Irina Peshinskaya
1ab3500062
MT#5879 Us common invoice logic for invoice amouns. Add country name.
11 years ago
Irina Peshinskaya
a72adaea52
MT#5879 Invoice generation fixes.
...
Use correct name for zone fees cost.
Fix condition for char column in script.
Add root element to xml before XPath parsing to avoid errors about
the same elements on root level.
Set timezone to local. Maybe it shouldn't be, but then should be changed
in both used methods.
Todo:
Country name for generation from web.
Clarify and implement if neccessary generation of existing invoice from web.
Now invoice for the same period created.
11 years ago
Irina Peshinskaya
9965197657
MT#5879 Fix invoice date insertion in DB
11 years ago
Irina Peshinskaya
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
11 years ago
Irina Peshinskaya
a050e6777e
MT#5879 Fix for invoices.serial unique index
11 years ago
Irina Peshinskaya
c60c9af216
MT#5879 Error in not inflated date values.
...
But other seems as working.
11 years ago
Irina Peshinskaya
17f678dee2
MT#5879 Separate invoice generation from sending and some fixes.
...
Commit:
Separate invoice generation and sending, although still can be
together id options tell.
Remove dev method call, which made invoice list broken.
Some little format changes.
Todo:
Add country_name into invoice generation script.
Care about email template correct process vars.
11 years ago
Irina Peshinskaya
539a057366
MT#7233 Implement basic number block CRUD.
...
Initialise datatables_multifield value with empty array json string
for create form.
11 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
5957189fcc
MT#7469 Cleanup url handling for dev provisioning.
11 years ago
Andreas Granig
846805010e
MT#7453 Finish Cisco SPA Directory Service
...
Show display name and extension.
Order by display name.
Show 10 entries at once.
Search by display name.
11 years ago
Andreas Granig
fa42fa8805
MT#7377 Fix setting display name in subscriber.
11 years ago
Andreas Granig
f2ae1664f4
MT#7453 Basic SPA directory service. WIP.
...
Allows paging and search, but needs to properly order by display
name (needs refinement of query).
11 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.
11 years ago
Andreas Granig
9679565f50
MT#5879 Fetch call list for invoices. WIP.
11 years ago
Andreas Granig
e0bb62f82b
MT#7323 API: fetch sound handles via REST
11 years ago
Andreas Granig
d3bdce9261
MT#7415 Clear usr_prefs when deleting ncos levels.
11 years ago
Andreas Granig
1b08f6e3ac
MT#7395 API: implement NCOS level and pattern
...
Manage levels and patterns via REST.
11 years ago
Gerhard Jungwirth
8f5c6d0907
MT#7239 API faxserversettings
11 years ago
Andreas Granig
126cf25581
MT#7405 API: allow to filter folder in voicemails
11 years ago
Andreas Granig
e8853cf869
MT#5349 API: Fix domain activation for xmpp
11 years ago
Andreas Granig
98364a891b
MT#5879 Rework VAT handling in invoices.
11 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
12fec06a68
MT#5879 Making invoice creation work w/ real data
...
Costs etc are still wrong, but we'r getting somewhere.
11 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.
11 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.
11 years ago
Andreas Granig
5cbb82747a
MT#5879 Align invoice template to clean db schema
11 years ago
Andreas Granig
fef92c26a0
MT#5879 Handle preview of unsaved invoice tmpl
11 years ago
Andreas Granig
02e58b0360
MT#5879 Completely redo invoice template handling.
...
Use a more clean default template.
Properly render page numbers.
Cleanup cleanup cleanup.
11 years ago
Andreas Granig
cf58b778ee
MT#5879 Invoice template translation.
11 years ago
Andreas Granig
807e77855d
MT#5879 Rework dummy variable handling for invoice
11 years ago
Andreas Granig
fa07184a46
MT#5879 Rework rendering PDF preview.
11 years ago
Andreas Granig
fdde82379b
MT#5879 Store invoice templates on save.
11 years ago
Andreas Granig
a88724c0c4
MT#5879 Cleanup invoice template editing. WIP.
...
Fetching default template from file works.
TBD: saving, viewing from saved, previewing PDF.
11 years ago
Andreas Granig
b6533b1a1f
MT#5879 Redesign invoice template meta handling.
...
Properly handle create/update/delete of template meta info.
11 years ago
Andreas Granig
2d49153102
MT#5879 Fix redirect chain and utf8 handling.
11 years ago
Irina Peshinskaya
6b0cd3b3a7
MT#5879 Fix broken billing_profile variable scope.
...
And add bp as documented var. Should be changed to lorem based later.
11 years ago
Irina Peshinskaya
c86a8a04cb
MT#5879 Add billing profile object to default and data for generation.
...
And fix page numbers.
11 years ago
Gerhard Jungwirth
71aa24e791
MT#7239 enforce boolean context
...
when updating a JSON::Boolean
11 years ago
Irina Peshinskaya
b0f1d9f26e
MT#7265 Fix "auto" signature.
...
Repetition of the commit 1dd2622b94
.
11 years ago
Andreas Granig
1dd2622b94
MT#7265 Fix "auto" signature.
...
Otherwise it's not executed, and the back button is broken.
11 years ago
Gerhard Jungwirth
6dc39e4178
MT#7191 fix unicode warnings of module
...
workaround is to just load Geography::Countries before Sipwise::Base
which loads perl5i which loads utf8::all
11 years ago
Gerhard Jungwirth
1b0f0ead8f
MT#7119 remove redundant collection sort
11 years ago
Andreas Granig
601ada23bd
MT#7233 Implement basic number block CRUD.
11 years ago
Gerhard Jungwirth
7a79ad2fec
MT#7211 API autoattendants
11 years ago
Andreas Granig
378f53c806
MT#7191 Use DT to select contact country.
11 years ago
Irina Peshinskaya
9cfd974e70
MT#5879 Preparations to merge into master
...
Part 2.
11 years ago
Irina Peshinskaya
cd07b84a1c
MT#5879 Preparations to merge into master
...
Part 1.
11 years ago
Irina Peshinskaya
05f54645c8
MT#5879 Some small changes of big buttons
11 years ago
Irina Peshinskaya
ab6414c589
MT#5879 Rename clients to customers.
...
And show message about updated invoice template.
11 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
11 years ago
Irina Peshinskaya
088ca06ea7
MT#5879 Fix invoice deletion after conditional fields.
11 years ago
Irina Peshinskaya
410ec47909
MT#5879 Commented out client list frm invoices list interface.
11 years ago
Irina Peshinskaya
7465db49d4
MT#5879 Send invoice to email functionality draft.
...
Todo:
Add invoice email into db. Send email functionality.
Conditional fields in HFH.
Expand accordions on demand.
11 years ago
Irina Peshinskaya
59b7028055
MT#5879 Form with datatable field for one page app.
11 years ago
Irina Peshinskaya
f9d0ac1bd8
MT#5879 Save state before alternative interface.
11 years ago
Irina Peshinskaya
4dc64f5853
MT#5879 Attempt to fix invoice/template
...
Also configuration of cancel button on confirm modal.
Fix contract-balance getting.
Fix page numbers in generated invoice.
11 years ago
Irina Peshinskaya
4ed50bd105
MT#5879 Lost part of merge on master head.
11 years ago
Irina Peshinskaya
4a1b5c005e
MT#5879 Few small fixes of some some already fixed errors.
...
Some small fixes which should make behavior much more clear.
I already did some of them them today, but seems like lost somwhow.
11 years ago
Irina Peshinskaya
70ae0c01c9
MT#5879 Invoice deletion draft
11 years ago
Irina Peshinskaya
8db8a16f7f
MT#5879 Clean up queries a little.
11 years ago
Irina Peshinskaya
fb2ac0dc9a
MT#5879 Ajax form works
11 years ago
Irina Peshinskaya
6c4f2e7d2b
MT#5879 Web generation is working.
...
For further testing and improvements.
11 years ago
Irina Peshinskaya
d22ade4c4e
MT#5879 Generation from web: not tested yet.
11 years ago
Irina Peshinskaya
c1d5983c71
MT#5879 Forgot to save proper changes in controller.
11 years ago
Irina Peshinskaya
83db5c1b93
MT#5879 Multiple attachments and further web generation.
11 years ago
Irina Peshinskaya
5f0c59d3a7
MT#5879 InvoiceGeneration through web.
...
Todo: Send all contact->contracts invoices in one email from cli script.
Review invoice client ID - it should be contract Id, not contact Id
Review invoice data gathering
Complete generation
11 years ago
Irina Peshinskaya
7ab5ab3c85
MT#5879 Filter invoices by client. Generate form.
...
Left to do:
fix filtering by date, if field isn't a eppoch
generation
mark selected client in clients list. add big button to clear client selection
11 years ago
Irina Peshinskaya
f1faaeaf95
MT#5879 Commit doesn't work. Half of form rename.
11 years ago
Irina Peshinskaya
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
11 years ago
Irina Peshinskaya
c39d6a92a8
MT#5879 View invoices
11 years ago
Irina Peshinskaya
1fd67eb308
MT#5879 Send invoices via email.
...
Text of the message should be conformed with sales. Also it would be nice to apply templates to email body.
Only smarthost is working, spent 3 hours with exim debug and while left with smarthost. Attachments and so one looks good.
Removed fake data.
Fix data parameter. Tested data and client contracts.
11 years ago
Irina Peshinskaya
0d39395842
MT#5879 Script to generate invoices from templates.
11 years ago
Irina Peshinskaya
1659af9ca8
MT#5879 Save calls queries.
...
Stopped on clients conditions.
11 years ago
Irina Peshinskaya
96bb4cb5b8
MT#5879 Use get_contract_rs as clients list sub.
...
To be replaced by direct query.
11 years ago
Irina Peshinskaya
7720d53bb1
MT#5879 Separate invoice and invoice template interfaces.
11 years ago
Irina Peshinskaya
d87e6b297b
MT#5879 Replace invoices to separated controller.
...
CRLF windows git makes issues with on VM run. Some files were converted manually.
11 years ago
Irina Peshinskaya
dbf2b5414a
MT#5879 Templates alignments.
11 years ago
Irina Peshinskaya
5e30919042
MT#5879 Draft of calls pages in template
...
1. Add calls templates, data methods.
2. Complete new invoices look.
3. Remove php files from svg edit
11 years ago
Irina Peshinskaya
e9083ac5b2
MT#5879 Fix datatables (wasn't commited, default template
11 years ago
Irina Peshinskaya
6a63b8405c
MT#5879 Template.
...
Fix datatables for invoice.
11 years ago
Irina Peshinskaya
760e07c8ec
MT#5879 Clear Alerts
...
Attempt to enable edit spans or grouped texts. Seems like all texts should be ungrouped, to be ditable
11 years ago
Irina Peshinskaya
f877c908a6
MT#5879 Save wokring interface, but with alerts.
11 years ago
Irina Peshinskaya
9aa35efdc9
MT#5879 Save state before new default template.
...
Template form shown on click.
Fix accordion intialization after ajax list refresh
Add confirmation on default template applying
11 years ago
Irina Peshinskaya
66376a9934
MT#5879 Well, seems like all template relative info is working now again.
...
What need n this area:
1. How about form "partial" validation - I need different fields checking of the item data for different actions.
2. To make it really DRY I need somehow alias columns in resultset data. Accessors don't work.
11 years ago
Irina Peshinskaya
135dad02d5
MT#5879 Draft of invoice template movement to reseller.
...
1.Remove curly brackets from svg template
2.Move invoice template templates to their own folder and change pathes accordingly.
3.Move invoice_template functionality to Reseller. maybe should be separated in new Controller.
4.Move InvoiceTemplate form to its own sppace from Customer
11 years ago
Irina Peshinskaya
89e6533d5b
MT#5879 Remove artefacts from datatables vars and make possible deactivate all invoice templates.
11 years ago
Irina Peshinskaya
f6fe84df61
MT#5879 Datatables is shown now for invoice data but search doesn't work. Anyway switch now to invoices generation and will return to datatables later.
...
Done:
1.Form separated for future possible load through ajax.
2.Activity switch in invoice templates table
11 years ago
Irina Peshinskaya
9228b2c5cc
MT#5879 Well, now we delete, update and add templates almost in order.
11 years ago
Irina Peshinskaya
2d334de084
MT#5879 Apply newly created id to worm to continue work with cretated template.
11 years ago
Irina Peshinskaya
4cdaa3199b
MT#5879 Fix double encoded template string for saving, adapted deletion confirmation to ajax loaded listing
11 years ago
Irina Peshinskaya
bc0ce4bee0
MT#5879 Loading of template data to form and to server in progress. Other left: confirm on deletion )href is not used, would be good to implement using datatables at least for invoice data, and use dynamic invoice data for online generation.
...
svg-edit: would be very nice to implement editing of rows amount and text in text boxes, and as a very cool feature - applying styles. But next step will be cron.
11 years ago
Irina Peshinskaya
bf5d8ccf66
MT#5879 Save intermediate state with solutions which are going to be removed.
11 years ago
Irina Peshinskaya
db24de1c0d
MT#5879
...
1. Complete embedding bitmap images
2. Change Work with layers - always show currently selecetd, apply initial display to others. Select first on start automatically.
3. Change preview work to fetch from server scheme, to enable preview in Explorer. Maybe should be applied only to Explorer?
11 years ago
Irina Peshinskaya
c966c842de
MT#5879
...
Some drafts:
1. Configure embeding bit-map images in svg-edit
2. Remove zooming on mousewheel in svg-edit
3. Configure svg-edit a little to make interface not such full of features. Added main-button - not hided now. maybe should be?
4. Found lost </iframe> - fixed styling and javascript in invoice interface
5. Separate templates list in new template to enable ajax loading after deletion and active selection. Added different buttons )
And other small fixes and changes
11 years ago
Irina Peshinskaya
ed6861b597
MT#5879 Use identifier for datatables helper initialization.
11 years ago
Irina Peshinskaya
3e557152bc
MT#5879 Separate actions for invoice templates. Saving and view should be separated too. Rename ttemplates: calls to invoice and "template" according to content.
11 years ago
Irina Peshinskaya
6fdd7d43ab
MT#5879 Save intermediate state with separation of invoice_template logic for further usage in admin and customer areas.
11 years ago
Irina Peshinskaya
7f6ce297b4
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
4fdee6478b
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
44e61d95f6
MT#5879 commented out data, faked for multipage document
11 years ago
Irina Peshinskaya
d36699c10e
MT#5879 Pages generated by template Toolkit first version
11 years ago
Irina Peshinskaya
53f5c06257
MT#5879 Start with PDF::WebKit
11 years ago
Irina Peshinskaya
04987fcb5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
11 years ago
Irina Peshinskaya
f45e5f6ada
MT#5879 Customer.pm wasn't saved.
11 years ago
Irina Peshinskaya
a912f1fc49
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
4f19965240
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
7c3a045ddc
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irina Peshinskaya
6e743ae818
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
d8a55f5909
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
f5dc2028f7
MT#5879 commented out data, faked for multipage document
11 years ago
Irina Peshinskaya
54c02e384d
MT#5879 Pages generated by template Toolkit first version
11 years ago
Irina Peshinskaya
21e2f2b38f
MT#5879 Start with PDF::WebKit
11 years ago
Irina Peshinskaya
bb69a3ef5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
11 years ago
Irina Peshinskaya
3e537588ee
MT#5879 Customer.pm wasn't saved.
11 years ago
Irina Peshinskaya
d814805244
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
468420909d
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
a1cf4235ef
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irka
792b6a5328
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Irka
0622c959eb
MT#5879 Very basic logic without storing to db. But seems as will be able to make it generic against template types.
11 years ago
Irka
50b89773da
Save state with incorrect, but fast svg template apply
11 years ago
Irka
95e5eaf2b0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
11 years ago
Irka
c1d2a54fe1
test commit
11 years ago
Gerhard Jungwirth
09ac08508b
MT#7119 API document sortable columns
...
for collections, as query parameters
11 years ago
Gerhard Jungwirth
c93c8eeb6d
MT#7119 fix broken soundfilerecordings collection
...
when auto returns false, the catalyst chaining is aborted
11 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
11 years ago
Andreas Granig
388cd7cca3
MT#7175 Skip collection in doc if role unspecified
11 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
11 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
11 years ago
Gerhard Jungwirth
cd9177b60f
MT#7051 set webusername to NULL if empty
...
because this does not trigger the unique constraint
(webuser_dom_idx) and it makes sense, because one cannot
login with an empty webusername anyway.
11 years ago
Gerhard Jungwirth
ae1898784f
MT#6841 Sound Set Customer section conditional
...
only when pbx is enabled
or a customer was already set, giving the opportunity to unset it.
11 years ago
Gerhard Jungwirth
7333869c54
MT#7113 API subscribers: provide hunt-policy/timeout
...
for a subscriber with is_pbx_group=true
11 years ago
Andreas Granig
2389ad4455
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
df9d103893
MT#6827 Deprecate linerange_num field.
...
In hind-sight, this field appears like an ugly hack to determine
the proper line range in the aaData array fetched via ajax. However,
we already have the correct range_id, and using the index of the aaData
has so many possible side effects to break everything, that I'm wondering
what I was thinking when adding it :p
11 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
11 years ago
Andreas Granig
60de7de4a7
MT#7067 API: Implement sound file handling.
...
Create new sound files.
Update sound files.
Delete sound files.
11 years ago
Andreas Granig
d7735623bb
MT#7077 Fix dots in SIP usernames for SPAs.
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
b0993b62b9
MT#3939 API: Implement trusted source handling.
11 years ago
Andreas Granig
1cc0aa69f4
MT#7039 API: link subscriberregistrations
...
- Properly join voip_subscribers and voip_domains
- Link relations to subscriber
11 years ago
Andreas Granig
74d3458e66
MT#7061 API: implement reminder handling.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
7cbdb2762f
MT#3947 API: Implement voicemail settings.
...
Change email, pin, attach and delete via REST.
11 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
11 years ago
Andreas Granig
fead09e4b5
MT#4967 Fix editing of non-pbx subscribers.
11 years ago
Andreas Granig
44a3b2da1c
MT#4967 Fix subadmin pbx alias number moving.
...
Allow subadmins to move numbers from extension back to subadmin.
11 years ago
Andreas Granig
1a002c506a
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
11 years ago
Gerhard Jungwirth
14d6b1db63
MT#6985 API more subscribers filters
...
by customer_id, is_pbx_group, is_admin
11 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
11 years ago
Andreas Granig
61eb05dd13
MT#3941 API: fix voicemail filtering.
11 years ago
Andreas Granig
4fe7db30c4
MT#3941 API: Prettify voicemail descriptions.
...
Properly link between the corresponding collections.
11 years ago
Andreas Granig
6e5e1b53c4
MT#3941 API: Implement voicemail message handling.
11 years ago
Gerhard Jungwirth
f7ebfe07c1
MT#3937 API speeddials put/patch
11 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
11 years ago
Gerhard Jungwirth
139dabf562
MT#6827 API pbxdevice* improvements
...
search queries, description and form validation
11 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
11 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
11 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
11 years ago
Andreas Granig
42031a1627
MT#6913 API: prevent reseller profile deletion.
...
Reject if reseller_edit is disabled in config.
11 years ago
Andreas Granig
f30518384b
MT#6913 API: fix syntax error
11 years ago
Andreas Granig
84cc7c36c9
MT#6913 API: fix profile(_set) deletion.
11 years ago
Andreas Granig
19d6b47796
MT#6913 API: implement profile handling.
11 years ago
Andreas Granig
427bd2e312
MT#6913 API: Basic management of profile sets.
11 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.
11 years ago
Andreas Granig
954367aad5
MT#6827 Update api description for pbxdevices
11 years ago
Andreas Granig
cd98d27ad7
MT#6909 API: implement email template management.
11 years ago
Andreas Granig
1da7f9a7bc
MT#6789 API: validate email template id
...
Its reseller needs to match the customer contact's reseller.
11 years ago
Andreas Granig
88c6e4d78f
MT#6789 API: handle subscriber email and profile.
...
Handle new email field.
Fix profile handling on subscriber creation.
11 years ago
Andreas Granig
e9d30a3b89
MT#6773 Remove DDP, shortcut for Data::Printer
11 years ago
Andreas Granig
976843e55e
MT#6827 API POST/PUT/PATCH/DELETE of field devices
11 years ago
Gerhard Jungwirth
d2a3348a78
MT#6827 API pbxdevices POST
...
wip
11 years ago
Gerhard Jungwirth
816fbcefb6
MT#6827 API pbxdevices GET
...
wip
11 years ago
Gerhard Jungwirth
438fba5855
MT#6827 fix missing data in customer details
11 years ago
Andreas Granig
a5fd61fe72
MT#6871 FIx subs creation if contract.external_id
...
Stupid copy/paste error using wrong contract var.
11 years ago
Andreas Granig
1e235bef44
MT#6789 Fix empty string as email template id.
...
Causes creating customers to fail.
11 years ago
Andreas Granig
4341a39cf6
MT#6871 Fix subscriber editing.
...
- Migrate from custom subscriber struct to normal resultset.
- Properly handle boolean input in form processing (convert to
int, otherwise formhandler fails while cloning when doing the
processing).
- Properly handle profile set editing in API
- Cleanup of log messages
11 years ago
Andreas Granig
8823a94c8d
MT#6693 Clear subscriber prefs on profile change
...
If a subscriber changes from one profile to another, clear all
preferences which are not part of the new profile.
11 years ago
Andreas Granig
9097768d58
MT#6773 Remove any Data::Printer calls
...
Printing a hash with Data::Printer causes at least the API to not
return the hash, and back-porting libclone-perl to wheezy to fix it
caused the whole panel to get stuck.
11 years ago
Andreas Granig
79e2274a4b
MT#6789 Clear old password on logged-in reset.
...
That way we force the user to change the pass, otherwise he can't
log in anymore.
11 years ago
Andreas Granig
b4ef15ded2
MT#6693 Deny resellers edit attribs of subprofiles
...
Only basic information (name, default profile) can be changed if
profile_sets.reseller_edit is set to 0 in the panel config.
11 years ago
Andreas Granig
76cd2f2a33
MT#6693 Let reseller be chosen on profset cloning
11 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
11 years ago
Andreas Granig
c5c8f1089b
MT#6789 Add switch to allow anonymous pwd recovery
11 years ago
Andreas Granig
fd1ce99ea1
MT#6789 Don't clear old password on pwd reset.
11 years ago
Andreas Granig
2bf4fe1e92
MT#6831 Implement global password policy.
11 years ago
Andreas Granig
6b6d5e0aa7
MT#6789 Add "forgot password" feature for subs.
11 years ago
Andreas Granig
bf5ec092bb
MT#6789 Add subscriber email and password recovery
...
- subscribers can hold an email address
- implement process for web password recovery
11 years ago
Andreas Granig
507402c561
MT#6789 Choose email template for customer - WIP
...
Select an email template for subscriber creation and for password reset
when creating or editing a customer.
WIP, not compiling yet by intention.
11 years ago
Andreas Granig
02610faa68
MT#6789 Implement email template management.
...
Basic functionality to create, edit and delete email templates.
11 years ago
Andreas Granig
5aea5658df
MT#6693 Remove CF/prefs in case of profile edit
...
Make sure to clear preferences and CF mappings if they get
unselected in the profile during editing.
11 years ago
Gerhard Jungwirth
24ad811460
MT#6695 error checks on generating certificates
11 years ago
Gerhard Jungwirth
2fc4743183
MT#6497 API use billing subscriber id on all places in cf_*_sets
...
that is:
- api/cfdestinationsets
- api/cftimesets
11 years ago
Gerhard Jungwirth
63ac99218e
MT#6497 API cfmappings PUT, PATCH
11 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
11 years ago
Andreas Granig
c1307b1cbe
MT#6693 Fix extension creation without profile set
11 years ago
Andreas Granig
ceb53a1837
MT#6693 Fix subadmin subscriber editing.
11 years ago
Andreas Granig
a3f944e777
MT#6693 Show extension vs number for customer subs
11 years ago
Andreas Granig
560bf47ab1
MT#6693 Fix PBX group editing.
11 years ago
Andreas Granig
9aead3f255
MT#6693 More subscriber editing rework.
...
- Update base cli of extensions on pbx admin primary number change.
- Use proper forms (hopefully) for editing various pbx subscriber types.
11 years ago
Andreas Granig
16b44673f4
MT#6693 Rework PBX subscriber/group handling.
11 years ago
Andreas Granig
f197d4a665
MT#6693 Fix profile(set) editing of pbx subs.
11 years ago
Andreas Granig
e98c94d1e8
MT#6693 Remove reseller "back" param workaround.
11 years ago
Andreas Granig
17d4140b64
MT#6693 Add separate form for subadmin pbx flow.
11 years ago
Andreas Granig
40663ebf56
MT#6693 Filter call-forwards for subs profiles.
11 years ago
Andreas Granig
9e57582662
MT#6693 Let admin/reseller clear subs profiles
11 years ago
Andreas Granig
202b9c9f39
MT#6693 Let subadmins edit subscriber profile.
11 years ago
Andreas Granig
8c867420e8
MT#6693 Rename profile categories to profile sets.
11 years ago
Andreas Granig
bc4bffc930
MT#6693 Align subs profile CRUD to catalog schema.
11 years ago
Andreas Granig
4d430b7578
MT#6693 Introduce profile catalogs.
...
Profiles are grouped into catalogs, so a subscriber should get a
catalog assigned, and from there he can choose his own profile.
11 years ago
Andreas Granig
a89b8ead71
MT#6693 Basic pref filter based on subs profiles.
11 years ago
Andreas Granig
4cf62bc8cd
MT#6693 Assign profiles to subscribers - WIP.
...
TODO:
- Subadmins must not see a "Create" button in profile selection
- Can sub(admins) unset a profile? What's the default?
11 years ago
Andreas Granig
54a56b5b00
MT#6693 Properly handle sub profile attributes.
...
Store selected attributes.
Let them be edited.
Correctly clone attributes.
11 years ago
Andreas Granig
a9ffa23288
Subscriber profile management. WIP.
11 years ago
Andreas Granig
f88eb321c2
MT#6687 Use transaction when cloning set.
11 years ago
Gerhard Jungwirth
2dd40a8999
MT#6497 API cftimesets
11 years ago
Gerhard Jungwirth
d4cf98646d
MT#6497 API cfdestinationsets
11 years ago
Gerhard Jungwirth
237ebdad95
MT#6665 show error on parsing billing fees
11 years ago
Gerhard Jungwirth
b343f16e5e
MT#6497 API: edit callforwards
...
we use the billing.voip_subscribers id now (as everywhere else)
11 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
11 years ago
Gerhard Jungwirth
4eeedf36fe
MT#6703 normalize CRLF to LF
11 years ago
Gerhard Jungwirth
3bdc7c74b9
MT#6703 fix merge conflict
...
and remove one more class dependency (see MT#6559)
11 years ago
Irina Peshinskaya
84feeb1542
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
f5ce7e9db5
MT#6461 Let resellers rebrand their panel
...
Implement view for resellers to edit their css.
11 years ago
Irina Peshinskaya
021b0af430
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
dfa5a2d1de
MT#6559 remove usage of CLASS
...
so in a future step we can remove this from
Sipwise::Base
11 years ago
Gerhard Jungwirth
21a5d7ee37
MT#6195 API rwr: Give proper reseller access
...
see also MT#6479
11 years ago
Andreas Granig
861e38b649
MT#6283 Add more query params to existing colls
11 years ago
Andreas Granig
45a42b9b61
MT#6479 API: Allow resellers to access some funcs.
11 years ago
Andreas Granig
7cbb8633ab
MT#6461 Let admin rebrand reseller.
...
Reseller rebranding itself not yet there.
11 years ago
Andreas Granig
32f704451a
MT#6459 Fix peering contract and peer auth pref.
...
- Properly call localization functions on error when changing
peering contract.
- Properly handle preference update in case of empty value.
Reported by Marc Storck on spce-users.
11 years ago
Irina Peshinskaya
bd7d18c49b
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
d313bc7559
MT#4369 callflow: count total correctly
...
this group_by is ok, because it is optimized by mysql and the index on
call_id is still used
11 years ago
Gerhard Jungwirth
6f368e820f
MT#6195 API: rewriterule/rewriteruleset: DELETE
...
and remove some redundant checks (done by formhandler)
11 years ago
Gerhard Jungwirth
31e6c5fa71
MT#6195 API: ability to handle rules directly in rewriteruleset
11 years ago
Gerhard Jungwirth
c7c1e012a9
MT#6195 API: adapt RewriteRules to search framework
...
see MT#6283
11 years ago
Gerhard Jungwirth
ede3d43a42
MT#6195 API: rewriterule/rewriteruleset: POST
11 years ago
Gerhard Jungwirth
11e421dc08
MT#6195 API: rename rewrite -> rewriterulesets
11 years ago
Gerhard Jungwirth
83fa4552f2
MT#4369 use min_timestamp
...
to really display the time, the call started
11 years ago
Gerhard Jungwirth
720e70b939
MT#4369 optimize callflow using a custom query
...
we need to disable the sorting option on the columns though
11 years ago
Gerhard Jungwirth
72ae4a5471
MT#4369 optimize mysql performance on callflow page
...
distinct is faster than group by here
drawback: we cannot select min(timestamp) anymore
query is still very slow, when filter is used
11 years ago
Irina Peshinskaya
34f77792c9
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
...
Conflicts:
lib/NGCP/Panel/Role/API/Customers.pm
11 years ago
Andreas Granig
259cff4f18
MT#4235 Fix some Jitsi provisioning options.
11 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
11 years ago
Irina Peshinskaya
f0263620e4
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
36f2be7689
MT#6195 API: rewrite: GET, PUT and PATCH implemented
11 years ago
Irina Peshinskaya
8508efc754
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Alexander Lutay
1c8ff01cc1
MT#5083 Fixes for several SendFax WEB interface issues
11 years ago
Irina Peshinskaya
f5b02e48f0
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Irka
3e393f1f5d
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Irka
631a069a02
MT#5879 Very basic logic without storing to db. But seems as will be able to make it generic against template types.
11 years ago
Andreas Granig
315fe4bce9
MT#6047 Implement system-wide field dev overview.
...
- Allows to search for macs
- Allows to delete devices on a global level, if needed
11 years ago
Andreas Granig
9b9b4c0628
MT#5601 Update field-device lines on model updates
...
- Update line ranges on model edit instead of re-creating them
to avoid dropping line range assignments of field devices
- Remove field device assignments which are out of key ranges
or use a unsupported feature after the model update.
11 years ago
Andreas Granig
432080d384
MT#5929 More external_id fixes.
...
Set external_id to NULL in db if it's empty.
Properly clear ext_xxx_id preferences if external_id gets unset.
11 years ago
Andreas Granig
4456bd02e4
MT#5929 Fix ext_subscriber_id handling.
...
When created via customer view, use external_id from form.
11 years ago
Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
11 years ago
Andreas Granig
74aeb7938d
MT#5929 Fix lock, ext_xxx_id and dbalias handling.
...
- ext_subscriber_id and ext_contract_id preferences weren't populated correctly.
- subscriber lock preference wasn't populated correctly
- old dbalias entries weren't cleared correctly for API calls
11 years ago
Irka
e923b71022
Merge remote-tracking branch 'origin' into ipeshinskaya/InvoiceTemplate2
11 years ago
Andreas Granig
c61b9eec5d
MT#3933 API: Handle subscriber lock/termination
11 years ago
Andreas Granig
71b8d2e957
MT#5967 Validate (man_)allowed_ip input.
...
Check for valid v4/v6 address and optional netmask.
11 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.
11 years ago
Andreas Granig
eb1464f558
MT#3925 Return json error for 403/404 on /api/.+
...
Return as usual a json struct with code and message under the /api/ path.
Otherwise an API client would get the html pages, which is
pretty pointless.
11 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
11 years ago
Andreas Granig
bc08567683
MT#5811 Properly set websocket paths.
...
To work around ssl certificate issues with wss connections, use
a single entry point for wss to the system and let nginx do the
internal proxying to the correct addresses.
11 years ago
Irka
77136247f0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
11 years ago
Irka
5818d51230
test commit
11 years ago
Andreas Granig
0218de9cc0
MT#5833 Update italian translation.
11 years ago
Andreas Granig
0f26d8fcbe
MT#3961 Update German localization.
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
9587330201
MT#5251 Optimize billing fees upload.
...
Bring down upload time from 180s to 16s by optimizing purge of existing
ones (one query instead of one-by-one deletion) and optimizing upload
in batch (one query instead of one-by-one deletion).
12 years ago
Gerhard Jungwirth
f99ce65102
MT#5859 let subscriber change his webpassword
12 years ago
Andreas Granig
8c3a279247
MT#5473 Fix deleting peering groups.
...
Properly propagate deletion of hosts and their prefs, as triggers
don't hit in if they are deleted via constraints, so they leave
orphaned entries in the kamailio db.
12 years ago
Gerhard Jungwirth
360d622bcc
MT#3961 check language before login, map en to i-default
...
otherwise a priority of en is not considered
12 years ago
Andreas Granig
b88d36bdf0
MT#5083 Implement sendfax in ngcp-panel.
12 years ago
Andreas Granig
eaad8dfda5
MT#3961 Rework German localization.
...
Some fixes along the path where strings where not prepared for
localization yet, or element widths were too small.
12 years ago
Andreas Granig
33001ef88a
MT#5811 Prettify roster and add chat window
12 years ago
Andreas Granig
d1bcc66639
MT#5811 Basic framework for sip/xmpp via WS
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
Gerhard Jungwirth
d989abc8f9
MT#3961 Translate everything
12 years ago
Gerhard Jungwirth
9040831ecd
MT#3961 more translations
12 years ago
Gerhard Jungwirth
1f37a80b84
MT#3961 Provide Dropdown to change the language
...
We save this setting in a session variable and a cookie
valid for 3 months
12 years ago
Gerhard Jungwirth
1bf73a7bb6
MT#3961 Prepare for localization
12 years ago
Gerhard Jungwirth
029c51fad1
MT#5661 change selection of customers when bprof is updated
...
only those customers which have this billing profile
currently active are considered
this concerns the change of the prepaid flag
12 years ago
Andreas Granig
f31c2fcc88
MT#5661 Update prepaid pref on bilprof change
...
If prepaid flag is changed in billing profile, all subscribers
of all contracts currently having this profile are updated.
If customer changes from prepaid profile to postpaid and vice versa,
all subscribers of this contract are updated.
If subscriber is created either in subscriber or customer view,
the prepaid pref is set if billing profile of its customer is
prepaid.
12 years ago
Andreas Granig
6e60f43306
MT#5599 Fix pwd-based api auth.
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
0fd10e018a
MT#5575 Clear audio cache only on specific service
...
Use appserver for system sets and pbx for customer sets.
12 years ago
Andreas Granig
b098c10f87
MT#5575 Properly clear pbx audio cache for moh/pbx
12 years ago
Andreas Granig
de9fc52c64
MT#5575 Clear audio cache on sems-pbx too.
12 years ago
Andreas Granig
ce01267079
MT#3933 API: Check for max_subscribers on create
12 years ago
Andreas Granig
aa5eee69a0
MT#5575 Migrate clear_audio_cache to Sems helper.
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
Gerhard Jungwirth
ef6bfee65b
MT#4967 update cloud_pbx_base_cli and other settings on cloudpbx-subscribers
...
This includes: primary_number, dbaliases, cfs
12 years ago
Gerhard Jungwirth
ef80d1967e
MT#4967 change primary number of extension-subscribers by extension
...
see comment 4967#c31031
12 years ago
Gerhard Jungwirth
b0d1d25301
MT#4967 update all cloudpbx-subscribers on change of head one
...
see comment 4967#c31031
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
1d873fce27
MT#4229 Remove dump from logfile.
...
The stack-trace is undecodeable from syslog, and it usually doesn't
provide any additional infos on top of the actual error message.
12 years ago
Andreas Granig
329b831918
MT#5199 Offer API CA Cert for download too.
12 years ago
Andreas Granig
883cd9a8b3
MT#5199 Store client cert in DB and offer P12 fmt.
...
For browser imports, you need a PKCS12 format, so offer the cert
in that format for download also.
12 years ago
Gerhard Jungwirth
f316797857
MT#4967 "Unsteal" number on subadmin terminate
...
When a subscriberadmin terminates a subscriber, the alias_numbers should
move back to the subscriberadmin
12 years ago
Gerhard Jungwirth
dfe18e5648
MT#4967 Do not show password on edit
...
but update it, if one is supplied
sub edit_master is now explicitly denied to subscribers, as there is already
a lot of conditional logic there, we should consider to handle a logged in
subscriber separately. (This option is not exposed to subscribers anyway.)
See also 4967#c28533
12 years ago
Gerhard Jungwirth
9fed07646d
MT#4967 Disallow subscriberadmin to change status
...
see 4967#c28533
12 years ago
Gerhard Jungwirth
2c7a0c4e6b
MT#4967 Let subadmins steal numbers
...
A subadmin can use the field alias_select to select any number of alias
numbers, which he is allowed to manage. If he selects one, it moves
to this subscribers alias_numbers. If he unselects one, it moves to his
own alias numbers.
12 years ago
Andreas Granig
7e3a2997f4
MT#5355 Implement peer_auth api calls to sems.
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
Andreas Granig
7a782eb4fb
MT#5255 API: Create roles for resources.
...
Collections and Items have common functions (e.g. hal_from_xxx),
so move them into separate roles.
12 years ago
Andreas Granig
458852f70e
MT#5255 API: use local time for timestamps.
12 years ago
Andreas Granig
02998dd688
MT#3949 API: base-line for system contracts.
12 years ago
Andreas Granig
6bb57f08f2
MT#3997 Finish API skeleton.
...
We should now have working baselines for
- collections (SystemContacts)
- items (SystemContactsItem)
with support for
- collections: OPTIONS, HEAD, GET, POST
- items: OPTIONS, HEAD, GET, PUT, PATCH, DELETE
covered by according tests and with a proper API documentation.
12 years ago
Andreas Granig
f4a9e39a8a
MT#5255 API: move contacts to systemcontacts.
...
Clearly distinguish between systemcontacts (those without reseller) from
customercontacts (those with resellers). Separating them frees us from
having to handle reseller_id magic.
12 years ago
Andreas Granig
beb93987eb
MT#3997 API: move req/res log functions to Role.
12 years ago
Andreas Granig
a135c00190
MT#5255 API: prevent DELETE of used contact
12 years ago
Andreas Granig
a6c3ecb580
MT#5255 API: Implement DELETE for contacts
12 years ago
Andreas Granig
2c51cbd0fb
MT#3997 Fix PUT with reseller_id=null for contact
12 years ago
Andreas Granig
9aa1560619
MT#3997 Dynamically return collections relations.
12 years ago
Andreas Granig
7b8092f702
MT#3997 Get rid of the remaining tt xml responses
12 years ago
Andreas Granig
5e3b642107
MT#5215 Replace NoPassword cred handler
...
In our catalyst version, there is no NoPassword credentials handler,
so use the Password handler instead.
12 years ago
Andreas Granig
515990623f
MT#3997 Fix general collection/item handling.
...
Use paging.
Start adding tests for contacts/ collection.
Move more common functions to Role.
Use proper forms for field checking.
12 years ago
Andreas Granig
a4a9f703bd
MT#3997 Remove QueryParameter dependency.
12 years ago
Andreas Granig
fd19cf79c1
MT#3997 Return JSON on precondition failures.
12 years ago
Andreas Granig
0fb58d2668
MT#3997 Use JSON in OPTIONS methods.
12 years ago
Andreas Granig
40ecb1e91d
MT#3997 Distinguish collection and item in URI
...
Use /api/foo/ for collections and /api/foo/{:id} for items to easily
distinguish between them. Also, we want to use query params for limiting
the collections, e.g. /api/foo/?name={:name}&something={:else}, which in
turn returns a filtered collection again. This makes it difficult then to
fetch items via /api/foo/?id={:id}, so use /api/foo/{:id} instead.
Also move rest of common functions into API Role.
12 years ago
Andreas Granig
6d3fa76e7f
MT#5173 Very basic support for polycom prov
...
Bootstrap Params: 447=2,445=[% server.uri %],264=2
Bootstrap Method: POST
Bootstrap URI: http://[% client.ip %]/form-submit
12 years ago
Gerhard Jungwirth
6524548201
MT#4129 Validate update customer with wrong resellers
...
The reseller of the old billing_profile was tested instead of the new one
(see 4129#c29575)
12 years ago
Andreas Granig
2bff65040d
MT#5103 Add date picker to call distribution graph
12 years ago
Andreas Granig
b84bc50b14
MT#5131 Make CSV fee parsing more tight.
12 years ago
Andreas Granig
2ef9dc16b5
MT#4565 Fix read-only permissions.
...
Properly deny write ops for read-only admins and resellers.
12 years ago
Andreas Granig
59a75ed63e
MT#5103 Add basic call distribution graph.
...
Still needs date picker to limit range.
12 years ago
Gerhard Jungwirth
342ba867d7
MT#4967 Show primary number in subscriber list
...
The wrong relation was used here. Discovered during testing for ticket
MT#4967.
12 years ago
Andreas Granig
c88c69d322
MT#4235 Implement static Jitsi provisioning.
...
Should be reworked in a next step to use the dynamic configuration
management, but currently you'd need a PBX device for that, so keep
it static for now.
12 years ago
Andreas Granig
2258395ed7
MT#5009 Properly free voip_numbers on termination.
...
Don't delete voip_numbers (which was forgotten if the status
got set to terminated anyways), rather than free them by
undef'ing the subscriber_id and reseller_id.
12 years ago
Andreas Granig
059607a8c7
MT#4955 Only allow one ss, set dom-pref np-display
...
If a sound set is contract default and you create another default one,
the old gets non-default.
Properly handle contract default setting also when editing sound sets.
And while at it, set np-display as outbound-from-display-name dom-pref
when creating a PBX domain.
12 years ago
Gerhard Jungwirth
2ada158ac6
MT#4967 Let admin/reseller always change subscriber numbers
...
When editing a subscriber as admin, you possibly got a stripped version of the
form, where you cannot change e164 or alias_numbers anymore.
12 years ago
Andreas Granig
332ad0ca3a
MT#4949 Use pbx-1 suffix for callflows.
12 years ago
Andreas Granig
e2ccdf3442
MT#4955 Introduce customer default sound sets.
...
If a new contract sound set is marked as contract_default, use this
for every existing subscriber in contract_sound_set prefs if no
other set is specified yet.
If a new subscriber is created and such a sound set exists, also
use this one.
This prevents having to go over each single subscriber to assign
the contract_sound_set preference.
12 years ago
Andreas Granig
36f6756079
MT#4955 Use cseq_method for subscriber captures.
12 years ago
Andreas Granig
097af29cb2
MT#4229 Still log the error causing a 500.
12 years ago
Gerhard Jungwirth
3279897a1b
MT#4707 log IP on failed login
12 years ago
Andreas Granig
9c69626385
MT#4543 Also set cloud_pbx_base_cli pref for admin
...
Otherwise rewrite rules where this is used will not work, so admin
can't dial only the extension.
12 years ago
Andrew Pogrebennyk
76bf4a12c3
MT#4863 Grant access to Customer Settings for administrative subscribers.
12 years ago
Andreas Granig
7c0b691a53
MT#4017 Fix subscriber->device mapping in config.
...
When fetching the field device config, only select the correct
subscribers for the line ranges which actually belong to the
field device.
12 years ago
Gerhard Jungwirth
10cd46219c
MT#4369 Disable Timestamp search on Callflows
...
this created "min(timestamp) LIKE %search%" which is not valid SQL
12 years ago
Andreas Granig
10ddf43147
MT#4787 Send browser to PBX device when syncing
12 years ago
Andreas Granig
57bc4218e7
MT#4685 Export latest firmware version for model.
...
This can be used in config scripts to check whether to do an upgrade.
12 years ago
Gerhard Jungwirth
938798943c
MT#4667 validate contact on contract create
...
On one hand, dont allow (peering,reseller)-contracts to
be created with a wrong contact (which has a reseller id).
On the other hand, dont preselect wrong contacts in the first
place (from created_objects)
12 years ago