Gerhard Jungwirth
ede44ba653
MT#3961 automatic extraction of formhandler strings
...
it is important, that all form work without ctx available, so we add a check
in them
12 years ago
Gerhard Jungwirth
8981667b77
MT#3961 Translate Preference groups
12 years ago
Gerhard Jungwirth
f7d4d8bb3d
MT#3961 I18N-ize missing strings
12 years ago
Gerhard Jungwirth
a272512298
MT#3961 Prepare to localize DB-Strings
...
For now, we ignore square brackets
12 years ago
Andreas Granig
6cd4ef04f1
MT#5629 Fix setting external_id in customer ctx.
12 years ago
Andreas Granig
aa5eee69a0
MT#5575 Migrate clear_audio_cache to Sems helper.
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
11841b2bba
MT#5465 preferences_enum stop using default_val
...
The real default enum option is the one with value set to NULL
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
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
5e5fbeeda6
MT#5307 Fix GD::Simple to avoid race conditions
12 years ago
Andreas Granig
7e3a2997f4
MT#5355 Implement peer_auth api calls to sems.
12 years ago
Andreas Granig
1656f051d0
MT#5101 Mark primary numbers in voip_dbaliases.
12 years ago
Gerhard Jungwirth
f11ae484ef
MT#3917 do not alter datetime objects from schema
...
this is now correctly handled in the schema (it gives us localtime, so
we do not have to do anything)
12 years ago
Gerhard Jungwirth
4fa47ff2b0
MT#4767 Show missing registered devices
...
on a non-multidomain installation, dont check for domain
in customer details - subscribers - registered devices
12 years ago
Andreas Granig
f8dfb8fcae
MT#5009 Use proper alias number sub-elements.
12 years ago
Andreas Granig
d62a5ac948
MT#5009 Fix syntax error.
12 years ago
Andreas Granig
4384ec33b2
MT#5009 Properly reuse alias numbers also.
...
Previously, we assumed they were already deleted in billing.voip_numbers,
which they're not (anymore).
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
e3ba8b4243
MT#5009 Properly re-use free numbers.
...
Don't try to insert a number into billing.voip_numbers directly,
rather than using the update_subscriber_numbers helper, which
handles the re-using of free numbers.
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
Andreas Granig
afa196900c
MT#4971 Fix follow symlink sp-SELF in statistics.
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
d2dfbeab1c
MT#4949 Use pbx in call flow graph.
12 years ago
Andreas Granig
2ee40a3a6c
MT#3917 Show datetime in local timezone for DT.
12 years ago
Andreas Granig
58b496065e
MT#4657 Make ac an empty string if undef.
12 years ago
Andreas Granig
96edceda6d
MT#4655 Show reseller name in device mgm.
12 years ago
Gerhard Jungwirth
21482c00ec
MT#4289 separate customer/ajax and contract/ajax
...
This is the first step towards separating the
tight coupling of the Customer and Contract Controllers.
Mantis: 4289#c25035
12 years ago
Andreas Granig
3030a62a73
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
9ef4961e97
MT#3925 Migrate more common methods into Role.
12 years ago
Gerhard Jungwirth
8bdd9f42fb
MT#4261 alias number handling
...
Now also handle alias numbers with the outsourced subroutine
update_subscriber_numbers.
Plus remove some leftovers which are already handled by
this sub.
12 years ago
Gerhard Jungwirth
124137ca63
MT#4261 number handling on subscriber update
...
Actually use update_subscriber_numbers when updating a subscriber
and not only when creating one. Also handle all neccessary side effects.
Now we can switch our primary number to a number which has been
inactive (that is: did not belong to a subscriber) without an update error.
12 years ago
Gerhard Jungwirth
a1e04e33f7
MT#4261 Proper number handling on subscribers
...
Outsource the handling of the primary number from
the subscriber controller to a util sub called
update_subscriber_numbers.
It also takes care to reuse a number that has
subscriber_id set to NULL which caused the original
problem in the ticket.
12 years ago
Andreas Granig
e03bd513ba
MT#4025 Only show customer sound sets for admins.
...
When in customer details, only show sound sets for customer when
logging in as admin/reseller.
12 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
12 years ago
Andreas Granig
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
12 years ago
Andreas Granig
1761945b8c
MT#4025 Implement contract_sound_set preference.
...
Let the subscriber choose a contract-wide sound set e.g. for PBX announcements.
12 years ago
Andreas Granig
ed359aacd5
MT#3977 Implement backend for multi-line PBX conf
...
This makes it possible to configure multiple lines (private, shared,
blf) and attendant console keys (blf) on a field device and generate the
proper config for it.
It does not yet support editing such a field device.
12 years ago
Gerhard Jungwirth
76f4bdd14c
Restrict certain domain-prefs to their respective reseller
...
The preferences rewrite_rule_sets, ncos_levels, and sound_sets
on a domain should be restricted to ones, that have the same reseller
as the domain itself.
In addition we have to make sure, the preference view does not die,
if an invalid preference had already been selected, for example when
the respective *set/*level had been deleted or had been one, with a wrong
reseller, because of this bug, we just fixed.
Mantis: 4127
12 years ago
Andreas Granig
dd62516857
Fix $controller::auto declaration.
12 years ago
Andreas Granig
8a194e5055
Use preference label instead of attribute.
...
For admins and resellers, show label in addition to attribute.
For subscribers, only show label.
12 years ago
Andreas Granig
6e8ac2aa70
Show subscriber login CF widget and allow prefs.
...
Only allow access to the preferences marked as expose_to_customer.
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
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
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
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
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
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
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
fe580d3c53
Show product name in customer 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
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
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
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
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
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
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
Andreas Granig
6054ada6fb
Tell prosody about new/deleted domains.
12 years ago
Andreas Granig
bd60a1dbda
Pretty-print timestamp in call flows.
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
ba46a201a9
Use Sipwise::Base instead of Moose.
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
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
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
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
4b3d1caab6
Streamline forms in regards to submitid.
12 years ago
Andreas Granig
b2ba73cecc
Cleanup debug messages.
12 years ago
Andreas Granig
46f4a3a609
Implement system statistics page.
12 years ago
Andreas Granig
b194556431
Move transcoder to separate file.
...
Transcode VM messages to get WAV instead of WAV49.
Fix sound set handling and transcode PCMA to WAV.
12 years ago
Andreas Granig
da4170c2a6
Implement voicemail table.
...
Listening to WAV49 doesn't seem to work out of the box with a normal
linux player, probably we need to transcode GSM?
12 years ago
Andreas Granig
06a6470783
Filter rows by date range, e.g. CDR table.
12 years ago
Andreas Granig
114742b366
Implement call list.
12 years ago
Andreas Granig
ba30dde294
Implement new datatables ajax dispatching.
...
It works with single-nested joins both for searching and ordering,
and the definition of what is searchable and what is displayed is
done in the controller once during setup.
12 years ago
Andreas Granig
efddf71181
Pretty-print CF destinations.
12 years ago
Andreas Granig
076d7a8963
Pretty-print period definitions.
12 years ago
Andreas Granig
f996d4a15e
Move naviation to NGCP::Panel::Utils::Navigation
12 years ago
Andreas Granig
86d89f881d
Some cleanups using preference helper.
12 years ago
Gerhard Jungwirth
4b4c393c41
adapt new schema with single namespace
...
just domain creation/delete is not working yet
12 years ago
Gerhard Jungwirth
36d3317da8
XMLDispatcher
13 years ago
Andreas Granig
98a7b3867c
Move contract_balance creation to tmp helper.
...
This needs to be implemented in the schema at some point!
13 years ago