SQL Queries for admins in Discourse
Go to file
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
.github/workflows DEV: Update CI workflows (#86) 2021-01-04 14:12:20 -06:00
app DEV: Improve logic for showing/hiding the reports tab in group screens (#107) 2021-04-08 17:47:44 +01:00
assets DEV: Improve logic for showing/hiding the reports tab in group screens (#107) 2021-04-08 17:47:44 +01:00
config Update translations (#104) 2021-03-09 15:18:17 +01:00
db/migrate FIX: Store query groups in a temp table when fixing ids. (#68) 2020-09-28 12:23:53 -03:00
lib FIX: fix ids rake task should be evaluated only once (#76) 2020-10-14 16:40:40 +11:00
spec DEV: Improve logic for showing/hiding the reports tab in group screens (#107) 2021-04-08 17:47:44 +01:00
test/javascripts FEATURE: Add a graph report to query results (#93) 2021-02-18 12:06:22 +01:00
.discourse-compatibility Revert "Revert "DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#94)" (#102)" (#103) 2021-03-06 20:16:49 +03:00
.eslintrc DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
.gitignore DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
.jshintrc Initial commit as a clone of discourse-tagging 2015-06-25 09:25:15 -07:00
.rubocop.yml DEV: Move to rubocop-discourse. 2020-05-06 18:11:07 +02:00
.template-lintrc.js DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
Gemfile DEV: Add RubyGems as source 2020-09-25 11:46:42 -05:00
Gemfile.lock DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:47 +02:00
LICENSE Initial commit as a clone of discourse-tagging 2015-06-25 09:25:15 -07:00
README.md Update README.md 2018-08-14 15:59:59 +10:00
package.json DEV: prettier 2.2.1 (#89) 2021-01-27 10:38:56 +01:00
plugin.rb DEV: Improve logic for showing/hiding the reports tab in group screens (#107) 2021-04-08 17:47:44 +01:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:47 +02:00
yarn.lock Build(deps): Bump y18n from 4.0.0 to 4.0.1 (#105) 2021-04-01 10:03:52 +02:00

README.md

discourse-data-explorer

This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.

Details at: https://meta.discourse.org/t/data-explorer-plugin/32566