Gerhard Jungwirth
64766a4150
Show Contract (equals Cusomer-) id
...
For better identification of the current contract in details/edit views.
Mantis: 3885
12 years ago
Gerhard Jungwirth
e67c4b7ca5
Validate SIP username
...
Mantis: 3891
12 years ago
Gerhard Jungwirth
6a3e3ea729
Fix e164 validation on subscriber creation
...
push_errors resulted in failing validation even when there was no error
12 years ago
Gerhard Jungwirth
684fef1c39
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
a64bc15406
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
e51ae82d5f
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
b41a7191cc
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
7dbe51ee5d
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
4de5764cc1
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
26bc60448a
Only show relevant domains on reseller details
12 years ago
Gerhard Jungwirth
3adda47962
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
c17db14a54
Only expose delete button to contacts with no contracts
...
else the delete fails anyway with foreign key constraint
12 years ago
Gerhard Jungwirth
7e9b06c304
fix missing include "NGCP::Panel::Utils::DateTime"
12 years ago
Gerhard Jungwirth
a0a39c243c
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
3ca68fae13
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
0035fa897a
Fix a typo on peering page: caller vs callee.
12 years ago
Gerhard Jungwirth
574f7da9bc
Validation on the replacement pattern of rewrite rules
...
Mantis: 0003197
12 years ago
Gerhard Jungwirth
e14d517a60
don't count terminated resellers in Dashboard
...
Mantis: 0003629
12 years ago
Gerhard Jungwirth
caefe2521a
Add some fields to contacts form
...
also preselect the reseller in the contacts form
Mantis: 0003625
12 years ago
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