Andreas Granig
bb6f7cd0a0
Align templates to new ajax return format.
12 years ago
Lars Dieckow
c86e11c596
create button optional
12 years ago
Lars Dieckow
d37314bfc1
create reseller with defaults
12 years ago
Lars Dieckow
9df80c6caf
hash-based aaData for datatables via serialisation hook
12 years ago
Gerhard Jungwirth
8186dd6e93
fix design of modal
12 years ago
Andreas Granig
8eabbecde9
Implement subscriber creation mock.
12 years ago
Andreas Granig
b8a6b6b9f1
Enhance paging style.
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
5dfe2afc28
Fix header for customer details.
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
c6f18db41c
Migrate contract view to new button concept.
12 years ago
Andreas Granig
8a65c619f2
Add Customers to admin top menu.
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
0d63c971af
Migrate billing templates to new button handling.
12 years ago
Andreas Granig
b273a899c8
Use catalyst functions to get urls.
12 years ago
Andreas Granig
490c38ab9e
Part 1 of making template buttons more flexible.
12 years ago
Andreas Granig
8245329a76
Implement listing of customer contracts.
12 years ago
Andreas Granig
dda40dcc16
Customer implementation. WIP.
12 years ago
Gerhard Jungwirth
3903a8fd0b
Option to set local_ac in billing.ncos_levels
12 years ago
Gerhard Jungwirth
34f8a717df
CRUD NCOS Levels and NCOS Number Patterns.
12 years ago
Gerhard Jungwirth
c84862beb5
fix typo/dependencies
12 years ago
Gerhard Jungwirth
48f1a3a3a5
Rewrite Rule Set and Rewrite Rule Management
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
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
97b7f01164
Add simple role handling via realm check.
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
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
e89dfa5f4a
show peaktime dates as datatables table
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
55718d43ba
css: move all styles from templates to css file
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
6942a188b8
dynamic page title
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
2c6c757585
add navigation to the preferences site
12 years ago
Gerhard Jungwirth
3b367079ea
group preferences (using bootstrap accordion)
12 years ago
Gerhard Jungwirth
a44763f812
fix html syntax
...
so document is now valid in validator.w3.org
12 years ago
Gerhard Jungwirth
c3caf6442e
style multiple entry form more nicely
...
also show label correctly
12 years ago
Gerhard Jungwirth
58c45bb632
strike disabled values
...
also prevent page scrolling up on description popup
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
951037b6da
fix viewing boolean and multiple entries
12 years ago
Gerhard Jungwirth
5d6374f153
html encode preference description
12 years ago
Gerhard Jungwirth
257a8bfc0a
add status messages to preferences (domain)
12 years ago
Andreas Granig
6af4d59390
Some more fix attempts for dom-prefs, WIP.
12 years ago
Andreas Granig
76305fc56f
Clean up Settings menu for admin.
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
926839940a
Disable drop-downs in preference list.
12 years ago
Andreas Granig
60d3cedec8
Improve visual layout of preference list.
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
7b9c7b1a3b
restore confirmation dialog on delete button
...
- as it was in rev. e7cafadcc3
(for example)
12 years ago
Gerhard Jungwirth
da8f7b9ba0
fix some css issues
...
- improve view of the create/edit dialog on narrow screens
12 years ago
Gerhard Jungwirth
0e276f2782
bugfix in edit dialog containing datatables field
...
- when a row is preselected in a datatables field, it is shifted top, to make sure its visible
Conflicts:
lib/NGCP/Panel/Controller/Root.pm
12 years ago
Gerhard Jungwirth
fdd302c093
modal width more flexible
...
so it doesn't break on narrow screen
12 years ago
Gerhard Jungwirth
dcd965f312
use a bootstrap style 404 error page
12 years ago
Andreas Granig
8ff5c4e427
Migrate domain handling to datatables.
12 years ago
Andreas Granig
ba5a86c703
Prettify html code.
12 years ago
Andreas Granig
6ede6b4e09
Dynamically load top menu widgets.
12 years ago
Andreas Granig
3c5acf467f
Add realm and links to other realms in login page.
12 years ago
Andreas Granig
c4c6f80b28
Add error border around datatable field.
...
Also, make search field a bit smaller.
12 years ago
Andreas Granig
47a7b3bf24
Fix error handling for datatable fields.
12 years ago
Andreas Granig
ba235d629e
Align modal datatable to form layout.
12 years ago
Andreas Granig
3b2523473b
Use datatables by default for each table.
...
For the main tables, we use datatables now anyways.
Also use it for datatables fields within forms (needs some visual
optimization and positioning of error messages, as well as
validation code).
12 years ago
Andreas Granig
4b22a492df
Fix modal handling.
...
Remove hardcoded columns in datatables fields.
Make modal popup wider to fit the table better.
Add pagination to table.
12 years ago
Andreas Granig
38e96c8143
Improve styling of tables.
...
Add paging plugin for bootstrap.
Visually indicate column sorting.
Reorder filter field.
12 years ago
Andreas Granig
277d9d34f2
Fix hardcoded urls and missing wrapper function.
12 years ago
Gerhard Jungwirth
63484ee94a
use hidden field for the new datatables field
12 years ago
Gerhard Jungwirth
2d7d691de3
New datatables based fields.
12 years ago
Gerhard Jungwirth
080feb9c6f
Commit WIP.
12 years ago
Gerhard Jungwirth
93968c3a11
design of edit/delete buttons, permission handling, bugfix
...
- hide edit/delete buttons and show them on hover
- show a 403 error on ../ajax urls when user is not logged in
- distinguish between totalRecords and totalDisplayRecords
- fix missing ; in Makefile.PL
12 years ago
Gerhard Jungwirth
f5afd4911b
use serverside sorting in datatables
12 years ago
Gerhard Jungwirth
d8f05dc1a3
make /contacts use datatables
12 years ago
Gerhard Jungwirth
ac9d981aa9
Pagination, Template enhancements for datatables
...
- made template more flexible
- process pagination in reseller/ajax
- use datatables on /reseller
- add edit/delete buttons to template
12 years ago
Gerhard Jungwirth
4c9c766380
create reseller output with datatables
...
- introduce jQuery plugin datatables
- make reseller/ajax searchable
12 years ago
Andreas Granig
320a25024b
Add Contact form and extract redir chain handling.
12 years ago
Gerhard Jungwirth
ade81ba964
Align template path to general structure.
12 years ago
Andreas Granig
e1d5b84afb
More fixes for the redirecting chain.
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
460ecd825b
Add domain handling skeleton.
12 years ago
Andreas Granig
5ce4b91aa8
Rework controller for proper chaining.
12 years ago
Andreas Granig
3f7df5166b
Fix table row height when displaying form buttons.
12 years ago
Andreas Granig
b0f8b6daf6
Fix modal title.
12 years ago
Andreas Granig
e7cafadcc3
First version of using rendering helpers.
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
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
be3a9f6521
Use formhandler for forms. WIP.
...
Needs adaptions to stylesheets to format error messages properly.
12 years ago
Andreas Granig
76e9d458d4
Add basic error handling.
...
Will be rebuilt using formhandler.
12 years ago
Andreas Granig
11fecbd7ae
Implement basic authentication logic.
12 years ago
Andreas Granig
063aa3ab79
Implement moose-based widget plugin architecture.
12 years ago
Andreas Granig
ee4de08f89
Implement naive plugin framework.
...
Will be refactored to use MooseX::Object::Pluggable.
12 years ago
Andreas Granig
87bd6918a0
Move head row to layout.
12 years ago
Andreas Granig
f33ed45938
Restructure root/ and add wrapper and /test page.
12 years ago