jjaffeux
c8438b5f68
FEATURE: displays events in mails
2020-05-03 22:38:01 +02:00
Joffrey JAFFEUX
94868315c9
FEATURE: allows to export event invitees in a .csv file ( #40 )
2020-05-03 16:29:42 +02:00
jjaffeux
fdabeb07bc
FIX: rename events-calendar to upcoming-events-calendar
...
This was causing a name clashing with discourse-envets.
2020-05-03 09:49:20 +02:00
jjaffeux
6bcce74c2d
UX: uses star everywhere to show interest
2020-04-29 21:30:43 +02:00
jjaffeux
8685775824
UI: uses widget-dropdown and slightly changes update attendance UI
2020-04-29 20:10:49 +02:00
jjaffeux
10b0c9371a
FEATURE: displays a preview of the event in the composer
2020-04-28 10:47:29 +02:00
jjaffeux
d8b0cf128d
REFACTOR: removes dead code for now
2020-04-22 23:24:20 +02:00
jjaffeux
cc193bf2ba
FIX: prevents name collision by namespacing guardian method
2020-04-14 19:03:55 +02:00
jjaffeux
4e7c798971
FIX: relies only on staff? and prefer defined? for memoization
2020-04-14 15:39:49 +02:00
jjaffeux
a8a1195adc
UX: attempts to add margin when 3 buttons on mobile
2020-04-12 14:56:09 +02:00
jjaffeux
c4db9f2583
FEATURE: display event's starts_at on topic title
2020-04-12 14:18:55 +02:00
jjaffeux
cde452ca8e
FEATURE: limits who can create/act on events based on groups
2020-04-12 09:36:12 +02:00
jjaffeux
d12d45d247
UX: events are now managed through md markup
2020-04-11 20:26:37 +02:00
Joffrey JAFFEUX
3a9b218b3b
FEATURE: display upcoming events in a calendar ( #33 )
2020-04-10 11:35:53 +02:00
Joffrey JAFFEUX
e0146360c6
FEATURE: .ics support for events ( #32 )
2020-04-10 10:52:38 +02:00
Joffrey JAFFEUX
5665832fe7
REFACTOR: ensures consistent naming with discourse-post-event ( #26 )
2020-04-09 18:10:45 +02:00
jjaffeux
a710fdda9f
UX: improves buttons texts and visuals
2020-03-28 18:12:59 +01:00
jjaffeux
fe6c2e6102
FEATURE: uses post_event date in op to decorate topic title
2020-03-27 21:37:38 +01:00
jjaffeux
946a4ec8d9
DEV: improves reloadability
2020-03-27 14:01:59 +01:00
jjaffeux
bfe84db1f2
REFACTOR: dry post_event_enabled check in controllers
2020-03-27 08:52:06 +01:00
jjaffeux
2bf615cffc
fix spec
2020-03-26 22:34:21 +01:00
jjaffeux
b2103e8517
introduces post_event_enabled site setting
2020-03-26 22:19:09 +01:00
jjaffeux
36d39f085d
FEATURE: allows to invite people to public events
2020-03-26 16:39:12 +01:00
Joffrey JAFFEUX
988b066ab5
FEATURE: implements initial support for post events ( #24 )
2020-03-26 14:11:33 +01:00
Bianca Nenciu
536c597ef4
DEV: Migrate from custom fields to tables ( #23 )
2020-03-20 15:45:24 +02:00
jjaffeux
45e7b258da
FIX: set post_url so calendar events can be clicked from anywhere
2020-03-11 01:56:29 +01:00
Martin Brennan
d6bff6cbb7
DEPRECATION: Completely remove user custom field timezone ( #6 )
...
The functionality of using a UserCustomField timezone for this plugin has been deprecated for the past few months and existing timezone custom fields have been migrated to the replacement, UserOption.timezone.
2020-03-04 11:49:40 +11:00
Martin Brennan
d57dcf82b5
FIX: include_group_timezones? N1 query ( #22 )
...
* using custom_fields instead of post_custom_fields triggers
a query for the custom field on every post in the topic.
change the include_group_timezones to use post_custom_fields
instead which queries every post for the topic on topic view
load
2020-03-02 16:12:25 +11:00
Vinoth Kannan
eff4de06ae
FEATURE: display group members by timezone in posts. ( #19 )
2020-02-06 19:05:06 +05:30
Gerhard Schlager
ded650f032
Make rubocop happy
2020-01-16 22:55:21 +01:00
Mark VanLandingham
fc7e79a07d
Site setting for all-day event times ( #13 )
2020-01-16 14:14:57 -06:00
Mark VanLandingham
13cbdb5315
FEATURE: Add to google calendar link on list view ( #12 )
2020-01-14 08:25:16 -06:00
jjaffeux
2a2af14a73
FIX: improves grouping over multi days
2019-12-30 15:24:29 +01:00
jjaffeux
81511536a8
FEATURE: improves official holidays grouping
2019-12-30 10:07:43 +01:00
jjaffeux
cc5e386738
FIX: handle holidays spanning on multiple days
2019-12-19 09:04:27 +01:00
Robin Ward
a779858d5f
If this fails, we might be in a `rake db:drop db:create db:migrate`
2019-12-18 15:07:55 -05:00
David Taylor
6352b456e3
PERF: Only load emojis from Redis once
2019-12-16 13:58:45 +00:00
David Taylor
1d3e921c8f
PERF: Avoid PrettyText.cook in serializer for emojis
...
- For manual events, include the emoji images when calculating the excerpt
- For automatic holidays, lookup the emoji in the Ruby cache
2019-12-16 13:31:40 +00:00
David Taylor
1e6c2ec589
FEATURE: Improve timezone logic for all-day events ( #10 )
...
- Render all-day events from 6am to 6pm local time, so that they appear more logically for users in other timezones
- Set the `nextDayThreshold` to 6am, so that multi-day events in slightly more easterly timezones display the end date correctly
2019-12-16 13:12:09 +00:00
Joffrey JAFFEUX
2ae47a46ea
UX: improves calendar for holiday events ( #7 )
2019-12-14 19:51:54 +01:00
Martin Brennan
7ec34030d3
FEATURE: Allow using core user_options.timezone ( #5 )
...
* Make sure plugin works with user_options.timezone AND original custom field
* We will show a deprecation warning in the hbs template if the UserOption.timezone is present in core to ensure people upgrade the plugin.
2019-11-25 10:50:34 +10:00
Joffrey JAFFEUX
3410b89f5e
DEV: adds timezone to group user serializer
2019-11-02 15:13:30 +01:00
Régis Hanol
83940f9557
Bump Holidays gem to 8.0.0
2019-10-30 17:01:56 +01:00
Régis Hanol
decf862156
DEV: keep recurring field
2019-09-11 23:19:07 +02:00
Régis Hanol
fcc2c01189
DEV: ensure 'post_number' is an integer on the server
2019-09-11 23:15:43 +02:00
Régis Hanol
d6fd8f0370
FEATURE: Add new EnsureConsistency scheduled job
...
Add a new job that is scheduled twice daily to ensure the consistency of the calendar topic.
In some rare cases, like when a post is moved, the calendar is not properly updated.
Since reacting to a post being moved is hard (we don't have the information of the previous topics),
this job will ensure that the events of each posts in the calendar topic are up to date.
2019-09-10 16:20:46 +02:00
Joffrey JAFFEUX
58ccb7f7dd
minor code styling fix
2019-08-09 13:19:33 +02:00
Joffrey JAFFEUX
8cbb3c668c
FIX: ensures we check on op and not any post
2019-08-09 11:24:25 +02:00
Joffrey JAFFEUX
ab1bc19a18
FIX: do not attempt to validate a post from a topic with no calendar
2019-08-09 10:14:21 +02:00
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
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
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
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
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
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
afe7eea61c
FIX: Ignore post when topic doesn't exist anymore
2018-11-26 15:19:32 +01:00
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
7be7527462
fix: typo in stylesheet file name
2018-09-17 17:25:30 +05:30
Vinoth Kannan
e86497a3a4
Rename discourse-simple-calendar to discourse-calendar
2018-09-17 17:19:46 +05:30
Vinoth Kannan
0dfd54a8ec
DEV: Add holiday icon in mentions via CSS
2018-09-11 17:10:01 +05:30
Vinoth Kannan
9a493a9dbc
DEV: Remove dates extract method and use local_dates post attribute
2018-09-06 23:57:47 +05:30
Vinoth Kannan
0aa14333e5
minor fixes and refactoring
2018-09-06 12:52:05 +05:30
Vinoth Kannan
bc174517e4
Add new method to get list of users on holiday
2018-09-06 01:59:59 +05:30
Vinoth Kannan
60ad4fb3a7
FEATURE: Add holiday icon in posts and user mentions
2018-09-05 23:49:14 +05:30
David Taylor
c8f642418c
FEATURE: Update mattermost usernames with a suffix when users are on holiday
2018-08-29 23:57:19 +01:00
Joffrey JAFFEUX
7c080747ae
modify asset order
2018-08-01 17:59:24 -04:00
Joffrey JAFFEUX
f711077d48
EXPERIMENTAL: static calendar support
2018-06-15 00:45:43 +02:00
Joffrey JAFFEUX
dfe01a382b
FIX: only rely on daily cleaning job
2018-06-11 15:35:26 +02:00
Joffrey JAFFEUX
30099a14bc
FEATURE: better handling of dates with no time
2018-06-11 15:35:10 +02:00
Joffrey JAFFEUX
7aeeff4e18
adds cleaning job
...
We might just remove :destroy_expired_event job in the future
2018-06-11 10:59:38 +02:00
Joffrey JAFFEUX
412ae21711
FIX: calendar details incorrectly returned
2018-06-10 19:04:51 +02:00
Joffrey JAFFEUX
b9204e629b
forces array
2018-06-10 11:48:55 +02:00
Joffrey JAFFEUX
3d311d8860
first commit
2018-06-06 15:24:56 +02:00