Lars Dieckow
f79846801a
better syntax high-lighting
12 years ago
Lars Dieckow
8e222aa344
missing dependency
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
Lars Dieckow
f6dc170dd8
missing dependency
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
9b8f7bb52e
Add selenium test for peering controller
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
1b4b302295
Add Administrator site to quick access menu.
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
0436e58e19
fix TT warning
...
it complained argument "" isnt numerical
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
Lars Dieckow
dcc1afb4b2
ignore generated files
12 years ago
Gerhard Jungwirth
55718d43ba
css: move all styles from templates to css file
12 years ago
Gerhard Jungwirth
5f36ccea1b
outsource TODOs to bugtracker.sipwise.com
12 years ago
Gerhard Jungwirth
29c4afa729
tests: do diag output
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
9274a5c93d
fix tests
...
the new billing controller is a redirect if one is not logged in
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