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
Andreas Granig
af28876437
Propagate primary number change to CF and VM.
12 years ago
Andreas Granig
544e7e8252
Implement subscriber reminder settings.
12 years ago
Andreas Granig
4aebd6aa8b
Implement voicemail settings.
12 years ago
Andreas Granig
2b966d8190
Implement subscriber alias handling.
12 years ago
Andreas Granig
d111caee98
Implement editing of subscriber master data.
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
cd2f79bfa1
Allow creation of subscribers within customer.
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
a976854f9e
Show registered devices for subscribers.
12 years ago
Andreas Granig
0fd0e8fec9
Show domain name in subscriber list.
12 years ago
Andreas Granig
602e579971
Cleanup debug messages.
12 years ago
Andreas Granig
efddf71181
Pretty-print CF destinations.
12 years ago
Andreas Granig
71f5e663dc
Implement proper destination selection for CF.
12 years ago
Andreas Granig
076d7a8963
Pretty-print period definitions.
12 years ago
Andreas Granig
9fa426139e
Adapt time set handling to new form.
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
8dc84bd287
Use proper Utils modules.
12 years ago
Andreas Granig
f6ff8aaec5
Remove debug dumpers.
12 years ago
Andreas Granig
f996d4a15e
Move naviation to NGCP::Panel::Utils::Navigation
12 years ago
Andreas Granig
1c48ba879d
Gracefully handle contract without billing profile.
...
This should actually never happen (tm).
12 years ago
Andreas Granig
3a1a15164a
Implement time/destination set creation for CF.
12 years ago
Andreas Granig
32134113ce
Fix deleting active time sets.
12 years ago
Andreas Granig
bcc9b83bf9
Add basic timeset handling for CF.
12 years ago
Andreas Granig
82f7c08ae4
Implement deletion of CF destination sets.
12 years ago
Andreas Granig
7b9697cf34
Properly set voip_usr_preferences on CF changes.
12 years ago
Andreas Granig
a7467ebbb5
Properly set close target for correct work-flow.
12 years ago
Andreas Granig
86d89f881d
Some cleanups using preference helper.
12 years ago
Andreas Granig
b0cf42bd92
Fix handling of multiple mappings per CF type.
12 years ago
Andreas Granig
7d5cd8cd0f
Handle assigning of multipe sets in CF mapping.
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
00d279f6d1
restrict access to Administrator Controller
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
a3d42f2cd3
preselect rewrite_rule_set, ncos and adm_ncos on preferences modal
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
Gerhard Jungwirth
d321c3a1a6
remove unused provisioning_domain_id from stash
12 years ago
Andreas Granig
d39a073efd
Sort subscribers by status.
12 years ago
Andreas Granig
cc99beed76
Add usr_preferences on subscriber creation.
12 years ago
Andreas Granig
cc707fa6d0
Add subscriber termination.
12 years ago
Gerhard Jungwirth
5e5b221bbf
fix bug in enum display
...
in the modal to edit preferences only relevant enums should be displayed
12 years ago
Gerhard Jungwirth
1253d10e31
fix create/delete of Domains
...
Domains are now updated in billing.domains and provisioning.voip_domains
12 years ago
Andreas Granig
394595cd48
Implement subscriber creation.
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
52fe28451c
use XMLDispatcher for Peering and RewriteRules
12 years ago
Gerhard Jungwirth
01cea1a76d
use XMLDispatcher for Domains and SoundFiles
12 years ago
Gerhard Jungwirth
36d3317da8
XMLDispatcher
12 years ago
Andreas Granig
74ae3d91d3
Add customer list to reseller details.
12 years ago
Andreas Granig
4cbf5be13f
Make reseller status active by default.
12 years ago
Gerhard Jungwirth
773890a105
transcode sound files
12 years ago
Gerhard Jungwirth
2715939400
fix reconfirmation on soundfile-delete, make soundfiles downloadable
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
f7433e3b8a
Implement admin peering widget.
...
Also fix singular/plural handling in names.
12 years ago
Andreas Granig
761aab3220
Implement reseller and billing widget for admins.
12 years ago
Andreas Granig
06eecf8a3d
Fix reseller handling.
12 years ago
Andreas Granig
1a61093b9c
Fix weekdays peaktime handling.
12 years ago
Gerhard Jungwirth
c41dbe80b3
fix NCOS Pattern creation
...
wrong form had been validated
mantis: 0003347
12 years ago
Gerhard Jungwirth
b2317f2005
align modal fields
...
- fields are full width
- create button is pull-right
12 years ago
Andreas Granig
f149aa525b
Migrate to new datatables filter method.
12 years ago
Andreas Granig
99fbe92d0c
Fix displaying special peak times.
12 years ago
Andreas Granig
215748a033
Migrate to new datatables search method.
12 years ago
Andreas Granig
3911119b39
Make datatables fields searchable by "subnames".
12 years ago
Andreas Granig
be0cea94be
Display billing profile name instead of id. WIP.
12 years ago
Lars Dieckow
d37314bfc1
create reseller with defaults
12 years ago
Lars Dieckow
9356af6e3e
refactor
12 years ago
Lars Dieckow
38a45d594f
skip offset calculation if pagination is disabled
12 years ago
Lars Dieckow
9df80c6caf
hash-based aaData for datatables via serialisation hook
12 years ago
Lars Dieckow
ee642f0b93
build search expression only if search was submitted
12 years ago
Lars Dieckow
add111dbad
stricter parameter checking
12 years ago
Lars Dieckow
412b9ee493
not needed anymore
12 years ago
Andreas Granig
0dfd3d3f54
Add tooltip support.
12 years ago
Andreas Granig
48cd51d910
Datatables always need the id column.
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
749352537b
Set contract status to active by default.
12 years ago
Andreas Granig
0045d2f1dc
Remove unnecessary Customer fields.
12 years ago
Andreas Granig
06facd90c9
Remove unnecessary Customer form.
12 years ago
Andreas Granig
26879effe6
Fix customer creation.
...
Point link to Contract controller on creation.
Redirect into customer details after creation.
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
3b0119e603
Add customer mock.
12 years ago
Andreas Granig
4bbbee3aa1
Finish migration to new button handling.
...
You can now define in your datatables template which buttons to
show on top and which to show per row while defining an arbitrary
action for it.
Buttons with name "Delete" pop up a confirm dialog automatically.
12 years ago
Andreas Granig
1731006570
Check for uploaded file before deleting/processing
12 years ago
Andreas Granig
8245329a76
Implement listing of customer contracts.
12 years ago
Andreas Granig
dda40dcc16
Customer implementation. WIP.
12 years ago
Andreas Granig
cba76fc619
Write contract_balance also for peering contracts.
12 years ago
Andreas Granig
98a7b3867c
Move contract_balance creation to tmp helper.
...
This needs to be implemented in the schema at some point!
12 years ago
Lars Dieckow
7a29024cfe
DateTime API
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
4ef08be450
restructure parameters of NGCP::Panel::Utils::check_form_buttons
...
to allow multiple redirect_uris to be given to it
the old style (arrayref) is still supported though
+fix typo
12 years ago
Andreas Granig
b8b41d8657
Populate contract_balance on contract creation.
...
PoC. Needs to be put into separate module/function, as it needs to be used when
querying a contract balance which doesn't exist.
12 years ago
Gerhard Jungwirth
3903a8fd0b
Option to set local_ac in billing.ncos_levels
12 years ago
Gerhard Jungwirth
832ca26af2
Limit Reseller access to NCOS Levels
...
Only show resellers own NCOS Levels.
12 years ago
Gerhard Jungwirth
34f8a717df
CRUD NCOS Levels and NCOS Number Patterns.
12 years ago
Lars Dieckow
1ae8494e23
automatic UTF-8 decoding/encoding
12 years ago
Lars Dieckow
67a7ff3627
Catalyst 5.90040
12 years ago
Lars Dieckow
421f9f319d
centralised ACL roles for all controllers
12 years ago
Gerhard Jungwirth
48f1a3a3a5
Rewrite Rule Set and Rewrite Rule Management
12 years ago
Lars Dieckow
bcbaa9915c
dynamic runtime dispatch
12 years ago
Lars Dieckow
f79846801a
better syntax high-lighting
12 years ago
Lars Dieckow
605eb563ad
admin, reseller ACL roles for domains
12 years ago
Lars Dieckow
817f62d586
column encoding handled in model
12 years ago
Gerhard Jungwirth
e9bf0956b9
fix mistaken diff garbage
12 years ago
Gerhard Jungwirth
f3982ebd50
Use Custom Fields to check EmailList, IP address and Regexp
...
mantis: 0003081
12 years ago
Gerhard Jungwirth
35776406a9
Correct management of billing_mappings
...
* When session->{create_peering_contract} is set, set the corresponding
product (sippeering).
* When changing the billing_profile create a new billing_mapping with
the start_date of now.
* Preselect the correct billing_mapping on the edit modal-dialog.
12 years ago
Gerhard Jungwirth
8d43a6ae92
select only one billing_mapping per contract
...
select the billing_mapping which has an start_date and end_date closest
to the current time. do not select one that does not match the current time.
also prevent db error about multiple id columns by using 'me.id' in
the root controller
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
25e75e4420
Show/Edit peer preferences under peer servers
...
* some code has been outsourced to NGCP::Panel::Utils
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
Andreas Granig
f5b69ed87e
Cleanup debug dumpers.
12 years ago
Andreas Granig
db12421890
Cleanup unused var.
12 years ago
Andreas Granig
97b7f01164
Add simple role handling via realm check.
12 years ago
Andreas Granig
35bade1640
Allow searching by login.
12 years ago