tomneedham/oc_xmas

[idea] ⏰ Configurable times for snowflake appearance

Opened this issue · 0 comments

Idea: As an admin you can configure how likely (probability) snowflakes will appear for users, as well as for how long.

Implementation details:

  • Edit the OCA\Xmas\SnowLoader class with these improvements
  • Utilise OCP\IConfig with app values for the xmas app to store values for probability, start time and end time
  • Pass these values through to the javascript using OC.getCapabilities()['xmas'] and see the php example