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
Andreas Granig
1f50a3ae50
Fix administrator handling.
...
Actually use admins table for authentication of reseller and admin.
Save pass as md5 hash (should be bcrypt at some point!)
Display proper user name in view.
12 years ago
Lars Dieckow
d98a4f8cba
CRUD administrators and pick reseller
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
25e0057b24
add tests for billing controller
...
and make weekdays generic
12 years ago
Gerhard Jungwirth
abfadb4988
provide CSV upload of billing_fees
...
using Text::CSV_XS
12 years ago
Gerhard Jungwirth
e7d92ff670
prevent deletion of billing_profiles
...
Billing-Profiles MUST NOT be deleted
Fixes: sipwise-0003127
12 years ago
Gerhard Jungwirth
210140f483
Make Preferences a button
...
Closes: sipwise-0003083
12 years ago
Gerhard Jungwirth
ee50a88695
implement create/edit/delete of billing_peaktime_special
12 years ago
Gerhard Jungwirth
016ae58929
fix syntax (indirect call)
...
fix syntax so that indirect cannot complain
now we can use correct scope for Sipwise::Base
12 years ago
Gerhard Jungwirth
e89dfa5f4a
show peaktime dates as datatables table
12 years ago
Gerhard Jungwirth
82386265f2
billing weekdays: option to add/delete time ranges
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
Gerhard Jungwirth
309f0c3c91
fix some URIs and fix redirection on fees_create
...
Closes: sipwise-0003085
12 years ago
Gerhard Jungwirth
99d5b3d53e
add a list of zones and the option to delete them (Billing)
...
+ rename list, as it collides with an imported method from Sipwise::Base
12 years ago
Lars Dieckow
1d8d7bab2c
model configuration is in schema classes
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
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
1f73491b9c
Create new controller for Billing
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
c3caf6442e
style multiple entry form more nicely
...
also show label correctly
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
5d6374f153
html encode preference description
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