Irina Peshinskaya
1fd67eb308
MT#5879 Send invoices via email.
...
Text of the message should be conformed with sales. Also it would be nice to apply templates to email body.
Only smarthost is working, spent 3 hours with exim debug and while left with smarthost. Attachments and so one looks good.
Removed fake data.
Fix data parameter. Tested data and client contracts.
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
891a4c52fa
MT#5879 Replace buttons a little.
11 years ago
Irina Peshinskaya
c96e6865e7
MT5879 Remove debug red border
11 years ago
Irina Peshinskaya
c6d91d7c8f
MT#5879 Remove exrescent buttons.
11 years ago
Irina Peshinskaya
99edada339
MT#5879 And fake invoice data into aux template too.
11 years ago
Irina Peshinskaya
00a0e08054
MT#5879 Add forgotten svg markup comments.
11 years ago
Irina Peshinskaya
fac20f351b
MT#5879 Fake invoice template preview data.
11 years ago
Irina Peshinskaya
1659af9ca8
MT#5879 Save calls queries.
...
Stopped on clients conditions.
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
7720d53bb1
MT#5879 Separate invoice and invoice template interfaces.
11 years ago
Irina Peshinskaya
2c3413392d
MT#59879 Unify interface template names.
11 years ago
Irina Peshinskaya
1072f02e84
MT#5879 Separate template and invoice.
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
cf0acb0657
MT#5879 Show total.
11 years ago
Irina Peshinskaya
e9a88a5ef2
MT#5879 Save templates state. Total isn't shown.
...
Added bars after records titles and before total.
Implemented other row components position ajustment.
@. Total only on last page.
11 years ago
Irina Peshinskaya
dbf2b5414a
MT#5879 Templates alignments.
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
e9083ac5b2
MT#5879 Fix datatables (wasn't commited, default template
11 years ago
Irina Peshinskaya
6a63b8405c
MT#5879 Template.
...
Fix datatables for invoice.
11 years ago
Irina Peshinskaya
760e07c8ec
MT#5879 Clear Alerts
...
Attempt to enable edit spans or grouped texts. Seems like all texts should be ungrouped, to be ditable
11 years ago
Irina Peshinskaya
f877c908a6
MT#5879 Save wokring interface, but with alerts.
11 years ago
Irina Peshinskaya
9aa35efdc9
MT#5879 Save state before new default template.
...
Template form shown on click.
Fix accordion intialization after ajax list refresh
Add confirmation on default template applying
11 years ago
Irina Peshinskaya
66376a9934
MT#5879 Well, seems like all template relative info is working now again.
...
What need n this area:
1. How about form "partial" validation - I need different fields checking of the item data for different actions.
2. To make it really DRY I need somehow alias columns in resultset data. Accessors don't work.
11 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.
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
89e6533d5b
MT#5879 Remove artefacts from datatables vars and make possible deactivate all invoice templates.
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
5bbdba5c74
MT#5879 Just remove 2 alerts
11 years ago
Irina Peshinskaya
9228b2c5cc
MT#5879 Well, now we delete, update and add templates almost in order.
11 years ago
Irina Peshinskaya
2d334de084
MT#5879 Apply newly created id to worm to continue work with cretated template.
11 years ago
Irina Peshinskaya
4cdaa3199b
MT#5879 Fix double encoded template string for saving, adapted deletion confirmation to ajax loaded listing
11 years ago
Irina Peshinskaya
bc0ce4bee0
MT#5879 Loading of template data to form and to server in progress. Other left: confirm on deletion )href is not used, would be good to implement using datatables at least for invoice data, and use dynamic invoice data for online generation.
...
svg-edit: would be very nice to implement editing of rows amount and text in text boxes, and as a very cool feature - applying styles. But next step will be cron.
11 years ago
Irina Peshinskaya
174367338b
MT#5879 Save state before switch to jsson getting of template info
11 years ago
Irina Peshinskaya
bf5d8ccf66
MT#5879 Save intermediate state with solutions which are going to be removed.
11 years ago
Irina Peshinskaya
805e9ee194
MT#5879 Save a lot of commented rows related to initial zoom before delete them
11 years ago
Irina Peshinskaya
eab4aa6a0d
MT#5879 Fix total location
11 years ago
Irina Peshinskaya
db24de1c0d
MT#5879
...
1. Complete embedding bitmap images
2. Change Work with layers - always show currently selecetd, apply initial display to others. Select first on start automatically.
3. Change preview work to fetch from server scheme, to enable preview in Explorer. Maybe should be applied only to Explorer?
11 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
11 years ago
Irina Peshinskaya
5869b32e92
MT#5879 Detailes with renamed zonecalls.
11 years ago
Irina Peshinskaya
ed6861b597
MT#5879 Use identifier for datatables helper initialization.
11 years ago
Irina Peshinskaya
56495527af
MT#5879 Change work with root element so now after moving rows block columns stay on correct position.
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
6fdd7d43ab
MT#5879 Save intermediate state with separation of invoice_template logic for further usage in admin and customer areas.
11 years ago
Irina Peshinskaya
7f6ce297b4
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
07ca4a3c6d
MT#5879 Show page number on pages
11 years ago
Irina Peshinskaya
4fdee6478b
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
d36699c10e
MT#5879 Pages generated by template Toolkit first version
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
a912f1fc49
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
375b4d3547
MT#5879 Save script solution for svg text rows before delete.
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
6e743ae818
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
de12d320d3
MT#5879 Show page number on pages
11 years ago
Irina Peshinskaya
d8a55f5909
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
54c02e384d
MT#5879 Pages generated by template Toolkit first version
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
d814805244
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
71666884cf
MT#5879 Save script solution for svg text rows before delete.
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
792b6a5328
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Irka
0622c959eb
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
Irka
1cdfca1cea
Fix after nested macro attempts
11 years ago
Irka
50b89773da
Save state with incorrect, but fast svg template apply
11 years ago
Irka
95e5eaf2b0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
11 years ago
Irka
c1d2a54fe1
test commit
11 years ago
Gerhard Jungwirth
09ac08508b
MT#7119 API document sortable columns
...
for collections, as query parameters
11 years ago
Gerhard Jungwirth
90a20dd18b
MT#7153 fix showing "Create PBX Group"
...
also show the button when no limit of subscribers is set
11 years ago
Andreas Granig
df9d103893
MT#6827 Deprecate linerange_num field.
...
In hind-sight, this field appears like an ugly hack to determine
the proper line range in the aaData array fetched via ajax. However,
we already have the correct range_id, and using the index of the aaData
has so many possible side effects to break everything, that I'm wondering
what I was thinking when adding it :p
11 years ago
Andreas Granig
6d6426143e
MT#4967 Fix html documentation.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
11 years ago
Andreas Granig
fead09e4b5
MT#4967 Fix editing of non-pbx subscribers.
11 years ago
Andreas Granig
6e5e1b53c4
MT#3941 API: Implement voicemail message handling.
11 years ago
Andreas Granig
629f215dae
MT#6695 Specify ssl config dir and document auth
...
Allow to specify path to dir containing opensslcnf.cnf
Document usage of basic auth for API
11 years ago
Andreas Granig
b66997578d
MT#6863 Hide webfax if faxserver is not enabled.
11 years ago
Andreas Granig
b4ef15ded2
MT#6693 Deny resellers edit attribs of subprofiles
...
Only basic information (name, default profile) can be changed if
profile_sets.reseller_edit is set to 0 in the panel config.
11 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
11 years ago
Andreas Granig
c5c8f1089b
MT#6789 Add switch to allow anonymous pwd recovery
11 years ago
Andreas Granig
6b6d5e0aa7
MT#6789 Add "forgot password" feature for subs.
11 years ago
Andreas Granig
0e7e512fb3
MT#6789 Add password reset link to subscriber.
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
02610faa68
MT#6789 Implement email template management.
...
Basic functionality to create, edit and delete email templates.
11 years ago
Andreas Granig
560bf47ab1
MT#6693 Fix PBX group 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
340542c55c
MT#6693 Let subscriber edit reminder.
11 years ago
Andreas Granig
40663ebf56
MT#6693 Filter call-forwards for subs profiles.
11 years ago
Andreas Granig
8c867420e8
MT#6693 Rename profile categories to profile sets.
11 years ago
Andreas Granig
bc4bffc930
MT#6693 Align subs profile CRUD to catalog schema.
11 years ago
Andreas Granig
4d430b7578
MT#6693 Introduce profile catalogs.
...
Profiles are grouped into catalogs, so a subscriber should get a
catalog assigned, and from there he can choose his own profile.
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
a9ffa23288
Subscriber profile management. WIP.
11 years ago
Irina Peshinskaya
84feeb1542
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
f5ce7e9db5
MT#6461 Let resellers rebrand their panel
...
Implement view for resellers to edit their css.
11 years ago
Irina Peshinskaya
021b0af430
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Andreas Granig
7cbb8633ab
MT#6461 Let admin rebrand reseller.
...
Reseller rebranding itself not yet there.
11 years ago
Irina Peshinskaya
bd7d18c49b
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
a6ae6b1a84
MT#4369 disable sorting on callflow page
...
as it has no effect, because of our optimized query
11 years ago
Irina Peshinskaya
34f77792c9
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
...
Conflicts:
lib/NGCP/Panel/Role/API/Customers.pm
11 years ago
Andreas Granig
11d83a7ead
MT#6283 Implement search-framework.
...
- let custom roles "derive" from main api role
- have an item_rs in each role
- call search logic after each item_rs call automatically
- render search query doc dynamically
11 years ago
Irina Peshinskaya
8508efc754
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
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
3e393f1f5d
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Andreas Granig
373426bfdc
MT#6063 Fix creating device profile.
...
Set edit/create-flags for "Deployed Devices" to 0, as we don't have
any such buttons there.
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
315fe4bce9
MT#6047 Implement system-wide field dev overview.
...
- Allows to search for macs
- Allows to delete devices on a global level, if needed
11 years ago
Irka
15f71fe228
MT#5879: Fix after nested macro attempts
11 years ago
Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
11 years ago
Irka
e923b71022
Merge remote-tracking branch 'origin' into ipeshinskaya/InvoiceTemplate2
11 years ago
Andreas Granig
74d8f8305b
MT#5811 Prepare adding chat buddy.
11 years ago
Andreas Granig
10373d6412
MT#5083 Add webfax to subscriber top menu
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
Irka
5818d51230
test commit
11 years ago
Andreas Granig
0f26d8fcbe
MT#3961 Update German localization.
11 years ago
Andreas Granig
1f9e407377
MT#3925 API: more doc and description fixes.
11 years ago
Andreas Granig
2c49abb49e
MT#3925 Add more field descriptions to forms.
11 years ago
Andreas Granig
c799df3ebd
MT#3925 API: dynamically render API documentation.
11 years ago
Andreas Granig
84e465fb21
MT#3961 Add Italian translation.
...
Also prepare Spanish and Russian translation files for DT.
11 years ago
Gerhard Jungwirth
381c44077e
MT#5859 rename "Line Settings"
11 years ago
Gerhard Jungwirth
f99ce65102
MT#5859 let subscriber change his webpassword
11 years ago
Andreas Granig
b88d36bdf0
MT#5083 Implement sendfax in ngcp-panel.
11 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.
11 years ago
Andreas Granig
42159350a0
MT#5811 Prepare for localization
12 years ago
Andreas Granig
67724590a5
MT#5811 Make video calls basically working
12 years ago
Andreas Granig
fbc7e5efb7
MT#5811 Activate basic phone functionality
12 years ago
Andreas Granig
cc79ba0c96
MT#5811 Prettify chat window. Still needs work
12 years ago
Andreas Granig
21750d50cb
MT#5811 Cosmetical change for offline toggle
12 years ago
Andreas Granig
3cca489305
MT#5811 Add toggle for offline roster entries
12 years ago
Andreas Granig
db4e2acddf
MT#5811 Move ctrl buttons in roster to far right
12 years ago
Andreas Granig
097713644f
MT#5811 Make chat history scrollable
12 years ago
Andreas Granig
676b4409b4
MT#5811 Flash title on out-of-focus, autofocus chat input
12 years ago
Andreas Granig
7f15cba9dc
MT#5811 Implement display of chat state
12 years ago
Andreas Granig
33001ef88a
MT#5811 Prettify roster and add chat window
12 years ago
Andreas Granig
ba52803b9c
MT#5811 Implement xmpp reconnection
12 years ago
Andreas Granig
03a6f379f1
MT#5811 Add inbound/outbound xmpp chat skeleton
12 years ago
Andreas Granig
d1bcc66639
MT#5811 Basic framework for sip/xmpp via WS
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
f7d4d8bb3d
MT#3961 I18N-ize missing strings
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
Andreas Granig
71658e12a7
MT#5599 Rework auth/authz for pwd-based API access
...
Cleanup unnecessary realms.
Use roles instead of realms for authz.
HTTP basic auth for api access.
Use admin/reseller roles instead of api_admin/api_reseller.
Fix API::Root invalid_user detaching.
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
1d873fce27
MT#4229 Remove dump from logfile.
...
The stack-trace is undecodeable from syslog, and it usually doesn't
provide any additional infos on top of the actual error message.
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
Gerhard Jungwirth
5d2ff6f703
MT#4967 fix show sippassword instead of webpassword
...
The wrong field was displayed
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
7b8092f702
MT#3997 Get rid of the remaining tt xml responses
12 years ago
Andreas Granig
dbdf898d47
MT#3997 Fix another warning in api/root template.
12 years ago
Andreas Granig
f21a57fe30
MT#3997 Fix warnings in api/root template.
...
Check the loop iterator for availablity of prev/next, because they
might not be available at first/last entry of list.
12 years ago
Andreas Granig
0fb58d2668
MT#3997 Use JSON in OPTIONS methods.
12 years ago
Andreas Granig
40ecb1e91d
MT#3997 Distinguish collection and item in URI
...
Use /api/foo/ for collections and /api/foo/{:id} for items to easily
distinguish between them. Also, we want to use query params for limiting
the collections, e.g. /api/foo/?name={:name}&something={:else}, which in
turn returns a filtered collection again. This makes it difficult then to
fetch items via /api/foo/?id={:id}, so use /api/foo/{:id} instead.
Also move rest of common functions into API Role.
12 years ago
Gerhard Jungwirth
fdb2b49e1f
MT#4693 show contract balance in euros instead of cents
12 years ago
Andreas Granig
2bff65040d
MT#5103 Add date picker to call distribution graph
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
Andreas Granig
59a75ed63e
MT#5103 Add basic call distribution graph.
...
Still needs date picker to limit range.
12 years ago
Andreas Granig
c88c69d322
MT#4235 Implement static Jitsi provisioning.
...
Should be reworked in a next step to use the dynamic configuration
management, but currently you'd need a PBX device for that, so keep
it static for now.
12 years ago
Andreas Granig
fec56340b5
MT#4967 Filter system information for subs-roles
...
Don't display internal information to subscribers and subscriberadmins.
WIP, as subscriberadmins can now add/change numbers, set lock/status.
12 years ago
Gerhard Jungwirth
2ada158ac6
MT#4967 Let admin/reseller always change subscriber numbers
...
When editing a subscriber as admin, you possibly got a stripped version of the
form, where you cannot change e164 or alias_numbers anymore.
12 years ago
Gerhard Jungwirth
364c9d9175
MT#4287 Preserve dt settings until logout
...
This reverts commit 21b841ba5c
.
12 years ago
Andreas Granig
7dcfd7db4f
MT#4961 Fix non-alphanumeric RRD filename handling
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
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
Andreas Granig
10ddf43147
MT#4787 Send browser to PBX device when syncing
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
35c82cca7f
MT#4289 move /contract/customer/edit to /customer/edit
...
So finally, there is no customer-specific stuff left in the Contract controller.
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
Gerhard Jungwirth
49037844bc
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
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
Lars Dieckow
940d1cfde7
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
12 years ago
Andreas Granig
7363b51578
MT#3971 Show Create btn if max_subscribers is null
12 years ago
Andreas Granig
b9d03df0bd
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
12 years ago
Andreas Granig
5266545dd5
MT#3977 Use plain port for linksys provisioning.
...
Linksys phones need a Cisco-signed server cert, so we have to
stay at plain http for now.
12 years ago
Andreas Granig
9f03bf4eb4
MT#4007 Implement auto attendant mgm for subs.
12 years ago
Andreas Granig
8683e52cdd
MT#3925 Move POST validation methods into Role.
12 years ago
Andreas Granig
a7ae65ca82
MT#3925 Use forms for validation only; other fixes
...
Don't use JE for data validation, as it adds lots of processing overhead.
Properly use Formhandler for data validation.
Catch DB errors properly.
Write basic auth test.
12 years ago
Andreas Granig
eb01bbde40
MT#3925 Show API item properties from json via JS
...
In the root/ document, show the resource properties in a list using
jquery, instead of including the whole json as text.
12 years ago
Andreas Granig
df6bfea155
MT#3925 Extend API documentation (Auth, styling).
12 years ago
Andreas Granig
feebde1048
MT#3925 Basic styling for printing API docs.
12 years ago
Andreas Granig
5068bd0f17
MT#3925 Style and reorganize API templates
12 years ago
Andreas Granig
defde60d4d
MT#3925 Add main header and vim trailer.
12 years ago
Andreas Granig
8123208254
MT#3925 Manually re-merge API doc changes.
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
Lars Dieckow
e5a42d9306
wip
12 years ago
Gerhard Jungwirth
0c41788b79
MT#4693 show contract balance in euros instead of cents
12 years ago
Andreas Granig
e21d14da46
MT#5103 Add date picker to call distribution graph
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
Andreas Granig
dd39baee6e
MT#5103 Add basic call distribution graph.
...
Still needs date picker to limit range.
12 years ago
Andreas Granig
80dcf44f7f
MT#4235 Implement static Jitsi provisioning.
...
Should be reworked in a next step to use the dynamic configuration
management, but currently you'd need a PBX device for that, so keep
it static for now.
12 years ago
Andreas Granig
6e725bdfdc
MT#4967 Filter system information for subs-roles
...
Don't display internal information to subscribers and subscriberadmins.
WIP, as subscriberadmins can now add/change numbers, set lock/status.
12 years ago
Gerhard Jungwirth
8f98ef00fd
MT#4967 Let admin/reseller always change subscriber numbers
...
When editing a subscriber as admin, you possibly got a stripped version of the
form, where you cannot change e164 or alias_numbers anymore.
12 years ago
Gerhard Jungwirth
402b5b0909
MT#4287 Preserve dt settings until logout
...
This reverts commit 21b841ba5c
.
12 years ago
Andreas Granig
dab0021c9a
MT#4961 Fix non-alphanumeric RRD filename handling
12 years ago
Andreas Granig
f9e96aad30
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
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
Lars Dieckow
f6e01fdbd6
MT#3927 custom auth
12 years ago
Andreas Granig
79a256f094
MT#4787 Send browser to PBX device when syncing
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
6fb3119fc9
MT#4289 move /contract/customer/edit to /customer/edit
...
So finally, there is no customer-specific stuff left in the Contract controller.
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
Gerhard Jungwirth
5caf89894c
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
12 years ago
Gerhard Jungwirth
104751bb6a
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
Lars Dieckow
a37b165caf
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
12 years ago
Andreas Granig
773c04c2cd
MT#3971 Show Create btn if max_subscribers is null
12 years ago
Andreas Granig
074758df8f
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
12 years ago
Lars Dieckow
aba646f59b
MT#3929 certificate management
12 years ago
Andreas Granig
0ab09a6e0b
MT#3977 Use plain port for linksys provisioning.
...
Linksys phones need a Cisco-signed server cert, so we have to
stay at plain http for now.
12 years ago
Andreas Granig
36a020c376
MT#4007 Implement auto attendant mgm for subs.
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
Michael Prokop
ea5696da2c
Revert "MT#4229 custom Internal server error page"
...
This reverts commit eece093fd0
.
Otherwise fails with:
| Starting NGCP-Panel Webapp: ngcp_panel_fastcgi:Can't locate Convert/Ascii85.pm in your Perl library. You may need to install it
| from CPAN or another repository. Your library paths are:
| /etc/perl
| /usr/local/lib/perl/5.14.2
| /usr/local/share/perl/5.14.2
| /usr/lib/perl5
| /usr/share/perl5
| /usr/lib/perl/5.14
| /usr/share/perl/5.14
| /usr/local/lib/site_perl
| .
|
| BEGIN failed--compilation aborted at /usr/share/perl5/NGCP/Panel/Controller/Root.pm line 5.
| Compilation failed in require at /usr/share/perl5/Catalyst/Utils.pm line 308.
| Compilation failed in require at /usr/share/perl5/Module/Runtime.pm line 317.
| at /usr/share/perl5/Catalyst/ScriptRunner.pm line 50
| error ... failed!
because Convert::Ascii85 isn't available yet in our repositories,
therefore revert to fix broken trunk.
Acked-by: Andreas Granig <agranig@sipwise.com>
Git-Dch: Ignore
12 years ago
Lars Dieckow
eece093fd0
MT#4229 custom Internal server error page
...
Move error_page to notfound_page. error_page is now for internal server errors.
Introduce logging option log_crash_state, enabled by default. Crash states are
written out compressed and encoded log-file-friendly, these are useful for
debugging but take a couple dozen kilobytes of disk space each.
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
3c3cfff80b
MT#3977 Add option in status msg to manually sync.
12 years ago
Andreas Granig
853e9e5388
MT#3977 Display stationname/keyid in PBX field dev
12 years ago
Andreas Granig
5730437acf
MT#3977 Implement editing of PBX field device.
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
Andreas Granig
50a494af2b
MT#3977 Handle new lines added by user in UI.
12 years ago
Andreas Granig
1c8179164a
MT#3977 populate PBX field dev form on prof change
12 years ago
Andreas Granig
03e4d574b6
MT#3977 Prepare line/key in PBX field dev.
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
ebe64d3563
uri_unescape CDRs
...
Mantis: 3413
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
683047c112
MT#3975 Prevent subadmin from terminating himself.
12 years ago
Andreas Granig
ef36719dcf
Add subscriberadmin customer link in top menu.
12 years ago
Andreas Granig
1af065d864
Allow subscriberadmin to access sub-subscribers.
12 years ago
Andreas Granig
585a4d947a
Be more formal in denied-page.
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
de73436174
Fix subscriber login topmenu vm link.
12 years ago
Andreas Granig
d5dc850bd9
Add subscriber login registered dev widget.
12 years ago
Andreas Granig
de99e0be43
Make widget containers higher for subscribers.
...
It should fit 5 entries with 2 rows each (to match vms and calls).
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
9769f4056e
Add templates for subscriber login call-list/vm.
12 years ago