Andreas Granig
8e2e5675a5
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
b18ab25256
Handle the preference man_allowed_ips like allowed_ips
12 years ago
Gerhard Jungwirth
2403c7246b
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
Andreas Granig
e384577cb0
Fix subscriber creation for customer.
...
Reseller is now in Contact instead of Contract.
Make passwords visible.
12 years ago
Andreas Granig
08e5a2a3a8
Propagate reseller and contract status to children
...
Properly terminate/lock/unlock sub-contracts and subscribers if the
parent contract status changes.
12 years ago
Andreas Granig
3494c02e27
Terminate children on contract termination.
...
Terminate customer contracts and subscribers on reseller termination.
Terminate subscribers on customer contract termination.
12 years ago
Andreas Granig
072d5b8b61
Align peering handling to usual controller flow.
...
Use navigation utils.
Make required fields required.
12 years ago
Andreas Granig
bee006efcd
Rework reseller handling.
12 years ago
Andreas Granig
6e7ddeeac3
Properly propagate new contract back to reseller.
12 years ago
Andreas Granig
5e0c8faa0a
Properly carry back new objects in nav-chain.
...
If you create something (e.g. a contract) and have a sub-field
you create on-the-go (e.g. contact and billing profile), then
properly pre-select them once you get back to the original view
(the contract form in this example).
12 years ago
Andreas Granig
9350d4258e
Fix contract and peering creation.
12 years ago
Andreas Granig
04296de4c4
First part of reworking reseller handling.
12 years ago
Andreas Granig
55b79ae3d6
Properly handle sort and search for nested joins.
12 years ago
Andreas Granig
0b37392f54
Enhance navigation.
...
Simplify back-uri for navigation utils calls.
Start using back_or navigation utils function for auto-checking
close-targets.
Move navigation stack check into auto of each controller.
12 years ago
Andreas Granig
264a5460da
Add reseller top menu.
12 years ago
Andreas Granig
4b3d1caab6
Streamline forms in regards to submitid.
12 years ago
Andreas Granig
b8c66ca818
Hook up controller with DB.
...
This one still had hardcoded mock data.
12 years ago
Andreas Granig
bfda0821fc
Harden and enhance admin handling.
...
Move admin forms to own subfolder and split into reseller and admin form.
Migrate DT handling to Utils function.
Allow resellers to create admins within their own reseller.
Make sure to not lock out an admin when editing own admin.
Deny write access to admins for non-master admins.
12 years ago
Andreas Granig
8c7a23fb71
Implement speed dial management.
12 years ago
Andreas Granig
90dedaa1bc
Implement fax preference handling.
12 years ago
Andreas Granig
1c4fd57e19
Implement registered device management.
12 years ago
Andreas Granig
7a75e448f4
Implement subscriber trusted source management.
12 years ago
Andreas Granig
b2ba73cecc
Cleanup debug messages.
12 years ago
Andreas Granig
46f4a3a609
Implement system statistics page.
12 years ago
Andreas Granig
f775f84fcf
Remove debug messages.
12 years ago
Andreas Granig
579d5cc1e2
Add system options to subscriber CF simple view.
12 years ago