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
d69d7bb8fb
MT#4685 Don't tie firmware to profile.
...
That way, you can upload multiple firmwares, and ngcp-panel
will serve the next or latest one, depending on the currently
running one.
12 years ago
Andreas Granig
3cbe4db077
MT#3997 Transform via_route to loose-route URI
12 years ago
Andreas Granig
1fb6381ea6
MT#3995 Use pre-selected options for ext sbc.
...
Don't allow free-form values for via_route but use pre-configured
values from config.yml.
12 years ago
Andreas Granig
dce2f45785
MT#3971 Add max_subscribers field.
...
This only happens when creating customers for now.
12 years ago
Andreas Granig
3030a62a73
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
9f03bf4eb4
MT#4007 Implement auto attendant mgm for subs.
12 years ago
Andrew Pogrebennyk
cc9fe6ed5e
MT#3997 MT#5193 Fix build_via_routes with only one external sbc.
12 years ago
Gerhard Jungwirth
aeb79765d9
MT#5147 Proper DateTime deflation in Forms
12 years ago
Gerhard Jungwirth
0c41788b79
MT#4693 show contract balance in euros instead of cents
12 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.
12 years ago
Gerhard Jungwirth
d238758abc
MT#4967 Refactor Subscriber Forms
...
Move Field e164 (Compound) and alias_number (Repeatable) to own
Files because of multiple occurence.
12 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.
12 years ago
Andreas Granig
4c888798ec
MT#4685 Don't tie firmware to profile.
...
That way, you can upload multiple firmwares, and ngcp-panel
will serve the next or latest one, depending on the currently
running one.
12 years ago
Andreas Granig
29e1251140
MT#3997 Transform via_route to loose-route URI
12 years ago
Andreas Granig
1c1f6726ff
MT#3995 Use pre-selected options for ext sbc.
...
Don't allow free-form values for via_route but use pre-configured
values from config.yml.
12 years ago
Andreas Granig
ff5d127f06
MT#3971 Add max_subscribers field.
...
This only happens when creating customers for now.
12 years ago
Lars Dieckow
aba646f59b
MT#3929 certificate management
12 years ago
Andreas Granig
05553d0406
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
36a020c376
MT#4007 Implement auto attendant mgm for subs.
12 years ago
Andreas Granig
259ddc11b5
MT#3997 Cleanup tooltips.
12 years ago
Andreas Granig
1515e366fd
MT#3997 Really properly fix tooltips.
12 years ago
Andreas Granig
144a360628
MT#3997 Use correct tooltip for peer via-routes.
12 years ago
Andreas Granig
acff496831
MT#3997 Add via_route field to peer hosts.
...
This allows to define a pre-defined static path from the lb
towards the peer for establishing a SIP connection.
12 years ago
Gerhard Jungwirth
029c3832cc
MT#4317 fraud limits: fix labelling
...
seems to be in cents instead of Euros,
also add the label where it had been missing
12 years ago
Andreas Granig
3acdd72dc6
MT#4145 Change postcode to txt, fix empty reseller
...
Postcodes can be alphanumeric in certain countries.
Avoid fault when editing a contact without reseller
(e.g. reseller/peer contact). You still can't save it without
setting a reseller (which might not be what we want).
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
8f6431fbee
MT#4025 Implement management of customer sound set
...
If a sound set has a contract_id, only show pbx group (consider it
being a customer sound set).
If it only has a reseller_id, show everything else except pbx group
(consider it being a system sound set).
12 years ago
Gerhard Jungwirth
d010ca4339
Allow for + at beginning of replacement patterns
...
and update documentation
Mantis: 3197#c24493
12 years ago
Andreas Granig
9680cad859
MT#3977 properly handle firmware upgrade.
12 years ago
Andreas Granig
5730437acf
MT#3977 Implement editing of PBX field device.
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
Andreas Granig
1c8179164a
MT#3977 populate PBX field dev form on prof change
12 years ago
Andreas Granig
03e4d574b6
MT#3977 Prepare line/key in PBX field dev.
12 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.
12 years ago
Gerhard Jungwirth
25dbc9d8d7
Allow 18 decimal digits on Fee rates
...
Mantis: 3829
12 years ago
Gerhard Jungwirth
8d11c9f4d0
validate weight field of Peering Servers
...
This is a tinyint in the db so the range is from -128 to +127 but we only
allow positive numbers
Mantis: 3493
12 years ago
Gerhard Jungwirth
9329de09f4
Fix failing redirect due to double submitid
...
The submitid is already rendered in our parent
form SubscriberCFAdvanced
12 years ago
Andreas Granig
2447dc9997
Harden access to device controller for subscribers
12 years ago
Andreas Granig
086d91ff0e
Use roles instead of realm for logged in users.
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
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
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
b4949f1a48
Implement PBX device boot-strapping.
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
015f04bdc1
Add front and mac image for devices.
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
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
Andreas Granig
acf36bde4b
Add PBX auto-attendant and office-hours CF targets
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
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
3c8734f089
Make PBX groups editable.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
dfb25d922c
Add skeleton to create admin/extension subscriber.
12 years ago
Andreas Granig
e6b9a0aad0
Add product selection for customer contracts.
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
a8a0d9b8fd
Validation on the replacement pattern of rewrite rules
...
Mantis: 0003197
12 years ago
Gerhard Jungwirth
a2ddf93c8d
Copy rewrite rule set functionality
...
Mantis: 0003135
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
Andreas Granig
2d1d5b6ebd
Allow to add empty offpeak start/end time.
12 years ago
Andreas Granig
0f6fc8a995
Fix preference handling with max_occur > 1.
12 years ago
Gerhard Jungwirth
e41fe3305d
Use a modal to display the NCOS setting "Include local ac"
12 years ago
Andreas Granig
b7d7989b61
Fix typo in options method reference.
12 years ago
Andreas Granig
ba46a201a9
Use Sipwise::Base instead of Moose.
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
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
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
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
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
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
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
9350d4258e
Fix contract and peering creation.
12 years ago
Andreas Granig
04296de4c4
First part of reworking reseller handling.
12 years ago
Andreas Granig
4b3d1caab6
Streamline forms in regards to submitid.
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
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
Andreas Granig
544e7e8252
Implement subscriber reminder settings.
12 years ago
Andreas Granig
4aebd6aa8b
Implement voicemail settings.
12 years ago
Andreas Granig
d111caee98
Implement editing of subscriber master data.
12 years ago
Andreas Granig
cd2f79bfa1
Allow creation of subscribers within customer.
12 years ago
Andreas Granig
71f5e663dc
Implement proper destination selection for CF.
12 years ago
Andreas Granig
5e2ca66f3b
Minor cleanups.
12 years ago
Andreas Granig
53a287dedb
Implement row-based period definition for time set
12 years ago
Andreas Granig
bcc9b83bf9
Add basic timeset handling for CF.
12 years ago
Andreas Granig
c5942e83c9
Implement destination set handling.
12 years ago
Andreas Granig
79118bd3d7
Add advanced time/destinations set buttons.
...
Also align them in one row in the modal footer.
12 years ago
Andreas Granig
b8eeebb2de
Add own RepeatableJS renderer.
...
We don't pop up a JS confirm dialog on deletion of a repeatable row.
12 years ago
Andreas Granig
c720fe9ec2
Add time/destination set selectors.
12 years ago
Andreas Granig
c72cac0c95
Add Advanced CF mock.
12 years ago
Andreas Granig
0573234779
Implement CF deletion and visual cleanups.
12 years ago
Andreas Granig
6937ac595f
Implement simple way of adding Call-Forwards.
12 years ago
Andreas Granig
818716b2cd
Add Call Forward Forms.
12 years ago
Gerhard Jungwirth
4a179ac2d4
add some tooltips
12 years ago
Gerhard Jungwirth
25c535cda1
Check for correct date in billing weekday settings
12 years ago
Gerhard Jungwirth
702aacda1d
handle the preference sound_set
12 years ago
Andreas Granig
7205cac8b2
Add subscriber preferences.
...
Also fix preference handling for deleting preferences when they are set to
false (boolean), empty (string/int) or defaults (enum).
12 years ago
Gerhard Jungwirth
20c34c71ef
handle the preference ncos and adm_ncos
12 years ago
Gerhard Jungwirth
85c28e259d
handle the preference rewrite_rule_set
12 years ago
Andreas Granig
cc99beed76
Add usr_preferences on subscriber creation.
12 years ago
Andreas Granig
394595cd48
Implement subscriber creation.
12 years ago
Gerhard Jungwirth
02d27a814b
CRUD Sound Sets and Sound Files
12 years ago
Gerhard Jungwirth
07e3c0a699
Validate Date (start before end)
12 years ago
Andreas Granig
1a61093b9c
Fix weekdays peaktime handling.
12 years ago
Andreas Granig
0dfd3d3f54
Add tooltip support.
12 years ago
Andreas Granig
baa377581e
Some more layout cleanups.
12 years ago
Andreas Granig
8eabbecde9
Implement subscriber creation mock.
12 years ago
Andreas Granig
06facd90c9
Remove unnecessary Customer form.
12 years ago
Andreas Granig
5a4c362152
Implement contract balance handling.
12 years ago
Andreas Granig
f3f7f62868
Implement customer fraud levels.
12 years ago
Andreas Granig
dda40dcc16
Customer implementation. WIP.
12 years ago
Gerhard Jungwirth
ae4c3660d7
use different Forms for BillingProfile when admin/reseller is logged in
...
reseller cannot create billing_profiles for other resellers/admins...
12 years ago
Gerhard Jungwirth
34f8a717df
CRUD NCOS Levels and NCOS Number Patterns.
12 years ago
Gerhard Jungwirth
48f1a3a3a5
Rewrite Rule Set and Rewrite Rule Management
12 years ago
Gerhard Jungwirth
f3982ebd50
Use Custom Fields to check EmailList, IP address and Regexp
...
mantis: 0003081
12 years ago
Gerhard Jungwirth
bb0d585418
Implement Create/Show/Update/Delete of Contracts
...
Use sippeering contracts to update peering groups.
12 years ago
Gerhard Jungwirth
08d2105b56
Show/Create/Update/Delete of peering servers and rules
...
* also the create link in datatables is now based on helper.base_uri
* also the peering controller checks exceptions on every db update
12 years ago
Gerhard Jungwirth
b5449a575e
peering group management
...
- Show/Create/Edit/Delete of peering groups
- using a new controller
12 years ago
Andreas Granig
e3ae499789
Filter reseller contracts.
...
Only show currently active (if edit) and unused contracts when
editing or creating resellers.
12 years ago
Andreas Granig
bffa977192
Implement basic reseller CRUD.
12 years ago
Andreas Granig
fced11b461
Rework Administrator handling.
...
Use is_superuser as admin indicator.
Only show admins, no resellers (will be handled in another view/ctrl).
Allow updates without reentering password.
Hide internal fields in view.
Set sane default values.
12 years ago
Lars Dieckow
d98a4f8cba
CRUD administrators and pick reseller
12 years ago
Gerhard Jungwirth
abfadb4988
provide CSV upload of billing_fees
...
using Text::CSV_XS
12 years ago
Gerhard Jungwirth
ee50a88695
implement create/edit/delete of billing_peaktime_special
12 years ago
Gerhard Jungwirth
f908c19483
outsource modal, introduce peaktime page
...
modal uses a separate template file now
the weekdays edit modal is WIP
12 years ago
Lars Dieckow
0c3e980e61
correct dependencies
12 years ago
Gerhard Jungwirth
5f36ccea1b
outsource TODOs to bugtracker.sipwise.com
12 years ago
Gerhard Jungwirth
e953697c8f
new modal to create billing zones
12 years ago
Gerhard Jungwirth
0af4c6293f
fix editing of billing_fees
...
- the foreign key billing_zone_id was not treated correctly
- also added a link to billing in the dashboard widget
- update some documentation
12 years ago
Gerhard Jungwirth
d1d4ec754b
make billing_fees editable, add billing_zone as datatables form
...
the use of get_columns in lib/NGCP/Panel/Controller/Billing.pm
line 141 could cause problems according to #dbix-class
12 years ago
Gerhard Jungwirth
a0773b2591
billing: fix links, create forms (billing_fees, billing_profiles)
...
- another datatables structure is there for billing_fees
- forms are now performing the desired actions (in ngcp-schema)
12 years ago
Gerhard Jungwirth
3df437082c
create "Edit Billing" modal, make validator happy
...
plus add a topmenu entry for Billing
plus better align actions column
12 years ago
Gerhard Jungwirth
dc67ed1303
add some source documentation
...
to domain controller and preferences form
12 years ago
Gerhard Jungwirth
c3caf6442e
style multiple entry form more nicely
...
also show label correctly
12 years ago
Gerhard Jungwirth
5d6374f153
html encode preference description
12 years ago
Andreas Granig
6af4d59390
Some more fix attempts for dom-prefs, WIP.
12 years ago
Andreas Granig
2c16631a4b
Implement first part of editing domain preferences.
...
Show form accordig to preference type. Still doesn't save
correctly and lacks support for max_occur=0 cases (e.g.
lists of strings).
12 years ago
Gerhard Jungwirth
8ddff24cdc
domain preferences: fix form, create overlay
12 years ago
Gerhard Jungwirth
b7a582c87a
make preferences table
...
but keep preference form for now
12 years ago
Gerhard Jungwirth
0b706763c2
have a Preferences Form (extending FormHandler)
12 years ago
Andreas Granig
320a25024b
Add Contact form and extract redir chain handling.
12 years ago
Andreas Granig
48c8378719
Extend work-flow for reseller creation/edit. WIP.
12 years ago
Andreas Granig
c87ff36170
Add contract and contact lists. WIP.
12 years ago
Andreas Granig
61f57290ed
Use compound fields for element groups.
12 years ago
Andreas Granig
460ecd825b
Add domain handling skeleton.
12 years ago
Andreas Granig
9067242a0f
Add custom Contract form field.
12 years ago
Andreas Granig
5ce4b91aa8
Rework controller for proper chaining.
12 years ago
Andreas Granig
a6e94ba881
Simplify login form handler.
12 years ago
Andreas Granig
d06c66626f
Add close button to modal form.
12 years ago
Andreas Granig
d823a0d113
Don't fade modal and use horizontal form.
12 years ago
Andreas Granig
aea25b930c
Use bootstrap widget to render forms.
12 years ago
Andreas Granig
a32be4d6f7
Further work in reseller forms.
...
Getting closer to a first concept of handling resellers.
12 years ago
Andreas Granig
b87c9ea71c
Add skeleton for reseller management.
12 years ago
Andreas Granig
d2d0fef99b
Rework form rendering to use formhandler.
12 years ago
Andreas Granig
7ca48ece05
Provide proper form error fields.
12 years ago
Andreas Granig
be3a9f6521
Use formhandler for forms. WIP.
...
Needs adaptions to stylesheets to format error messages properly.
12 years ago