Skip to content

Staging - #860

Open
radiophp wants to merge 84 commits into
muti-ticket-remove-ptmafrom
staging
Open

Staging#860
radiophp wants to merge 84 commits into
muti-ticket-remove-ptmafrom
staging

Conversation

@radiophp

Copy link
Copy Markdown
Contributor

This pull request introduces major enhancements to the authentication and affiliate systems, updates environment variable handling, and improves documentation and logging configurations. The most significant changes include new social login support (Twitter/X, GitHub, LinkedIn, Google, Outlook), expanded affiliate tracking, and improved developer guidelines. Below are the top changes grouped by theme.

Authentication & Social Login Integration

  • Added new environment variables for OAuth credentials (Twitter/X, GitHub, LinkedIn, Google, Microsoft) to docker-compose.yml, docker-compose-server.yml, and service environments, enabling social login features. [1] [2]
  • Created new database tables for storing linked social accounts: users_x, users_github, users_linkedin, and users_google, each with relevant fields and indexes for efficient lookups and uniqueness. [1] [2] [3] [4]
  • Extended the task_type and users_score_activity_type enums to support new social connection activities (e.g., x_connect, github_connect, linked_in_connect, google_connect, outlook_connect). [1] [2] [3]

Affiliate System Enhancements

  • Added new affiliate item type 'fairlaunch-partnership' to the affiliate_item_type enum.
  • Created the partnership_affiliate_purchases table to track affiliate purchases, including wallet, Telegram info, and user entry type, with supporting indexes and foreign key constraints.
  • Increased the wallet_address field length in partnership_affiliate_purchases to 256 characters for broader compatibility.

Environment & Configuration Updates

  • Introduced new environment variable EVENT_WALLET_ENC_KEY to docker-compose-server.yml, mini-app/Dockerfile, and exported it for service use. [1] [2] [3]

Documentation & Developer Experience

  • Added a comprehensive AGENTS.md file detailing repository structure, build/test commands, coding style, commit/PR guidelines, and security tips to improve onboarding and collaboration.

Logging & DevOps Improvements

  • Simplified and refactored Fluentd configuration in devops/fluent/fluent.conf for better log handling and Elasticsearch integration, removing unused Prometheus sections and streamlining buffer setup.

Let me know if you want a deeper dive into any specific area or how these changes impact the codebase!

@radiophp radiophp self-assigned this Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants