Project

General

Profile

Plugins Directory » Secret Santa

Author: Albert Khotsoyan
Website: -
Code repository: https://github.com/AlbertKhotsoyan/secret_santa/
Registered on: 2025-11-25 (about 1 year ago)
Current version: 1.0.4
Compatible with: Redmine 7.1.x, 7.0.x, 6.1.x, 6.0.x
User ratings:   (1)

A Redmine plugin that allows users to participate in a Secret Santa game directly inside Redmine.
Users register as players, add their gift preferences, and an administrator manages the game, performs the draw, and sends personalized emails using template variables.

Installation notes

Installation
1. Copy the plugin folder to: `redmine_root/plugins/secret_santa`
2. Restart Redmine.
3. The plugin page will appear in the main-menu bar of `/projects`

Changelog

1.0.4 (2026-11-26)

Compatible with Redmine 7.1.x, 7.0.x, 6.1.x, 6.0.x.

  1. Added
    - Snowfall effect (`secret_santa_snow.js`) and decorative snowflake, snow/icicle, and Christmas tree vector sprites across `/secret_santa`, `/secret_santa_games`, and `/secret_santa_players`;
  2. Improved
    - Styled `SecretSantaMailer` HTML email template with winter header, letter card, and recipient locale support;
  3. Fixed
    - Validate assignment cycle integrity (`SecretSanta::Game#valid_assignments_cycle?`) before sending emails and check both `giver_id` and `receiver_id` in `SecretSanta::Assignment.count_for_player` to guard against cascaded user deletions;
    - Use `deliver_later` with per-recipient error handling in `SecretSanta::Game#send_santa_emails` so a delivery error on one recipient does not abort remaining emails or cause a 500 error;
    - Redirect already-registered participants away from `/secret_santa_players/new` and `POST /secret_santa_players`;
    - Render absolute links (`only_path: false`) inside `SecretSantaMailer` HTML email messages;
    - Restrict unimplemented `index`/`show` resource routes in `config/routes.rb`;

1.0.3 (2026-11-25)

Compatible with Redmine 7.1.x, 7.0.x, 6.1.x, 6.0.x.

  1. Added
    - Default letter message template with template variables when creating a new game;
    - Plugin stylesheet (`secret_santa.css`) and updated ERB views compatible with Redmine default themes and `ux_next` (light and dark modes);
  2. Improved
    - Unified `label_email_information` across all 11 locale files and updated Russian localization;

1.0.2 (2026-11-25)

Compatible with Redmine 7.1.x, 7.0.x, 6.1.x, 6.0.x.

Refactored models, controllers, mailer, helpers, views, Minitest test suite, and 11-language localizations to comply with Redmine plugin standards.

1.0.1 (2025-12-03)

Compatible with Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x.

User ratings

  by Timur Engalytchev about 1 year ago