Gerhard Jungwirth
0d8f6d1355
MT#4903 Fix javascript error on empty referrer
...
let it match a controller that does not exists
(This broke in (MT#4287))
and exclude get parameters from that match
12 years ago
Gerhard Jungwirth
21b841ba5c
MT#4287 Remove datatables state on menu items
...
That is, when changing the main pages (controller more or
less) like from /reseller to /contact, remove previous
stored state.
12 years ago
Gerhard Jungwirth
5fa8ca12cf
MT#4287 Use Statesave Feature
...
This saves every configuration for datatables locally
And clear every localStorage setting on login/logout
12 years ago
Gerhard Jungwirth
82e343a41f
MT#4287 preserve display setting rows
...
in the local browser storage
the number of rows in a datatables element is saved
this is individually different for each page
12 years ago
Gerhard Jungwirth
7945805883
MT#4289 contracts: filter by product and separate terminate
...
Only show reseller and peering contracts in the
Contracts controller. Also remove the generic create
in favour of the peering/create and reseller/create.
Customer controller now has its own terminate routine to be really
independent from the Contract controller.
Now we can expose the Contract controller in the menu.
12 years ago
Gerhard Jungwirth
92c17240a5
MT#4289 fix html-id with invalid symbols
...
When editing a customer, the helper.name contained a hash symbol (#).
This variable is used to form the id of the html element table, by
stripping spaces from it. Now we also strip the hash, because otherwise
at least jquery will fail to find this id.
12 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
12 years ago
Andreas Granig
fba3998657
MT#3977 Implement line/key handling for devices.
...
This is part 1 to define keys/lines on a device, to be assigned to
subscribers.
12 years ago
Andreas Granig
b2f7e00612
Render empty string on null values.
12 years ago
Andreas Granig
907eab8ffe
HTML-escape DT fields before displaying it.
12 years ago
Gerhard Jungwirth
52e353d594
Option to select the number of rows in datatables table
...
enabled by helper.length_change
Mantis: 0003589
12 years ago
Andreas Granig
56c167c575
Fix terminating voip_subscribers for reseller.
12 years ago
Andreas Granig
9f129baccd
Fix paging plugin path.
12 years ago
Andreas Granig
531281396b
Fix IE10 incompatibilities.
12 years ago
Andreas Granig
af2557019b
Only create Back-button once.
12 years ago
Andreas Granig
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
12 years ago
Andreas Granig
b194556431
Move transcoder to separate file.
...
Transcode VM messages to get WAV instead of WAV49.
Fix sound set handling and transcode PCMA to WAV.
12 years ago
Andreas Granig
1230e42f06
Don't overwrite c var, as it holds catalyst ctx.
12 years ago
Andreas Granig
06a6470783
Filter rows by date range, e.g. CDR table.
12 years ago
Andreas Granig
114742b366
Implement call list.
12 years ago
Andreas Granig
cd2f79bfa1
Allow creation of subscribers within customer.
12 years ago
Andreas Granig
2e849d131a
Implement better pagination for datatables.
...
The previous implementation seems to got lost somewhere.
12 years ago
Andreas Granig
1ed15a0c75
Also confirm Terminate actions.
12 years ago
Andreas Granig
d39a073efd
Sort subscribers by status.
12 years ago
Andreas Granig
cc707fa6d0
Add subscriber termination.
12 years ago
Andreas Granig
248ea962d6
Fix datatables control element positioning.
12 years ago
Andreas Granig
884e3d6020
Fix reseller styles.
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
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
490c38ab9e
Part 1 of making template buttons more flexible.
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
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
f908c19483
outsource modal, introduce peaktime page
...
modal uses a separate template file now
the weekdays edit modal is WIP
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
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
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
fdd302c093
modal width more flexible
...
so it doesn't break on narrow screen
12 years ago
Andreas Granig
6ede6b4e09
Dynamically load top menu widgets.
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
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
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