Andreas Granig
da79426c00
MT#3933 API: Implement subscriber preferences.
...
While at it, combine preference handling for subscribers, domains
and peers into a single role.
12 years ago
Andreas Granig
eb1464f558
MT#3925 Return json error for 403/404 on /api/.+
...
Return as usual a json struct with code and message under the /api/ path.
Otherwise an API client would get the html pages, which is
pretty pointless.
12 years ago
Andreas Granig
2f749a341a
MT#3933 API: add subscriber editing via PUT/PATCH
12 years ago
Andreas Granig
bc08567683
MT#5811 Properly set websocket paths.
...
To work around ssl certificate issues with wss connections, use
a single entry point for wss to the system and let nginx do the
internal proxying to the correct addresses.
12 years ago
Andreas Granig
0218de9cc0
MT#5833 Update italian translation.
12 years ago
Andreas Granig
0f26d8fcbe
MT#3961 Update German localization.
12 years ago
Andreas Granig
1f9e407377
MT#3925 API: more doc and description fixes.
12 years ago
Andreas Granig
2c49abb49e
MT#3925 Add more field descriptions to forms.
12 years ago
Andreas Granig
c799df3ebd
MT#3925 API: dynamically render API documentation.
12 years ago
Andreas Granig
9587330201
MT#5251 Optimize billing fees upload.
...
Bring down upload time from 180s to 16s by optimizing purge of existing
ones (one query instead of one-by-one deletion) and optimizing upload
in batch (one query instead of one-by-one deletion).
12 years ago
Gerhard Jungwirth
f99ce65102
MT#5859 let subscriber change his webpassword
12 years ago
Andreas Granig
8c3a279247
MT#5473 Fix deleting peering groups.
...
Properly propagate deletion of hosts and their prefs, as triggers
don't hit in if they are deleted via constraints, so they leave
orphaned entries in the kamailio db.
12 years ago
Gerhard Jungwirth
360d622bcc
MT#3961 check language before login, map en to i-default
...
otherwise a priority of en is not considered
12 years ago
Andreas Granig
b88d36bdf0
MT#5083 Implement sendfax in ngcp-panel.
12 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.
12 years ago
Andreas Granig
33001ef88a
MT#5811 Prettify roster and add chat window
12 years ago
Andreas Granig
d1bcc66639
MT#5811 Basic framework for sip/xmpp via WS
12 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
12 years ago
Andreas Granig
aef3a499a3
MT#5797 Skip Link hdrs for fetching collections.
...
Too many headers break web servers (and probably UAs).
12 years ago
Gerhard Jungwirth
d989abc8f9
MT#3961 Translate everything
12 years ago
Gerhard Jungwirth
9040831ecd
MT#3961 more translations
12 years ago
Gerhard Jungwirth
1f37a80b84
MT#3961 Provide Dropdown to change the language
...
We save this setting in a session variable and a cookie
valid for 3 months
12 years ago
Gerhard Jungwirth
1bf73a7bb6
MT#3961 Prepare for localization
12 years ago
Gerhard Jungwirth
029c51fad1
MT#5661 change selection of customers when bprof is updated
...
only those customers which have this billing profile
currently active are considered
this concerns the change of the prepaid flag
12 years ago
Andreas Granig
f31c2fcc88
MT#5661 Update prepaid pref on bilprof change
...
If prepaid flag is changed in billing profile, all subscribers
of all contracts currently having this profile are updated.
If customer changes from prepaid profile to postpaid and vice versa,
all subscribers of this contract are updated.
If subscriber is created either in subscriber or customer view,
the prepaid pref is set if billing profile of its customer is
prepaid.
12 years ago
Andreas Granig
6e60f43306
MT#5599 Fix pwd-based api auth.
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
Andreas Granig
0fd10e018a
MT#5575 Clear audio cache only on specific service
...
Use appserver for system sets and pbx for customer sets.
12 years ago
Andreas Granig
b098c10f87
MT#5575 Properly clear pbx audio cache for moh/pbx
12 years ago
Andreas Granig
de9fc52c64
MT#5575 Clear audio cache on sems-pbx too.
12 years ago
Andreas Granig
ce01267079
MT#3933 API: Check for max_subscribers on create
12 years ago
Andreas Granig
aa5eee69a0
MT#5575 Migrate clear_audio_cache to Sems helper.
12 years ago
Andreas Granig
9651c81852
MT#3933 API: fetch and create subscriber. WIP.
...
Doesn't handle PBX stuff yet, only basic subscriber stuff.
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
ef80d1967e
MT#4967 change primary number of extension-subscribers by extension
...
see comment 4967#c31031
12 years ago
Gerhard Jungwirth
b0d1d25301
MT#4967 update all cloudpbx-subscribers on change of head one
...
see comment 4967#c31031
12 years ago
Andreas Granig
5929bcdc06
MT#5349 API: add method to fetch dompref meta data
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
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
Andreas Granig
329b831918
MT#5199 Offer API CA Cert for download too.
12 years ago
Andreas Granig
883cd9a8b3
MT#5199 Store client cert in DB and offer P12 fmt.
...
For browser imports, you need a PKCS12 format, so offer the cert
in that format for download also.
12 years ago
Gerhard Jungwirth
f316797857
MT#4967 "Unsteal" number on subadmin terminate
...
When a subscriberadmin terminates a subscriber, the alias_numbers should
move back to the subscriberadmin
12 years ago
Gerhard Jungwirth
dfe18e5648
MT#4967 Do not show password on edit
...
but update it, if one is supplied
sub edit_master is now explicitly denied to subscribers, as there is already
a lot of conditional logic there, we should consider to handle a logged in
subscriber separately. (This option is not exposed to subscribers anyway.)
See also 4967#c28533
12 years ago
Gerhard Jungwirth
9fed07646d
MT#4967 Disallow subscriberadmin to change status
...
see 4967#c28533
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
7e3a2997f4
MT#5355 Implement peer_auth api calls to sems.
12 years ago
Andreas Granig
58adac5da9
MT#5349 API: Implement GET/DELETE for domain item.
...
There is no PUT/PATCH as we are not allowed to change the domain itself.
TODO: relations to preferences!
12 years ago
Andreas Granig
9592c6b3b7
MT#5349 API: Implement collection part for doms
12 years ago
Andreas Granig
456df97df0
MT#3931 API: implement customer contract handling.
12 years ago
Andreas Granig
3db6117dfd
MT#3931 API: Implement customer contacts.
...
Move update parts into role.
Implement customer contacts.
12 years ago