Commit Graph

52 Commits

Author SHA1 Message Date
Penar Musaraj 277346b097 DEV: Find/replace deprecated decorators 2020-02-19 11:57:59 -05:00
Justin DiRose 48f0e2b982
FIX: Return all groups instead of truncated list (#42) 2019-11-14 12:39:55 -06:00
Joffrey JAFFEUX aa9a3a8ce5
minor code cleaning (#40) 2019-10-16 12:43:35 +02:00
Joffrey JAFFEUX 4196321e41
FIX: ensures group_ids are not "" or nil (#39) 2019-10-16 12:43:10 +02:00
Joffrey JAFFEUX a3ae064654 linting 2019-09-11 10:30:39 -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
Osama Sayegh 859021bb3c
UX: make SQL editor resizable (#33) 2019-04-07 09:05:43 +03:00
Rishabh a96bfdf6d5 DEV: Remove ESLint warnings 🚨 2019-01-22 17:19:01 +05:30
Joffrey JAFFEUX 0d655221f4 FIX: ensures filteredContent is recomputed when sortBy changes (#30) 2018-12-28 14:58:28 +05:30
Joffrey JAFFEUX 2b6357f8b4
FIX: ember 3 support 2018-12-16 15:22:23 +01:00
Rishabh 0af2453c23 FEATURE: Make searching case-insensitive 2018-11-16 16:13:40 +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
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 68059b540e UX: Style improvements in query edit & result view 2018-09-12 18:58:54 +05:30
Rishabh Nambiar 5edb8ea7f8 UX: Make Explorer UI similar to User Activity and Groups pages 2018-08-31 23:41:33 +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 1b68847d21 FEATURE: Sort queries by last_run_at as default 2018-08-27 20:10:25 +05:30
Rishabh Nambiar feb8a1ce0f FIX: Don't save placeholder text only if description is empty 2018-08-25 23:02:43 +05:30
Rishabh Nambiar 2f0400a7e0 FIX: Don't save placeholder text if description is empty 2018-08-24 12:43:18 +05:30
Rishabh Nambiar 86a4957bd1 FIX: Ensure that back button always redirects to index page 2018-08-17 15:30:07 +05:30
Rishabh Nambiar a64ef6c6c7 Added button to go back to query list after visiting a query 2018-08-16 23:14:07 +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
Régis Hanol 7c94f98436 FIX: prevent creation of query with an empty name 2018-05-09 22:23:56 +02:00
Arpit Jalan 0d6af9d920 FIX: importing query was broken 2017-04-04 14:07:07 +05:30
Robin Ward 8d72e979a5 FIX: Old Ember idioms 2016-11-09 11:58:18 -05:00
Guo Xiang Tan 414cda5578 FIX: Import `ajax` instead. 2016-10-31 09:12:01 +08:00
Kane York 7201823c6b Remove HTTPS warning 2015-08-03 15:09:51 -07:00
Kane York 5156ab1f72 Use HTTP status 422 for failures 2015-07-15 12:51:33 -07:00
Kane York 198c64d86a Don't show the ace editor right away, wait for edit pencil to be clicked 2015-07-14 10:34:23 -07:00
Kane York c7a947542e Allow expanding/collapsing the schema view 2015-07-14 09:44:42 -07:00
Kane York 71c3b73ef8 FEATURE: 'Download Result' removes 250-row limit 2015-07-09 12:03:25 -07:00
Kane York dad55e085b Restyling of data explorer 2015-07-08 16:46:36 -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 88d7fa955a Add HTTPS warning 2015-06-30 21:21:14 -07:00
Kane York 1ea74847ae Display errors, convert integers 2015-06-30 19:51:38 -07:00
Kane York a81f8495b0 Update URL. Regression - select2 not updating 2015-06-30 15:56:09 -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 78dafcc631 Rename the stylesheet 2015-06-30 10:37:48 -07:00
Kane York ee1cc2d96d Tuesday morning, 10AM 2015-06-30 10:20:22 -07:00
Kane York 95a50e1116 Tuesday morning, 9 AM 2015-06-30 09:07:33 -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