* feat: Add group participant request management functionality
- Introduced new endpoints for handling requested participants in groups:
- GET /group/participants/requested to retrieve requested participants.
- POST /group/participants/requested/approve to approve participant requests.
- POST /group/participants/requested/reject to reject participant requests.
- Added corresponding methods in the group service to manage participant requests.
- Implemented validation for new request types to ensure proper data handling.
* feat: Update API version and enhance group participant request management
- Bumped API version from 5.3.0 to 5.4.0.
- Added new endpoints for managing group participant requests:
- GET /group/participant-requests to retrieve pending requests.
- POST /group/participant-requests/approve to approve requests.
- POST /group/participant-requests/reject to reject requests.
- Updated group service methods to handle new request types and responses.
- Enhanced front-end components to support requested member management.
* chore: Update dependency versions in go.mod and go.sum
- Bumped versions for several dependencies:
- github.com/PuerkitoBio/goquery from v1.10.2 to v1.10.3
- github.com/mattn/go-sqlite3 from v1.14.27 to v1.14.28
- go.mau.fi/whatsmeow to a new version
- golang.org/x/image from v0.25.0 to v0.26.0
- golang.org/x/net from v0.38.0 to v0.39.0
- github.com/pelletier/go-toml/v2 from v2.2.3 to v2.2.4
- golang.org/x/crypto from v0.36.0 to v0.37.0
- Added new indirect dependencies for petermattis/goid and updated existing ones.
* refactor: Change receiver type for ChangePushName method in userService
* refactor: Rename group participant request endpoints and streamline request handling
- Updated API endpoints for managing group participant requests:
- Changed GET /group/participants/requested to GET /group/participant-requests
- Changed POST /group/participants/requested/approve to POST /group/participant-requests/approve
- Changed POST /group/participants/requested/reject to POST /group/participant-requests/reject
- Refactored front-end methods to handle the new endpoint structure and consolidate approval/rejection logic.
* feat: Add validation for empty Group ID in participant request listing
- Implemented a check to ensure Group ID is not empty in the ListParticipantRequests method.
- Returns a 400 Bad Request response with an appropriate error message if Group ID is missing.
* feat: Enhance participant request management with error handling
- Updated ManageGroupRequestParticipants method to include error handling for participant requests.
- Added validation for the Action field in participant management requests to ensure it is not empty and is one of the allowed values.
* refactor: Update message handling to use domainMessage consistently
- Removed redundant import of message package.
- Updated ReactMessage method to use domainMessage types for request and response, ensuring consistency across the service.
* feat: add mark as read
feat(message.go): add MarkAsRead functionality to IMessageService for marking messages as read
feat(go.mod): update dependencies to newer versions for improved functionality and security
feat(rest): add endpoint for MarkAsRead to handle marking messages as read through the API
feat(service): implement MarkAsRead logic in serviceMessage to mark messages as read in WhatsApp
feat(validations): add validation for MarkAsRead request to ensure required fields are present
* chore(settings.go): bump AppVersion to v4.21.0 for new release
feat(message.go): add logging for MarkAsRead function using logrus for better traceability
fix(GroupManageParticipants.js): remove redundant '@' from group_id computation
* feat(newsletter): add newsletter service, endpoints, and UI components
Add Newsletter service to support functionality for unfollowing newsletters
Add Newsletter REST controller and routing
Implement newsletter-related endpoints and methods in the User Service
Create UnfollowRequest for the INewsletterService interface
Add MyListNewsletterResponse to user's data fields
Add newsletter validation
Refactor JS components to support newsletter type and simplify recipient forms by moving logic to FormRecipient component
Refactor window global constants to support newsletters
Modify server to initialize and use the newsletter services
Add UI component for listing newsletters
Refactor existing components to use FormRecipient for recipient data input
* chore: update documentation
feat(openapi.yaml): add newsletter support with new paths and schemas
docs(readme.md): update API endpoints including newsletter and images
fix(openapi.yaml): correct duplicated summary text for user my newsletters
* feat: update package name
* feat: Update src/views/components/NewsletterList.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: Update src/views/components/NewsletterList.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: Update src/views/components/NewsletterList.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: manage participant
* refactor(group.go): change HTTP methods for managing group participants to use POST instead of DELETE and PATCH for better compatibility and consistency
* chore: update image homepage