Commit Graph

390 Commits

Author SHA1 Message Date
jjaffeux ed37c5bcc7 FIX: directly check on post if we have an event
This is cleaner and also avoids a 404 when no event is found
2020-08-04 21:06:02 +02:00
jjaffeux 214899ea9a FEATURE: notify going invitees of edits on OP during event 2020-08-04 16:11:58 +02:00
jjaffeux 84198a75c5 FIX: class resolution was missing namespace 2020-08-04 14:41:40 +02:00
jjaffeux bdf4942ee1 DEV: triggers DiscourseEvents when an event starts/ends 2020-08-04 14:25:00 +02:00
jjaffeux 6ef6585b43 Merge branch 'master' of github.com:discourse/discourse-calendar 2020-08-04 08:39:22 +02:00
jjaffeux a29b7ab270 FEATURE: syncs topic tracking with attendance 2020-08-04 08:39:19 +02:00
Penar Musaraj 3896e4dbba
Update SCSS color variable to CSS custom property 2020-08-03 23:40:24 -04:00
Penar Musaraj d67b2c63c9
DEV: Fix specs 2020-08-03 21:15:38 -04:00
Penar Musaraj 5c8b100ccb
DEV: Use CSS custom properties for colors in SCSS
Prepares the plugin for an upcoming change in core while maintaining
backwards compatiblity.

This doesn't cover all cases, I am working on a fix for the few complex
variables used in discourse-calendar.scss.
2020-08-03 13:27:00 -04:00
jjaffeux 5e396de936 removes debugging code 2020-08-03 16:28:33 +02:00
jjaffeux 3f3fb2f1e0 DEV: proper namespacing 2020-08-03 16:11:00 +02:00
Joffrey JAFFEUX 1451a65f54
FEATURE: allows to bulk invite into events (#54) 2020-08-03 15:47:01 +02:00
Sam Saffron 1e993a5dfa
DEV: lint file
RawHtml no longer used in this file
2020-08-03 17:19:17 +10:00
Joffrey JAFFEUX c6b531d741
FEATURE: allows to add a url to an event (#52) 2020-08-03 08:58:52 +02:00
jjaffeux f4738ca442 better examples names 2020-07-30 22:27:39 +02:00
Kris 516d2e10da Icon alignment fix, see 6da90af in core 2020-07-29 22:40:24 -04:00
Dan Ungureanu a34f410cd7
DEV: 'expired' and 'not_expired' scopes must cover all events 2020-07-29 13:03:49 +03:00
Dan Ungureanu c224449cd1
DEV: Add 'expired' and 'include_subcategories' filters to EventFinder 2020-07-29 13:03:30 +03:00
Krzysztof Kotlarek 88842e12df FIX: check if allow_staff_user_custom_field exisits 2020-07-27 12:00:51 +10:00
Robin Ward 00cbecc5a4 FIX: The route is called `/u/` now not `/users` 2020-07-23 15:53:05 -04:00
dependabot[bot] ea1139991a
Build(deps): Bump lodash from 4.17.15 to 4.17.19 (#50)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 12:01:00 -04:00
Krzysztof Kotlarek 8ffd5e0b79 FIX: compatibility after allowlist rewording in Discourse 2020-07-15 09:28:44 +10:00
Mark VanLandingham f3bd64c992
FIX: Error when users_on_holiday is undefined (#49) 2020-07-08 16:00:59 -05:00
Robin Ward f751c8fde5 FIX: Deprecation 2020-07-08 10:25:25 -04:00
Bianca Nenciu 097a959d64 DEV: Fix lint 2020-07-07 17:48:50 +03:00
Bianca Nenciu 7b4f9895c0
FIX: Show holiday flair in user directory (#46) 2020-07-07 17:25:57 +03:00
Bernhard Suttner 66beb075f6
typo (#48) 2020-07-07 09:47:21 -04:00
Mark VanLandingham b66d48ea20
Import getURL to fix deprecation warnings (#47) 2020-07-06 09:26:47 -05:00
David Taylor 21ae67c873
FIX: Holiday icon on mentions with non-lowercase usernames
Profile urls are always constructed using the lowercase username, so we need to use the lowercase username to look them up in the cooked html.
2020-06-22 15:28:55 +01:00
Dan Ungureanu f81dbca358
FIX: Add overrides for non-standard country codes used by holidays gem 2020-06-18 13:35:54 +03:00
Dan Ungureanu 65f7c4e315
FIX: Order regions by name 2020-06-18 13:30:04 +03:00
Dan Ungureanu 0e36e420c7
DEV: Update definitions 2020-06-18 13:29:50 +03:00
Dan Ungureanu 922e445e80
DEV: Fix lint 2020-06-18 12:17:13 +03:00
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