Irina Peshinskaya
e45b214de4
MT#9177 Add yealink, change architecture and fix credentials store issue
...
Squashed commit of the following:
commit 79484a6e87
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Dec 3 02:11:23 2014 +0200
MT#9177 We don't need update device_id in credentials.
Rather usual thing.
commit d2161a9b3f
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Tue Nov 25 13:16:02 2014 +0200
MT#9177 Return unregister into utils area.
commit ac8115bcc2
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 13:58:35 2014 +0200
MT#9177 Yealink works
commit 51336e2b18
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 12:23:19 2014 +0200
MT#9177 Yealink add_server
commit 6dc0fde8dd
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Fri Nov 14 09:54:14 2014 +0200
MT#9177 Yealink url via serverName
commit ec00e65878
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:55:07 2014 +0200
MT#9177 Yealink requires server length < 20
commit 0c29750e74
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:45:27 2014 +0200
MT#9177 Wonderfully authorization for Panasonic started to work
Without = at the end
commit 7d3c540a82
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:36:51 2014 +0200
MT#9177 Fix yealink authorization too
commit e39da24bc9
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:15:26 2014 +0200
MT#9177 Small fixes for yealink
commit 9b9e2973ee
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 08:12:33 2014 +0200
MT#9177 Add yealink credentials fields
commit d63e9ab967
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 06:24:46 2014 +0200
MT#9177 Some fixes for this layout
commit bd2a026ed4
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 22:43:37 2014 +0200
MT#9177 Use custom bootstrap uri in this layout
commit bfd2f7a96c
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 17:07:50 2014 +0200
MT#9177 Further yealink changes
commit 3779466cb6
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 15:55:47 2014 +0200
MT#9177 Yealink added
commit 3fa77dcdb0
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 5 08:23:56 2014 +0200
MT#9177 Refactor code to separate vendor specific and common logic
Change-Id: I41a912a5c8f90b3c58cf49b87a38a3b6a7b64bd6
11 years ago
Andreas Granig
a16c98ae35
MT#10199 Add subscriber profile preferences.
11 years ago
Irina Peshinskaya
4ffac12e47
MT#10061 Fix rounding for invoices.
11 years ago
Kirill Solomko
74d3eb7425
MT#8645 - teamplates billing profiles list, renamed "used" into "v_count_used"
11 years ago
Kirill Solomko
089432204e
MT#8645 - billing/list.tt add "terminate" button
11 years ago
Irina Peshinskaya
bcd8c30efd
MT#9177 Add credentials as device fields logic
11 years ago
Irina Peshinskaya
ea3d731bf2
MT#9177 Add fields for edit Panasonic credentials
...
While without logic changes to save credentials from parameters.
11 years ago
Irina Peshinskaya
8d134d191d
MT#9177 Fix model form look.
...
(cherry picked from commit 1d6c29da2f9f0f5628f0a62fdd8fd2fd42478609)
Conflicts:
lib/NGCP/Panel/Form/Device/Model.pm
11 years ago
Andreas Granig
f311ea6ead
MT#8299 Only show supported options in dev config
11 years ago
Andreas Granig
e1d58e9ae4
MT#9177 Cleanup bootstrap code.
...
Move vendor specific code (Panasonic for now) to separate module.
11 years ago
Irina Peshinskaya
bddadea51b
MT#9177 Untested Device forms.
11 years ago
Irina Peshinskaya
5902c07ef5
MT#9177 Add panasonic bootstrap.
11 years ago
Alexander Lutay
521597ad45
MT#8245 Removed link between Admin and Subscriber interfaces
...
We have separated new subscriber selfcare and admin interfaces.
It is not good to share with users the link to admin interface.
Moreover the link is broken at the moment as interfaces are now on
separate virtual hosts, so it is easier to remove it at all.
Change-Id: Id2eb40e0961e4f20cd0f7d1915cf26598fcc8b0f
11 years ago
Andreas Granig
64d65a10a5
MT#9277 Implement basic voucher management.
11 years ago
Irina Peshinskaya
93c7aa5059
MT#9319 Create mock console object if absent. For IE9-.
11 years ago
Irina Peshinskaya
0b558c25e8
MT#9295 Remove last (commented) googleapis reference.
11 years ago
Irina Peshinskaya
f1ac49855a
MT#5879 Remove unnecessary imagelib ext. due to external jquery usaing.
11 years ago
Irina Peshinskaya
6d74b4e7ed
MT#9213 Fix incomplete commit for controlled backuri
11 years ago
Irina Peshinskaya
6f2b8d39bf
MT#9213 Remove list actions from form backuri, to don't repeate
11 years ago
Irina Peshinskaya
4bb916a33c
Revert "MT#9177 Fix device annotations sql error in devmod_edit."
...
This reverts commit f6a23d0602
.
11 years ago
Irina Peshinskaya
f6a23d0602
MT#9177 Fix device annotations sql error in devmod_edit.
11 years ago
Irka
b0247dae62
MT#5879 Fix manual page and fix using centralised config in generator
11 years ago
Irka
a96fbdbb5e
MT#5879 Save own parsing of config.
11 years ago
Irka
52cc8532a3
MT#5879 Fix for contacts without contract.
11 years ago
Andreas Granig
cf93f0bf63
MT#8873 Fix showing number of recent calls.
...
(cherry picked from commit 92a496f166
)
11 years ago
Irka
e00f018269
MT#8387 Fix incorrect rounding for cents.
11 years ago
Irka
6bcca230fc
MT#5879 Fix UTF-8 email send. Further fix of memory usage issue.
...
(cherry picked from commit 0610d530113fc23e229f36b3be847a409cf8bc04)
11 years ago
Irka
a393853e65
MT#5879 Fix memory issue
...
Don't save or fetch data for all generated/sent invoices.
Fetch data one-by-one.
11 years ago
Irka
54b7f0cac6
MT#5879 Fix billing_mapping logic, use the latest one as actual.
...
(cherry picked from commit b90be26a2e6fad716c131640db2fd03c040084af)
11 years ago
Irka
a36a835749
MT#5879 Allow to skip empty invoices generation with option no_empty.
...
(cherry picked from commit ae8515d6024df6ac01140a1fd15f209fbcdab33c)
11 years ago
Irka
ee3e73d7e1
MT#8433 Fix of option ttreatment in newest version.
11 years ago
Irka
fda891a70c
MT#8433 Remove debug
11 years ago
Irka
8174c1fea6
MT#8433 Process unrated calls.
11 years ago
Irka
5b487eac1a
MT#5879 Changes allows run invoice generation script on the 3.3 DB versions.
11 years ago
Andreas Granig
953142d4f0
MT#8279 Deflate numbers in call list.
11 years ago
Andreas Granig
cf519fb44b
MT#8279 Inflate/deflate block list input in CSC
11 years ago
Irka
d525e4c8dc
MT#8433 Update contract_balances data during invoices mass generation.
11 years ago
Andreas Granig
cecc2d3e1e
MT#8299 Cosmetical fixes for dev models.
11 years ago
Andreas Granig
6f50a2dac7
MT#8299 Create/Edit models via web interface.
11 years ago
Andreas Granig
c5067b4cac
MT#8299 Show disp name and ext in pbx dev config
11 years ago
Andreas Granig
c44d28ef54
MT#8299 Also properly edit pbx device.
11 years ago
Andreas Granig
7efc1c43d6
MT#8299 Successfully create new pbx device.
11 years ago
Andreas Granig
cc68e4959d
MT#8299 Show annotated pbx device.
11 years ago
Andreas Granig
b146fb45ee
MT#8299 PoC to render phone image with annotations
11 years ago
Andreas Granig
04d47a49cc
Move lib to final destination.
11 years ago
Irka
f2e983db25
MT#8401 Use common invoice data preprocessing for generation script.
11 years ago
Irka
068e71acfa
MT#8401 Add missed library for invoice data sanitize as XML.
11 years ago
Irka
f7e65e2423
MT#5879 Not all characters should be quoted
...
(cherry picked from commit 1a1362db7e
)
11 years ago
Irka
d9d85a5db0
MT#5879 Fix generation for ampersands;
...
(cherry picked from commit 00c4306088
)
Conflicts:
share/tools/generate_invoices.pl
11 years ago
Irka
3c63ab577b
MT#8387 Introduce round for cents.
11 years ago
Irka
45a99ff918
MT#8353 More freedom in money signs configuration. And fix fractional.
11 years ago
Irka
22ab88e1d4
MT#5879 generate_invoices changes according to is_active flag removal.
...
Relative to changes 18b86b3ffd
MT#5879 Remove template active as logic changed to
invoice per customer.
Is prepared to work with config from templates.
11 years ago
Gerhard Jungwirth
b7eb095540
MT#7791 Manage Callthrough CLIs in Panel
11 years ago
Irka
c66c0a06a7
MT#8353 Give possibility to manage money signs after comma in template.
...
(cherry picked from commit 92706efe775e55494a92e3b384776bcf5539b6d4)
11 years ago
Irka
e544dc4f07
MT#7867 Use geo to place xml string for inter-layer elem movements
11 years ago
Irka
146a7ef354
MT#7867 Add xml element among others by position.
...
Only y (vertical) position is used now.
No reordering on element movement.
Unit version is under testing.
11 years ago
Irka
47696b5811
MT#5879 Make possible to restart generate_invoices.
11 years ago
Irka
93bee5bf6f
MT#5879 Fix multi-undo functionality.
...
Call setCurrentLayer => draw.setCurrentLayer only on initialization stages.
11 years ago
Irina Peshinskaya
95bfec3796
MT#5879 Default content on template creation and x- mimetype.
...
Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
11 years ago
Irina Peshinskaya
7f14a3efd6
MT#5879 Make email invoices query simplier.
...
Remove redundant link through contract_balances to contracts.
Process customer email template and add month and year into invoice data.
11 years ago
Irka
b2f21dd777
MT#7861 Use pixels as main unit to be in accordance with svg-edit.
...
(cherry picked from commit bdd8562fb0ee0a98cb1296822fa1e211fa0d8c5f)
11 years ago
Gerhard Jungwirth
135d48e84a
MT#8015 de translation, some more strings
...
and fix a bug, where empty string gets translated, this returns wrong results
11 years ago
Irina Peshinskaya
24076295db
MT#7867 Invoice template per customer.
...
(cherry picked from commit 025cafed56ea87fb70e1f543f9baa442f57065d5)
11 years ago
Irina Peshinskaya
4505cef06b
MT#7867 Fix link to customer/edit for customer in resellers details.
...
(cherry picked from commit f9277fd65070911082c8fa9326185c4aa1336a01)
11 years ago
Alexander Lutay
cad32bcb4b
MT#8013 Localization typo fix 's/]created/] created/'
11 years ago
Irina Peshinskaya
16ebb908a8
MT#5879 Hide g elements in comments.
...
(cherry picked from commit 7388a2bdb7e70feaa4e63774c307e4f14069c4f1)
11 years ago
Irina Peshinskaya
dd06b7fce4
MT#7867 Repeat behavior of embedded image on "Change Image" button.
...
Also added functionality to convert link to embed image, but it
doesn't work on cross-domain links.
11 years ago
Irina Peshinskaya
da71415239
MT#5879 Default content on template creation and x- mimetype.
...
Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
11 years ago
Irina Peshinskaya
9ca0ddc7bb
MT#5879 Return utf usage for mysql after merge.
11 years ago
Irina Peshinskaya
d8fe5111f8
MT#5879 Use log4perl for logging.
...
And added option allow_terminated to allow to generate invoice
for customers with terminated contracts.
Conflicts:
share/tools/generate_invoices.pl
Solved.
Cherry-picked from 030f227d57d795078fba709a615fd8441a42513d
11 years ago
Irina Peshinskaya
29edbf2450
MT#5879 Tspan replaced with text
...
Y coordinates adjusted, but generation not tested yet.
11 years ago
Andreas Granig
0d577b3490
MT#7935 Show callid, cost and link to callmap.
...
In call history of a subscriber, link to callmap, and show the
call-id and source customer cost in case of admin/reseller.
11 years ago
Gerhard Jungwirth
51aa065d94
MT#7713 hide Auto Attendant menu for non-pbx subscribers
11 years ago
Andreas Granig
b0491942f5
MT#6693 Handle pseudo-preferences for subprofs.
...
Certain preferences (speeddial, voicemail, faxserver etc) are not
really preferences, but are handled specially on the preferences
page. Introduce special preferences for them to be able to select
them when defining subscriber profiles, and filter them on the
preferences page of the csc.
11 years ago
Gerhard Jungwirth
41416d2d10
MT#7843 change svg template to new vat variables
...
new ones are: customer.vat_rate and customer.add_vat
11 years ago
Gerhard Jungwirth
6dd1562252
MT#7841 API callforwards: improve documentation examples
11 years ago
Andreas Granig
cbce5d0795
MT#7803 Fix UTF8 handling in invoice generation
11 years ago
Andreas Granig
dfd4f663be
MT#5879 Make generate_invoices.pl executable.
11 years ago
Alexander Lutay
97b9185d69
MT#6425 Typo: restored space (caused to missed localization)
11 years ago
Andreas Granig
14a629f4aa
MT#7803 Add invoice links and sections.
11 years ago
Andreas Granig
fae332191a
MT#5879 Include Countries.pm before Sipwise::Base.
...
Otherwise we get UTF8 issues on panel startup.
11 years ago
Andreas Granig
a47147fe89
MT#7755 Don't show create button for subprofset
...
If disabled by config for resellers to create profile sets, don't
show a create button for profile sets.
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
390a18b69b
MT#7655 Fix access perms for sub(admin) in prefs
...
Certain preferences (those meta-prefs not coming from the prefs
table, like voicemail, fax2mail, aa, speeddial) had wrong access
fencing, preventing sub(admins) to edit them.
11 years ago
Irina Peshinskaya
ee061433ce
MT#5879 Make email invoices query simplier.
...
Remove redundant link through contract_balances to contracts.
11 years ago
Irina Peshinskaya
33d3d45ae4
MT#5879 Add prevmonth option to ease prev month invoices generation.
...
Additionally to strict stime and etime.
11 years ago
Irina Peshinskaya
2f67a948ac
MT#5879 Contract buttons and generate_invoice.
...
Remove contract buttons from Reseller form work. Fix generate_invoice
error found in run on clean new vm.
11 years ago
Andreas Granig
ac736caa00
MT#7495 Allow subadmin to configure contract prefs
11 years ago
Irina Peshinskaya
a743cbedf7
MT#5879 Change test email contact to real.
...
Todo: make it optional.
11 years ago
Irina Peshinskaya
17d6ed5e7c
MT#5879 Send one email per contract.
...
And adapt letter variables to default template.
11 years ago
Irina Peshinskaya
3a3343744b
MT#5879 Don't regenerate invoices. Just create new.
11 years ago
Irina Peshinskaya
a72adaea52
MT#5879 Invoice generation fixes.
...
Use correct name for zone fees cost.
Fix condition for char column in script.
Add root element to xml before XPath parsing to avoid errors about
the same elements on root level.
Set timezone to local. Maybe it shouldn't be, but then should be changed
in both used methods.
Todo:
Country name for generation from web.
Clarify and implement if neccessary generation of existing invoice from web.
Now invoice for the same period created.
11 years ago
Irina Peshinskaya
9965197657
MT#5879 Fix invoice date insertion in DB
11 years ago
Irina Peshinskaya
91608dc073
MT#5879 Fixes for invoice data - format was for old template.
...
And also fix for customer contract id option.
11 years ago
Irina Peshinskaya
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
11 years ago
Irina Peshinskaya
aa3fd246b6
MT#5879 Add date values for fix for invoice.serial unique index.
11 years ago
Irina Peshinskaya
a050e6777e
MT#5879 Fix for invoices.serial unique index
11 years ago
Irina Peshinskaya
006d6241e2
MT#5879 Generate and/or send invoices script. Seems as working.
...
Testing is in progress.
11 years ago
Irina Peshinskaya
2af11b65e8
MT#5879 Invoices generated and emails sent, work with option.
...
Date options for month period - contract balance select doesn't
work. TZ?
11 years ago
Irina Peshinskaya
c60c9af216
MT#5879 Error in not inflated date values.
...
But other seems as working.
11 years ago
Irina Peshinskaya
a30237b89e
MT#5879 Add country to client contact info in invoice gen. script.
11 years ago
Irina Peshinskaya
17f678dee2
MT#5879 Separate invoice generation from sending and some fixes.
...
Commit:
Separate invoice generation and sending, although still can be
together id options tell.
Remove dev method call, which made invoice list broken.
Some little format changes.
Todo:
Add country_name into invoice generation script.
Care about email template correct process vars.
11 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
dce655b146
MT#5103 Set current day in call dist graph.
...
By default, use current day instead of hardcoded date.
11 years ago
Andreas Granig
9679565f50
MT#5879 Fetch call list for invoices. WIP.
11 years ago
Andreas Granig
98364a891b
MT#5879 Rework VAT handling in invoices.
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.
11 years ago
Andreas Granig
5cbb82747a
MT#5879 Align invoice template to clean db schema
11 years ago
Andreas Granig
7fa163d0de
MT#5879 Realign default invoice template elements.
11 years ago
Andreas Granig
02e58b0360
MT#5879 Completely redo invoice template handling.
...
Use a more clean default template.
Properly render page numbers.
Cleanup cleanup cleanup.
11 years ago
Andreas Granig
cf58b778ee
MT#5879 Invoice template translation.
11 years ago
Andreas Granig
807e77855d
MT#5879 Rework dummy variable handling for invoice
11 years ago
Andreas Granig
fa07184a46
MT#5879 Rework rendering PDF preview.
11 years ago
Andreas Granig
fdde82379b
MT#5879 Store invoice templates on save.
11 years ago
Andreas Granig
a88724c0c4
MT#5879 Cleanup invoice template editing. WIP.
...
Fetching default template from file works.
TBD: saving, viewing from saved, previewing PDF.
11 years ago
Andreas Granig
b6533b1a1f
MT#5879 Redesign invoice template meta handling.
...
Properly handle create/update/delete of template meta info.
11 years ago
Irina Peshinskaya
6b0cd3b3a7
MT#5879 Fix broken billing_profile variable scope.
...
And add bp as documented var. Should be changed to lorem based later.
11 years ago
Irina Peshinskaya
c86a8a04cb
MT#5879 Add billing profile object to default and data for generation.
...
And fix page numbers.
11 years ago
Irina Peshinskaya
fef6ea95c7
MT#5879 New template. Title pages is topic for questions.
11 years ago
Irina Peshinskaya
74e535d730
MT#5879 Save template before remove old zonepage.
11 years ago
Irina Peshinskaya
9154510f7c
MT#5879 New template xml error, save before jump into investigation.
11 years ago
Irina Peshinskaya
45b475327b
MT#5879 Save state before start geography implementation
11 years ago
Irina Peshinskaya
044c9ca46b
MT#5879 Add second page as title. Keep in pixels.
...
Todo: format second page.
11 years ago
Irina Peshinskaya
2005908933
MT#5879 Save template variant with sizes in pixels.
11 years ago
Irina Peshinskaya
44c706dab7
MT#5879 Save new template before matrix reverted.
11 years ago
Irina Peshinskaya
a50feeb8cf
MT#5879 Initial state of new template
11 years ago
Irina Peshinskaya
6b720ecd83
MT#5879 Add svg template variables description.
11 years ago
Irina Peshinskaya
603a25830d
MT#5879 Reformat code and init math values to zero.
11 years ago
Gerhard Jungwirth
7ee9aa3f7a
MT#7183 show confirmation dialog on all languages
...
Show the dialog on "Terminate" and "Delete" buttons.
11 years ago
Andreas Granig
601ada23bd
MT#7233 Implement basic number block CRUD.
11 years ago
Andreas Granig
be983fb9dd
MT#7219 API: document http errors of rest api.
11 years ago
Irina Peshinskaya
bcab8bf2a0
MT#5879 Fix delete button for invoices
11 years ago
Irina Peshinskaya
f1fcf84547
MT#5879 Fix delete button
11 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.
11 years ago
Irina Peshinskaya
05f54645c8
MT#5879 Some small changes of big buttons
11 years ago
Irina Peshinskaya
ab6414c589
MT#5879 Rename clients to customers.
...
And show message about updated invoice template.
11 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
11 years ago
Irina Peshinskaya
088ca06ea7
MT#5879 Fix invoice deletion after conditional fields.
11 years ago
Irina Peshinskaya
410ec47909
MT#5879 Commented out client list frm invoices list interface.
11 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.
11 years ago
Irina Peshinskaya
59b932b9a4
MT#5879 Form with datatable field for one page app.
11 years ago
Irina Peshinskaya
59b7028055
MT#5879 Form with datatable field for one page app.
11 years ago
Irina Peshinskaya
f9d0ac1bd8
MT#5879 Save state before alternative interface.
11 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.
11 years ago
Irina Peshinskaya
b6361e6cf3
MT#5879 Default for datepicker
11 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.
11 years ago
Irina Peshinskaya
cdd05a1df1
MT#5879 Delete works
...
Left:
resend invoice to email form
separated interface for generation without filter by filter by contact/contract id
Known issues:
tooltip makes table to flick. But not on the last button in column.
seems like fnDraw takes data from localstorage - although invoice deleted -
it is still shown in datatables.
11 years ago
Irina Peshinskaya
70ae0c01c9
MT#5879 Invoice deletion draft
11 years ago
Irina Peshinskaya
4494b13c6e
MT#5879 Intermediate state before start datepeacker field.
11 years ago
Irina Peshinskaya
6c4f2e7d2b
MT#5879 Web generation is working.
...
For further testing and improvements.
11 years ago