Commit Graph

132 Commits

Author SHA1 Message Date
锦心 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
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
Discourse Translator Bot cac97cc4fa
Update translations (#104) 2021-03-09 15:18:17 +01:00
Discourse Translator Bot b46fe2856d
Update translations (#100) 2021-03-02 15:27:47 +01:00
Discourse Translator Bot 1e5e0e14ad
Update translations (#97) 2021-02-23 14:17:05 +01:00