Irina Peshinskaya
78cf4f1e93
MT#11009 Form->params => form->values
...
Change-Id: I22fba4d3c5f6cdfb774d2106a867563d0d2f8c74
10 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
10 years ago
Andreas Granig
5cddb19eda
MT12347 Terminate module with true value.
...
Change-Id: Icb62b997cf71f7399ea36052c4c03dddbfbeaacc
10 years ago
Irina Peshinskaya
bda844c9d3
MT#10159 Add API call towards MWI on voicemail dir change
...
Change-Id: I37907d1a5351911f5b357ae1e7992c189a9730d3
10 years ago
Andreas Granig
db0cb867c4
MT#12385 Add reseller_id to EDR head.
...
Change-Id: Ied667fac5eee55fa8980f29ae5e548f203f222d9
10 years ago
Gerhard Jungwirth
9628a322c9
MT#12303 configure dialogic for ss7
...
and add some optical options
Change-Id: I0eef8840074f441f0314e54ee933f8788b8dc92d
10 years ago
Gerhard Jungwirth
aabb590b1e
MT#11777 filter cloudpbx prefs if no feature
...
Change-Id: I99c8fdb772a14063a97a9109b92a8f431a5ed3cd
10 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
10 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
10 years ago
Irina Peshinskaya
de7928e2e3
MT#11147 Remove test hardcodes
...
Change-Id: I2663e8b5174bc327a1a4591a6618a8e624c5a62f
10 years ago
Gerhard Jungwirth
63db8edc8c
MT#11501 dialogic isdn library
...
plus we're almost style-error free on the modified files
Change-Id: I6e26bc97d972a06dd1185c80c32a679007c176c9
10 years ago
Irina Peshinskaya
81bd0240e3
MT#12083 Use exists optimization for subscriber search by alias
...
Change-Id: I65a5d4bd02adba1236caba52666e49a82e45908e
10 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
10 years ago
Gerhard Jungwirth
3bb5df875a
MT#11501 configure dialogic from webinterface
...
and change api config naming and add support for out_codecs
now with preferences approach
Change-Id: Ic62918e681fa877e8bfb92c2c70efb9edb4d0acc
10 years ago
Gerhard Jungwirth
9bc45cf3f5
MT#11501 dialogic api read and hash config
...
Change-Id: I6adffa64d5ad1fabf6e49b4ac97f22f5e40f3dae
10 years ago
Gerhard Jungwirth
cd3111d665
MT#11501 dialogic api cleanup
...
refactor to a more generic approach
dependencies
create_all
generate documentation
Change-Id: I718278e4560c3f1e2c14aa9b5585274fa32101dd
10 years ago
Gerhard Jungwirth
b926d468c9
MT#11501 dialogic api finalize sipsip
...
making the config work: InIPProfileId
Change-Id: I6fd13977292d55f0ddd14c65c805cb8d7c2c8024
10 years ago
Gerhard Jungwirth
0182781d7e
MT#11501 dialogic API profiles and start routing config
...
and fix some data handling
Change-Id: I89a8974343e3529659070f70ad37bcaa9143283c
10 years ago
Gerhard Jungwirth
711501b133
MT#11501 dialogic API formatting, more config
...
Change-Id: I29bb77410cb79f3e89664a641e03509382754f6c
10 years ago
Gerhard Jungwirth
188d5195fa
MT#11501 dialogic API network configuration
...
option to pass parameters, handle pids automatically in API
Change-Id: Ia8c327ec7377a1a787e7d758f00e682c4c1f1ca8
10 years ago
Gerhard Jungwirth
37a9021788
MT#11501 dialogic API login, locks
...
API PoC and general library design
testscript
Change-Id: I84537ba430bd455a3bac3ea28eaa82d5152bfa20
10 years ago
Irina Peshinskaya
ac9b5ff871
MT#11549 Search by alias too, but aliases aren't shown
...
Change-Id: I866c7a1bf54a2c4d7bca40d42c66fde498722eb0
10 years ago
Gerhard Jungwirth
1c7fb3a781
MT#5435 option to show table summaries
...
showing any supported aggregation method
Change-Id: If439731261cb148105f4c1fb9608839610935e75
10 years ago
Andreas Granig
65ceb1acd8
MT#10879 Fix fix of CLI handling on sub creation
...
Change-Id: I61a1bf28f40c8ef08617c9520c38d52bb661d096
10 years ago
Andreas Granig
057f34636a
MT#11279 Allow disabling vendor RPC calls.
...
Change-Id: I0ccc26bb3de270c0dee5ce7f0de9d5e0ccbbd354
11 years ago
Andreas Granig
b2c4fca10f
MT#10879 Fix setting cli preference.
...
Change-Id: I5caa24daa626b3df75de08cd9c0773d2cf58e212
11 years ago
Irina Peshinskaya
ee018bb44b
MT#10159 Mark messages as read and send MWI notification about messages amount
...
And fix sorting for literal_sql columns
Change-Id: I3c2da898bd306ef529db37566db9b01f39e0ed03
11 years ago
Andreas Granig
b2cfc9c003
MT#10879 Set uuid as mailbox user if no number.
...
Change-Id: Ibb6d083d664c4aa8e51459d7460e141581a419a3
11 years ago
Andreas Granig
e37dc3d40a
MT#10879 Handle deletion of primary number.
...
Change-Id: I837f6af3dfbaac645eaf95cb02095d4ff9d31938
11 years ago
Irina Peshinskaya
861f00019e
MT#10715 Remove exrescent debug and code
...
Change-Id: Ife5b5dd797b032717d104f68ff376560cc91dedf
11 years ago
Irina Peshinskaya
ce29d22a53
MT#10715 Add Polycom Zero Touch Provisioning (ZTP) client.
...
Change-Id: Ia3671355258dbfcf1533d7d4f87083e3beb10dc6
11 years ago
Irina Peshinskaya
d3b4f50b6a
MT#9177 Fix invisible syntax error
...
Change-Id: Iae470f98df2f91b3c70e7be9487f8f7b35b8d38e
11 years ago
Andrew Pogrebennyk
21833bf8cf
MT#9453 introduce handling for adm_cf_ncos[_id] preference
...
Change-Id: I17fdb7fa89a8e1682aafe43c02d94c8e230b8098
11 years ago
Irina Peshinskaya
4db73f7d24
MT#9177 Make {MAC} adding optional for different vendors
...
Change-Id: I7960f6d865ad3c672dfbc511dd70521c6c38f99d
11 years ago
Andreas Granig
266e8e7f3e
MT#10537 API: own/other logic for calllist item
11 years ago
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
a431f6bf79
MT#10309 Allow passwords with less than chars.
11 years ago
Andreas Granig
a16c98ae35
MT#10199 Add subscriber profile preferences.
11 years ago
Kirill Solomko
86f78f3b3b
MT#7705 - update last request tx_id only for a new request to work with scenarios where there are more than one reply for a request
11 years ago
Irina Peshinskaya
b62da59af4
MT#9177 Small fixes after web testing
11 years ago
Kirill Solomko
55a5b1d433
MT#8645 - do not add 'me' to virtual aggregated columns (min,max,count) where aliased as '^v_(min|max|count)'
11 years ago
Irina Peshinskaya
64dd9c01e2
MT#9177 Bootstrap_uri logic and fixes.
11 years ago
Irina Peshinskaya
bcd8c30efd
MT#9177 Add credentials as device fields logic
11 years ago
Andreas Granig
097c8ec066
MT#9177 Re-add sync param logic.
11 years ago
Andreas Granig
e1d58e9ae4
MT#9177 Cleanup bootstrap code.
...
Move vendor specific code (Panasonic for now) to separate module.
11 years ago
Andreas Granig
6b24459830
MT#9177 Fix panasonic bootstrapping.
11 years ago
Irina Peshinskaya
8efe98f4fb
MT#9177 Adapt to using of standard debian package and fix control
11 years ago
Irina Peshinskaya
492258f32c
MT#9177 Remove hardcoded values
11 years ago
Irina Peshinskaya
a6527bb4c7
MT#9177 API for autoprov. Not tested yet.
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
Kirill Solomko
01fe7f5245
MT#9607 - Fix delete allowed_ip_groups
11 years ago
Kirill Solomko
5aaebcfd62
MT#9599 - Fix delete allowed_ips/man_allowed_ips
11 years ago
Irina Peshinskaya
29b988492f
MT#9431 Update usr_preference cloud_pbx_hunt_policy in Subscriber API.
11 years ago
Andreas Granig
64d65a10a5
MT#9277 Implement basic voucher management.
11 years ago
Andreas Granig
d5ee051bd5
MT#9445 Set voicemail_users tz to 'vienna'
...
This makes it backwards-compatible to ossbss. At some point, the
timezone should be taken from the customer or domain, but that would
need to affect also CDRs etc.
11 years ago
Kirill Solomko
79d39d7926
MT#7705 - Remove newline from log strings passed to the logger
11 years ago
Kirill Solomko
22225a3b8d
MT#7705 - LOG= is now persistent in the log messages.
11 years ago
Andreas Granig
17a3260153
MT#9263 Introduce simple_destination in CF API
11 years ago
Andreas Granig
be8cad19bb
MT#8035 Trigger stop_profile on subscriber term
...
... if subscriber had a profile assigned.
11 years ago
Kirill Solomko
71eadae6ea
MT#7705 - Message.pm further edited the pod doc
11 years ago
Kirill Solomko
503cdfcc7f
MT#7705 - remove =item from pod formatting
11 years ago
Kirill Solomko
c2fb0c6e32
MT#7705 - added doc for Utils/Message.pm
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
11 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
11 years ago
Andreas Granig
0204022cf5
MT#9225 Modify allowed_clis on add/remove number
...
If ossbss.provisioning.auto_allowed_cli is set, then add/remove
a number from subscriber preference allowed_clis when adding/
removing a number.
11 years ago
Kirill Solomko
0fdf9f815d
MT#7705 - Preference set/get add logging messages for different types 'customer/domain/susbcrber/peer'
11 years ago
Kirill Solomko
f05f921b0f
MT#7705 - Add logging for Subsriber preferences set/get
11 years ago
Andreas Granig
d156577873
MT#9167 Fix setting contract timestamps
11 years ago
Kirill Solomko
2bebc00548
MT#7705 - Add logging for the rest of Controller/* modules. Message.pm: add data size check and trim the value if > 500 length
11 years ago
Kirill Solomko
66e8536f55
MT#7705 - add cname parameter passed to Message for anon subs name definition
11 years ago
Andreas Granig
bd3bd98719
MT#9047 Remove allowed ips before subs termination
11 years ago
Andreas Granig
f3984d4aec
MT#8279 Fix domain normalization for subs.
11 years ago
Irka
65d38e283c
MT#8371 Fix for optimized query build
...
Remove double join for billing_mappings
11 years ago
Irka
d0a6a81d58
MT#8371 Make customer queries up to 10 times faster.
...
More possibilities in billing_mapping history separation.
11 years ago
Andreas Granig
417e89b740
MT#8279 Don't skip preference logic on empty vals.
...
This actually triggered the empty enum bug, and also influences
setting special helper vars for rwr (and probably others), so remove.
11 years ago
Andreas Granig
fbdd04a5c2
MT#8279 Properly fill enums.
11 years ago
Andreas Granig
71acba7111
MT#7705 Fix undef check in logger
11 years ago
Kirill Solomko
cc3d7c3b93
MT#7705 - Fix parametrized sprintf for logging
11 years ago
Kirill Solomko
db5c05fa8e
MT#7705 - Maxdepth for data structures is limited to 1 for the log messages. Check for undefined $desc in Message.pm when no $desc is passed for logging
11 years ago
Kirill Solomko
68a1aa349e
MT#7705 - Rework logging for Controller/Billing module. Improve Message.pm $log parsing and shown as LOG= (optional)
11 years ago
Kirill Solomko
ddc16492cf
MT#7705 - Message.pm - add str data types possibility. no $c->flash for API calls
11 years ago
Kirill Solomko
e24bea1f6a
MT#7705 - get_log_params() set default $type to "panel"
11 years ago
Kirill Solomko
8bc694dbe9
MT#7705 - Rework logging for API calls. Improve log messages in Message.pm
11 years ago
Kirill Solomko
a90de685e9
MT#7705 - add "$data" argument into log methods to manually pass data if required. remove trailing whitespaces
11 years ago
Andreas Granig
b860218f91
MT#8449 Fix clearing unused alias numbers
...
Take billing.voip_numbers as reference for clearing unused dbalias
entries.
11 years ago
Andreas Granig
4f76fdaf96
MT#8633 Properly set is_primary on sub creation
11 years ago
Irka
2a7e76bf51
Revert "MT#8491 Fix subscriber termination via API."
...
This reverts commit 1b654d559a
.
Real fix was done already as fix for the MT#8071
11 years ago
Irka
1b654d559a
MT#8491 Fix subscriber termination via API.
...
1.Provisioning_voip_subscribers may be already deleted during termination.
2.Return issue already fixed in master, seems like not integrated in 3.3.
11 years ago
Irka
78a6d8dd96
MT#5879 Remove Country processing warning.
...
(cherry picked from commit 9d80cba5fd51314bd4909505fc09ce05aa232080)
11 years ago
Irka
99918704a8
MT#5879 Fix broken packages load sequence.
...
To avoid utf8 warning on panel start.
11 years ago
Gerhard Jungwirth
12ee43f671
MT#8395 replace email plugin
11 years ago
Kirill Solomko
a100ad5ea8
MT#7705 add IP into logged messages
11 years ago
Kirill Solomko
18e07b2950
MT#7705 change Panel.pm to use ngcp-panel/logging.conf, reworked Utils/Message.pm logging
11 years ago
Andreas Granig
953142d4f0
MT#8279 Deflate numbers in call list.
11 years ago
Andreas Granig
145291a23e
MT#8279 Deflate CF destination in CSC
11 years ago
Andreas Granig
a5cd159b56
MT#8279 Deflate speed dial in CSC list
11 years ago
Andreas Granig
cf519fb44b
MT#8279 Inflate/deflate block list input in CSC
11 years ago
Andreas Granig
faecaf913c
MT#8279 inflate/deflate subscriber user input
11 years ago
Irka
c43ccd7c5d
MT#8401 Invoce data preprocessing.
11 years ago
Irka
4d1a826aa0
MT#8353 Fix broken build
11 years ago
Irka
45a99ff918
MT#8353 More freedom in money signs configuration. And fix fractional.
11 years ago
Gerhard Jungwirth
ef713a8f84
MT#8287 fix subscriber termination by subadmin
11 years ago
Gerhard Jungwirth
36e44a6439
MT#7673 update voicemail number in api
11 years ago
Gerhard Jungwirth
d57aa0e7ff
MT#7673 update voicemail number in webinterface
11 years ago
Irka
bcc0101682
MT#7867 Return scale 0.8 untill other options tested with real printing
...
(cherry picked from commit 0fbbcf663714153e702cea2d4ffbfba24e0f107c)
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
Gerhard Jungwirth
923e2e9b82
MT#8203 subscriber termination registered devices
...
send the proper call. also fix recursive termination on contracts
11 years ago
Gerhard Jungwirth
7b3080f45b
MT#8071 fix api subscriber termination
...
response was handled wrong on patch/put
primary number was not freed in case of pbx
11 years ago
Gerhard Jungwirth
b0a7f8f2b2
MT#7717 explicitly delete related tables of voip_domains
...
to ensure trigger execution on them
11 years ago
Andreas Granig
6d4fb582e3
MT#8035 Use billing.subscriber_id for events
...
Otherwise we won't be able to bill terminated subscribers
11 years ago
Gerhard Jungwirth
93c1daed15
MT#7717 delete voip_domains on reseller termination
11 years ago
Gerhard Jungwirth
c1c1117600
MT#8035 Write start_ivr and end_ivr events
...
when updating cf_mappings or cf_destination_sets
one entry per cf_mapping
11 years ago
Andreas Granig
75def7bf94
MT#7943 Don't access undef provisioning subs.
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
Andreas Granig
3a9d043d40
MT#7899 API: clear audio cache on sound file mod.
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
Andreas Granig
e219531acf
MT#7803 Cleanup tmp after invoice generation.
11 years ago
Andreas Granig
22fb7531bd
MT#7793 Explicitely set all event fields on insert
...
Since exported_at is a timestamp, it might be filled automatically
by mysql.
11 years ago
Andreas Granig
9c4dc3d610
MT#7793 Insert start_huntgroup event on new group
11 years ago
Andreas Granig
915cf7749a
MT#7555 Properly terminate subscribers.
...
- Write end_huntgroup if a group
- Move numbers to pilot if it exists
11 years ago
Andreas Granig
9115b48f70
MT#7797 Filter for terminated customers.
...
- Allow status=xxx in collection
- Fix moving customercontacts
11 years ago
Andreas Granig
4f370287af
MT#7793 Only log subprofile event on prof-change.
11 years ago
Andreas Granig
213e6bb606
MT#7793 Implement event billing for subprofiles.
...
Write start/end/update_profile event on subscriber modification.
11 years ago
Andreas Granig
59c69d2c10
MT#7771 rename pbx_account_cli_list
...
Use cloud_pbx_account_cli_list instead.
11 years ago
Andreas Granig
2d9be3f212
MT#7771 Introduce @{...} for match in rewrite rule
...
It inflates to $(avp(s:xxx)[*]) and can then be used to match against
AVP lists.
11 years ago
Andreas Granig
3a420aa0b9
MT#7731 Fix sound set handling for resellers
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
adffda31ac
MT#7699 Strip colons from mac/identifier
11 years ago
Andreas Granig
462b0bf3e1
MT#7177 API: also evaluate callee_xxx rwr vars.
...
Load the AVPs from the same subscriber as for caller, as we should
not intermix them anyways.
Treat non-existent vars as empty vars like kamailio does.
11 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
11 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
11 years ago
Andreas Granig
2f06618362
MT#4019 Implement C2D in api via /api/callcontrols
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
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
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
ee8c27fa43
MT#5879 Fix rebase merge error.
11 years ago
Irina Peshinskaya
c60c9af216
MT#5879 Error in not inflated date values.
...
But other seems as working.
11 years ago
Irina Peshinskaya
17d98b9faa
MT#5879 Merge with Andreas changes.
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
Irina Peshinskaya
eff6d772a9
MT#5879 Fix for invoice generation.
...
Invoice generation script uses mock catalyst context object, so no real
looging should be called. Or logge object shpould be mocked too. (TODO).
11 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
11 years ago
Andreas Granig
9679565f50
MT#5879 Fetch call list for invoices. WIP.
11 years ago
Andreas Granig
1147ad5db0
MT#5879 Remove more debug messages.
11 years ago
Andreas Granig
ddfdb0d7a5
MT#5879 Cleanup debug messages.
11 years ago
Andreas Granig
98364a891b
MT#5879 Rework VAT handling in invoices.
11 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
12fec06a68
MT#5879 Making invoice creation work w/ real data
...
Costs etc are still wrong, but we'r getting somewhere.
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
d51779ddab
MT#5879 Align dummy data to new contacts schema.
11 years ago
Andreas Granig
5cbb82747a
MT#5879 Align invoice template to clean db schema
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
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
Irina Peshinskaya
fef6ea95c7
MT#5879 New template. Title pages is topic for questions.
11 years ago
Irina Peshinskaya
45b475327b
MT#5879 Save state before start geography implementation
11 years ago
Irina Peshinskaya
b01714cca4
MT#5879 Bug fixes.
...
Fixed svg preprocessing related to svg-edit layers configuration.
Fixed total records for datatables information.
11 years ago
Irina Peshinskaya
9cfd974e70
MT#5879 Preparations to merge into master
...
Part 2.
11 years ago
Irina Peshinskaya
cd07b84a1c
MT#5879 Preparations to merge into master
...
Part 1.
11 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
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
4ed50bd105
MT#5879 Lost part of merge on master head.
11 years ago
Irina Peshinskaya
d22ade4c4e
MT#5879 Generation from web: not tested yet.
11 years ago
Irina Peshinskaya
275d6a7356
MT#5879 Fix datetime datatables search for no-epoch fields.
11 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
11 years ago
Irina Peshinskaya
90cf44857c
MT#5879 Fix commited error with remove pageStart.
11 years ago
Irina Peshinskaya
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
11 years ago
Irina Peshinskaya
fab290e99a
MT#5879 Fix creating of datetime with full parameters.
...
Zone can be moved to class variable?Later.
11 years ago
Irina Peshinskaya
bde7cc02e6
MT#5879 Put PDF to DB.
11 years ago
Irina Peshinskaya
d5c2b33a0c
MT#5879 Use total from pages
11 years ago
Irina Peshinskaya
0d39395842
MT#5879 Script to generate invoices from templates.
11 years ago
Irina Peshinskaya
96bb4cb5b8
MT#5879 Use get_contract_rs as clients list sub.
...
To be replaced by direct query.
11 years ago
Irina Peshinskaya
d87e6b297b
MT#5879 Replace invoices to separated controller.
...
CRLF windows git makes issues with on VM run. Some files were converted manually.
11 years ago
Irina Peshinskaya
5e30919042
MT#5879 Draft of calls pages in template
...
1. Add calls templates, data methods.
2. Complete new invoices look.
3. Remove php files from svg edit
11 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
11 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
11 years ago
Irina Peshinskaya
3e557152bc
MT#5879 Separate actions for invoice templates. Saving and view should be separated too. Rename ttemplates: calls to invoice and "template" according to content.
11 years ago
Irina Peshinskaya
8834411f8e
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
11 years ago
Irina Peshinskaya
4f19965240
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
7c3a045ddc
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irina Peshinskaya
ae5360882a
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
11 years ago
Irina Peshinskaya
468420909d
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
a1cf4235ef
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irka
33b13847b0
MT#5879: Fix applying empty search for admin
11 years ago
Irka
b79bdb342a
MT#5879: Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
11 years ago
Irka
75f16d14b5
Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
11 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
11 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
11 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
11 years ago
Andreas Granig
6a568e2bc9
MT#6843 API: only autogen pass if not provided
11 years ago
Andreas Granig
4341a39cf6
MT#6871 Fix subscriber editing.
...
- Migrate from custom subscriber struct to normal resultset.
- Properly handle boolean input in form processing (convert to
int, otherwise formhandler fails while cloning when doing the
processing).
- Properly handle profile set editing in API
- Cleanup of log messages
11 years ago
Andreas Granig
9097768d58
MT#6773 Remove any Data::Printer calls
...
Printing a hash with Data::Printer causes at least the API to not
return the hash, and back-porting libclone-perl to wheezy to fix it
caused the whole panel to get stuck.
11 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
11 years ago
Andreas Granig
2bf4fe1e92
MT#6831 Implement global password policy.
11 years ago
Andreas Granig
256de924e3
MT#6789 Add password recovery components.
11 years ago
Andreas Granig
bf5ec092bb
MT#6789 Add subscriber email and password recovery
...
- subscribers can hold an email address
- implement process for web password recovery
11 years ago
Andreas Granig
92b7b5ea89
MT#6693 Fix initial subscriber creation.
...
In this case, there is no provisioning subscriber yet.
11 years ago
Andreas Granig
ceb53a1837
MT#6693 Fix subadmin subscriber editing.
11 years ago
Andreas Granig
9aead3f255
MT#6693 More subscriber editing rework.
...
- Update base cli of extensions on pbx admin primary number change.
- Use proper forms (hopefully) for editing various pbx subscriber types.
11 years ago
Andreas Granig
16b44673f4
MT#6693 Rework PBX subscriber/group handling.
11 years ago
Andreas Granig
17d4140b64
MT#6693 Add separate form for subadmin pbx flow.
11 years ago
Andreas Granig
8c867420e8
MT#6693 Rename profile categories to profile sets.
11 years ago
Andreas Granig
4cf62bc8cd
MT#6693 Assign profiles to subscribers - WIP.
...
TODO:
- Subadmins must not see a "Create" button in profile selection
- Can sub(admins) unset a profile? What's the default?
11 years ago
Andreas Granig
88bcc049f5
MT#6731 Remove "back" param from form if posted.
...
Somehow this sneaked in from somewhere and so far only happens with
resellers, so make sure to just clear it if a form got posted.
11 years ago
Gerhard Jungwirth
b343f16e5e
MT#6497 API: edit callforwards
...
we use the billing.voip_subscribers id now (as everywhere else)
11 years ago
Gerhard Jungwirth
fc1c89a7c1
MT#6497 API: get callforwards (simple)
11 years ago
Irina Peshinskaya
021b0af430
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
32f704451a
MT#6459 Fix peering contract and peer auth pref.
...
- Properly call localization functions on error when changing
peering contract.
- Properly handle preference update in case of empty value.
Reported by Marc Storck on spce-users.
11 years ago
Irina Peshinskaya
bd7d18c49b
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
720e70b939
MT#4369 optimize callflow using a custom query
...
we need to disable the sorting option on the columns though
11 years ago
Irina Peshinskaya
8508efc754
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
8b7cdbb630
MT#6013 ignore duplicate insert errors
...
contract balances are created on demand, by different components so
race conditions can occur
11 years ago
Alexander Lutay
1c8ff01cc1
MT#5083 Fixes for several SendFax WEB interface issues
11 years ago
Irina Peshinskaya
f5b02e48f0
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Irka
631a069a02
MT#5879 Very basic logic without storing to db. But seems as will be able to make it generic against template types.
11 years ago
Andreas Granig
432080d384
MT#5929 More external_id fixes.
...
Set external_id to NULL in db if it's empty.
Properly clear ext_xxx_id preferences if external_id gets unset.
11 years ago
Irka
9b60794394
MT#5879: Fix applying empty search for admin
11 years ago
Irka
b61732daa5
MT#5879: Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
11 years ago
Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
11 years ago
Andreas Granig
74aeb7938d
MT#5929 Fix lock, ext_xxx_id and dbalias handling.
...
- ext_subscriber_id and ext_contract_id preferences weren't populated correctly.
- subscriber lock preference wasn't populated correctly
- old dbalias entries weren't cleared correctly for API calls
11 years ago
Andreas Granig
d445274d1d
MT#5967 API: validate allowed ip entries.
11 years ago
Andreas Granig
c61b9eec5d
MT#3933 API: Handle subscriber lock/termination
11 years ago
Andreas Granig
71b8d2e957
MT#5967 Validate (man_)allowed_ip input.
...
Check for valid v4/v6 address and optional netmask.
11 years ago
Andreas Granig
da79426c00
MT#3933 API: Implement subscriber preferences.
...
While at it, combine preference handling for subscribers, domains
and peers into a single role.
11 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
11 years ago
Andreas Granig
0f26d8fcbe
MT#3961 Update German localization.
12 years ago
Andreas Granig
b88d36bdf0
MT#5083 Implement sendfax in ngcp-panel.
12 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
12 years ago
Gerhard Jungwirth
ede44ba653
MT#3961 automatic extraction of formhandler strings
...
it is important, that all form work without ctx available, so we add a check
in them
12 years ago
Gerhard Jungwirth
8981667b77
MT#3961 Translate Preference groups
12 years ago
Gerhard Jungwirth
f7d4d8bb3d
MT#3961 I18N-ize missing strings
12 years ago
Gerhard Jungwirth
a272512298
MT#3961 Prepare to localize DB-Strings
...
For now, we ignore square brackets
12 years ago
Andreas Granig
6cd4ef04f1
MT#5629 Fix setting external_id in customer ctx.
12 years ago
Andreas Granig
aa5eee69a0
MT#5575 Migrate clear_audio_cache to Sems helper.
12 years ago
Gerhard Jungwirth
ef6bfee65b
MT#4967 update cloud_pbx_base_cli and other settings on cloudpbx-subscribers
...
This includes: primary_number, dbaliases, cfs
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
Andreas Granig
e8fa8b2f9c
MT#5349 API: Implement domain preferences. WIP.
...
Missing sanity checks and special handling for certain preferences.
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
5e5fbeeda6
MT#5307 Fix GD::Simple to avoid race conditions
12 years ago
Andreas Granig
7e3a2997f4
MT#5355 Implement peer_auth api calls to sems.
12 years ago
Andreas Granig
1656f051d0
MT#5101 Mark primary numbers in voip_dbaliases.
12 years ago
Gerhard Jungwirth
f11ae484ef
MT#3917 do not alter datetime objects from schema
...
this is now correctly handled in the schema (it gives us localtime, so
we do not have to do anything)
12 years ago
Gerhard Jungwirth
4fa47ff2b0
MT#4767 Show missing registered devices
...
on a non-multidomain installation, dont check for domain
in customer details - subscribers - registered devices
12 years ago
Andreas Granig
f8dfb8fcae
MT#5009 Use proper alias number sub-elements.
12 years ago
Andreas Granig
d62a5ac948
MT#5009 Fix syntax error.
12 years ago
Andreas Granig
4384ec33b2
MT#5009 Properly reuse alias numbers also.
...
Previously, we assumed they were already deleted in billing.voip_numbers,
which they're not (anymore).
12 years ago
Andreas Granig
2258395ed7
MT#5009 Properly free voip_numbers on termination.
...
Don't delete voip_numbers (which was forgotten if the status
got set to terminated anyways), rather than free them by
undef'ing the subscriber_id and reseller_id.
12 years ago
Andreas Granig
e3ba8b4243
MT#5009 Properly re-use free numbers.
...
Don't try to insert a number into billing.voip_numbers directly,
rather than using the update_subscriber_numbers helper, which
handles the re-using of free numbers.
12 years ago
Andreas Granig
059607a8c7
MT#4955 Only allow one ss, set dom-pref np-display
...
If a sound set is contract default and you create another default one,
the old gets non-default.
Properly handle contract default setting also when editing sound sets.
And while at it, set np-display as outbound-from-display-name dom-pref
when creating a PBX domain.
12 years ago
Andreas Granig
afa196900c
MT#4971 Fix follow symlink sp-SELF in statistics.
12 years ago
Andreas Granig
e2ccdf3442
MT#4955 Introduce customer default sound sets.
...
If a new contract sound set is marked as contract_default, use this
for every existing subscriber in contract_sound_set prefs if no
other set is specified yet.
If a new subscriber is created and such a sound set exists, also
use this one.
This prevents having to go over each single subscriber to assign
the contract_sound_set preference.
12 years ago
Andreas Granig
d2dfbeab1c
MT#4949 Use pbx in call flow graph.
12 years ago
Andreas Granig
2ee40a3a6c
MT#3917 Show datetime in local timezone for DT.
12 years ago
Andreas Granig
58b496065e
MT#4657 Make ac an empty string if undef.
12 years ago
Andreas Granig
96edceda6d
MT#4655 Show reseller name in device mgm.
12 years ago
Gerhard Jungwirth
21482c00ec
MT#4289 separate customer/ajax and contract/ajax
...
This is the first step towards separating the
tight coupling of the Customer and Contract Controllers.
Mantis: 4289#c25035
12 years ago
Andreas Granig
3030a62a73
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
9ef4961e97
MT#3925 Migrate more common methods into Role.
12 years ago
Gerhard Jungwirth
8bdd9f42fb
MT#4261 alias number handling
...
Now also handle alias numbers with the outsourced subroutine
update_subscriber_numbers.
Plus remove some leftovers which are already handled by
this sub.
12 years ago
Gerhard Jungwirth
124137ca63
MT#4261 number handling on subscriber update
...
Actually use update_subscriber_numbers when updating a subscriber
and not only when creating one. Also handle all neccessary side effects.
Now we can switch our primary number to a number which has been
inactive (that is: did not belong to a subscriber) without an update error.
12 years ago
Gerhard Jungwirth
a1e04e33f7
MT#4261 Proper number handling on subscribers
...
Outsource the handling of the primary number from
the subscriber controller to a util sub called
update_subscriber_numbers.
It also takes care to reuse a number that has
subscriber_id set to NULL which caused the original
problem in the ticket.
12 years ago
Andreas Granig
e03bd513ba
MT#4025 Only show customer sound sets for admins.
...
When in customer details, only show sound sets for customer when
logging in as admin/reseller.
12 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
12 years ago
Andreas Granig
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
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
ed359aacd5
MT#3977 Implement backend for multi-line PBX conf
...
This makes it possible to configure multiple lines (private, shared,
blf) and attendant console keys (blf) on a field device and generate the
proper config for it.
It does not yet support editing such a field device.
12 years ago
Gerhard Jungwirth
76f4bdd14c
Restrict certain domain-prefs to their respective reseller
...
The preferences rewrite_rule_sets, ncos_levels, and sound_sets
on a domain should be restricted to ones, that have the same reseller
as the domain itself.
In addition we have to make sure, the preference view does not die,
if an invalid preference had already been selected, for example when
the respective *set/*level had been deleted or had been one, with a wrong
reseller, because of this bug, we just fixed.
Mantis: 4127
12 years ago
Andreas Granig
dd62516857
Fix $controller::auto declaration.
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
6e8ac2aa70
Show subscriber login CF widget and allow prefs.
...
Only allow access to the preferences marked as expose_to_customer.
12 years ago
Andreas Granig
1809b44245
MT#3981 Write numbers to provisioning.voip_dbalias.
...
Before, we wrongly wrote directly to kamailio.dbaliases instead of
provisioning.voip_dbaliases.
12 years ago
Alexander Lutay
38e31a6ac8
TT#3921 Usability enhancement for SIP call diagram
...
Sip diagram no longer have hardcoded parts LB, PROXY, APP, SBC.
The componnets order on diagram exactly the same as
order in call, usually it is "UA1->LB->PROXY->SBC->UA2...->UAx".
12 years ago
Gerhard Jungwirth
1991296383
Filter Contract Contacts by whether they have a reseller_id
...
in case the product in billing_mappings is one of
(SIP_PEERING, PSTN_PEERING, VOIP_RESELLER)
12 years ago
Gerhard Jungwirth
5936b599d5
Fix saving preferences of type enum with empty value
...
when a preference with empty value is saved, this row was just
deleted from the db. This is not true for enums, because an empty string
is not always the default value. Therefore we only delete enum preferences
when their value matches the one of the enum, configured as default.
This can be checked, by setting the domain preference outbound_pai_user
to None, which resulted in wrong behaviour before.
Mantis: 3769
12 years ago
Andreas Granig
d801311821
Remove debug output to stdout.
12 years ago
Andreas Granig
acf36bde4b
Add PBX auto-attendant and office-hours CF targets
12 years ago
Andreas Granig
ceb9f80eab
Use proper PBX group helper when changing PBX ext.
12 years ago
Andreas Granig
9efb1f8124
Allow changing PBX group for PBX extension.
12 years ago
Andreas Granig
5f9c114ef5
Select rewrite rule set for PBX domain creation.
12 years ago
Andreas Granig
00e13f9209
Implement editing PBX extension subscribers.
12 years ago
Andreas Granig
9a1873bfd8
Fix test environment.
12 years ago
Andreas Granig
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
fe580d3c53
Show product name in customer details.
12 years ago
Gerhard Jungwirth
07d3ee5244
provide error message on "column" cannot be null
...
and by making the respective field not_nullable prevent this from even
happening
Mantis: 3677#c22033
12 years ago
Gerhard Jungwirth
4cfa5b7870
Only expose delete button to contacts with no contracts
...
else the delete fails anyway with foreign key constraint
12 years ago
Gerhard Jungwirth
f7586a4e29
fix missing include "NGCP::Panel::Utils::DateTime"
12 years ago
Andreas Granig
ad9a8bb4dd
Use localtime in TS and set createtime for subs.
...
Consequently use server's localtime to align with auto-filled timestamps.
Set create_timestamp when creating subscribers.
12 years ago
Gerhard Jungwirth
778c3caba3
fix missing validation on integer preferences
...
which failed a test
also adapt the domain test to the new login path
12 years ago
Gerhard Jungwirth
0909c813f3
Use the messaging utility for Domains
12 years ago
Gerhard Jungwirth
f569c82dd6
adapt search data structure to older versions of DBIx::Class
...
we would require 0.08250 to omit this
12 years ago
Gerhard Jungwirth
e892998959
Adapt literal sql to older versions of DBIx::Class
...
the previous version failed on the debian version (0.08196)
12 years ago