• Mahmoud Aglan's avatar
    feat(org-announcements): publishing reaches every member, once · 38add483
    Mahmoud Aglan authored
    Image uploads never worked (validateFile's null success was read as failure,
    generatePath got three arguments, the returned URL was treated as a flag);
    expiry was never saved; an Arabic-only announcement could not be stored
    (title and content are NOT NULL); the list linked to an unpublish route that
    did not exist.
    
    Now: Arabic title and text are what is required, expiry is entered in Cairo
    time, images go to org-media (JPEG/PNG/WebP up to 5 MB, removed from storage
    when replaced, removed or the announcement is deleted). Publishing sets
    published_at and sends one org_announcement notification to every active
    member, in chunks of 500, with org_id and announcement_id in data; it is
    logged in org_activity_log. Republishing after an unpublish never notifies
    twice. "Publish now" on create needs the same permission as publish.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    38add483
Name
Last commit
Last update
..
ads Loading commit data...
analytics Loading commit data...
audit-log Loading commit data...
auth/views Loading commit data...
branding Loading commit data...
chess-bots Loading commit data...
dashboard Loading commit data...
economy Loading commit data...
feature-flags Loading commit data...
game-content Loading commit data...
games Loading commit data...
live-tournaments Loading commit data...
moderation Loading commit data...
notifications Loading commit data...
org-achievements Loading commit data...
org-announcements Loading commit data...
org-applications Loading commit data...
org-challenges Loading commit data...
org-chat Loading commit data...
org-content Loading commit data...
org-events Loading commit data...
org-frames Loading commit data...
org-invites Loading commit data...
org-leaderboards Loading commit data...
org-loyalty Loading commit data...
org-media Loading commit data...
org-partnerships Loading commit data...
org-recruitment Loading commit data...
org-rosters Loading commit data...
org-spotlights Loading commit data...
org-training Loading commit data...
org-transfers Loading commit data...
org-treasury Loading commit data...
organizations Loading commit data...
players Loading commit data...
redeem-codes Loading commit data...
settings Loading commit data...
tournaments Loading commit data...
users Loading commit data...
workflows Loading commit data...