Commit Graph

547 Commits

Author SHA1 Message Date
Osama Sayegh 8464d517b2
DEV: Improve tests (#155) 2022-01-21 07:15:23 +03:00
Osama Sayegh ea66bcdc75
FEATURE: Add an API scope for running queries (#154) 2022-01-21 07:15:04 +03:00
Martin Brennan 70b973ea9a
FEATURE: Move query limit to hidden site setting (#153)
Previously the `QUERY_RESULT_DEFAULT_LIMIT` const was used
to limit the number of query results. This commit adds the
`data_explorer_query_result_limit` site setting which defaults
to 1000 and has a max of 10000 which matches the const
`QUERY_RESULT_MAX_LIMIT`.
2022-01-19 12:27:21 +10:00
Discourse Translator Bot 8aca7767e2
Update translations (#152) 2022-01-18 14:41:37 +01: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
Andrei Prigorshnev 58cfe737f7
DEV: migrate routes to the new @action pattern (#149) 2022-01-06 15:16:51 +04:00
Discourse Translator Bot b8763be6d6
Update translations (#150) 2022-01-04 17:39:28 +01:00
Discourse Translator Bot a8f4b9ea7c
Update translations (#148) 2021-12-28 14:13:54 +01:00
discoursebot f77f599906
DEV: Update CI workflows (#147)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:18:12 +00:00
Discourse Translator Bot cf8a1b0a7f
Update translations (#146) 2021-12-14 14:53:31 +01:00
Jarek Radosz 3ce778ec6d
DEV: Fix `store:main` deprecation (#145) 2021-11-24 15:28:12 +01:00
Jarek Radosz 545fb426f3
DEV: Make frontend tests work with ember-cli (#144) 2021-09-22 11:13:32 +02:00
Jarek Radosz 4626483514
DEV: Don't explicitly load files (#143)
1. It doesn't seem to be necessary?
2. It looks like it was triggering some warnings (`Creating scope :for_group. Overwriting existing method DataExplorer::Query.for_group.`)
2021-09-22 11:13:19 +02:00
Discourse Translator Bot ee2ff2361d
Update translations (#142) 2021-09-21 15:11:41 +02:00
Martin Brennan a61551b005
DEV: Remove bookmark reminder_type reference (#141)
See 41e19adb0d
2021-09-16 10:47:42 +10:00
discoursebot 9b40f41f94
DEV: Update CI workflows (#140)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 19:45:44 +02:00
Guhyoun Nam 286b5b5fe7
FEATURE: Add Data Explorer Params to the URL on run (#128)
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com>
2021-09-14 10:10:16 -05:00
Penar Musaraj 0c9005513a
UX: Fix button alignment following core changes (#137) 2021-09-14 09:44:32 -04:00
Krzysztof Kotlarek 6ce092d969
FIX: assign queries (#138)
In July, we introduced new Assignment table to discourse-assign plugin (https://github.com/discourse/discourse-assign/pull/169)

Assignment explorer queries had to be updated
2021-09-10 14:17:30 +10:00
Discourse Translator Bot 4dd803ba0c
Update translations (#136) 2021-09-07 15:42:41 +02:00
Discourse Translator Bot 8990eed942
Update translations (#135) 2021-08-24 15:16:19 +02:00
Vinoth Kannan 0becde3281
remove prefix `v` from the version number (#134) 2021-08-23 14:38:40 +05:30
Joffrey JAFFEUX ee3c6f4e2d
DEV: this class is no longer present in chart js 3.x (#132) 2021-08-23 11:04:40 +02:00
Vinoth Kannan 2ed9c505a7
DEV: pin plugin in a commit for current stable branch. (#133)
* DEV: pin plugin in a commit for the current stable branch.

23287ece95

Co-authored-by: Andrei Prigorshnev <a.prigorshnev@gmail.com>
2021-08-23 13:56:27 +05:30
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
dependabot[bot] 23287ece95
Build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#131)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 13:24:47 +02:00
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