Gerhard Jungwirth
48e0b55cd0
MT#5145 put tooltips on top
13 years ago
Gerhard Jungwirth
0c41788b79
MT#4693 show contract balance in euros instead of cents
13 years ago
Andreas Granig
e21d14da46
MT#5103 Add date picker to call distribution graph
13 years ago
Andreas Granig
272caf532e
MT#4565 Fix read-only permissions.
...
Properly deny write ops for read-only admins and resellers.
13 years ago
Andreas Granig
dd39baee6e
MT#5103 Add basic call distribution graph.
...
Still needs date picker to limit range.
13 years ago
Andreas Granig
80dcf44f7f
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.
13 years ago
Andreas Granig
6e725bdfdc
MT#4967 Filter system information for subs-roles
...
Don't display internal information to subscribers and subscriberadmins.
WIP, as subscriberadmins can now add/change numbers, set lock/status.
13 years ago
Gerhard Jungwirth
8f98ef00fd
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.
13 years ago
Gerhard Jungwirth
402b5b0909
MT#4287 Preserve dt settings until logout
...
This reverts commit 21b841ba5c .
13 years ago
Andreas Granig
dab0021c9a
MT#4961 Fix non-alphanumeric RRD filename handling
13 years ago
Andreas Granig
f9e96aad30
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.
13 years ago
Gerhard Jungwirth
0d8f6d1355
MT#4903 Fix javascript error on empty referrer
...
let it match a controller that does not exists
(This broke in (MT#4287))
and exclude get parameters from that match
13 years ago
Gerhard Jungwirth
21b841ba5c
MT#4287 Remove datatables state on menu items
...
That is, when changing the main pages (controller more or
less) like from /reseller to /contact, remove previous
stored state.
13 years ago
Gerhard Jungwirth
5fa8ca12cf
MT#4287 Use Statesave Feature
...
This saves every configuration for datatables locally
And clear every localStorage setting on login/logout
13 years ago
Gerhard Jungwirth
82e343a41f
MT#4287 preserve display setting rows
...
in the local browser storage
the number of rows in a datatables element is saved
this is individually different for each page
13 years ago
Gerhard Jungwirth
18171eef96
MT#4877 Fix button color on click
13 years ago
Gerhard Jungwirth
c9fac644aa
MT#4877: fix button focus style
13 years ago
Lars Dieckow
f6e01fdbd6
MT#3927 custom auth
13 years ago
Andreas Granig
79a256f094
MT#4787 Send browser to PBX device when syncing
13 years ago
Gerhard Jungwirth
7945805883
MT#4289 contracts: filter by product and separate terminate
...
Only show reseller and peering contracts in the
Contracts controller. Also remove the generic create
in favour of the peering/create and reseller/create.
Customer controller now has its own terminate routine to be really
independent from the Contract controller.
Now we can expose the Contract controller in the menu.
13 years ago
Gerhard Jungwirth
6fb3119fc9
MT#4289 move /contract/customer/edit to /customer/edit
...
So finally, there is no customer-specific stuff left in the Contract controller.
13 years ago
Gerhard Jungwirth
92c17240a5
MT#4289 fix html-id with invalid symbols
...
When editing a customer, the helper.name contained a hash symbol (#).
This variable is used to form the id of the html element table, by
stripping spaces from it. Now we also strip the hash, because otherwise
at least jquery will fail to find this id.
13 years ago
Gerhard Jungwirth
5caf89894c
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
13 years ago
Gerhard Jungwirth
104751bb6a
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
13 years ago
Lars Dieckow
a37b165caf
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
13 years ago
Andreas Granig
773c04c2cd
MT#3971 Show Create btn if max_subscribers is null
13 years ago
Andreas Granig
074758df8f
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
13 years ago
Lars Dieckow
aba646f59b
MT#3929 certificate management
13 years ago
Andreas Granig
0ab09a6e0b
MT#3977 Use plain port for linksys provisioning.
...
Linksys phones need a Cisco-signed server cert, so we have to
stay at plain http for now.
13 years ago
Andreas Granig
36a020c376
MT#4007 Implement auto attendant mgm for subs.
13 years ago
Andreas Granig
1515e366fd
MT#3997 Really properly fix tooltips.
13 years ago
Andreas Granig
988e304544
MT#3997 Allow html in tooltips.
13 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.
13 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
13 years ago
Michael Prokop
ea5696da2c
Revert "MT#4229 custom Internal server error page"
...
This reverts commit eece093fd0 .
Otherwise fails with:
| Starting NGCP-Panel Webapp: ngcp_panel_fastcgi:Can't locate Convert/Ascii85.pm in your Perl library. You may need to install it
| from CPAN or another repository. Your library paths are:
| /etc/perl
| /usr/local/lib/perl/5.14.2
| /usr/local/share/perl/5.14.2
| /usr/lib/perl5
| /usr/share/perl5
| /usr/lib/perl/5.14
| /usr/share/perl/5.14
| /usr/local/lib/site_perl
| .
|
| BEGIN failed--compilation aborted at /usr/share/perl5/NGCP/Panel/Controller/Root.pm line 5.
| Compilation failed in require at /usr/share/perl5/Catalyst/Utils.pm line 308.
| Compilation failed in require at /usr/share/perl5/Module/Runtime.pm line 317.
| at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50
| error ... failed!
because Convert::Ascii85 isn't available yet in our repositories,
therefore revert to fix broken trunk.
Acked-by: Andreas Granig <agranig@sipwise.com>
Git-Dch: Ignore
13 years ago
Lars Dieckow
eece093fd0
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
13 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.
13 years ago
Andreas Granig
71d531fafb
MT#3977 Fix accordion expand/collapse toggle.
13 years ago
Andreas Granig
3c3cfff80b
MT#3977 Add option in status msg to manually sync.
13 years ago
Andreas Granig
853e9e5388
MT#3977 Display stationname/keyid in PBX field dev
13 years ago
Andreas Granig
5730437acf
MT#3977 Implement editing of PBX field device.
13 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.
13 years ago
Andreas Granig
50a494af2b
MT#3977 Handle new lines added by user in UI.
13 years ago
Andreas Granig
1c8179164a
MT#3977 populate PBX field dev form on prof change
13 years ago
Andreas Granig
03e4d574b6
MT#3977 Prepare line/key in PBX field dev.
13 years ago
Andreas Granig
fba3998657
MT#3977 Implement line/key handling for devices.
...
This is part 1 to define keys/lines on a device, to be assigned to
subscribers.
13 years ago
Gerhard Jungwirth
ebe64d3563
uri_unescape CDRs
...
Mantis: 3413
13 years ago
Gerhard Jungwirth
b442c759a1
Show Timeset and Destination Set Names
...
and provide a Modal showing the Detail of each.
Except the case when thedestination_set.name is called "quickset_*" and
it only has one entry.
In that case show the particular destinations of this destination set,
in order to not confuse a user who just configured a trivial cf via the simple view.
under Subscriber Preferences -> Call Forwards
Mantis: 3803, 3801
13 years ago
Andreas Granig
683047c112
MT#3975 Prevent subadmin from terminating himself.
13 years ago
Andreas Granig
ef36719dcf
Add subscriberadmin customer link in top menu.
13 years ago
Andreas Granig
1af065d864
Allow subscriberadmin to access sub-subscribers.
13 years ago
Andreas Granig
585a4d947a
Be more formal in denied-page.
13 years ago
Andreas Granig
086d91ff0e
Use roles instead of realm for logged in users.
13 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.
13 years ago
Andreas Granig
de73436174
Fix subscriber login topmenu vm link.
13 years ago
Andreas Granig
d5dc850bd9
Add subscriber login registered dev widget.
13 years ago
Andreas Granig
de99e0be43
Make widget containers higher for subscribers.
...
It should fit 5 entries with 2 rows each (to match vms and calls).
13 years ago
Andreas Granig
6e8ac2aa70
Show subscriber login CF widget and allow prefs.
...
Only allow access to the preferences marked as expose_to_customer.
13 years ago
Andreas Granig
9769f4056e
Add templates for subscriber login call-list/vm.
13 years ago
Andreas Granig
b8cf0895ba
Implement subscriber login call-list/voicemails.
13 years ago
Andreas Granig
78e126c9cb
Add basic voicemail widget for subscribers.
13 years ago
Andreas Granig
06fc0fa4dd
Fix subscriber login and add basic widgets.
13 years ago
Andreas Granig
5160759f38
Implement subscriber login.
13 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
13 years ago
Gerhard Jungwirth
f444dc0d81
Show Contract (equals Cusomer-) id
...
For better identification of the current contract in details/edit views.
Mantis: 3885
13 years ago
Andreas Granig
d156b57f9d
Add display name to PBX device config template.
13 years ago
Andreas Granig
b4949f1a48
Implement PBX device boot-strapping.
13 years ago
Andreas Granig
d4ec2ef042
Implement PBX field device handling.
13 years ago
Andreas Granig
fef88b9ed3
Add PBX device skeleton.
13 years ago
Andreas Granig
b2f7e00612
Render empty string on null values.
13 years ago
Andreas Granig
907eab8ffe
HTML-escape DT fields before displaying it.
13 years ago
Andreas Granig
231dc9fd07
Reset DT field id if it's not selected.
13 years ago
Andreas Granig
8746a6035d
Add device management to top menu.
13 years ago
Andreas Granig
c3cadb1503
Implement device profile management.
13 years ago
Andreas Granig
e5832d6e13
Implement device config management.
13 years ago
Andreas Granig
dcac5aa5c6
Implement device firmware management.
13 years ago
Andreas Granig
8a359e5312
Group device overview.
13 years ago
Andreas Granig
e99265c351
Check for read_only flag when editing contact.
13 years ago
Andreas Granig
199ae7ed8d
Implement device model management.
13 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
13 years ago
Gerhard Jungwirth
096ee48d56
Consistent naming: Web Username/Password vs CSC Username/Password
...
Mantis: 3819
13 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
13 years ago
Andreas Granig
9efb1f8124
Allow changing PBX group for PBX extension.
13 years ago
Andreas Granig
00e13f9209
Implement editing PBX extension subscribers.
13 years ago
Andreas Granig
3c8734f089
Make PBX groups editable.
13 years ago
Andreas Granig
df1c2cc4c1
Only show PBX groups if it's a PBX account.
13 years ago
Andreas Granig
d47bbeca10
Add accordion toggle button.
13 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
13 years ago
Andreas Granig
fe580d3c53
Show product name in customer details.
13 years ago
Gerhard Jungwirth
1c154f8542
Only show relevant domains on reseller details
13 years ago
Gerhard Jungwirth
9f9d20eebf
Expose the contacts controller to Edit/Delete Contacts
...
Mantis: 3625
13 years ago
Gerhard Jungwirth
4cfa5b7870
Only expose delete button to contacts with no contracts
...
else the delete fails anyway with foreign key constraint
13 years ago
Gerhard Jungwirth
52e353d594
Option to select the number of rows in datatables table
...
enabled by helper.length_change
Mantis: 0003589
13 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
13 years ago
Gerhard Jungwirth
a2ddf93c8d
Copy rewrite rule set functionality
...
Mantis: 0003135
13 years ago
Gerhard Jungwirth
e26220538c
Fix some warnings due to non-numeric argument empty string ("")
13 years ago
Gerhard Jungwirth
8f02c62f82
Option to edit an existing contact, belonging to a customer
...
Mantis: 0003625
13 years ago
Gerhard Jungwirth
356891c29b
Handle the preference man_allowed_ips like allowed_ips
13 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
13 years ago
Andreas Granig
c4d26d1871
Don't allow to terminate contract via list view.
13 years ago
Andreas Granig
352e403507
HTML doesn't have an </input> field.
13 years ago
Andreas Granig
6f406e3486
Don't show faxserver preferences if it's disabled.
13 years ago
Andreas Granig
0f6fc8a995
Fix preference handling with max_occur > 1.
13 years ago
Andreas Granig
d2aeb8217d
Make modal header more generic.
13 years ago
Gerhard Jungwirth
ca5e863e27
fix view on narrow screens
...
navigation menu did not appear
13 years ago
Andreas Granig
56c167c575
Fix terminating voip_subscribers for reseller.
13 years ago
Gerhard Jungwirth
e41fe3305d
Use a modal to display the NCOS setting "Include local ac"
13 years ago
Andreas Granig
9b8ce0d783
Align billing fees to new DT mechanism.
...
Finally remove the ajax_process_resultset function from Root controller.
13 years ago
Andreas Granig
84f1183542
Mark active accordion as open.
...
This is needed to highlight the accordion group when restoring
the last tab state.
13 years ago
Andreas Granig
c8beecba9a
Only allow callflows if enabled in config.
13 years ago
Andreas Granig
772977d848
Only show CDRs if call_data is set for user.
13 years ago
Andreas Granig
035c3a60b9
Confirm deletion of rewrite rule.
13 years ago
Andreas Granig
0b596b7c85
Implement reseller dashboard widgets.
13 years ago
Andreas Granig
bd60a1dbda
Pretty-print timestamp in call flows.
13 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.
13 years ago
Andreas Granig
2513159c6f
Fix confirm dialog in nested modals.
13 years ago
Andreas Granig
1437084795
Add global callflow controller.
13 years ago
Andreas Granig
ed680b281d
Globally handle last opened accordion.
13 years ago
Andreas Granig
124ffae866
Add mailto link in error pages for contact.
13 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.
13 years ago
Andreas Granig
361d59a578
Fix unban handling.
...
URI-encode ips and usernames.
Properly delete right keys when unbanning a user.
13 years ago
Andreas Granig
9e5b132988
Add ip/auth ban link to top-menu.
13 years ago
Andreas Granig
cb7e0fb63c
Implement ip/auth ban management.
13 years ago
Andreas Granig
c58d1702e0
Fix wrong html syntax.
13 years ago
Andreas Granig
861bebef8c
Migrate server/rules handling to new DT mechanism.
...
This fixes searching and sorting for servers and rules.
13 years ago
Andreas Granig
9f129baccd
Fix paging plugin path.
13 years ago
Andreas Granig
a9b68ae367
Fix contract/contact editing from within reseller.
13 years ago
Andreas Granig
1481894d68
Fix special offpeak handling.
13 years ago
Andreas Granig
8964a130d7
Upgrade bootstrap and clean up static files.
13 years ago
Andreas Granig
531281396b
Fix IE10 incompatibilities.
13 years ago
Andreas Granig
0830ae5055
Fix statistics on IE.
13 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.
13 years ago
Andreas Granig
aa33e91147
Only show lock warns if subscriber is set.
...
Should be handled by loading the actual data in the background.
13 years ago
Andreas Granig
d4b396c318
Add loader image for stats.
13 years ago
Andreas Granig
672c25219e
Add Back button to stats.
13 years ago
Andreas Granig
4572d950d0
Fix billing handling.
13 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.
13 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.
13 years ago
Andreas Granig
6d38442876
Filter terminated elements; visual cleanups.
...
Don't show terminated resellers and contracts.
Wrap customer details into accordion.
13 years ago
Andreas Granig
9afd656365
Show all billing profiles for customer.
13 years ago
Andreas Granig
98c9a17fb5
Add reseller top menu entries.
...
Also some minor cleanups in error pages.
13 years ago
Andreas Granig
aee8feeb01
Rework rewrite rules.
...
Add reseller id to rule set.
Align to new DT handling.
Remove DBIC handling.
13 years ago
Andreas Granig
4b956f6e8a
Clean up sound set handling.
...
Align to new DT handling.
Remove DBIC handling.
Add reseller selection.
13 years ago
Andreas Granig
bcf3c2b7dd
Cosmetical enhancements.
13 years ago
Andreas Granig
e4d305895c
Clean up NCOS handling.
...
Add reseller selection when creating level as admin.
Align to new DT methods.
13 years ago
Andreas Granig
01b3856ee7
Align domain handling to new DT mechanism.
...
While we're at it, show reseller domains in reseller details.
13 years ago
Andreas Granig
af2557019b
Only create Back-button once.
13 years ago
Andreas Granig
e1f7a4710e
Properly handle back button.
13 years ago
Andreas Granig
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
13 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.
13 years ago