Gerhard Jungwirth
bf41772200
remove commented code
...
and one small code simplification
13 years ago
Gerhard Jungwirth
e953697c8f
new modal to create billing zones
13 years ago
Gerhard Jungwirth
9274a5c93d
fix tests
...
the new billing controller is a redirect if one is not logged in
13 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
13 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
13 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)
13 years ago
Gerhard Jungwirth
3df437082c
create "Edit Billing" modal, make validator happy
...
plus add a topmenu entry for Billing
plus better align actions column
13 years ago
Gerhard Jungwirth
1f73491b9c
Create new controller for Billing
13 years ago
Gerhard Jungwirth
1f2d8b7542
make all selenium tests work with chromium and htmlunit
...
selenium tests are now working with: firefox, chrome, htmlunit, phantomjs
13 years ago
Gerhard Jungwirth
0b72c2dc42
improve selenium tests
...
- fix workaround to make buttons visible
- let all tests work with selenium-webdriver and phantomjs
13 years ago
Gerhard Jungwirth
0ccd99747f
more selenium tests
...
for controllers: reseller, domain
13 years ago
Gerhard Jungwirth
af2dbd8825
add some selenium tests
...
for the controllers: domain and reseller
13 years ago
Gerhard Jungwirth
dc67ed1303
add some source documentation
...
to domain controller and preferences form
13 years ago
Gerhard Jungwirth
6942a188b8
dynamic page title
13 years ago
Gerhard Jungwirth
c597b3fc7d
restructuring DB access
...
using prefetch to improve performance
the whole preferences page now only needs 4 sql queries
13 years ago
Gerhard Jungwirth
2c6c757585
add navigation to the preferences site
13 years ago
Gerhard Jungwirth
3b367079ea
group preferences (using bootstrap accordion)
13 years ago
Gerhard Jungwirth
a44763f812
fix html syntax
...
so document is now valid in validator.w3.org
13 years ago
Gerhard Jungwirth
c3caf6442e
style multiple entry form more nicely
...
also show label correctly
13 years ago
Gerhard Jungwirth
58c45bb632
strike disabled values
...
also prevent page scrolling up on description popup
13 years ago
Gerhard Jungwirth
a1ca6af6b9
options to delete and deactivate prefs with multiple values
13 years ago
Gerhard Jungwirth
da8f3b267d
editing preferences with multiple values (WIP)
13 years ago
Gerhard Jungwirth
951037b6da
fix viewing boolean and multiple entries
13 years ago
Gerhard Jungwirth
5d6374f153
html encode preference description
13 years ago
Gerhard Jungwirth
257a8bfc0a
add status messages to preferences (domain)
13 years ago
Gerhard Jungwirth
6dce0d610c
Fix prefill and update of preferences.
13 years ago
Andreas Granig
6af4d59390
Some more fix attempts for dom-prefs, WIP.
13 years ago
Andreas Granig
76305fc56f
Clean up Settings menu for admin.
13 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).
13 years ago
Andreas Granig
926839940a
Disable drop-downs in preference list.
13 years ago
Andreas Granig
60d3cedec8
Improve visual layout of preference list.
13 years ago
Andreas Granig
7f92d7f82c
Properly display domain preferences in full list.
13 years ago
Gerhard Jungwirth
8ddff24cdc
domain preferences: fix form, create overlay
13 years ago
Gerhard Jungwirth
b7a582c87a
make preferences table
...
but keep preference form for now
13 years ago
Gerhard Jungwirth
0b706763c2
have a Preferences Form (extending FormHandler)
13 years ago
Gerhard Jungwirth
7e3f856be0
domain: remove edit button, add preferences link
13 years ago
Gerhard Jungwirth
16f82c70fa
domain: use create_domain() from ngcp-schema to create domain
13 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
13 years ago
Gerhard Jungwirth
a95a5d3cfd
use resultset for searching, sorting and pagination
...
- also for rowcount
- also do some cleanup/coding style
13 years ago
Gerhard Jungwirth
547aea4c5b
fix/restructure domain controller to use resultset more consistently
13 years ago
Gerhard Jungwirth
79adff3037
change data handling in ajax method
...
- resultset is now processed directly by ajax method
- small fix in config file
13 years ago
Gerhard Jungwirth
f982cbbe0b
outsource model config to config file
13 years ago
Gerhard Jungwirth
c3f8397fad
simple edit, create, delete for domains
...
- does not use the dedicated methods in NGCP::Schema::billing
13 years ago
Gerhard Jungwirth
7b9c7b1a3b
restore confirmation dialog on delete button
...
- as it was in rev. e7cafadcc3 (for example)
13 years ago
Gerhard Jungwirth
764865cdcf
start using ngcp-schema (for domains)
...
- requires: ngcp-schema and sipwise-base
13 years ago
Michael Prokop
7c92e9d874
Add required packages to inc/Local/Module/Build.pm, update Build-Depends, skip dh_auto_test
...
Addressing the following build errors:
1) Indirect call of method "method" on object "wait_socket" at inc/Local/Module/Build.pm line 8.
2) Indirect call of method "child" on a block at inc/Local/Module/Build.pm line 49.
3) Indirect call of method "try" on a block at inc/Local/Module/Build.pm line 67.
During package build time dh_auto_test currently fails:
http://paste.mgm.sipwise.com/show/327/ - needs investigation
by developers, but this should at least give us package builds
against Debian/wheezy.
13 years ago
Michael Prokop
675e6f1bff
Add libsipwise-base-perl, libstrictures-perl + libperl5i-perl to Build-Depends
...
NOTE: libsipwise-base-perl is coming from the following repository:
deb http://deb.sipwise.com/autobuild/ wheezy-libs main
13 years ago
Lars Dieckow
3c2946026d
test through webdriver
13 years ago
Gerhard Jungwirth
da8f7b9ba0
fix some css issues
...
- improve view of the create/edit dialog on narrow screens
13 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
13 years ago