Commit Graph

390 Commits

Author SHA1 Message Date
Régis Hanol 62c493cf30 FIX: ensure only active users can be on holiday
Follow up on a8a560cc67
2019-08-02 18:05:06 +02:00
Penar Musaraj 44f14b881f Make Rubocop happy 2019-07-30 09:04:10 -04:00
Penar Musaraj 42838a2ae7 Fix Prettier 2019-07-25 15:33:48 -04: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
Régis Hanol e6d4357cf2 FIX: compute holidays for active users 2019-07-02 17:31:33 +02:00
Sam Saffron deb7f0dd5d DEV: Run prettier on files
hopefully I have the right version
2019-06-24 17:22:48 +10:00
Robin Ward c15ec21cef FIX: Better to give an `id` even if not required in `onlyStream` 2019-06-21 15:25:52 -04:00
Robin Ward f4ab02e4ec FIX: Add an `id` to prevent memory leaks 2019-06-21 15:19:53 -04:00
Penar Musaraj d013e2f94a Run Prettier 2019-06-14 13:27:11 -04:00
Penar Musaraj d78741221e Fix eslint 2019-06-14 12:16:16 -04:00
Régis Hanol 3b9c7b697e FIX: add timezone to regional holidays
FIX: schedule the CheckNextRegionalHolidays more often (every 10 minutes)
FEATURE: new timezone field in user profile
2019-06-05 23:07:39 +02:00
Régis Hanol c5996a4c89 FIX: only add holidays during business days 2019-05-29 16:50:46 +02:00
Régis Hanol 271b9e987f FIX: delete past holidays 2019-05-28 11:37:26 +02:00
Régis Hanol f216ad80cd Show first 50 characters in event tooltip 2019-05-24 11:19:43 +02:00
Régis Hanol a8a560cc67 FEATURE: regional holidays 2019-05-23 12:40:53 +02:00
Régis Hanol daf377d217 FIX: all the specs 2019-05-22 22:58:53 +02:00
David Taylor ae92a376fb UX: Match heading margin to cell margin 2019-05-10 10:10:21 +01:00
David Taylor f49b855347 FIX: Prevent height changing on load 2019-05-10 10:08:26 +01:00
Joffrey JAFFEUX 9a1e5a4eba FIX: calendar_details could be undefined at this point 2019-04-23 15:02:13 +02:00
Vinoth Kannan 654d8ebe41 FIX: Allow '-1' value to delete_expired_event_posts_after site setting 2019-03-13 10:29:54 +05:30
Vinoth Kannan 3d66cb463a FEATURE: Add site setting to delay/disable expired event post deletion 2019-03-12 01:39:59 +05:30
Régis Hanol 363c9119a5 FIX: properly jumpToPost when not in the stream 2019-02-12 17:02:51 +01:00
Régis Hanol d4d079dbfd FIX: change deprecated icon name 2019-02-12 16:43:21 +01:00
Régis Hanol d1423b7d59 Faster holiday & event expiration 2019-02-11 10:44:28 +01:00
Régis Hanol 30970217f2 FIX: save event details in right order 2019-02-11 10:02:06 +01:00
Régis Hanol eba009c00d FIX: skip recurring events instead of bailing out 2019-02-09 01:49:33 +01:00
Régis Hanol d3dbe13085 FIX: properly delete expired event in calendar-based topics
The 'EnsureExpiredEventDestruction' is now only deleting events in topics with
a [calendar].

REFACTOR: Remove all *_INDEX constants
REFACTOR: UpdateHolidayUsernames job

PERF: Use already cooked version of the post instead of over-cooking it
PERF: Only serialize 'calendar_details' on first post
2019-02-09 01:02:08 +01:00
Joffrey JAFFEUX cdce6fb04a do not enable calendar by default 2019-01-29 15:57:27 +01:00
Joffrey JAFFEUX a378584ee5 FIX: displays username when in holday calendar topic 2018-12-28 17:02:27 +01:00
Joffrey JAFFEUX d3d92b1481 FIX: positioning issues 2018-12-28 10:58:13 +01:00
Joffrey JAFFEUX 01bbad9d9e FIX: do not destroy recurring events 2018-12-28 10:48:13 +01:00
Joffrey JAFFEUX b0cd8471bf DEV: more explicit filename 2018-12-27 19:48:30 +01:00
Joffrey JAFFEUX 1bd8339b31 FIX: more resilient calendar loading 2018-12-27 18:36:06 +01:00
Joffrey JAFFEUX 4f1f514dc1 FIX: do not generate color if using first post line as title 2018-12-27 18:35:48 +01:00
Joffrey JAFFEUX c18108819d
UX: multiple improvements (#2)
- better timezone support
- validation
- recuring events support for static
- full calendar 4.0
2018-12-27 16:48:58 +01:00
Gerhard Schlager 1dcf5f1d22 Apply rubocop rules 2018-12-03 11:01:45 +01:00
Gerhard Schlager 19954fd8f0 Inherit rubocop config from discourse repo 2018-12-03 00:35:44 +01:00
Gerhard Schlager afe7eea61c FIX: Ignore post when topic doesn't exist anymore 2018-11-26 15:19:32 +01:00
Penar Musaraj d51f8a6708 fix prettier offences 2018-11-12 13:35:17 -05:00
Penar Musaraj 18c214c918 Use HTML icons (FontAwesome 5 friendly), apply prettier code styling 2018-11-07 12:58:53 -05:00
Vinoth Kannan 456f1bced7 DEV: Include timezone while parsing local-dates event 2018-10-16 06:00:27 +05:30
Vinoth Kannan e34eb47209 FIX: Do not use return inside blocks 2018-10-16 03:49:31 +05:30
Vinoth Kannan fc3594ec43 minor typo fixes 2018-10-16 03:07:23 +05:30
Vinoth Kannan 4838ddd636 FIX: Remove calendar event when the post is destroyed 2018-10-16 03:02:36 +05:30
Vinoth Kannan c53c3c91ea run destroy calendar method only if it exist 2018-10-16 01:59:02 +05:30
Vinoth Kannan 0930227267
Merge pull request #1 from discourse/calendar_details
Add calendar_details method for post and fix the build
2018-10-15 19:31:35 +05:30
Vinoth Kannan b5063d195c Add calendar_details method for post and fix the build 2018-10-15 19:30:17 +05:30
Joshua Rosenfeld 2836ab40c6
add plugin URL 2018-10-12 10:08:19 -04:00
Vinoth Kannan b8bb6ab764 FIX: Display events in correct local time 2018-09-18 17:25:20 +05:30
Vinoth Kannan 94942226c6 README: Update with description and meta plugin URL 2018-09-17 21:29:53 +05:30