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
12 years ago
Irina Peshinskaya
e9083ac5b2
MT#5879 Fix datatables (wasn't commited, default template
12 years ago
Irina Peshinskaya
6a63b8405c
MT#5879 Template.
...
Fix datatables for invoice.
12 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
12 years ago
Irina Peshinskaya
f877c908a6
MT#5879 Save wokring interface, but with alerts.
12 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
12 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.
12 years ago
Irina Peshinskaya
59b1d7fad6
MT#5879 Intermediate state.
...
Template changes not saved. Separated info form is working, axcept applying renamed fields as form values.
12 years ago
Irina Peshinskaya
3c85a2e269
MT#5879 Rename invoce template tables to s suffices.
12 years ago
Irina Peshinskaya
135dad02d5
MT#5879 Draft of invoice template movement to reseller.
...
1.Remove curly brackets from svg template
2.Move invoice template templates to their own folder and change pathes accordingly.
3.Move invoice_template functionality to Reseller. maybe should be separated in new Controller.
4.Move InvoiceTemplate form to its own sppace from Customer
12 years ago
Irina Peshinskaya
89e6533d5b
MT#5879 Remove artefacts from datatables vars and make possible deactivate all invoice templates.
12 years ago
Irina Peshinskaya
f6fe84df61
MT#5879 Datatables is shown now for invoice data but search doesn't work. Anyway switch now to invoices generation and will return to datatables later.
...
Done:
1.Form separated for future possible load through ajax.
2.Activity switch in invoice templates table
12 years ago
Irina Peshinskaya
9228b2c5cc
MT#5879 Well, now we delete, update and add templates almost in order.
12 years ago
Irina Peshinskaya
2d334de084
MT#5879 Apply newly created id to worm to continue work with cretated template.
12 years ago
Irina Peshinskaya
4cdaa3199b
MT#5879 Fix double encoded template string for saving, adapted deletion confirmation to ajax loaded listing
12 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.
12 years ago
Irina Peshinskaya
bf5d8ccf66
MT#5879 Save intermediate state with solutions which are going to be removed.
12 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?
12 years ago
Irina Peshinskaya
c966c842de
MT#5879
...
Some drafts:
1. Configure embeding bit-map images in svg-edit
2. Remove zooming on mousewheel in svg-edit
3. Configure svg-edit a little to make interface not such full of features. Added main-button - not hided now. maybe should be?
4. Found lost </iframe> - fixed styling and javascript in invoice interface
5. Separate templates list in new template to enable ajax loading after deletion and active selection. Added different buttons )
And other small fixes and changes
12 years ago
Irina Peshinskaya
ed6861b597
MT#5879 Use identifier for datatables helper initialization.
12 years ago
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.
12 years ago
Irina Peshinskaya
6fdd7d43ab
MT#5879 Save intermediate state with separation of invoice_template logic for further usage in admin and customer areas.
12 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.
12 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/
12 years ago
Irina Peshinskaya
44e61d95f6
MT#5879 commented out data, faked for multipage document
12 years ago
Irina Peshinskaya
d36699c10e
MT#5879 Pages generated by template Toolkit first version
12 years ago
Irina Peshinskaya
8834411f8e
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
12 years ago
Irina Peshinskaya
53f5c06257
MT#5879 Start with PDF::WebKit
12 years ago
Irina Peshinskaya
04987fcb5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
12 years ago
Irina Peshinskaya
f45e5f6ada
MT#5879 Customer.pm wasn't saved.
12 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).
12 years ago
Irina Peshinskaya
4f19965240
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
12 years ago
Irina Peshinskaya
7c3a045ddc
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
12 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.
12 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/
12 years ago
Irina Peshinskaya
f5dc2028f7
MT#5879 commented out data, faked for multipage document
12 years ago
Irina Peshinskaya
54c02e384d
MT#5879 Pages generated by template Toolkit first version
12 years ago
Irina Peshinskaya
ae5360882a
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
12 years ago
Irina Peshinskaya
21e2f2b38f
MT#5879 Start with PDF::WebKit
12 years ago
Irina Peshinskaya
bb69a3ef5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
12 years ago
Irina Peshinskaya
3e537588ee
MT#5879 Customer.pm wasn't saved.
12 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).
12 years ago
Irina Peshinskaya
468420909d
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
12 years ago
Irina Peshinskaya
a1cf4235ef
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
12 years ago
Irka
792b6a5328
MT#5879 Now Preview works correct. Time to implement saving passed template.
12 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.
12 years ago
Irka
33b13847b0
MT#5879: Fix applying empty search for admin
12 years ago
Irka
b79bdb342a
MT#5879: Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
12 years ago
Irka
75f16d14b5
Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
12 years ago
Irka
50b89773da
Save state with incorrect, but fast svg template apply
12 years ago
Irka
95e5eaf2b0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
12 years ago
Irka
c1d2a54fe1
test commit
12 years ago
Gerhard Jungwirth
09ac08508b
MT#7119 API document sortable columns
...
for collections, as query parameters
12 years ago
Gerhard Jungwirth
c93c8eeb6d
MT#7119 fix broken soundfilerecordings collection
...
when auto returns false, the catalyst chaining is aborted
12 years ago
Gerhard Jungwirth
83d37c5d23
MT#7119 API order_by for collections
...
most collections support ordering by the column names of
their primary table now
12 years ago
Andreas Granig
388cd7cca3
MT#7175 Skip collection in doc if role unspecified
12 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
12 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
12 years ago
Gerhard Jungwirth
cd9177b60f
MT#7051 set webusername to NULL if empty
...
because this does not trigger the unique constraint
(webuser_dom_idx) and it makes sense, because one cannot
login with an empty webusername anyway.
12 years ago
Gerhard Jungwirth
ae1898784f
MT#6841 Sound Set Customer section conditional
...
only when pbx is enabled
or a customer was already set, giving the opportunity to unset it.
12 years ago
Gerhard Jungwirth
7333869c54
MT#7113 API subscribers: provide hunt-policy/timeout
...
for a subscriber with is_pbx_group=true
12 years ago
Andreas Granig
2389ad4455
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
12 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
12 years ago
Gerhard Jungwirth
582b835db6
MT#7067 fix api tests
12 years ago
Andreas Granig
60de7de4a7
MT#7067 API: Implement sound file handling.
...
Create new sound files.
Update sound files.
Delete sound files.
12 years ago
Andreas Granig
8e2a050674
MT#7067 Document sound set form fields.
12 years ago
Andreas Granig
d7735623bb
MT#7077 Fix dots in SIP usernames for SPAs.
12 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
12 years ago
Andreas Granig
b0993b62b9
MT#3939 API: Implement trusted source handling.
12 years ago
Andreas Granig
1cc0aa69f4
MT#7039 API: link subscriberregistrations
...
- Properly join voip_subscribers and voip_domains
- Link relations to subscriber
12 years ago
Andreas Granig
74d3458e66
MT#7061 API: implement reminder handling.
12 years ago
Andreas Granig
024d3fc92a
MT#7029 API: fix exposure of administrative flag.
12 years ago
Andreas Granig
9767e62204
MT#6913 API: remove Data::Printer debug.
12 years ago
Andreas Granig
2b2c1f0fbb
MT#6913 API: fix profile(set) update.
12 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
12 years ago
Andreas Granig
7cbdb2762f
MT#3947 API: Implement voicemail settings.
...
Change email, pin, attach and delete via REST.
12 years ago
Gerhard Jungwirth
663782432e
MT#7029 API subscriber, fix creation of admin subscriber
...
don't try to get primary number when there is no
admin subscriber yet.
12 years ago
Andreas Granig
28ee0960a4
MT#3943 API: fetch cdrs via REST.
...
Allow to filter for subscriber_id and customer_id.
12 years ago
Andreas Granig
b0b0e03594
MT#6871 Fix updating non-pbx subscriber.
...
Set is_pbx_group to 0 by default, as it's not passed along in an update.
12 years ago
Andreas Granig
fead09e4b5
MT#4967 Fix editing of non-pbx subscribers.
12 years ago
Andreas Granig
44a3b2da1c
MT#4967 Fix subadmin pbx alias number moving.
...
Allow subadmins to move numbers from extension back to subadmin.
12 years ago
Andreas Granig
1a002c506a
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
12 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
12 years ago
Gerhard Jungwirth
14d6b1db63
MT#6985 API more subscribers filters
...
by customer_id, is_pbx_group, is_admin
12 years ago
Andreas Granig
bffe93f359
MT#6979 API: expose id field in pbx device items
12 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
12 years ago
Andreas Granig
61eb05dd13
MT#3941 API: fix voicemail filtering.
12 years ago
Andreas Granig
4fe7db30c4
MT#3941 API: Prettify voicemail descriptions.
...
Properly link between the corresponding collections.
12 years ago
Andreas Granig
6e5e1b53c4
MT#3941 API: Implement voicemail message handling.
12 years ago
Gerhard Jungwirth
f7ebfe07c1
MT#3937 API speeddials put/patch
12 years ago
Gerhard Jungwirth
d71f12aff9
MT#3937 API speeddials get
...
collection and item
12 years ago
Gerhard Jungwirth
139dabf562
MT#6827 API pbxdevice* improvements
...
search queries, description and form validation
12 years ago
Gerhard Jungwirth
0de65edace
MT#6827 API pbxdevicemodels GET
12 years ago
Gerhard Jungwirth
313bf84e6a
MT#6827 API pbxdeviceconfigs GET
12 years ago
Gerhard Jungwirth
0430f83d46
MT#6827 API pbxdeviceprofiles GET
12 years ago
Andreas Granig
c8ad008ca6
MT#3935 API: Properly handle bool values in prefs.
...
Preferences failed to validate in case of bool values.
12 years ago
Andreas Granig
42031a1627
MT#6913 API: prevent reseller profile deletion.
...
Reject if reseller_edit is disabled in config.
12 years ago
Andreas Granig
f30518384b
MT#6913 API: fix syntax error
12 years ago
Andreas Granig
84cc7c36c9
MT#6913 API: fix profile(_set) deletion.
12 years ago
Andreas Granig
19d6b47796
MT#6913 API: implement profile handling.
12 years ago
Andreas Granig
427bd2e312
MT#6913 API: Basic management of profile sets.
12 years ago
Andreas Granig
3ec2d88bfe
MT#6909 API Check for existance of email tmpl name
...
Make sure to not expose internal error on duplicate email template
name/reseller.
12 years ago
Andreas Granig
f47c7d114f
MT#6909 API: add reseller rel to emailtemplates
12 years ago
Andreas Granig
954367aad5
MT#6827 Update api description for pbxdevices
12 years ago
Andreas Granig
cd98d27ad7
MT#6909 API: implement email template management.
12 years ago
Andreas Granig
1da7f9a7bc
MT#6789 API: validate email template id
...
Its reseller needs to match the customer contact's reseller.
12 years ago
Andreas Granig
6a568e2bc9
MT#6843 API: only autogen pass if not provided
12 years ago
Andreas Granig
88c6e4d78f
MT#6789 API: handle subscriber email and profile.
...
Handle new email field.
Fix profile handling on subscriber creation.
12 years ago
Andreas Granig
e9d30a3b89
MT#6773 Remove DDP, shortcut for Data::Printer
12 years ago
Andreas Granig
976843e55e
MT#6827 API POST/PUT/PATCH/DELETE of field devices
12 years ago
Gerhard Jungwirth
d2a3348a78
MT#6827 API pbxdevices POST
...
wip
12 years ago
Gerhard Jungwirth
816fbcefb6
MT#6827 API pbxdevices GET
...
wip
12 years ago
Gerhard Jungwirth
438fba5855
MT#6827 fix missing data in customer details
12 years ago
Andreas Granig
a5fd61fe72
MT#6871 FIx subs creation if contract.external_id
...
Stupid copy/paste error using wrong contract var.
12 years ago
Andreas Granig
1e235bef44
MT#6789 Fix empty string as email template id.
...
Causes creating customers to fail.
12 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
12 years ago
Andreas Granig
8823a94c8d
MT#6693 Clear subscriber prefs on profile change
...
If a subscriber changes from one profile to another, clear all
preferences which are not part of the new profile.
12 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.
12 years ago
Andreas Granig
79e2274a4b
MT#6789 Clear old password on logged-in reset.
...
That way we force the user to change the pass, otherwise he can't
log in anymore.
12 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.
12 years ago
Andreas Granig
76cd2f2a33
MT#6693 Let reseller be chosen on profset cloning
12 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
12 years ago
Andreas Granig
80b4b30e51
MT#6693 Clean up orphaned methods.
12 years ago
Andreas Granig
c5c8f1089b
MT#6789 Add switch to allow anonymous pwd recovery
12 years ago
Andreas Granig
fd1ce99ea1
MT#6789 Don't clear old password on pwd reset.
12 years ago
Andreas Granig
2bf4fe1e92
MT#6831 Implement global password policy.
12 years ago
Andreas Granig
6b6d5e0aa7
MT#6789 Add "forgot password" feature for subs.
12 years ago
Andreas Granig
256de924e3
MT#6789 Add password recovery components.
12 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
12 years ago
Andreas Granig
507402c561
MT#6789 Choose email template for customer - WIP
...
Select an email template for subscriber creation and for password reset
when creating or editing a customer.
WIP, not compiling yet by intention.
12 years ago
Andreas Granig
02610faa68
MT#6789 Implement email template management.
...
Basic functionality to create, edit and delete email templates.
12 years ago
Andreas Granig
5aea5658df
MT#6693 Remove CF/prefs in case of profile edit
...
Make sure to clear preferences and CF mappings if they get
unselected in the profile during editing.
12 years ago
Andreas Granig
f7f11fd5e7
MT#6693 Allow admin to change profileset of pbxext
12 years ago
Gerhard Jungwirth
bebc4de4d5
MT#3933 Exclude terminated subscribers from subscriberpreferences
...
This complies with /api/subscribers and fixes a wrong count of
available subscriberpreferences in the collection.
12 years ago
Gerhard Jungwirth
24ad811460
MT#6695 error checks on generating certificates
12 years ago
Gerhard Jungwirth
35c5ef8fe7
MT#6695 separate api/server certfile
12 years ago
Gerhard Jungwirth
2fc4743183
MT#6497 API use billing subscriber id on all places in cf_*_sets
...
that is:
- api/cfdestinationsets
- api/cftimesets
12 years ago
Gerhard Jungwirth
0feca3ea94
MT#6497 API cfmappings handle ringtimeout for cft
12 years ago
Gerhard Jungwirth
63ac99218e
MT#6497 API cfmappings PUT, PATCH
12 years ago
Gerhard Jungwirth
a11b53aa3e
MT#6497 API cfmappings GET
12 years ago
Andreas Granig
c1307b1cbe
MT#6693 Fix extension creation without profile set
12 years ago
Andreas Granig
92b7b5ea89
MT#6693 Fix initial subscriber creation.
...
In this case, there is no provisioning subscriber yet.
12 years ago
Andreas Granig
ceb53a1837
MT#6693 Fix subadmin subscriber editing.
12 years ago
Andreas Granig
a3f944e777
MT#6693 Show extension vs number for customer subs
12 years ago
Andreas Granig
560bf47ab1
MT#6693 Fix PBX group editing.
12 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.
12 years ago
Andreas Granig
16b44673f4
MT#6693 Rework PBX subscriber/group handling.
12 years ago
Andreas Granig
f197d4a665
MT#6693 Fix profile(set) editing of pbx subs.
12 years ago
Andreas Granig
e98c94d1e8
MT#6693 Remove reseller "back" param workaround.
12 years ago
Andreas Granig
17d4140b64
MT#6693 Add separate form for subadmin pbx flow.
12 years ago