Andreas Granig
2faa84a9d6
Prepare ACL for subscriber login.
12 years ago
Andreas Granig
78e126c9cb
Add basic voicemail widget for subscribers.
12 years ago
Andreas Granig
06fc0fa4dd
Fix subscriber login and add basic widgets.
12 years ago
Andreas Granig
5160759f38
Implement subscriber login.
12 years ago
Andreas Granig
1809b44245
MT#3981 Write numbers to provisioning.voip_dbalias.
...
Before, we wrongly wrote directly to kamailio.dbaliases instead of
provisioning.voip_dbaliases.
12 years ago
Gerhard Jungwirth
373185c563
Use a mysql dump instead of a mysql data directory for tests
...
Mantis 3435#c23805 (still)
12 years ago
Gerhard Jungwirth
563adfddf3
Option to start a custom mysql for ./Build test
...
Mantis: 3435#c23805
12 years ago
Alexander Lutay
38e31a6ac8
TT#3921 Usability enhancement for SIP call diagram
...
Sip diagram no longer have hardcoded parts LB, PROXY, APP, SBC.
The componnets order on diagram exactly the same as
order in call, usually it is "UA1->LB->PROXY->SBC->UA2...->UAx".
12 years ago
Gerhard Jungwirth
01ba8802cf
Fix duplicate showing of contracts under Reseller Details - Reseller Contract
...
The problem occured when a reseller is linked to multiple billing_mappings
Mantis: 3855#c23785
12 years ago
Gerhard Jungwirth
1991296383
Filter Contract Contacts by whether they have a reseller_id
...
in case the product in billing_mappings is one of
(SIP_PEERING, PSTN_PEERING, VOIP_RESELLER)
12 years ago
Gerhard Jungwirth
2f85002f28
Correctly identify customer contracts
...
the product handle was compared to the class name by mistake
12 years ago
Gerhard Jungwirth
f444dc0d81
Show Contract (equals Cusomer-) id
...
For better identification of the current contract in details/edit views.
Mantis: 3885
12 years ago
Gerhard Jungwirth
ccd46c145e
Validate SIP username
...
Mantis: 3891
12 years ago
Gerhard Jungwirth
1ab63eff83
Fix e164 validation on subscriber creation
...
push_errors resulted in failing validation even when there was no error
12 years ago
Andreas Granig
d156b57f9d
Add display name to PBX device config template.
12 years ago
Andreas Granig
b4949f1a48
Implement PBX device boot-strapping.
12 years ago
Andreas Granig
fdc1f9514a
Implement PBX field device config delivery.
...
Currently supports sip.username, sip.domain and sip.password tags,
more to come.
12 years ago
Andreas Granig
d4ec2ef042
Implement PBX field device handling.
12 years ago
Andreas Granig
fef88b9ed3
Add PBX device skeleton.
12 years ago
Andreas Granig
d27d6a1414
Make domain optional when handling reg contacts.
12 years ago
Andreas Granig
527bac928f
Fix registration list if ignore_auth_realm is set.
12 years ago
Andreas Granig
015f04bdc1
Add front and mac image for devices.
12 years ago
Andreas Granig
231dc9fd07
Reset DT field id if it's not selected.
12 years ago
Andreas Granig
c3cadb1503
Implement device profile management.
12 years ago
Andreas Granig
e5832d6e13
Implement device config management.
12 years ago
Andreas Granig
dcac5aa5c6
Implement device firmware management.
12 years ago
Andreas Granig
199ae7ed8d
Implement device model management.
12 years ago
Andreas Granig
35e3a51759
Add skeleton for device provisioning.
12 years ago
Gerhard Jungwirth
c6abfbc7cb
Correctly select customers under reseller-> customers section
...
Only show the most applicable billing_profile using the complex
query from the Contract controller
Mantis: 3855
12 years ago
Gerhard Jungwirth
594f341ee8
Preserve the product_id when updating a billing_mapping
...
This had created a billing_mapping with product_id = NULL before, which
is no longer a valid option and caused the panel to fail
12 years ago
Gerhard Jungwirth
c6362639f6
Suppress superfluous error messages "Value must be an integer"
...
and reduce the number of error messages of e164 Subfields, by merging
them into their parent
Mantis: 3723
12 years ago
Gerhard Jungwirth
f0e2f1de8a
Fix syling of long labels in modal
...
Our forms use a fixed width per default, for nice alignment of multiple
form field. This is not neccessary on single-field preference forms.
Mantis: 3827
12 years ago
Gerhard Jungwirth
5936b599d5
Fix saving preferences of type enum with empty value
...
when a preference with empty value is saved, this row was just
deleted from the db. This is not true for enums, because an empty string
is not always the default value. Therefore we only delete enum preferences
when their value matches the one of the enum, configured as default.
This can be checked, by setting the domain preference outbound_pai_user
to None, which resulted in wrong behaviour before.
Mantis: 3769
12 years ago
Gerhard Jungwirth
788d78ebc2
Group callflows by call_id
...
and for callflows with call_id "*_b2b-1" just show details for the
main call_id (which already includes the b2b traffic)
12 years ago
Gerhard Jungwirth
962eced885
use config file ngcp-schema/share/test.conf for testing
...
for NGCP::Schema
we activate this behaviour by setting the environment variable
NGCP_PANEL_CONFIG_LOCAL_SUFFIX to "testing" which is a feature
from Catalyst::Plugin::ConfigLoader
12 years ago
Andreas Granig
d801311821
Remove debug output to stdout.
12 years ago
Andreas Granig
acf36bde4b
Add PBX auto-attendant and office-hours CF targets
12 years ago
Andreas Granig
ca3e92fbe1
Fix editing normal subscriber.
...
The admin column can't be null.
12 years ago
Andreas Granig
d1deb327c2
Reorder subscriber fields to have DT on top.
12 years ago
Andreas Granig
811929bedb
Add display name and shared roster visibility.
12 years ago
Andreas Granig
ceb9f80eab
Use proper PBX group helper when changing PBX ext.
12 years ago
Andreas Granig
9efb1f8124
Allow changing PBX group for PBX extension.
12 years ago
Andreas Granig
5f9c114ef5
Select rewrite rule set for PBX domain creation.
12 years ago
Andreas Granig
00e13f9209
Implement editing PBX extension subscribers.
12 years ago
Andreas Granig
9a1873bfd8
Fix test environment.
12 years ago
Andreas Granig
d79b11aa0a
Remove subscriber from PBX group on termination.
12 years ago
Andreas Granig
3c8734f089
Make PBX groups editable.
12 years ago
Andreas Granig
2daa16dae5
Migrate pbx feature config flag to cloudpbx.
12 years ago
Andreas Granig
7f7e6cbca8
Assign contracts to sipaccount product by default.
12 years ago
Andreas Granig
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
85365959dd
Fix customer determination in dashboard.
...
Properly filter by product class.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
754f1f7887
Align customer detection to product handling.
12 years ago
Andreas Granig
dfb25d922c
Add skeleton to create admin/extension subscriber.
12 years ago
Andreas Granig
fe580d3c53
Show product name in customer details.
12 years ago
Andreas Granig
e6b9a0aad0
Add product selection for customer contracts.
12 years ago
Gerhard Jungwirth
1c154f8542
Only show relevant domains on reseller details
12 years ago
Gerhard Jungwirth
07d3ee5244
provide error message on "column" cannot be null
...
and by making the respective field not_nullable prevent this from even
happening
Mantis: 3677#c22033
12 years ago
Gerhard Jungwirth
4cfa5b7870
Only expose delete button to contacts with no contracts
...
else the delete fails anyway with foreign key constraint
12 years ago
Gerhard Jungwirth
f7586a4e29
fix missing include "NGCP::Panel::Utils::DateTime"
12 years ago
Gerhard Jungwirth
b856662883
Call end-user-contracts customers to avoid confusion
...
especially when the user navigates here from the Customer controller
Mantis: 0003605
12 years ago
Andreas Granig
ad9a8bb4dd
Use localtime in TS and set createtime for subs.
...
Consequently use server's localtime to align with auto-filled timestamps.
Set create_timestamp when creating subscribers.
12 years ago
Andrew Pogrebennyk
3d115071b2
Fix a typo on peering page: caller vs callee.
12 years ago
Gerhard Jungwirth
4e49c963aa
use the message utility for all controllers
12 years ago
Gerhard Jungwirth
778c3caba3
fix missing validation on integer preferences
...
which failed a test
also adapt the domain test to the new login path
12 years ago
Gerhard Jungwirth
0909c813f3
Use the messaging utility for Domains
12 years ago
Gerhard Jungwirth
a8a0d9b8fd
Validation on the replacement pattern of rewrite rules
...
Mantis: 0003197
12 years ago
Gerhard Jungwirth
f569c82dd6
adapt search data structure to older versions of DBIx::Class
...
we would require 0.08250 to omit this
12 years ago
Gerhard Jungwirth
e892998959
Adapt literal sql to older versions of DBIx::Class
...
the previous version failed on the debian version (0.08196)
12 years ago
Gerhard Jungwirth
a2ddf93c8d
Copy rewrite rule set functionality
...
Mantis: 0003135
12 years ago
Gerhard Jungwirth
607932f175
don't count terminated resellers in Dashboard
...
Mantis: 0003629
12 years ago
Gerhard Jungwirth
c69ab29c54
Add some fields to contacts form
...
also preselect the reseller in the contacts form
Mantis: 0003625
12 years ago
Gerhard Jungwirth
e44482fee6
possibility to search a subscriber by his number
...
Mantis: 0003599
12 years ago
Gerhard Jungwirth
62124acf50
Have a new messaging util for custom filtering of error messages
...
Use MooseX Method signatures for a cleaner environment
12 years ago
Gerhard Jungwirth
356891c29b
Handle the preference man_allowed_ips like allowed_ips
12 years ago
Gerhard Jungwirth
c33021d30e
Handle allowed_ips preference.
...
Write data to voip_allowed_ip_groups. Use voip_aig_sequence as counter.
Also move the Preference handling to Utils/Preferences.pm
12 years ago
Andreas Granig
0f9d12f8a7
Prevent termination of contract with id 1.
12 years ago
Andreas Granig
7b24025822
Filter sound groups according to config.
12 years ago
Andreas Granig
2d1d5b6ebd
Allow to add empty offpeak start/end time.
12 years ago
Andreas Granig
017446312f
Clear created domain from session.
12 years ago
Andreas Granig
e5652b3535
Pass ctx to DestinationSet form.
...
Needed to show the right CF targets.
12 years ago
Andreas Granig
0f6fc8a995
Fix preference handling with max_occur > 1.
12 years ago
Andreas Granig
b430850306
Fix filtering of free reseller contracts.
12 years ago
Andreas Granig
eb063dd79e
Fix syntax error.
12 years ago
Andreas Granig
d43f4ca6e6
Re-use ossbss logging config if available.
...
Otherwise, either panel or csc/ossbss doesn't log anything, depending
which is started first.
12 years ago
Gerhard Jungwirth
ec18d91ee8
move admin deletion to Utils::Contract::recursively_lock_contract
...
and prohibit deletion of the currently used account
12 years ago
Andreas Granig
b2faa82206
Properly filter customer contracts.
12 years ago
Andreas Granig
083fbc71ca
Catch all exceptions and log errors as error.
12 years ago
Gerhard Jungwirth
fa6905766b
correctly terminate reseller from edit-modal
12 years ago
Gerhard Jungwirth
099c097294
delete related tables on reseller terminate
...
and prohibit termination of reseller with id 1
12 years ago
Gerhard Jungwirth
057301b0d8
Handle the case, the user logs out twice
...
This was throwing an exception because of a missing target
12 years ago
Andreas Granig
685d7d42d7
Pass back newly created domain to parent.
12 years ago
Andreas Granig
70d9280af7
Fix syntax error.
12 years ago
Andreas Granig
f9ed88af39
Provision "search" domain to prosody.
...
Implicitely add a domain search.$domain for each domain we're creating,
and tie the sipwise_vjud XEP-0055 module onto it.
12 years ago
Andreas Granig
56c167c575
Fix terminating voip_subscribers for reseller.
12 years ago
Gerhard Jungwirth
e41fe3305d
Use a modal to display the NCOS setting "Include local ac"
12 years ago
Andreas Granig
9b8ce0d783
Align billing fees to new DT mechanism.
...
Finally remove the ajax_process_resultset function from Root controller.
12 years ago
Andreas Granig
a884e45915
Fix syntax error in Panel.pm
12 years ago
Andreas Granig
b9f04c9a0c
Set correct config file for logger.
12 years ago
Andreas Granig
6054ada6fb
Tell prosody about new/deleted domains.
12 years ago
Andreas Granig
c8beecba9a
Only allow callflows if enabled in config.
12 years ago
Andreas Granig
dee0bf8f8d
Show UUID in subscriber list.
12 years ago
Andreas Granig
fc74628e46
Show reseller name in billing profile field.
12 years ago
Andreas Granig
0b596b7c85
Implement reseller dashboard widgets.
12 years ago
Andreas Granig
7db9c09b13
Don't show terminated customers.
12 years ago
Andreas Granig
bd60a1dbda
Pretty-print timestamp in call flows.
12 years ago
Andreas Granig
036caca71e
Don't count terminated subscribers in dashboard.
12 years ago
Andreas Granig
06482210fb
Add CF delete and fix simple handling.
...
Redirect back to preferences when saving in advanced view.
Re-use destination sets in simple view.
12 years ago
Andreas Granig
1437084795
Add global callflow controller.
12 years ago
Andreas Granig
fd0ad5891a
Fix typo in navigation chain.
12 years ago
Andreas Granig
a164d0b126
Gracefully handle missing billing profile.
12 years ago
Andreas Granig
a4103ee09f
Centrally reject any write-urls for r/o-users.
...
We currently filter for create/edit/delete in any part of the uri.
12 years ago
Andreas Granig
e43fc4b1c5
Implement graphing of captured sip messages.
...
Last part of subscriber-base call-flow handling.
TBD: filtering call-id in subscriber master data.
12 years ago
Andreas Granig
688ed5871e
Implement backend png graphing of call flows.
...
This is the second part of the SIP callflow implementation.
12 years ago
Andreas Granig
9beefb8f83
Implement backend for downloading pcaps.
...
This is the first part of the callflow analyzer.
12 years ago
Andreas Granig
361d59a578
Fix unban handling.
...
URI-encode ips and usernames.
Properly delete right keys when unbanning a user.
12 years ago
Andreas Granig
cb7e0fb63c
Implement ip/auth ban management.
12 years ago
Andreas Granig
b7d7989b61
Fix typo in options method reference.
12 years ago
Andreas Granig
861bebef8c
Migrate server/rules handling to new DT mechanism.
...
This fixes searching and sorting for servers and rules.
12 years ago
Andreas Granig
c2805f5678
Fix RWR priority handling.
12 years ago
Andreas Granig
ba46a201a9
Use Sipwise::Base instead of Moose.
12 years ago
Andreas Granig
a6b648aa8f
Fix redirect after NCOS delete.
12 years ago
Andreas Granig
a9b68ae367
Fix contract/contact editing from within reseller.
12 years ago
Andreas Granig
d050c6b3be
Make RWR description mandatory.
12 years ago
Andreas Granig
1481894d68
Fix special offpeak handling.
12 years ago
Andreas Granig
64fffe783b
Allow on-the-fly reseller creation.
12 years ago
Andreas Granig
ab79afbb67
Fix config paths and dbalias creation.
...
In case a subscriber is created from within the customer view, then also
clear the created objects and write a dbalias.
12 years ago
Andreas Granig
66a708ea36
Only allow alphanum chars in handle name.
...
Needed for backwards-compat with old admin panel.
12 years ago
Andreas Granig
119039dd5a
Set create/modify timestamp.
12 years ago
Andreas Granig
b97592375d
Allow empty callee prefix in peering rule.
12 years ago
Andreas Granig
c98b27936e
Put peering contract first.
...
If we create one on the go, we lose all fields above, so, offer that
one first.
12 years ago
Andreas Granig
29df28e9ee
Allow absolute paths in DT field helper.
12 years ago
Andreas Granig
d31ff8b9f1
Put result sets to stash.
...
Fixes last commit.
12 years ago
Andreas Granig
fc45e11c49
Remove noreseller hack.
...
Add proper create_reseller function for creating reseller contracts.
12 years ago
Andreas Granig
e4f8d7d047
Show correct reseller stats for admin.
12 years ago
Andreas Granig
440afcedd4
Temp. fix for template helper path.
...
For now, use absolute path to make it work in real environments.
12 years ago
Andreas Granig
933db41421
Use ajax in url name for urls used for ajax.
...
*sic*
12 years ago
Andreas Granig
ed02cf232d
Fix paths and debian packaging.
...
Look for templates and static files in /usr/share/ngcp-panel.
Actually package the share/ folder.
Add config file to /etc/ngcp-panel/ngcp_panel.conf
12 years ago
Andreas Granig
4572d950d0
Fix billing handling.
12 years ago
Andreas Granig
e770783788
Fix navigation and CF handling.
...
Old CF handling didn't work with Firefox due to some auto-focus issue with our
HTML code in the URI/timeout fields.
12 years ago
Andreas Granig
d2db386252
Fix contract creation and subscriber lock handling
...
Properly create contact on-the-go.
Set lock preferences of subscribers only if >0.
12 years ago
Andreas Granig
6d38442876
Filter terminated elements; visual cleanups.
...
Don't show terminated resellers and contracts.
Wrap customer details into accordion.
12 years ago
Andreas Granig
45334bbd42
Fix administrator creation/editing.
...
Properly handle on-the-fly reseller creation.
Remove unnecessary id from forms.
12 years ago
Andreas Granig
d9ff6d5555
Enforce minimum password lengths.
12 years ago
Andreas Granig
aee8feeb01
Rework rewrite rules.
...
Add reseller id to rule set.
Align to new DT handling.
Remove DBIC handling.
12 years ago
Andreas Granig
4b956f6e8a
Clean up sound set handling.
...
Align to new DT handling.
Remove DBIC handling.
Add reseller selection.
12 years ago
Andreas Granig
e4d305895c
Clean up NCOS handling.
...
Add reseller selection when creating level as admin.
Align to new DT methods.
12 years ago
Andreas Granig
01b3856ee7
Align domain handling to new DT mechanism.
...
While we're at it, show reseller domains in reseller details.
12 years ago
Andreas Granig
e1f7a4710e
Properly handle back button.
12 years ago
Andreas Granig
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
12 years ago