Commit Graph

19 Commits

Author SHA1 Message Date
Penar Musaraj 277346b097 DEV: Find/replace deprecated decorators 2020-02-19 11:57:59 -05:00
Mark VanLandingham 30fe9289b8 Allow groups to access queries (#36)
* [WIP] group ids saving on new reports

* Add groups to default queries, and added tab connector

* group_ids set to empty array for default queries

* group reports route (in & and) action

* [WIP] created group reports show route/controller

* Find correct query in show route

* Removed empty array for group_ids in query file

* Add report show view, where users can run queries

* Removed unneeded commas from queries.rb

* Allow non-admin group members to access reports

* query-result component dynamic download url based on location

* Removed accidental changes, and corrected tab size

* Group members can add params to queries

* Specs for new QueryController actions

* remove "Inlude query plan" from group reports

* Run prettier

* return and return -> return render

Co-Authored-By: Robin Ward <robin.ward@gmail.com>

* [WIP] changes from review

* Remove weird [-1] group_ids logic, for a simply check for [] in query update action

* Added integration tests for group report access

* Using guardian for securing endpoints, and much improved specs

* Update assets/javascripts/discourse/components/group-reports-nav-item.js.es6

Co-Authored-By: Robin Ward <robin.ward@gmail.com>
2019-09-11 10:09:41 -04:00
Joffrey JAFFEUX b9169ec28e
REFACTOR: old patterns, deprecations and dead code (#35) 2019-07-16 12:46:32 +02:00
Penar Musaraj ed2e0b8c13 Run Prettier 2019-06-14 13:27:41 -04:00
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 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 9d7db064af run Prettier 2018-10-10 17:31:14 +05:30
Guo Xiang Tan bcdff915dc Make eslint happy. 2017-08-02 18:05:33 +09:00
Kane York 45c2636ea0 Fix boolean parameters 2015-07-15 11:00:31 -07:00
Kane York 0672e99da2 Work on new parameter model 2015-07-14 16:01:38 -07:00
Kane York a0f38a2d17 Preserve pre-typed query parameters 2015-07-02 09:19:30 -07:00
Kane York d9dbfc8408 Add text for no queries, keep results in query object 2015-07-02 09:15:55 -07:00
Kane York 1ea74847ae Display errors, convert integers 2015-06-30 19:51:38 -07:00
Kane York c56a40cacd Import the result table and we're live 2015-06-30 15:12:12 -07:00
Kane York dba181d92e Bunch of progress. Tuesday 1PM 2015-06-30 12:52:17 -07:00
Kane York ee1cc2d96d Tuesday morning, 10AM 2015-06-30 10:20:22 -07:00
Kane York a12c906c9a mostly styling change 2015-06-29 12:10:24 -07:00
Kane York c52ac59eee Missed description sections, try to get model to work 2015-06-26 09:16:09 -07:00
Kane York 2c71bc11aa More work on interface, fixes for backend 2015-06-25 14:53:03 -07:00