Jarek Radosz
07e009e862
DEV: Update linting setup and fix issues ( #179 )
2022-06-17 15:01:34 +02:00
Isaac Janzen
780232c902
DEV: Remove use of run-loop-and-computed-dot-access ( #178 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access
2022-06-17 14:18:36 +02:00
Isaac Janzen
92bdea38b2
DEV: Remove 'htmlSafe' string prototype extensions ( #176 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
2022-06-01 11:42:50 -05:00
Isaac Janzen
01f52dc5c5
DEV: Remove 'dasherize' string prototype extensions ( #173 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
2022-05-13 12:43:37 -05:00
Isaac Janzen
d5e11a2c65
DEV: Remove 'capitalize' string prototype extensions ( #172 )
...
Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
2022-05-13 12:33:38 -05:00
Jarek Radosz
86cda5f213
DEV: Lose the es6 suffix ( #165 )
2022-03-05 17:21:01 +01:00
David Taylor
2a17f49f66
DEV: Bump eslint-config-discourse and correct violations
2022-01-26 14:44:10 +00:00
Bianca Nenciu
c6dd79c805
FIX: Do not stringify null parameters ( #151 )
...
Sometimes the query page did not load if one of the query was null
because it called null.toString() and raised an exception.
2022-01-17 13:45:40 +02:00
Guhyoun Nam and Mark VanLandingham
286b5b5fe7
FEATURE: Add Data Explorer Params to the URL on run ( #128 )
...
Co-authored-by: Mark VanLandingham <[email protected] >
2021-09-14 10:10:16 -05:00
Andrei Prigorshnev
4a98cc8af8
FEATURE: get rid of the import a query modal ( #127 )
...
This is the new version of #126 . Now the pick-files-button moved to core. To import a query into Data Explorer, you need to push the button and then deal with the import modal. Instead, we want just to be triggering a system file picker directly. This PR makes it happen.
2021-08-20 14:26:48 +04:00
David Taylor
216dff3ed9
DEV: Improve logic for showing/hiding the reports tab in group screens ( #107 )
...
Previously this was adding an extra AJAX request to check if the group had any queries available. Now a boolean is included in the group serializer, so there is no need for the extra request.
Removing this ajax request will also stop other plugin JS integration tests from failing when the data-explorer plugin is installed.
This commit also fixes the HTML markup of the tab, so that it doesn't have a <ul> nested inside the existing <ul>. Also adds an icon for good measure.
2021-04-08 17:47:44 +01:00
Grayden
82cb3ac2fe
Allow admins to see the group reports nav item ( #101 )
...
Previously, the report tab would appear only if the user was a member of the group. With this change, admins can see the reports in any group.
2021-04-08 15:50:49 +01:00
Joffrey JAFFEUX
69f1e5d13b
DEV: uses discourse-common/lib/raw-templates ( #98 )
2021-02-24 19:49:26 +01:00
Roman Rizzi
50e62d84e8
FIX: Use Ember's debounce on stable. ( #96 )
...
We need to wrap the new debounce function inside a try block to avoid throwing a "module not found" exception.
2021-02-22 12:55:11 -03:00
Andrew Prigorshnev
4f33c22344
FEATURE: Add a graph report to query results ( #93 )
2021-02-18 12:06:22 +01:00
Joffrey JAFFEUX
8ab94e334c
DEV: prettier 2.2.1 ( #89 )
2021-01-27 10:38:56 +01:00
Roman Rizzi
c6a11d9280
DEV: Use the new discourseDebounce function wrapper. ( #85 )
...
We recently merged a Discourse core's PR to replace usages of Ember's debounce and discourseDebounce with a new debounce wrapper. The new wrapper works exactly like Ember's debounce but internally calls "run" when called in test mode.
This PR replaces all usages of other debounce functions with the new wrapper and fallbacks to Ember's debounce for backward-compatibility.
2021-01-05 13:09:21 -03:00
jjaffeux
e0e639e70f
Revert "DEV: enforces no-var ( #74 )"
...
This reverts commit 94c1ef21c8 .
2020-10-13 15:40:56 +02:00
Joffrey JAFFEUX
94c1ef21c8
DEV: enforces no-var ( #74 )
2020-10-13 15:17:33 +02:00
Martin Brennan
a4665c27e8
Revert "Import getURL to fix deprecation warnings ( #52 )"
...
This reverts commit d643cf742e .
A previous change was already made in this repo to import getURL,
this causes a double import which breaks the build.
2020-10-07 13:13:38 +10:00
Mark VanLandingham
d643cf742e
Import getURL to fix deprecation warnings ( #52 )
2020-10-07 12:58:52 +11:00
Joffrey JAFFEUX
685b5a45c1
FIX: the filtered array was not being used ( #69 )
2020-09-23 09:53:14 -04:00
jjaffeux
6205bb8569
DEV: linting
2020-09-22 17:11:41 +02:00
Joffrey JAFFEUX
e0a3ad12a6
DEV: apply coding standards ( #66 )
2020-09-04 13:23:11 +02:00
Robin Ward
0c1a9aa4bc
FIX: deprecations
2020-07-06 15:25:19 -04:00
Joffrey JAFFEUX
9297885629
FIX: ensures backward compat with previous findRawTemplate ( #48 )
...
To my knowledge we don't implement `requirejs.defined` so I rely on the __DISCOURSE_RAW_TEMPLATES constant which has been introduced in the commit where we moved from discourse/lib/raw-template to discourse-common/lib/raw-templates.
2020-05-06 15:20:37 +02:00
Penar Musaraj
277346b097
DEV: Find/replace deprecated decorators
2020-02-19 11:57:59 -05:00
Sam Saffron
7e21634987
lint file
2020-01-13 10:43:30 +11:00
Blake Erickson
6707072ef1
FIX: Remove buffered-render reference
...
Buffered-render has been removed from core, so this change allows us to
keep the same functionality without using the render buffer.
2020-01-11 06:04:14 -07:00
Blake Erickson
d2ac25857f
FIX: Remove component file
...
This file is no longer necessary.
Follow up to: 45fbba08fc
2020-01-10 18:34:24 -07:00