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
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
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
David Taylor
17e649d645
DEV: Rename shadowed variable
2018-10-22 21:24:55 +01:00
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 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
1b68847d21
FEATURE: Sort queries by last_run_at as default
2018-08-27 20:10:25 +05:30
Rishabh Nambiar
42b6dbbae2
FIX: Remove bad default query description and add placeholder instead
2018-08-19 10:24:53 +05:30
Arpit Jalan
d9e7b438b4
do not save username since we are already saving user_id
2018-08-14 18:13:30 +05:30
Rishabh Nambiar
83b1fcb54b
Added User.find() & fixed scroll history bug
2018-08-14 17:38:08 +05:30
Rishabh Nambiar
6e806cc1df
Added clickable rows, default query sorting by id and clickable usernames
2018-08-14 17:38:08 +05:30
Rishabh Nambiar
e341d5a6fa
List all previous queries on Data Explorer homepage
2018-08-14 17:38:08 +05:30
Sam
37be7a54f0
FEATURE: Upgrade to mini_sql
...
WARNING if you are on the stable branch of Discourse use the stable
branch of data explorer
2018-07-13 12:42:11 +10:00
Régis Hanol
7c94f98436
FIX: prevent creation of query with an empty name
2018-05-09 22:23:56 +02:00
Gerhard Schlager
4de3b1dcb9
Sort queries alphabetically
2018-02-23 15:01:50 +01:00
Gerhard Schlager
bd28b6bbf2
FIX: CR LF prevented type validation for ints
2017-12-18 13:46:02 +01:00
Stephen Chung
0607abe2fd
Avoid exception when object.user is nil
2017-12-07 15:08:44 +08:00
Arpit Jalan
07cb0005b0
FIX: exporting result in CSV format was broken
2017-10-04 17:50:14 +05:30
Guo Xiang Tan
dd6ed13a9a
Remove use of deprecated Fixnum.
2017-09-04 14:06:19 +08:00
Guo Xiang Tan
6bb3d86d55
Use before_action for Rails 5 compatibility.
2017-09-04 13:59:06 +08:00
Guo Xiang Tan
cc379ab757
Fix rubocop offenses.
2017-08-02 14:42:49 +09:00
Guo Xiang Tan
195931c6ba
FIX: Avoid checking for a template when setting an etag.
2016-03-26 13:48:57 +08:00
Kane York
9956b9833e
Add topic,category,group,reltime rendering
2015-09-21 14:43:23 -07:00
Kane York
d4d541747e
Add a statement timeout so you can't tie up the serve
2015-09-14 16:08:30 -07:00
Kane York
86a3d16ad4
Deprecations fixes
2015-09-14 15:34:57 -07:00
Kane York
7d50fbbdae
Merge branch 'refactor' into 'master'
...
Conflicts:
renamed assets/javascripts/discourse/adapters/query.js.es6
2015-08-25 21:39:22 -07:00
Kane York
7f96ea5632
Looks like it's working
2015-08-25 21:36:39 -07:00
Kane York
e0e7022538
WIP commit
2015-08-25 20:48:19 -07:00
Kane York
c4789df9e7
Re-add relations rendering
2015-08-05 16:41:51 -07:00
Régis Hanol
434122f9f5
FIX: remove limit when exporting to CSV
2015-08-04 19:23:50 +02:00
Kane York
329ba57fba
Fix untested code path
2015-08-03 23:35:02 -07:00
Kane York
1601f4f269
Add 'download results as CSV'
2015-08-03 15:07:29 -07:00
Kane York
d1a58e83a2
Data-explorer fix
2015-07-28 15:19:09 -07:00
Kane York
fb42dc483c
Add denormalized column info
2015-07-28 11:18:22 -07:00
Kane York
01b08242fc
Fix migration seeding error
2015-07-28 10:17:27 -07:00
Kane York
ea1d38da57
Add foreign key info, column comment support
2015-07-28 09:59:26 -07:00
Kane York
ddf88fc994
Add column comments to schema results
2015-07-27 16:05:10 -07:00
Kane York
090f3cbc64
Add Ruby tests
2015-07-15 13:20:42 -07:00
Kane York
5156ab1f72
Use HTTP status 422 for failures
2015-07-15 12:51:33 -07:00
Kane York
6a61f694ee
Fix float type checks
2015-07-15 12:23:56 -07:00
Kane York
5b11bbec68
Finish group/category validation, add user lists
2015-07-14 16:49:23 -07:00
Kane York
0672e99da2
Work on new parameter model
2015-07-14 16:01:38 -07:00
Kane York
9d41222dc7
Rework of parameter system (server-side)
2015-07-14 13:22:53 -07:00
Kane York
2bbe69d67e
Include enum values in schema
2015-07-09 15:46:19 -07:00
Kane York
3422415ef6
Float some tables to top of schema
2015-07-09 14:22:54 -07:00
Kane York
71c3b73ef8
FEATURE: 'Download Result' removes 250-row limit
2015-07-09 12:03:25 -07:00