Commit Graph

9 Commits

Author SHA1 Message Date
Joffrey JAFFEUX 646201d75d
FIX: ensures migration order is correct (#27) 2020-04-09 19:35:20 +02:00
Joffrey JAFFEUX 5665832fe7
REFACTOR: ensures consistent naming with discourse-post-event (#26) 2020-04-09 18:10:45 +02:00
Jarek Radosz 0350f5ce4b
DEV: Add `frozen_string_literal` comment 2020-03-28 14:22:35 +01:00
jjaffeux fe6c2e6102 FEATURE: uses post_event date in op to decorate topic title 2020-03-27 21:37:38 +01:00
Joffrey JAFFEUX 988b066ab5
FEATURE: implements initial support for post events (#24) 2020-03-26 14:11:33 +01:00
Bianca Nenciu 7fe6f8e624 DEV: Print error in migration to STDERR 2020-03-20 16:32:37 +02:00
Bianca Nenciu 536c597ef4
DEV: Migrate from custom fields to tables (#23) 2020-03-20 15:45:24 +02:00
Régis Hanol 517fdbfab7 DEV: fix migration to only remove duplicates
The migration was removing all but one 'on_holiday' user custom field...

Not big deal though since that custom field is being (re)set regularly in the 'update_holiday_usernames' job.
2020-01-21 18:09:46 +01:00
Régis Hanol b1fe4456d0 Various bug fixes and performance improvements
- FIX: update_holiday_usernames wasn't deleting "on_holiday" user custom fields
when no users were on holiday
- FIX: flair wasn't working on mentions when using subfolder
- PERF: only decorateCooked and addPosterIcon if there's at least one user on holiday
- Migration to remove duplicate "on_holiday" user custom fields
- Add unique index for the "on_holiday" user custom field
- Localize the "On Holiday" title
- Add the boolean type to the "on_holiday" user custom field
2019-07-25 18:02:31 +02:00