The PBX seat page was crashing because v2 calls always return
unauthorized. An investigation is ongoing to determine whether
NCOS seat should be accessed by subscriber. In the meantime,
errors are handled gracefully so the user can continue using
the app.
Change-Id: Ie4ce6c7970815b448f406bb5e64aeefda348aeed
(cherry picked from commit f34d8e153d)
(cherry picked from commit 6c2102466e)
In CscPageCallRecording a watch function was directly
modifying the Vuex state, which is not allowed in
strict mode. This change ensures that each recording
object is cloned before modification, preventing
unintended mutations of store data.
Change-Id: Ie564da2ce31bd61772a05450be21a9a0717632ef
(cherry picked from commit abc25dc49c)
(cherry picked from commit 8782f9219d)
- Verify and correct route access for admin-only CSC pages
- Update route guard logic to support:
* User role (admin / non-admin)
* Exact match on user profile attribute
* Presence of one or more profile attributes
* Required licenses (all must exist)
* Exact platfom feature
* Exact capability match
- Ensure route guards match menu visibility restrictions
- Document route guards and menu visibility logic
- Note: for fax settings, we use the extra variable
`isFaxServerSettingsActive` to determine whether the toggle
in the fax server menu should be on or off.
Change-Id: Id60a0e8b2145701ed4ae52d0859da46172076a89
(cherry picked from commit 2b46170467)
(cherry picked from commit 1a3b881c51)
Previously, the arrays for weekdays and months didn’t match
the values used in admin-ui (Sunday=1, Saturday=7, January=1,
December=12). This commit updates the calculation function
to match admin-ui conventions, ensuring consistency since
the data originates from the admin panel and is read-only here.
Change-Id: I121c18ffb901beaece19124865b88259ffcb2d3f
(cherry picked from commit 2afefb8048)
(cherry picked from commit 4f52bf95e5)
This reverts commit 694d697ac7.
NGCP-Flow: mr12.5
Reason for revert: Feature available from 13.5.X
Change-Id: Ide7b1998b3d4b0295acfc1c1a80d556358abbd26
(cherry picked from commit 9ed5ccf1ae)
Updated access rules for ADMIN subscribers:
- "Fax Settings > Mail to Fax" is now always visible.
* Admin users: The "ACTIVE" toggle can be changed,
and content is editable.
* Non-Admin users: The "ACTIVE" toggle cannot be changed,
and content is editable.
- "PBX Configuration > Seats > ID > Fax Settings > Mail to Fax" is
now always visible
* Admin users: The "ACTIVE" toggle can now be changed,
and content is editable.
* Non-Admin users: menu not visible
Change-Id: I1f30be27fde8a20092d8321e128f5d27dceec734
(cherry picked from commit bd086f4ca1)
(cherry picked from commit 694d697ac7)
After improving the handling of long words with
commit 0340bd7e3c
The csc_Call bar was misplaced a few pixels.
This commit aligns it to the menu column
to avoid any overlapping.
Change-Id: Ic8f8c6bbfa11bb3190c93612562dfc6b4a4b0055
(cherry picked from commit b503fe95cc)
(cherry picked from commit eadd174b4d)
Removed `&` from symbols to avoid invalid
characters in generated passwords
Change-Id: Iea37ad73e22df4d35b3834e713308a9b0605c252
(cherry picked from commit 2c548413a4)
(cherry picked from commit fd0f8d8c9c)
When the German translation is on, long words
are not readable without moving the side bar.
This commit increases the size of the side
menu and reduces the indent of sub-menus
Change-Id: Idb09587fe58907347f2461d6adc9a2a2706125b7
(cherry picked from commit 0340bd7e3c)
(cherry picked from commit 29d046063b)
Remove stylus library as it has a malware
and it is not used in the repo.
We are not backporting the trunk commit
as currently the two branches have huge
differences with regards of libs versions.
NGCP-Flow:mr12.5
Change-Id: I9820133e59cf01a3c55a446ec94d1e55c8c1ed49
(cherry picked from commit 37b0c94920)
Listed here the changes:
- change properties accessed directly
from state with computed properties
that handles null cases
- Fix typos for subcriberListState
and subcriberListError
- Improve route watcher in
CscPagePbxDeviceDetails
- add a method to load only thumbnails
instead of full set of data for
the device profiles to improve
performance.
- removed 1000 rows for loadProfiles()
as it was too slow. We expect max 150
devices so it was set to 300 rows.
Note, more refactoring will be needed.
Change-Id: Iefe0328052174f0bb93f8cdbae59f77257592592
(cherry picked from commit d8c1f097cc)
(cherry picked from commit 7d6446a2e0)
The Send Fax icon was displayed in the PBX Configuration
even when the functionality was not enabled in the fax settings.
This was caused by the ability to activate
the feature at the seat or group level.
The logic has been corrected, and the Send Fax functionality
now appears only when it is properly enabled for the user.
Change-Id: I02358f12eaf1a5543d2c6552e21d4452c56acdc6
(cherry picked from commit dcfecc4327)
(cherry picked from commit 7580d1d13a)
Two switch buttons added to group details as for seats.
These buttons update play_announce_before_call_setup and play_announce_before_cf preferences.
Change-Id: I230b9a8d62b34a2e013a326ad4d50403b82d824a
(cherry picked from commit 6e70eb898b)
(cherry picked from commit 435d76b47b)
If a pilot admin subscriber tries to change
the After Ring timeout for CFU set on one
of the seats, the CF config crashes
and change is not applied. This happens
because we are not passing the
subscriber_id of the Seat. In fact the
change in the CF is applied to the logged
in user instead. In this commit we pass
the subscriber_id attribute down the three
and improve the error handling.
Change-Id: I27b34a095263d18ca8d00b98bc3a528b4ee35f42
(cherry picked from commit f80f5974a0)
(cherry picked from commit 572c632717)
Change "Weiterleitung" to "Rufumleitung" which make more sense in our system.
Change-Id: Ia0d35efa94d395531e2e690fec647852b6c4c2ca
(cherry picked from commit ec610a9596)
(cherry picked from commit ae865da727)
Manually backport dependencies upgrade
commit:
09f639c935
because we don't want to upgrade eslint
on mr12.5
NGCP-Flow: mr12.5
Change-Id: Ib52e73ed589283e55bc406a27c827e4d9299515f
(cherry picked from commit 87bb081659)
CSC-UI has been changed so that, during a blind transfer, the
Referred-By header is customized with local identity URI.
Without this customisation, jssip puts blindly the subscriber username
which is not always what kamailio proxy expects.
Having correct Referred-By header is important because kamailio proxy
uses this header in order to identify the transferor in a blind transfer call.
In particular, kamailio proxy checks if Referred-By matches custom header
P-Xfer-Firstcall-Callee-To, in this case B is recogized as transferor.
Change-Id: If149b34c16a5dc13116f8fea9a6d8046498753cd
(cherry picked from commit ad870c279e)
(cherry picked from commit f5fb9750c7)
App was crashing when user was refreshing
page on page /pbx-configuration/device/${id}
This happens because the logic to load all
necessary resources is a bit tangled. This
commit attempts to tidy up things without
inserting breaking changes.
Change-Id: I868678fcc6ed181697a5f3825d41940429785375
(cherry picked from commit e314c96c3c)
(cherry picked from commit 0318ccab00)
Using AI to quickly translate keys
to Italian.
Change-Id: I2a0352d06850a32dd8e13c21f7b6e3e111bd2c12
(cherry picked from commit 34bcb13de3)
(cherry picked from commit f25a5d5eb2)
Change "if available" to "Always" which make more sense in our system.
Change-Id: I5f5d7a91d18127abd4e8bc389de69feca0a43075
(cherry picked from commit 1bff29a08f)
(cherry picked from commit 16888de24b)
UI modified to clearly show the "After Ring
Timeout" as unique parameter that is
editable in one place only.
Change-Id: Ieadc2c255ad8977664c2288269cef6c1a8da5b72
(cherry picked from commit 6bd7d4710c)
(cherry picked from commit fd66c44307)
Allow subscriber administrator to configure the devices
admin password from CSC.
Change-Id: I2919f749704e421ebc22eb82de3e9ed956dd5b40
(cherry picked from commit 30d4b44aea)
(cherry picked from commit 58eb0a61c6)