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
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
a95a5d3cfd
use resultset for searching, sorting and pagination
...
- also for rowcount
- also do some cleanup/coding style
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
Gerhard Jungwirth
f982cbbe0b
outsource model config to config file
12 years ago
Gerhard Jungwirth
c3f8397fad
simple edit, create, delete for domains
...
- does not use the dedicated methods in NGCP::Schema::billing
12 years ago
Gerhard Jungwirth
764865cdcf
start using ngcp-schema (for domains)
...
- requires: ngcp-schema and sipwise-base
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
dcd965f312
use a bootstrap style 404 error page
12 years ago
Gerhard Jungwirth
8d781eb898
sort dashboard widgets through priority
12 years ago
Andreas Granig
8ff5c4e427
Migrate domain handling to datatables.
12 years ago
Andreas Granig
6ede6b4e09
Dynamically load top menu widgets.
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
277d9d34f2
Fix hardcoded urls and missing wrapper function.
12 years ago
Gerhard Jungwirth
d6d7784969
fix warning, add datatables into /contract/create
...
- fix warning caused by missing "widget" attribute
- use datatables to select contacts in /contract/create
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
6b64c732ac
outsource ajax processing into private action /ajax_process in Root controller
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
Gerhard Jungwirth
8f14fbda59
add ajax action that returns json representation of reseller data
12 years ago
Gerhard Jungwirth
a9808ee53f
add new view "JSON"
12 years ago
Lars Dieckow
7ed2dccb52
less log spam by default
12 years ago
Lars Dieckow
c4caeb6e02
debug spam interferes with testing
...
if you need it for development environments:
<http://p3rl.org/Catalyst::Manual::Cookbook#Enable-debug-status-in-the-environment >
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
1d092e5cc6
Fix redirecting back in creation 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
61f57290ed
Use compound fields for element groups.
12 years ago
Andreas Granig
460ecd825b
Add domain handling skeleton.
12 years ago
Andreas Granig
cd109ee5ed
Cleanup debug messages.
12 years ago
Andreas Granig
065d8aafd3
Implement role and controller filter for widgets.
12 years ago
Andreas Granig
9067242a0f
Add custom Contract form field.
12 years ago
Andreas Granig
37def5fbe1
Clean up log messages.
12 years ago
Andreas Granig
5ce4b91aa8
Rework controller for proper chaining.
12 years ago
Andreas Granig
a6e94ba881
Simplify login form handler.
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
aea25b930c
Use bootstrap widget to render forms.
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
51969bc880
Use proper auth realm for login action.
12 years ago
Andreas Granig
d2d0fef99b
Rework form rendering to use formhandler.
12 years ago
Andreas Granig
7ca48ece05
Provide proper form error fields.
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
5e9ccf605f
Fix content-type for woff font files.
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
f33ed45938
Restructure root/ and add wrapper and /test page.
12 years ago
Andreas Granig
4316ff59c4
Initial commit of catalyst skeleton.
12 years ago