Commit Graph

192 Commits

Author SHA1 Message Date
Rishabh 13ab013df2 FIX: Ensure that all query information persists after delete/un-delete operations
https://meta.discourse.org/t/data-explorer-created-by-missing/107195
2019-01-28 12:30:17 +05:30
Rishabh a3c9cd7363 FIX: Don't send extra_data when exporting results to JSON
The extra data is needed to render avatars and user metadata when rendering results in the browser,
we can skip this data for JSON exports to reduce bloat
2019-01-24 12:46:02 +05:30
Rishabh a285a38e9c FIX: Allow the Data Explorer API to set LIMIT to "ALL"
Fixes a bug that prevented returning unlimited rows.

Example request:
{{base_url}}/admin/plugins/explorer/queries/6/run?api_key={{api_key}}&api_username={{api_username}}&limit=ALL

From the PostgreSQL docs: "LIMIT ALL" is treated as no limit
https://www.postgresql.org/docs/current/static/sql-select.html#SQL-LIMIT
2019-01-23 16:18:06 +05:30
Rishabh a96bfdf6d5 DEV: Remove ESLint warnings 🚨 2019-01-22 17:19:01 +05:30
Rishabh 77d603098f DEV: rubocop improvements for plugin.rb 2019-01-21 15:54:21 +05:30
Rishabh 8720c2cd5c DEV: Replace hardcoded result limit with a module constant 2019-01-21 14:21:53 +05:30
Rishabh f1b33cc64e UX: Make the 'or' text in json-file-uploader smaller than the modal title 2019-01-09 15:24:06 +05:30
Joffrey JAFFEUX 0d655221f4 FIX: ensures filteredContent is recomputed when sortBy changes (#30) 2018-12-28 14:58:28 +05:30
Rishabh 7de1e5a68e DEV: Added default queries for finding the most active lurkers and inactive users 2018-12-28 12:15:41 +05:30
Rishabh 931bbb67a0 DEV: Add a default query for Top 50 Largest Uploads 2018-12-24 14:06:06 +05:30
Joffrey JAFFEUX 2b6357f8b4
FIX: ember 3 support 2018-12-16 15:22:23 +01:00
Gerhard Schlager 2edd11fd16 Inherit rubocop config from discourse repo 2018-12-03 00:35:56 +01:00
Neil Lalonde 3817124257 Update translations 2018-11-29 11:08:29 -05:00
Rishabh 1d97ad6e7e DEV: Add guidelines for adding default queries 2018-11-18 01:49:57 +05:30
Rishabh 0af2453c23 FEATURE: Make searching case-insensitive 2018-11-16 16:13:40 +05:30
Penar Musaraj 061322e53a Finalize FA5 fixes 2018-11-15 11:12:32 -05:00
Penar Musaraj 3d6743dd14 Add another FA5 icon 2018-11-08 12:01:50 -05:00
Penar Musaraj d05fb698d6 FA5 icon fix 2018-11-08 11:37:23 -05:00
Rishabh Nambiar 47f8de9c35 FIX: Show schema info tooltips inline 2018-11-08 12:04:04 +05:30
Rishabh 344f6e357d
FEATURE: Replace combo-box with search filter (#28)
* FEATURE: Replace combo-box with search filter
* Delete unused listname property and css fixes
* Use ES6 syntax and `@computed` decorator
2018-11-02 18:11:20 +05:30
Rishabh Nambiar 9f95a23b83 Add .travis.yml from discourse-plugin-ci 2018-10-31 14:57:53 +05:30
Rishabh Nambiar 9dcba5c6e7 FEATURE: Allow clickable post titles in Data Explorer result view using post_id 2018-10-23 16:17:46 +05:30
David Taylor 17e649d645 DEV: Rename shadowed variable 2018-10-22 21:24:55 +01:00
bschlagel 7a86163c5f Edit 'quality-users' limit to match description (#27) 2018-10-16 01:51:13 +05:30
Rishabh Nambiar 9d7db064af run Prettier 2018-10-10 17:31:14 +05:30
Rishabh b352e747c7
FEATURE: Ship default queries with the Data Explorer
Load default queries from queries.rb and save when run.
Each time a query is run, it picks up changes from queries.rb.
2018-10-10 16:59:13 +05:30
Rishabh 8f4bb53ac4
Merge pull request #25 from rishabhnambiar/show_total_results
Show the number of results after running a query and increase limit to 1000
2018-09-18 15:12:21 +05:30
Rishabh Nambiar f876cf66f1 Increase result limit from 250 to 1000 2018-09-18 11:24:37 +05:30
Rishabh Nambiar 316923f190 FEATURE: Show the number of results after running a query (limit 250) 2018-09-18 11:15:31 +05:30
Rishabh Nambiar 68059b540e UX: Style improvements in query edit & result view 2018-09-12 18:58:54 +05:30
Rishabh Nambiar 90c2be7f82 FIX: Remove inconsistent row-highlight from the recent queries list 2018-09-12 16:38:08 +05:30
Rishabh Nambiar 1ea20132a0 FIX: Remove an unnecessary Handlebars condition 2018-09-12 14:53:29 +05:30
Neil Lalonde 122dd32d67 Update translations 2018-09-10 14:02:00 -04:00
Rishabh 40e01f2141
Merge pull request #23 from rishabhnambiar/remove_query_hook
FIX: Remove useless no_query_hook text and move create & import butto…
2018-09-10 13:15:21 +05:30
Rishabh Nambiar dc91b7d0cd FIX: Remove useless no_query_hook text and move create & import buttons to top right 2018-09-07 16:06:23 +05:30
Kris 6904e516ae Removing br tags so an empty description doesn't add space 2018-09-05 13:33:06 -04:00
Kris a8742f4c64 UX: Minor style improvements and consistency 2018-09-04 14:53:12 -04:00
Rishabh Nambiar a518ac58fc FIX: Restrict clickable area to the size of heading-toggle 2018-09-04 21:52:44 +05:30
Rishabh Nambiar 9e27d0b8d3 FIX: Update stylesheet to use indented sass syntax 2018-09-03 00:27:44 +05:30
Rishabh Nambiar 5edb8ea7f8 UX: Make Explorer UI similar to User Activity and Groups pages 2018-08-31 23:41:33 +05:30
Arpit Jalan c077a389e7
Merge pull request #21 from discourse/click_to_sort_queries
FEATURE: Sort queries by names, last_run_at by clicking table headers
2018-08-31 09:47:43 +05:30
Rishabh Nambiar 5a75b6c1e1 FIX: Fix ESLint issues and use d-icon instead of <i> tags 2018-08-30 21:35:43 +05:30
Rishabh Nambiar d5d933c2a8 FEATURE: Sort queries by names, last_run_at by clicking table headers 2018-08-30 17:32:52 +05:30
Rishabh Nambiar 80f97d9514 UX: Force refresh model to update last_run_at after a query is run 2018-08-30 14:13:40 +05:30
Rishabh Nambiar 3bdf624ced UX: Improve padding while editing a query and text-field width consistency 2018-08-29 13:21:02 +05:30
Rishabh Nambiar 0673b68a58 FIX: Make entire row clickable 2018-08-28 12:39:33 +05:30
Rishabh Nambiar 6a57f6536d FIX: Render creation date instead of run date if query was never run 2018-08-28 12:14:43 +05:30
Rishabh Nambiar 1fc73a211a FIX: Improved username alignment 2018-08-28 12:00:25 +05:30
Rishabh e82a4ca597
Merge pull request #20 from discourse/show_last_run_at
FEATURE: Sort queries by last_run_at as default
2018-08-28 00:02:48 +05:30
Rishabh Nambiar 1b68847d21 FEATURE: Sort queries by last_run_at as default 2018-08-27 20:10:25 +05:30