timeoverflow
timeoverflow copied to clipboard
Enable inter-organization collaboration through alliance system and cross-bank transfers
Summary
This PR introduces a comprehensive inter-organization collaboration system that enables TimeOverflow organizations to form alliances and facilitate both direct organization-to-organization transfers and cross-bank member-to-member transfers between allied organizations. The implementation provides alliance management, cross-bank transfer capabilities, contact functionality between organizations, and post visibility options.
Key Features
1. Organization Alliance System
- Alliance Management: Organizations can send, accept, or reject alliance requests
- Status Tracking: Three-state alliance system (pending, accepted, rejected)
- Administrative Control: Only organization administrators can manage alliances
- Self-Alliance Prevention: Built-in validation prevents organizations from allying with themselves
2. Cross-Bank Transfer System
- Organization-to-Organization Transfers: Direct time transfers between allied organizations through dedicated interface
- Member-to-Member Cross-Bank Transfers: Members can transfer time to members of allied organizations for specific posts/services
- Alliance Validation: All cross-bank transfers require active alliances between organizations
- Multi-Step Processing: Automated handling of transfers involving user accounts, organization accounts, and destination accounts
3. Cross-Bank Post Interactions
- Contact Request System: Secure communication between members of different organizations
- Email Notifications: Automated contact request delivery with member information
- Privacy Protection: Contact details hidden until explicit request is made
4. Organization Filtering
- Multi-Organization Views: Filter offers/inquiries across allied organizations
- Dynamic JavaScript Filtering: Client-side filter management preserving search state