Commit Graph
138 Commits
Author SHA1 Message Date
Discourse Translator Bot 88f18b8acd Update translations (#332) 2024-10-16 17:51:57 +09:00
Martin Brennan da1c99ec2d FEATURE: Add script to post report results in a topic regularly (#328)
This script is similar to the existing one that schedules
report results to to be sent to a PM on a regular basis,
but instead takes a topic ID and posts to that. This way
people can have report results sent to a public topic regularly
too and not have to deal with PM recipients and so on.
2024-10-10 16:09:09 +10:00
Discourse Translator Bot 3f96352a43 Update translations (#320) 2024-09-02 18:00:01 +02:00
锦心andDrenmi cbae98f6ed FEATURE: Allows CSV file result to be attached in automated PMs (#318)
This commit adds an optional setting that allows to attach query results
in CSV format as a file to PMs sent by Data Explorer's automation
scripts.

meta topic: https://meta.discourse.org/t/turn-data-explorer-query-results-into-csv-to-attach-to-discourse-automated-emails/267529

Co-authored-by: Drenmi <[email protected]>
2024-08-27 11:41:12 +08:00
锦心 68760cd3a5 UX: Rewrite date/time param-input using FormKit (#316)
This commit changes the date/time input (including `date`, `time`, and
`datetime` types) to the date/time input provided by FormKit.
2024-08-22 23:24:12 +08:00
Discourse Translator Bot b6c45800b3 Update translations (#311) 2024-08-20 17:54:06 +02:00
锦心 5080ce9b1f UX: Rewrite param-input using FormKit (#307)
What does this PR do?
=====================

This PR refactors param-input to use FormKit. FormKit is a structured
form tool in the core. After the rewrite, we will be able to get semantic 
parameter error prompts, etc.

meta link: https://meta.discourse.org/t/wishlist-param-dropdown-for-data-explorer-query/253883/28?u=lhc_fl
2024-08-20 09:42:50 +08:00
Discourse Translator Bot 6425462b15 Update translations (#305) 2024-08-13 16:31:20 +02:00
Discourse Translator Bot 2d0dc39767 Update translations (#300) 2024-07-31 00:14:15 +02:00
Discourse Translator Bot f9299d8ee1 Update translations (#293) 2024-05-31 12:27:21 +02:00
Discourse Translator Bot f214591721 Update translations (#287) 2024-04-23 16:22:23 +02:00
Natalie Tay b9d875cc3e FEATURE: Add ability to skip sending the PM if there are no results (#286) 2024-04-18 21:40:28 +08:00
Discourse Translator Bot ebe71a7a13 Update translations (#278) 2024-01-30 17:03:30 +01:00
Discourse Translator Bot 208ee6af55 Update translations (#277) 2024-01-23 18:29:29 +01:00
Discourse Translator Bot ff67fb485f Update translations (#264) 2023-11-07 21:31:53 +01:00
Martin Brennan 5776aa7fc9 FEATURE: Add JSON result type component (#260)
If a column is payload or contains _payload it will be assumed
it has JSON data in it, then we will show the truncated JSON in the
result column with a button to show the full-screen formatted
JSON using our full-screen code viewer. We also do the same if
the column is the `json` postgres data type.
2023-11-02 09:50:05 +10:00
Discourse Translator Bot 06193f27ef Update translations (#258) 2023-08-29 15:50:46 +02:00
Discourse Translator Bot 119b1d8cc7 Update translations (#257) 2023-08-23 09:29:34 +02:00
David Taylor 7bf6c7d3a3 DEV: Fix Zeitwerk reloading error (#249)
Using `.append` can lead to a 'two routes with the same name' error

Reproduced via

```
rails runner 'Rails.application.reloader.reload!'
```
2023-06-16 13:38:56 +01:00
Discourse Translator Bot f99b3af7ed Update translations (#242) 2023-04-25 17:21:59 +02:00
Discourse Translator Bot b565d70dd5 Update translations (#237) 2023-04-05 09:13:13 +02:00
David Battersby 705753216c FEATURE: Allow data explorer query result to be sent as recurring PM (#233)
This feature enables admins to create reports automatically based on a recurring schedule.

It introduces a new automation script that includes the new email_group_user field added to discourse-automation, along with a query_id and query_params to pass in parameters to the existing data explorer query.

The output of the report will be sent via pm (as a markdown table) to the recipients entered within the automation script.

The automation (supports individual users, email addresses and groups).
2023-03-24 16:38:42 +08:00
Bianca Nenciu 206d937a78 DEV: Update plugin to match latest guidelines (#229)
This commit updates the plugin to the latest guidelines, as shown in
discourse-plugin-skeleton, which involves moving a lot of the code to
dedicated files, use proper namespaces, use the autoloader as much as
possible, etc.
2023-03-22 23:29:08 +02:00
Discourse Translator Bot d7a1b255fb Update translations (#225) 2023-02-21 17:12:04 +01:00
Discourse Translator Bot c4d715b7c2 Update translations (#224) 2023-02-15 10:50:54 +01:00
Discourse Translator Bot f51bc050a2 Update translations (#217) 2023-01-18 11:42:21 +01:00
Discourse Translator Bot 2b2e351331 Update translations (#214) 2023-01-10 20:54:37 +01:00
Isaac Janzen 4d26cf78f0 DEV: Upgrade admin-plugins-explorer to Octane (#209)
- Drop `explorer-container` and move its logic to `admin-plugin-explorer` container
- Convert resizing of the query edit pane from jquery -> draggable modifier
2023-01-05 09:27:10 -06:00
Discourse Translator Bot 467b6c8a91 Update translations (#193) 2022-11-29 15:36:46 +01:00
Discourse Translator Bot 8a1bdb5759 Update translations (#181) 2022-06-21 15:27:08 +02:00
Jarek Radosz 07e009e862 DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00
Discourse Translator Bot 2c6cde8eea Update translations (#163) 2022-02-15 15:10:05 +01:00
Discourse Translator Bot 4ecbca8fe3 Update translations (#162) 2022-02-08 14:13:10 +01:00
Discourse Translator Bot 4813615488 Update translations (#159) 2022-02-01 16:15:13 +01:00
Discourse Translator Bot 45f1a04ca5 Update translations (#158) 2022-01-25 14:27:01 +01:00
Gerhard Schlager b6dadcae54 Update client.en.yml (#156) 2022-01-24 16:02:42 +01: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
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
Discourse Translator Bot cf8a1b0a7f Update translations (#146) 2021-12-14 14:53:31 +01:00
Discourse Translator Bot ee2ff2361d Update translations (#142) 2021-09-21 15:11:41 +02: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
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
Discourse Translator Bot 7a348aaa8b Update translations (#125) 2021-07-08 16:15:14 +04: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
Discourse Translator Bot 97242dde4b Update translations (#120) 2021-06-29 15:59:56 +02:00