Commit Graph

222 Commits

Author SHA1 Message Date
Penar Musaraj 3896e4dbba
Update SCSS color variable to CSS custom property 2020-08-03 23:40:24 -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
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
Kris 516d2e10da Icon alignment fix, see 6da90af in core 2020-07-29 22:40:24 -04: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 7b4f9895c0
FIX: Show holiday flair in user directory (#46) 2020-07-07 17:25:57 +03: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 b832232268
FEATURE: Add user preferences field to select region (#44) 2020-06-18 11:29:08 +03:00
jjaffeux 5d351f6e5d FIX: ensures recurring works when time is specified 2020-06-15 19:27:08 +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 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
jjaffeux fd46374d24 FIX: adds back holiday flair in preview 2020-05-25 11:49:09 +02:00
jjaffeux ac4784bacb FIX: simplifies upcoming events page and prevents double rendering 2020-05-11 11:55:41 +02:00
jjaffeux 4e31880f9c FIX: display post errors when deleting even if post empty 2020-05-10 22:11:41 +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
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 6c12b1862f FIX: ensures we have a user 2020-05-04 09:19:33 +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
jjaffeux 34d15bc3d0 UX: localize avatar flair title 2020-04-30 14:41:17 +02:00
jjaffeux 274902260b UI: larged widget dropdown item padding 2020-04-30 14:18:20 +02:00
jjaffeux 1723fe86c5 UI: ensures status and creator are perfectly aligned 2020-04-30 14:11:27 +02:00
jjaffeux 05dff813a0 UX: more readable mobile view 2020-04-30 00:07:28 +02:00
jjaffeux 99d0bb849d UX: temp fix for multiple dates on mobile 2020-04-29 23:53:51 +02:00
jjaffeux 6d6fd96d08 FIX: should be end class 2020-04-29 23:46:38 +02:00