Gerhard Jungwirth
33285f0874
Use the messaging utility for Domains
12 years ago
Gerhard Jungwirth
45a0d6c3d6
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
Gerhard Jungwirth
26bc60448a
Only show relevant domains on reseller details
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
017446312f
Clear created domain from session.
12 years ago
Andreas Granig
685d7d42d7
Pass back newly created domain to parent.
12 years ago
Andreas Granig
6054ada6fb
Tell prosody about new/deleted domains.
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
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
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
Gerhard Jungwirth
702aacda1d
handle the preference sound_set
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
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
Gerhard Jungwirth
4b4c393c41
adapt new schema with single namespace
...
just domain creation/delete is not working yet
12 years ago
Gerhard Jungwirth
01cea1a76d
use XMLDispatcher for Domains and SoundFiles
12 years ago
Andreas Granig
f149aa525b
Migrate to new datatables filter method.
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
Lars Dieckow
67a7ff3627
Catalyst 5.90040
12 years ago
Lars Dieckow
421f9f319d
centralised ACL roles for all controllers
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
Gerhard Jungwirth
25e75e4420
Show/Edit peer preferences under peer servers
...
* some code has been outsourced to NGCP::Panel::Utils
12 years ago
Gerhard Jungwirth
dec990e570
perl5i to check for integers, documentation
...
* Method name "list" is not allowed with Sipwise::Base
* Correctly break chain in peaktime_specials_edit, peaktime_specials_delete
* better use ->is_integer instead of regex
12 years ago
Gerhard Jungwirth
210140f483
Make Preferences a button
...
Closes: sipwise-0003083
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
bf41772200
remove commented code
...
and one small code simplification
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
dc67ed1303
add some source documentation
...
to domain controller and preferences form
12 years ago
Gerhard Jungwirth
c597b3fc7d
restructuring DB access
...
using prefetch to improve performance
the whole preferences page now only needs 4 sql queries
12 years ago
Gerhard Jungwirth
3b367079ea
group preferences (using bootstrap accordion)
12 years ago
Gerhard Jungwirth
a1ca6af6b9
options to delete and deactivate prefs with multiple values
12 years ago
Gerhard Jungwirth
da8f3b267d
editing preferences with multiple values (WIP)
12 years ago
Gerhard Jungwirth
6dce0d610c
Fix prefill and update of preferences.
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
Andreas Granig
7f92d7f82c
Properly display domain preferences in full list.
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
Gerhard Jungwirth
7e3f856be0
domain: remove edit button, add preferences link
12 years ago
Gerhard Jungwirth
16f82c70fa
domain: use create_domain() from ngcp-schema to create domain
12 years ago
Gerhard Jungwirth
416ae48813
domain controller: error message, some simplifications
...
its possible to use resultset in base chain now,
but that will change when we use the convenience methods in the schema
12 years ago
Gerhard Jungwirth
547aea4c5b
fix/restructure domain controller to use resultset more consistently
12 years ago
Gerhard Jungwirth
79adff3037
change data handling in ajax method
...
- resultset is now processed directly by ajax method
- small fix in config file
12 years ago