Commit Graph

12 Commits

Author SHA1 Message Date
jjaffeux bad7f03968 DEV: removes supefluous arguments 2020-09-22 16:27:10 +02:00
Joffrey JAFFEUX 9b0aac2100
DEV: apply coding standards (#59) 2020-09-04 13:22:32 +02:00
jjaffeux 90edefff0a FEATURE: allows to hide add to calendar links 2020-04-23 14:09:15 +02:00
jjaffeux 0a78f039b1 UX: uses listNextYear as default view on mobile 2020-04-23 09:02:22 +02:00
Vinoth Kannan eff4de06ae
FEATURE: display group members by timezone in posts. (#19) 2020-02-06 19:05:06 +05:30
Sam Saffron dcb167b160 lint file 2019-12-31 12:15:44 +11:00
Martin Brennan 3561c3919b
FEATURE: Add timezone picker and options (#11)
Added these options for the markdown block, which utilise fullcalendar's inbuilt timezone functionality:

* `defaultTimezone` - Provide a default timezone to display the calendar dates in. If this is null we fall back to the current user timezone, and if that is null (or the current user is null) we fall back to moment.tz.guess(). This value is validated.
* `tzPicker` - If set to true, show a dropdown list allowing the user to pick the timezone the calendar displays in. The selected value is based on the rules described in tzdefault. If this is not turned on we show the text of the timezone in the header. The options for the picker come from moment.tz.names() and are rendered into the select at runtime, so we are not storing huge amounts of <option> HTML elements in the DB for no real reason.

I also hid the fullcalendar title because the title is now up in the header of the calendar
2019-12-31 07:52:12 +10:00
jjaffeux 095d7ab9de FEATURE: allows to have set a defaultView
```
[calendar defaultView="listNextYear"]
[/calendar]
```

Possible values:  `month,basicWeek,listNextYear`

Defaults to `month`
2019-12-13 17:41:15 +01:00
romanrizzi cef545301a Fix prettier 2019-08-26 10:45:37 -03:00
Joffrey JAFFEUX d7e77f978e FIX: do not markdownify calendar if plugin is not enabled 2019-08-26 08:15:05 -05:00
Penar Musaraj d51f8a6708 fix prettier offences 2018-11-12 13:35:17 -05:00
Vinoth Kannan 196cd6450f FIX: Rename plugin in remaining missed places 2018-09-17 20:05:23 +05:30