Guillem Jover
c4faefbb09
TT#156156 Switch to «-» as the word separator in CLI options
...
The prevalent convention in the project is to use «-» instead of «_» to
split words in options. Switch the options to that, and keep backwards
compatibility option alias that emits a deprecation warning while people
transition to the new names. The alias will be removed on the next LTS.
Change-Id: I003e79a5358aec905bd652c5310217be24fd98c6
3 years ago
Guillem Jover
467084705d
TT#71950 Fix typos
...
Warned-by: codespell
Change-Id: If7e52bf2fbf013586e802e5ebb77a272599d9c38
5 years ago
Alexander Lutay
16356cba66
TT#68023 Migrate ngcp-panel from /etc/mysql/sipwise.cnf to /etc/mysql/sipwise_extra.cnf
...
Change-Id: I7f18e31e0704a33c743b0fac610cbe2a85c9420d
6 years ago
Gerhard Jungwirth
3d7f17bfff
TT#38005 clean/ignore remaining perlcritic issues
...
in ngcp-panel repo so the repo can be marked clean
Change-Id: Ia44f13fd87563b014d31fdfe055e7b6b34947d25
7 years ago
Gerhard Jungwirth
02e3e040b5
TT#32602 fix perlcritic error ValuesAndExpressions::ProhibitImplicitNewlines
...
this is to clean the Sipwise TAP tests for this repo
Change-Id: Iebc9d128b992a0ea5576e3dcc7477e885d5b2294
7 years ago
Alexander Lutay
cdbc01978c
TT#29620 Clean TAP test warning: Missing AUTHOR/DESCRIPTION/LICENSE section in POD
...
Change-Id: I522f20e6966253933d98766d0b3a51f43768be82
7 years ago
Gerhard Jungwirth
9fd02605ee
TT#29909 fix remaining "use warnings" perlcritic errors
...
Change-Id: I6f0d1537c8de161b969d6afac8c2a2d3fecb6c31
7 years ago
Irina Peshinskaya
4fa92a06b4
MT#18999 Escape billing profile values for the invoice generation
...
Change-Id: I865e38bad0615e65ea9c49728a6f28bf7fb297f2
9 years ago
Irina Peshinskaya
05c04865e6
MT#14253 Fast invoice generation rejecting
...
Change-Id: Ida77ae9d5006f68c4cdec70608390cab24e7af7e
9 years ago
Kirill Solomko
082eb9edae
MT#14675 ossbss removal
...
- generate_invoices.pl uses /etc/ngcp-panel/logging.conf
- merged logging.conf from ossbss
- added liblog-dispatch-perl dependency from ossbss
Change-Id: I016980fc147ade85ea4a72436b662e8c54338eae
9 years ago
Irina Peshinskaya
6c62894b8c
MT#17415 Remove using experimental feature of the perl
...
Change-Id: I01c7da828803647853f9a70108f18ffeda04f858
10 years ago
Irina Peshinskaya
c1393b8dd8
MT#15367 Fix invoice generation
...
Change-Id: I57139f01df54b8f0a80b547e2cbc826aecd11c97
10 years ago
Irina Peshinskaya
49ac6abfe7
MT#14253 Disable invoice generation by default
...
Change-Id: Ia2818910be88b34e8fee1338797b5b7da4bd3b05
10 years ago
Irina Peshinskaya
ae43bec5f0
MT#5879 Document resend and regenerate options in the inv. gen. script
...
Change-Id: I829142177696f338d86cfaebeee113780bdc7c66
10 years ago
Irina Peshinskaya
d6439b78a3
MT#5879 Fix invoice generation script location in the embedded doc
...
Change-Id: Ic0717c07996fba4ffa2613fe036dfe0ea0339009
10 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
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
Irka
d525e4c8dc
MT#8433 Update contract_balances data during invoices mass generation.
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
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
Irka
47696b5811
MT#5879 Make possible to restart generate_invoices.
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
Irina Peshinskaya
24076295db
MT#7867 Invoice template per customer.
...
(cherry picked from commit 025cafed56ea87fb70e1f543f9baa442f57065d5)
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
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
Andreas Granig
fae332191a
MT#5879 Include Countries.pm before Sipwise::Base.
...
Otherwise we get UTF8 issues on panel startup.
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
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