Commit Graph

23 Commits

Author SHA1 Message Date
Krzysztof Kotlarek 69076dc559
Revert "FIX: use allowList helper (#82)" (#83)
This reverts commit c677e02a83.
2020-12-22 17:38:07 +11:00
Krzysztof Kotlarek c677e02a83
FIX: use allowList helper (#82)
`whiteList` helper is deprecated and should be replaced with `allowList`
2020-12-14 15:32:59 +11:00
jjaffeux bad7f03968 DEV: removes supefluous arguments 2020-09-22 16:27:10 +02:00
jjaffeux 258ec90a65 FIX: custom fields could be in an incorrect state 2020-09-04 15:08:35 +02:00
Joffrey JAFFEUX 9b0aac2100
DEV: apply coding standards (#59) 2020-09-04 13:22:32 +02:00
jjaffeux ae6f7c9d25 FIX: custom fields are now part of markdown 2020-08-25 13:22:09 +02:00
jjaffeux 019847948c FEATURE: intoduces recurrence support
For now: every_week/every_day/every_month/every_weekday (monday to friday)
2020-08-13 10:19:13 +02:00
jjaffeux ad57efb6fe REFACTOR: makes reminders to be in raw 2020-08-10 23:38:04 +02:00
Joffrey JAFFEUX c6b531d741
FEATURE: allows to add a url to an event (#52) 2020-08-03 08:58:52 +02:00
jjaffeux 90edefff0a FEATURE: allows to hide add to calendar links 2020-04-23 14:09:15 +02:00
jjaffeux 0cf857af02 UX: replaces [wrap] by [event]
Syntax is now:

```
[event start="date"]
[/event]
```
2020-04-23 13:23:59 +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
Vinoth Kannan e86497a3a4 Rename discourse-simple-calendar to discourse-calendar 2018-09-17 17:19:46 +05:30
Vinoth Kannan 28a6631287 FEATURE: Add weekends and hidden days markdown attributes 2018-09-12 22:33:10 +05:30
Joffrey JAFFEUX 3d311d8860 first commit 2018-06-06 15:24:56 +02:00