-
Notifications
You must be signed in to change notification settings - Fork 97
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
PROD-8011 #4514
Open
jitendrabanjara1991
wants to merge
60
commits into
release
Choose a base branch
from
PROD-8011
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PROD-8011 #4514
Conversation
This file contains 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
…analytics site - Added `bb_schedule_usage_report_cron` function to schedule a weekly CRON event for Sunday at midnight. - Registered the `bb_usage_report_cron_event` hook to trigger the usage report sending process. - Implemented `bb_send_usage_report_to_analytics` function to handle sending anonymous site data to the analytics endpoint. - Currently logs a message to error log for testing purposes.
…s usage reporting - Implemented `bb_uuid()` function to generate or retrieve a unique UUID for the site. - Created `bb_collect_site_data()` function to gather BuddyBoss-related options and additional data for anonymous usage reporting. - Data collected includes BuddyBoss options from the database and any extra data added via the `bb_usage_analytics_data` filter.
…ect site data and send it to the analytics site. - Includes HTTP request with JSON-encoded data, custom headers, and timeout settings. - Handles potential errors with WP_Error for failed requests or server errors. - Ensures SSL verification is disabled for local requests via the `https_local_ssl_verify` filter. - Added proper cleanup of variables and error handling.
* release: (41 commits) Update: Grunt Update: Grunt string-replace Update: Version name update Update: Language file update grunt Added change log PROD-7988 - pull the API changes PROD-7744 - Update - DB server version instead of server/host PROD-7976 - phpcbf PROD-7976 remove duplicate code logic PROD-7976 Update normalizer code logic PROD-7976 Update normalizer code logic PROD-7933 - Remove welcome videos [PROD-7872] Update mutual connections list styling PROD-7517 - Fixed - If disable all CPT with WP post, then display error PROD-7818 - Split search word and search within title and content for forum, topic and reply PROD-7818 - Fixed - search result inconsistency when search any word within html for topic and reply PROD-7818 - Fixed - search result inconsistency when search any word within html PROD-7517 - Update doc block comment PROD-7860 - Add condition to check activity empty or not ...
…ormation - Added server-related data to the `$analytics_data` array including: - Site URL, Admin URL, and Admin Email - PHP version, MySQL version, and database provider Operating system and web server details - Enhanced data collection for BuddyBoss options and ensured additional server context is sent with usage reports. - Preserved existing filter `bb_usage_analytics_data` for extending the data collection process. - Improved variable management and code clarity.
… the `bb_collect_site_data` function. Also code refactor
…lyze - Improved code structure and readability for maintainability. - Move and improve code which added in bp-core-functions.php and bp-core-actions.php file - Load the class in class-buddypress.php
…it's no longer needed
- Add icon for the setting - Add field for 'Usage' and save that setting
- anonymous option will pull all data except - admin_email - disable option will stop us pulling any data from the customers site and clear cron
- Create function instead of filter and move that code to specific file.
… inside functions - Also added auth key
KartikSuthar
previously approved these changes
Oct 25, 2024
chetansatasiya
previously approved these changes
Nov 15, 2024
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.
Jira Issue:
https://buddyboss.atlassian.net/browse/PROD-8011
https://buddyboss.atlassian.net/browse/PROD-7921
General Note
Keep all conversations related to this PR in the associated Jira issue(s). Do NOT add comment on this PR or edit this PR’s description.
Notes to Developer
Notes to Reviewer