Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
11 years ago
Irka
77136247f0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
11 years ago
Andreas Granig
c799df3ebd
MT#3925 API: dynamically render API documentation.
12 years ago
Andreas Granig
84e465fb21
MT#3961 Add Italian translation.
...
Also prepare Spanish and Russian translation files for DT.
12 years ago
Andreas Granig
b88d36bdf0
MT#5083 Implement sendfax in ngcp-panel.
12 years ago
Andreas Granig
eaad8dfda5
MT#3961 Rework German localization.
...
Some fixes along the path where strings where not prepared for
localization yet, or element widths were too small.
12 years ago
Gerhard Jungwirth
4ab0097744
MT#3961 translate HTML::FormHandler forms
12 years ago
Gerhard Jungwirth
8981667b77
MT#3961 Translate Preference groups
12 years ago
Gerhard Jungwirth
d989abc8f9
MT#3961 Translate everything
12 years ago
Gerhard Jungwirth
f1a210fafb
MT#3961 using specific identifier for datatables table
...
to avoid getting our id from the translated name, because that would probably
contain unicode, which is not a problem in HTML5 or higher, but below.
be careful to create a different identifier for each datatable you create
in a template, othewise the previous one would be used, and uniqueness is gone!
12 years ago
Gerhard Jungwirth
9040831ecd
MT#3961 more translations
12 years ago
Gerhard Jungwirth
a272512298
MT#3961 Prepare to localize DB-Strings
...
For now, we ignore square brackets
12 years ago
Gerhard Jungwirth
1bf73a7bb6
MT#3961 Prepare for localization
12 years ago
Gerhard Jungwirth
11841b2bba
MT#5465 preferences_enum stop using default_val
...
The real default enum option is the one with value set to NULL
12 years ago
Gerhard Jungwirth
2c7a0c4e6b
MT#4967 Let subadmins steal numbers
...
A subadmin can use the field alias_select to select any number of alias
numbers, which he is allowed to manage. If he selects one, it moves
to this subscribers alias_numbers. If he unselects one, it moves to his
own alias numbers.
12 years ago
Andreas Granig
3a07a53967
MT#3925 API: Merge branch 'agranig/rest'
12 years ago
Gerhard Jungwirth
8254001364
MT#4565 Fix boolean expression on read-only permissions
...
Our condition should only apply on admin and reseller role
12 years ago
Andreas Granig
6bb57f08f2
MT#3997 Finish API skeleton.
...
We should now have working baselines for
- collections (SystemContacts)
- items (SystemContactsItem)
with support for
- collections: OPTIONS, HEAD, GET, POST
- items: OPTIONS, HEAD, GET, PUT, PATCH, DELETE
covered by according tests and with a proper API documentation.
12 years ago
Andreas Granig
2ef9dc16b5
MT#4565 Fix read-only permissions.
...
Properly deny write ops for read-only admins and resellers.
12 years ago
Gerhard Jungwirth
364c9d9175
MT#4287 Preserve dt settings until logout
...
This reverts commit 21b841ba5c
.
12 years ago
Gerhard Jungwirth
1be3912002
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
6583c96b51
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
cd0fa24e7d
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
f6e2bbadad
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
e184e00f86
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
12fb9a71b3
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
5068bd0f17
MT#3925 Style and reorganize API templates
12 years ago
Andreas Granig
5098850d20
MT#3925 Add documentation framework for API.
...
Render api/ content dynamically via api/root/ templates, which allows
for splitting up collection descriptions.
Update jquery-ui to include more components like accordions.
12 years ago
Andreas Granig
272caf532e
MT#4565 Fix read-only permissions.
...
Properly deny write ops for read-only admins and resellers.
12 years ago
Gerhard Jungwirth
402b5b0909
MT#4287 Preserve dt settings until logout
...
This reverts commit 21b841ba5c
.
12 years ago
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
1761945b8c
MT#4025 Implement contract_sound_set preference.
...
Let the subscriber choose a contract-wide sound set e.g. for PBX announcements.
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
Gerhard Jungwirth
b442c759a1
Show Timeset and Destination Set Names
...
and provide a Modal showing the Detail of each.
Except the case when thedestination_set.name is called "quickset_*" and
it only has one entry.
In that case show the particular destinations of this destination set,
in order to not confuse a user who just configured a trivial cf via the simple view.
under Subscriber Preferences -> Call Forwards
Mantis: 3803, 3801
12 years ago
Andreas Granig
086d91ff0e
Use roles instead of realm for logged in users.
12 years ago
Andreas Granig
8a194e5055
Use preference label instead of attribute.
...
For admins and resellers, show label in addition to attribute.
For subscribers, only show label.
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
Andreas Granig
231dc9fd07
Reset DT field id if it's not selected.
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
Gerhard Jungwirth
356891c29b
Handle the preference man_allowed_ips like allowed_ips
12 years ago
Gerhard Jungwirth
c33021d30e
Handle allowed_ips preference.
...
Write data to voip_allowed_ip_groups. Use voip_aig_sequence as counter.
Also move the Preference handling to Utils/Preferences.pm
12 years ago
Andreas Granig
352e403507
HTML doesn't have an </input> field.
12 years ago
Andreas Granig
0f6fc8a995
Fix preference handling with max_occur > 1.
12 years ago
Andreas Granig
56c167c575
Fix terminating voip_subscribers for reseller.
12 years ago
Andreas Granig
ed680b281d
Globally handle last opened accordion.
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
af28876437
Propagate primary number change to CF and VM.
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
477a9720a4
Add CF mock.
12 years ago
Gerhard Jungwirth
702aacda1d
handle the preference sound_set
12 years ago
Andreas Granig
7205cac8b2
Add subscriber preferences.
...
Also fix preference handling for deleting preferences when they are set to
false (boolean), empty (string/int) or defaults (enum).
12 years ago
Gerhard Jungwirth
20c34c71ef
handle the preference ncos and adm_ncos
12 years ago
Gerhard Jungwirth
85c28e259d
handle the preference rewrite_rule_set
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
Gerhard Jungwirth
8186dd6e93
fix design of modal
12 years ago
Andreas Granig
b8a6b6b9f1
Enhance paging style.
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
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
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
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