Andreas Granig
c6e03b7ded
MT#21543 Implement emergency mapping preference
...
Let new emergency mapping containers be assigned to subscribers,
customers, domains.
Change-Id: Ifef5234731604e8ee7373ef2f8d83f1e53431624
9 years ago
Gerhard Jungwirth
5de9017599
MT#19627 do not translate pref_forms ncos and sound_set
...
because it contains the NCOS Level name (or soundset name), which may contain
invalid l10n escape-characters, and translation of it would be wrong anyway.
Change-Id: If28d235462441ca906b7d5cf39941186e7bd98ce
10 years ago
Gerhard Jungwirth
b037f148fd
MT#17413 simplify and fix preference edit modal
...
newly added array_values were not immedeately available
Change-Id: Ib3a1f91a6b1a782c5ef0d36732b3bef394a74275
10 years ago
Rene Krenn
3b044379b0
MT#18699 control if datatable columns can be sorted
...
+disable sorting for profile package's 'Used' count
columns
Change-Id: I9b9fe28591fb0ee8b22d7b95ce6b527961eab940
10 years ago
Rene Krenn
d1f8072577
MT#15821 datatable custom mRender js functions
...
+fix for profile package "initial balance" default value
+fix for clearing the reseller id when editing billing profiles (related to MT#15399)
Change-Id: I53954dd12061fa5ebc4bde7c1769a502e6f862fe
10 years ago
Gerhard Jungwirth
cfd2f784c2
MT#15393 improve API documentation
...
Change-Id: I7c62a88b14fb24e0fa27b0712cdf6c7cc991b4db
10 years ago
Irina Peshinskaya
250498ebe1
MT#8457 Billing profiles duplication.
...
Used working but extremely ugly SQL::Abstract variant
For review.
Change-Id: Id0e2ec6ab5fbbe8cbd791673d1dd8f2efd9e03ba
10 years ago
Irina Peshinskaya
7ba2dbd0d3
MT#12939 Preserve groups order while edit subscriber
...
Change-Id: I2a2c1cf89e72c3345b3abcf3367301e4487ba083
11 years ago
Gerhard Jungwirth
1370ef5ef4
MT#12483 upgrade datatables to version 1.10.5
...
This allows us to set a searchDelay, resulting in fewer calls to ngcp-panel.
Also localStorage is the default for table-settings so no need to set them anymore.
Change-Id: I2960a6ddcc26aaacd71071370d28a7b9a393de96
11 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
11 years ago
Gerhard Jungwirth
1c7fb3a781
MT#5435 option to show table summaries
...
showing any supported aggregation method
Change-Id: If439731261cb148105f4c1fb9608839610935e75
11 years ago
Alexander Lutay
6b580773a8
MT#5435 Fixed missed button 'Create Special Off-Peak Date'
...
We cannot use length here because helper.top_buttons is not a scalar
Change-Id: I35085713161e85628ffc1bb528efe7fd7b4a3d7f
11 years ago
Gerhard Jungwirth
6939629c92
MT#5435 improve datatables top styling
...
reduce text size to page standard and reduce margins
remove an empty row and remove tabs from code
Change-Id: I696b129633b22a0c6a7487e7dd1bb41e5f362d28
11 years ago
Andrew Pogrebennyk
21833bf8cf
MT#9453 introduce handling for adm_cf_ncos[_id] preference
...
Change-Id: I17fdb7fa89a8e1682aafe43c02d94c8e230b8098
11 years ago
Andreas Granig
cf519fb44b
MT#8279 Inflate/deflate block list input in CSC
11 years ago
Andreas Granig
b827f73ab4
MT#5879 PoC of generating invoice out of template
...
Rework zone fee handling.
Implement invoice creation (WIP) - still real template data missing.
12 years ago
Andreas Granig
fdde82379b
MT#5879 Store invoice templates on save.
12 years ago
Gerhard Jungwirth
7ee9aa3f7a
MT#7183 show confirmation dialog on all languages
...
Show the dialog on "Terminate" and "Delete" buttons.
12 years ago
Andreas Granig
601ada23bd
MT#7233 Implement basic number block CRUD.
12 years ago
Irina Peshinskaya
ca7e7a6f0c
MT#5879 Small fixes for list refreshed after ajax form.
...
Script changes aren't relevant, but are useful.
List template changes are enough to fix the error.
12 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
12 years ago
Irina Peshinskaya
410ec47909
MT#5879 Commented out client list frm invoices list interface.
12 years ago
Irina Peshinskaya
7465db49d4
MT#5879 Send invoice to email functionality draft.
...
Todo:
Add invoice email into db. Send email functionality.
Conditional fields in HFH.
Expand accordions on demand.
12 years ago
Irina Peshinskaya
59b932b9a4
MT#5879 Form with datatable field for one page app.
12 years ago
Irina Peshinskaya
59b7028055
MT#5879 Form with datatable field for one page app.
12 years ago
Irina Peshinskaya
4dc64f5853
MT#5879 Attempt to fix invoice/template
...
Also configuration of cancel button on confirm modal.
Fix contract-balance getting.
Fix page numbers in generated invoice.
12 years ago
Irina Peshinskaya
b6361e6cf3
MT#5879 Default for datepicker
12 years ago
Irina Peshinskaya
4a1b5c005e
MT#5879 Few small fixes of some some already fixed errors.
...
Some small fixes which should make behavior much more clear.
I already did some of them them today, but seems like lost somwhow.
12 years ago
Irina Peshinskaya
70ae0c01c9
MT#5879 Invoice deletion draft
12 years ago
Irina Peshinskaya
83db5c1b93
MT#5879 Multiple attachments and further web generation.
12 years ago
Irina Peshinskaya
10100ee245
MT#5879 Add clear filter tooltip.
...
Tooltip on not last buttons makes markup broken on hover. Todo.
s
12 years ago
Irina Peshinskaya
ba04a20c70
MT#5879 Save intermediate state.
12 years ago
Irina Peshinskaya
7ab5ab3c85
MT#5879 Filter invoices by client. Generate form.
...
Left to do:
fix filtering by date, if field isn't a eppoch
generation
mark selected client in clients list. add big button to clear client selection
12 years ago
Irina Peshinskaya
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
12 years ago
Irina Peshinskaya
f877c908a6
MT#5879 Save wokring interface, but with alerts.
12 years ago
Irina Peshinskaya
59b1d7fad6
MT#5879 Intermediate state.
...
Template changes not saved. Separated info form is working, axcept applying renamed fields as form values.
12 years ago
Irina Peshinskaya
135dad02d5
MT#5879 Draft of invoice template movement to reseller.
...
1.Remove curly brackets from svg template
2.Move invoice template templates to their own folder and change pathes accordingly.
3.Move invoice_template functionality to Reseller. maybe should be separated in new Controller.
4.Move InvoiceTemplate form to its own sppace from Customer
12 years ago
Irina Peshinskaya
89e6533d5b
MT#5879 Remove artefacts from datatables vars and make possible deactivate all invoice templates.
12 years ago
Irina Peshinskaya
f6fe84df61
MT#5879 Datatables is shown now for invoice data but search doesn't work. Anyway switch now to invoices generation and will return to datatables later.
...
Done:
1.Form separated for future possible load through ajax.
2.Activity switch in invoice templates table
12 years ago
Irina Peshinskaya
c966c842de
MT#5879
...
Some drafts:
1. Configure embeding bit-map images in svg-edit
2. Remove zooming on mousewheel in svg-edit
3. Configure svg-edit a little to make interface not such full of features. Added main-button - not hided now. maybe should be?
4. Found lost </iframe> - fixed styling and javascript in invoice interface
5. Separate templates list in new template to enable ajax loading after deletion and active selection. Added different buttons )
And other small fixes and changes
12 years ago
Irina Peshinskaya
ed6861b597
MT#5879 Use identifier for datatables helper initialization.
12 years ago
Irka
50b89773da
Save state with incorrect, but fast svg template apply
12 years ago
Irka
95e5eaf2b0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
12 years ago
Irina Peshinskaya
bd7d18c49b
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
12 years ago
Gerhard Jungwirth
a6ae6b1a84
MT#4369 disable sorting on callflow page
...
as it has no effect, because of our optimized query
12 years ago
Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
12 years ago
Irka
77136247f0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
12 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