-
Notifications
You must be signed in to change notification settings - Fork 1
Prepare for 2025.1.1 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add validation for ModuleUsersGroups-related POST data - Check for 'mod_usrgr_' prefix in POST keys before processing - Prevent unnecessary calls to updateUserGroup method - Improve code readability with explicit condition checks
Currently translated at 100.0% (37 of 37 strings) Translation: MIKOPBX/ModuleUsersGroups Translate-URL: https://weblate.mikopbx.com/projects/mikopbx/moduleusersgroups/ja/
- Create UpdateUserGroupAction with all group update logic - Remove updateUserGroup/getUserIdFromNumber/updateOrCreateGroupMembership from UsersGroups - Update UsersGroupsConf to use UpdateUserGroupAction for both API v2 and v3 - Add API_V3_EMPLOYEES constant for endpoint path - Improve error handling with PBXApiResult - Add logging for successful and failed updates Related to #26 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add cleanupOrphanedGroupMembers() method to remove invalid references - Call cleanup automatically in onAfterModuleEnable() - Compare GroupMembers.user_id against valid Users.id from main database - Log cleanup statistics (deleted count) - Handle cases after module reinstall or backup restore This prevents orphaned records when employees are deleted but their group membership records remain in module database. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Fixes issue with incorrect group member count display. Changes: - Add automatic user population in SetDefaultGroupAction - Create fillUsersWithoutGroup() method to add users without group - Add GetGroupsStatsAction for dynamic member count display - Add CleanupOrphanedMembersAction for database cleanup - Update UsersGroupsConf to call cleanup on module enable - Add dynamic counter updates in frontend JavaScript When default group is set, all users without group membership are automatically added to the default group. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Implements customizable voice notification when user attempts to call a number forbidden by group isolation settings. Key features: - Custom sound support via moduleusersgroups-forbidden - Automatic language selection based on system settings - Fallback to standard Asterisk ss-noservice sound - Guaranteed call handling without interruption - Support for 15+ languages out of the box Technical implementation: - New dialplan context users-group-forbidden - PLAYBACKSTATUS check for missing custom sounds - Automatic fallback ensures no silent failures - Custom dialplan hook support for extensions Documentation includes: - Complete setup guide with audio file preparation - Multi-language file structure examples - Testing script for verification - FAQ and troubleshooting section Fixes #9 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Simplified and restructured README.md and README_RU.md - Removed technical implementation details and code examples - Focused on user-friendly instructions with step-by-step guides - Reorganized content for easier screenshot integration - Added comprehensive FAQ section - Improved troubleshooting section with practical solutions - Renamed module to "Phone Groups Management" for clarity - Consolidated voice notification setup section - Reduced document length while maintaining all essential information The new documentation style is more accessible to regular users while technical details remain available for developers separately. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.