Commit Graph

371 Commits

Author SHA1 Message Date
Andrei Prigorshnev e85aab4b33
FIX: the back button (#130)
Back button wasn't working when running in Ember CLI. This PR fixes it by doing the transition to the same route but without URL parameter properly. This works in both our environments (legacy-3.12.0, and ember-cli-3.15.0).
2021-08-11 14:13:39 +04:00
Discourse Translator Bot 7a348aaa8b
Update translations (#125) 2021-07-08 16:15:14 +04:00
Jarek Radosz cf2735162a
DEV: Fix template linting issues (#124)
* Update test
* Remove the empty line in table
2021-07-05 23:15:57 +02:00
discoursebot da4ad30477
DEV: Update CI workflows (#91)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-05 20:58:19 +02:00
David Taylor 4354e1b766
DEV: Resolve some template linting issues (#123)
Some larger issues still remain, but this is a good first step
2021-07-02 16:35:50 +01:00
Andrei Prigorshnev 814ec14636
FIX: add missing string (#121) 2021-07-02 14:22:40 +04:00
Jarek Radosz 60b2dd7908
DEV: Minor clean-up (#119) 2021-07-02 10:31:16 +02:00
Mark VanLandingham f3b2011ae1
FIX: Translation of column headers in query table (#122) 2021-07-01 08:58:45 -05:00
Discourse Translator Bot 97242dde4b
Update translations (#120) 2021-06-29 15:59:56 +02:00
dependabot[bot] 3004893d4b
Build(deps): Bump glob-parent from 5.1.1 to 5.1.2 (#117) 2021-06-10 12:41:17 +02:00
Penar Musaraj 4091cd7a04
DEV: Remove SCSS color vars fallbacks (#116) 2021-05-12 16:24:12 -04:00
dependabot[bot] 65fb894858
Build(deps): Bump lodash from 4.17.20 to 4.17.21 (#115)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:22:21 +02:00
dependabot[bot] 3cd5ed13c5
Build(deps): Bump handlebars from 4.7.6 to 4.7.7 (#114)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:48:32 +10:00
dependabot[bot] 04dd4e4fb8
Build(deps): Bump rexml from 3.2.4 to 3.2.5 (#113)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 17:09:28 +02:00
Discourse Translator Bot 21d65a24dd
Update translations (#112) 2021-04-27 15:54:17 +02:00
Discourse Translator Bot 52f1cfc5d4
Update translations (#111) 2021-04-20 15:31:13 +02:00
Andrei Prigorshnev 782dc09d96
UX: Add a help modal dialog (#109) 2021-04-15 19:17:07 +04:00
Andrei Prigorshnev cd232589e5
Add an acceptance test for the query list page (#110) 2021-04-15 11:23:09 +04:00
Andrei Prigorshnev 56f197f8e9
DEV: Run rubocop, prettier and eslint before commit using lefthook
To set up in a local repository `yarn run lefthook install` should be run.
2021-04-12 19:48:41 +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
David Taylor 563251d608
DEV: Remove String.endsWith polyfill (#106)
Discourse no longer supports internet explorer. This function is supported natively on all browsers Discourse currently targets.
2021-04-08 17:46:43 +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
dependabot[bot] cc69d28229
Build(deps): Bump y18n from 4.0.0 to 4.0.1 (#105)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 10:03:52 +02:00
Discourse Translator Bot cac97cc4fa
Update translations (#104) 2021-03-09 15:18:17 +01:00
Osama Sayegh 8ef3fa38d6
Revert "Revert "DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#94)" (#102)" (#103)
Follow-up to https://github.com/discourse/discourse-data-explorer/pull/102. This is essentially a revert of that PR, the only difference is that the `.discourse-compatibility` file now pins the plugin to 60ffd4bc4d for sites ≤ `2.7.0.beta3`.
2021-03-06 20:16:49 +03:00
Osama Sayegh 60ffd4bc4d
Revert "DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#94)" (#102)
The reverted commit pinned the plugin version on stable because the changes in that commit aren't compatible with stable. However, the version that we pinned the plugin to has a bug on stable and 50e62d84e8 fixes that bug. So we need to temporarily revert 5e24556b24 to unpin the plugin and I'll create another PR to undo this revert and re-pin the plugin version to this commit for sites on stable.

Meta topic: https://meta.discourse.org/t/data-explorer-editing-broken-on-stable/181274/11?u=osama.
2021-03-06 14:48:58 +03:00
Discourse Translator Bot b46fe2856d
Update translations (#100) 2021-03-02 15:27:47 +01:00
Andrew Prigorshnev 425ba3132d
FIX: bump plugin version to 0.3 (#99) 2021-03-01 16:51:48 +01:00
Joffrey JAFFEUX 69f1e5d13b
DEV: uses discourse-common/lib/raw-templates (#98) 2021-02-24 19:49:26 +01:00
Discourse Translator Bot 1e5e0e14ad
Update translations (#97) 2021-02-23 14:17:05 +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
Kris 3151fde1e7
UX: allow horizontal overflow scroll, fix button (#95) 2021-02-18 10:36:37 +01:00
Osama Sayegh 5e24556b24
DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#94) 2021-02-16 13:37:30 +03:00
Andrew Prigorshnev 9d86b8b653
FIX: Show badge names in query results (#92)
* FIX: Show badge names in query results
2021-02-12 10:01:16 +01:00
Discourse Translator Bot d1ab0e5fbe
Update translations (#90) 2021-02-09 14:49:24 +01:00
Joffrey JAFFEUX 8ab94e334c
DEV: prettier 2.2.1 (#89) 2021-01-27 10:38:56 +01:00
Discourse Translator Bot ec08e1a29c
Update translations (#88) 2021-01-26 14:50:09 +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
discoursebot ae271dafad
DEV: Update CI workflows (#86)
Co-authored-by: justindirose <justindirose@users.noreply.github.com>
2021-01-04 14:12:20 -06:00
Osama Sayegh 30a5e036d7
DEV: Delete Travis config file (#83) 2020-12-19 01:50:50 +03:00
Kane York 4506cf6a11
FIX: Use standard error handling for requests, special-case moderators (#84)
By removing the catch and letting the error propagate to the top-level error handler, we can receive more detailed error reports including exactly which request failed.

The assumption that any request failure is a permissions error is replaced by an explicit client-side check before making any requests.
2020-12-07 15:13:14 -08:00
Arpit Jalan f70c95271a
FEATURE: destroy old hidden queries (#82)
This commit adds a scheduled job to hard delete queries that are hidden and

- were last run more than 7 days ago
- were updated more than 7 days ago
2020-11-25 22:09:05 +05:30
Discourse Translator Bot 694afc6298
Update translations (#81) 2020-11-24 17:22:46 +01:00
Discourse Translator Bot 423d1cb4c6
Update translations (#80) 2020-11-17 14:47:35 +01:00
Discourse Translator Bot 8a7fe64dc6
Update translations (#79) 2020-11-03 18:07:22 +01:00
tshenry f1785326a8
FIX: Permitted groups should display on group query access picker (#77)
The toString() that was introduced in 80ffc45 was preventing any actively permitted groups from displaying in the group picker when entering a query page.
2020-10-19 12:03:03 -07:00
tshenry d18634f19a
FEATURE: Include more enums (#78) 2020-10-16 17:41:39 +11:00
Discourse CI 9dcf4a6c9d DEV: Update CI workflows 2020-10-14 16:27:45 +00:00
Krzysztof Kotlarek b4bdbf7150
FIX: fix ids rake task should be evaluated only once (#76)
Without task('data_explorer:fix_query_ids').clear rake task is evaluated twice
2020-10-14 16:40:40 +11:00