nquery 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/app/assets/builds/nquery/application.css +88 -4
- data/app/assets/builds/nquery/application.js +353 -3
- data/app/controllers/concerns/nquery/chart_actions.rb +1 -1
- data/app/controllers/concerns/nquery/chart_results.rb +54 -7
- data/app/controllers/nquery/dashboard/cards_controller.rb +28 -0
- data/app/controllers/nquery/dashboards_controller.rb +49 -9
- data/app/controllers/nquery/embed/dashboards_controller.rb +17 -1
- data/app/controllers/nquery/public/dashboards_controller.rb +14 -1
- data/app/controllers/nquery/queries_controller.rb +23 -2
- data/app/models/nquery/chart.rb +4 -0
- data/app/models/nquery/dashboard.rb +129 -0
- data/app/models/nquery/query.rb +68 -0
- data/app/services/nquery/application_service.rb +9 -0
- data/app/services/nquery/dashboards/card_parameters.rb +37 -0
- data/app/services/nquery/dashboards/filters.rb +75 -0
- data/app/services/nquery/dashboards/parameter_charts.rb +31 -0
- data/app/services/nquery/dashboards/parameter_rows.rb +60 -0
- data/app/views/layouts/nquery/application.html.erb +8 -0
- data/app/views/nquery/charts/_builder_form.html.erb +12 -0
- data/app/views/nquery/charts/_variable_row.html.erb +10 -0
- data/app/views/nquery/charts/_variables.html.erb +28 -0
- data/app/views/nquery/charts/update.turbo_stream.erb +3 -0
- data/app/views/nquery/dashboards/_chart_card.html.erb +27 -1
- data/app/views/nquery/dashboards/_parameter_chart_ids.html.erb +6 -0
- data/app/views/nquery/dashboards/_parameters.html.erb +159 -0
- data/app/views/nquery/dashboards/edit.html.erb +10 -0
- data/app/views/nquery/dashboards/show.html.erb +37 -1
- data/app/views/nquery/shared/_icon.html.erb +4 -0
- data/app/views/nquery/shared/_sidebar.html.erb +1 -1
- data/app/views/nquery/shared/_topbar.html.erb +3 -0
- data/config/routes.rb +4 -0
- data/db/migrate/20261005145000_add_parameters_to_nquery_dashboards.rb +7 -0
- data/db/migrate/20261005190000_add_parameters_to_nquery_queries.rb +7 -0
- data/lib/nquery/dashboard_parameters.rb +56 -0
- data/lib/nquery/data_sources/adapter.rb +10 -1
- data/lib/nquery/data_sources/mysql_adapter.rb +2 -2
- data/lib/nquery/data_sources/postgresql_adapter.rb +2 -2
- data/lib/nquery/data_sources/rails_adapter.rb +2 -7
- data/lib/nquery/data_sources/row_limit.rb +211 -0
- data/lib/nquery/parameter_value.rb +97 -0
- data/lib/nquery/query_runner.rb +37 -4
- data/lib/nquery/seeder.rb +9 -1
- data/lib/nquery/statement_binds.rb +112 -0
- data/lib/nquery/version.rb +1 -1
- data/lib/nquery.rb +4 -0
- data/nquery.gemspec +2 -2
- metadata +22 -6
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nquery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nquery Contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -168,7 +168,7 @@ dependencies:
|
|
|
168
168
|
requirements:
|
|
169
169
|
- - ">="
|
|
170
170
|
- !ruby/object:Gem::Version
|
|
171
|
-
version: 2.
|
|
171
|
+
version: 2.10.2
|
|
172
172
|
- - "<"
|
|
173
173
|
- !ruby/object:Gem::Version
|
|
174
174
|
version: '3'
|
|
@@ -178,7 +178,7 @@ dependencies:
|
|
|
178
178
|
requirements:
|
|
179
179
|
- - ">="
|
|
180
180
|
- !ruby/object:Gem::Version
|
|
181
|
-
version: 2.
|
|
181
|
+
version: 2.10.2
|
|
182
182
|
- - "<"
|
|
183
183
|
- !ruby/object:Gem::Version
|
|
184
184
|
version: '3'
|
|
@@ -202,7 +202,7 @@ dependencies:
|
|
|
202
202
|
requirements:
|
|
203
203
|
- - ">="
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
|
-
version: 7.2.
|
|
205
|
+
version: 7.2.2
|
|
206
206
|
- - "<"
|
|
207
207
|
- !ruby/object:Gem::Version
|
|
208
208
|
version: '8'
|
|
@@ -212,7 +212,7 @@ dependencies:
|
|
|
212
212
|
requirements:
|
|
213
213
|
- - ">="
|
|
214
214
|
- !ruby/object:Gem::Version
|
|
215
|
-
version: 7.2.
|
|
215
|
+
version: 7.2.2
|
|
216
216
|
- - "<"
|
|
217
217
|
- !ruby/object:Gem::Version
|
|
218
218
|
version: '8'
|
|
@@ -326,6 +326,7 @@ files:
|
|
|
326
326
|
- app/controllers/nquery/charts_controller.rb
|
|
327
327
|
- app/controllers/nquery/collection/dashboards_controller.rb
|
|
328
328
|
- app/controllers/nquery/collections_controller.rb
|
|
329
|
+
- app/controllers/nquery/dashboard/cards_controller.rb
|
|
329
330
|
- app/controllers/nquery/dashboard/charts_controller.rb
|
|
330
331
|
- app/controllers/nquery/dashboards_controller.rb
|
|
331
332
|
- app/controllers/nquery/embed/charts_controller.rb
|
|
@@ -381,6 +382,11 @@ files:
|
|
|
381
382
|
- app/models/nquery/organization.rb
|
|
382
383
|
- app/models/nquery/query.rb
|
|
383
384
|
- app/models/nquery/user.rb
|
|
385
|
+
- app/services/nquery/application_service.rb
|
|
386
|
+
- app/services/nquery/dashboards/card_parameters.rb
|
|
387
|
+
- app/services/nquery/dashboards/filters.rb
|
|
388
|
+
- app/services/nquery/dashboards/parameter_charts.rb
|
|
389
|
+
- app/services/nquery/dashboards/parameter_rows.rb
|
|
384
390
|
- app/views/layouts/nquery/application.html.erb
|
|
385
391
|
- app/views/layouts/nquery/auth.html.erb
|
|
386
392
|
- app/views/layouts/nquery/embed.html.erb
|
|
@@ -407,6 +413,8 @@ files:
|
|
|
407
413
|
- app/views/nquery/charts/_builder_form.html.erb
|
|
408
414
|
- app/views/nquery/charts/_new_header.html.erb
|
|
409
415
|
- app/views/nquery/charts/_schema_tree.html.erb
|
|
416
|
+
- app/views/nquery/charts/_variable_row.html.erb
|
|
417
|
+
- app/views/nquery/charts/_variables.html.erb
|
|
410
418
|
- app/views/nquery/charts/edit.html.erb
|
|
411
419
|
- app/views/nquery/charts/embed.html.erb
|
|
412
420
|
- app/views/nquery/charts/new.html.erb
|
|
@@ -420,6 +428,8 @@ files:
|
|
|
420
428
|
- app/views/nquery/collections/show.html.erb
|
|
421
429
|
- app/views/nquery/dashboard/charts/new.html.erb
|
|
422
430
|
- app/views/nquery/dashboards/_chart_card.html.erb
|
|
431
|
+
- app/views/nquery/dashboards/_parameter_chart_ids.html.erb
|
|
432
|
+
- app/views/nquery/dashboards/_parameters.html.erb
|
|
423
433
|
- app/views/nquery/dashboards/edit.html.erb
|
|
424
434
|
- app/views/nquery/dashboards/embed.html.erb
|
|
425
435
|
- app/views/nquery/dashboards/index.html.erb
|
|
@@ -461,16 +471,20 @@ files:
|
|
|
461
471
|
- db/migrate/20260722000004_add_onboarding_completed_at_to_nquery_organizations.rb
|
|
462
472
|
- db/migrate/20260907120000_add_sharing_to_nquery_charts_and_dashboards.rb
|
|
463
473
|
- db/migrate/20260907130000_remove_embedding_params_from_nquery_charts_and_dashboards.rb
|
|
474
|
+
- db/migrate/20261005145000_add_parameters_to_nquery_dashboards.rb
|
|
475
|
+
- db/migrate/20261005190000_add_parameters_to_nquery_queries.rb
|
|
464
476
|
- lib/generators/nquery/install_generator.rb
|
|
465
477
|
- lib/nquery.rb
|
|
466
478
|
- lib/nquery/authorizes_collection.rb
|
|
467
479
|
- lib/nquery/boolean.rb
|
|
468
480
|
- lib/nquery/configuration.rb
|
|
469
481
|
- lib/nquery/csv_importer.rb
|
|
482
|
+
- lib/nquery/dashboard_parameters.rb
|
|
470
483
|
- lib/nquery/data_sources/adapter.rb
|
|
471
484
|
- lib/nquery/data_sources/mysql_adapter.rb
|
|
472
485
|
- lib/nquery/data_sources/postgresql_adapter.rb
|
|
473
486
|
- lib/nquery/data_sources/rails_adapter.rb
|
|
487
|
+
- lib/nquery/data_sources/row_limit.rb
|
|
474
488
|
- lib/nquery/data_sources/sqlite_adapter.rb
|
|
475
489
|
- lib/nquery/data_sources/syncer.rb
|
|
476
490
|
- lib/nquery/embed_token_service.rb
|
|
@@ -479,6 +493,7 @@ files:
|
|
|
479
493
|
- lib/nquery/onboarding.rb
|
|
480
494
|
- lib/nquery/onboarding/admin_provisioner.rb
|
|
481
495
|
- lib/nquery/onboarding/password_confirmation.rb
|
|
496
|
+
- lib/nquery/parameter_value.rb
|
|
482
497
|
- lib/nquery/permissions/resolver.rb
|
|
483
498
|
- lib/nquery/query_runner.rb
|
|
484
499
|
- lib/nquery/readonly_sql.rb
|
|
@@ -486,6 +501,7 @@ files:
|
|
|
486
501
|
- lib/nquery/schema_explorer.rb
|
|
487
502
|
- lib/nquery/seeder.rb
|
|
488
503
|
- lib/nquery/setup.rb
|
|
504
|
+
- lib/nquery/statement_binds.rb
|
|
489
505
|
- lib/nquery/version.rb
|
|
490
506
|
- lib/tasks/nquery.rake
|
|
491
507
|
- nquery.gemspec
|