Commit Graph

407 Commits

Author SHA1 Message Date
Dan Ungureanu eaf27e5b29
DEV: Fix lint 2020-06-18 11:37:00 +03:00
Dan Ungureanu b832232268
FEATURE: Add user preferences field to select region (#44) 2020-06-18 11:29:08 +03:00
Guo Xiang Tan 13be89627a
Make rubocop happy. 2020-06-17 15:44:44 +08:00
jjaffeux 5d351f6e5d FIX: ensures recurring works when time is specified 2020-06-15 19:27:08 +02:00
jjaffeux 8485eebf69 DEV: bumps holidays gem to 8.2.0 2020-06-09 09:56:05 +02:00
jjaffeux 2340a79062 DEV: bumps holidays gem to 8.1.0 2020-06-09 09:54:54 +02:00
Jarek Radosz 88f8f60206
UX: Display the mention icon closer to the name
Related change in core: https://github.com/discourse/discourse/pull/9962
2020-06-02 16:30:21 +02:00
jjaffeux f5ffee3e6a FIX: better identifier and uses real dates for grouping 2020-06-01 20:02:08 +02:00
jjaffeux b4bf9b2957 FIX: insertAdjacentHTML is a better choice here 2020-06-01 19:18:29 +02:00
jjaffeux 13f14c3a2d FIX: prevents breaking of other reports export 2020-05-31 07:36:27 +02:00
jjaffeux ad3d26fa1b FIX: better attempt at avoiding unecessary scrollbars 2020-05-26 15:17:11 +02:00
jjaffeux 6ab577425b FIX: ensures scroller is not overflowing 2020-05-26 15:00:56 +02:00
jjaffeux 5aaae931eb FIX: prevents height jumpyness 2020-05-26 14:24:55 +02:00
jjaffeux 4a9e982357 FIX: logic was incorrect for multiple users on holiday 2020-05-25 22:22:16 +02:00
jjaffeux 81f205eada FEATURE: uses new API to display holiday in user-selector 2020-05-25 21:54:11 +02:00
jjaffeux 27ca37028b linting 2020-05-25 19:23:53 +02:00
jjaffeux 36afb98ff1 FIX: ensures decorate is happening in preview and removes jquery 2020-05-25 19:09:35 +02:00
Bernhard Suttner 6f1ee9f000 Typo in de 2020-05-25 19:03:51 +02:00
jjaffeux fd46374d24 FIX: adds back holiday flair in preview 2020-05-25 11:49:09 +02:00
jjaffeux 4469ebda3b FIX: allows non admin events creators to export csv 2020-05-24 16:59:09 +02:00
jjaffeux b969c74bad typo 2020-05-24 14:42:03 +02:00
jjaffeux fcf4eb7885 DEV: removes client tests for now
They fail very randomly due to other plugins, will revisit when the situation is more stable.
2020-05-15 12:19:27 +02:00
jjaffeux a093042757 DEV: attempts to ensure composer is closed after test 2020-05-15 09:58:42 +02:00
jjaffeux 24357ea6f1 DEV: tests toolbar behavior 2020-05-15 00:00:56 +02:00
Robin Ward d669fdc959
FIX: Was set to `en` when it should be `de` 2020-05-12 12:49:58 -04:00
Bernhard Suttner fe15bef879
Add german translation (#43) 2020-05-11 11:14:43 -04:00
jjaffeux ac4784bacb FIX: simplifies upcoming events page and prevents double rendering 2020-05-11 11:55:41 +02:00
jjaffeux 513185626a FIX: do not attempt to fetch pms when anonymous 2020-05-11 10:30:51 +02:00
jjaffeux 37cc8819d4 DEV: skip composer preview tests for now 2020-05-11 00:23:07 +02:00
jjaffeux b5c7910421 FIX: do not ensure logged in
Right are made at the routes level.
2020-05-11 00:05:17 +02:00
jjaffeux 4e31880f9c FIX: display post errors when deleting even if post empty 2020-05-10 22:11:41 +02:00
jjaffeux cced2c8c02 FIX: prevents error if the associated post has been destroyed 2020-05-10 17:42:14 +02:00
jjaffeux ea0dd41046 FIX: ensures we are updating the correct invitee 2020-05-10 17:27:44 +02:00
Joffrey JAFFEUX dca3145d47
FEATURE: displays an error in preview for more than one event (#42)
This commit also introduces client side tests, this plugin only had server side tests before.
2020-05-10 13:54:48 +02:00
Jarek Radosz cb81eb1235
REFACTOR: Fix Rails 6 scope deprecation warning (#41)
```
DEPRECATION WARNING: Class level methods will no longer
inherit scoping from `not_expired` in Rails 6.1.
To continue using the scoped relation, pass it into
the block directly. To instead access the full set of models,
as Rails 6.1 will, use
`DiscoursePostEvent::Event.default_scoped`.
(called from block in <class:Event> at
/home/runner/work/discourse/discourse/plugins/discourse-calendar/app/models/discourse_post_event/event.rb:44)
```

It's not a solution mentioned in the deprecation warning, but it's simpler, shorter, has one level of indentation less, doesn't create extra ActiveRecord objects, and uses a single Time instance.
2020-05-10 12:31:10 +02:00
jjaffeux ee57872366 UX: calendar_enabled should be in discourse_calendar settings 2020-05-07 11:01:54 +02:00
jjaffeux ede0e52923 DEV: Move to rubocop-discourse. 2020-05-06 17:56:08 +02:00
jjaffeux 436de401a9 FIX: do not show destroy post event button if event is not created 2020-05-04 11:38:26 +02:00
jjaffeux 4065f4ba3d UX: moves create event button to toolbar popup menu 2020-05-04 11:37:23 +02:00
jjaffeux 31a8524a80 FIX: hides dropdown if no actions available 2020-05-04 10:55:37 +02:00
jjaffeux 11ba398069 FIX: improves invitees query perf and prevents loading destroyed user
A destroyed user should destroy the associated invitee, but this an additional security.
2020-05-04 10:34:22 +02:00
jjaffeux b95380a1e8 FIX: ensures a destroyed user is correctly removed from invitees 2020-05-04 09:46:38 +02:00
jjaffeux 6c12b1862f FIX: ensures we have a user 2020-05-04 09:19:33 +02:00
jjaffeux c8438b5f68 FEATURE: displays events in mails 2020-05-03 22:38:01 +02:00
jjaffeux 1b1cd81f72 FIX: ensures the calendar is always loaded 2020-05-03 17:45:25 +02:00
jjaffeux 10b9ec09d8 FIX: correctly names going-button 2020-05-03 16:38:52 +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 cfb1a2e740 FIX: cleanly handle the case where local dates are not enabled 2020-05-03 16:28:53 +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 8ccc7f3d85 FIX: ensures post event works when no user is logged in 2020-05-02 10:20:25 +02:00