Ben Johnson
d9ad819fe9
Revert auto-quoting in Web UI
2022-03-03 12:35:54 -07:00
reesporte
17203e3441
remove cardinality calculation from schema/details
...
this is related to work for [fb-1127](https://molecula.atlassian.net/browse/FB-1127 )
cardinality reporting has caused no shortage of issues such that we recommend
disabling them almost everywhere.
this commit removes the cardinality calculation for right now, as well as the option
to enable/disable schema details.
2022-03-02 14:09:09 -06:00
reesporte
241550c751
fix sonarcloud code smells
2022-02-28 12:05:44 -06:00
reesporte
248dc4fe85
rip out ui/usage
...
addresses concerns in [fb-1127](https://molecula.atlassian.net/browse/FB-1127 )
TLDR;
/ui/usage was a hotbed for issues and SEs have been turning it off anyway for ages
2022-02-28 12:05:44 -06:00
hphamMolecula
580a6109fb
Merge branch 'master' into ui-fixes
2022-01-19 10:04:35 -06:00
Hoang Pham
c969a8370e
UI - added fix for Query Builder page showing up as blank when there are no tables associated with current user
2022-01-18 17:57:40 -06:00
reesporte
fdf7b4107a
actually be able to generate-statik
...
these were the changes i had to make to be able to build lattice on my machine
2022-01-18 12:14:54 -06:00
reesporte
06c34c9f3e
Merge branch 'master' into ui-fixes
2022-01-14 13:56:47 -06:00
reesporte
68c6bffa2c
clear localstorage on sign out
2022-01-14 13:02:01 -06:00
reesporte
cf2410fea6
addresses multiple authn/z tickets
...
* fb-998 - authn/z enabled in handlers (kitchen-sink ticket)
- authorization is enabled through the use of a bearer token (using header "Authorization")
- authorization may occur through the use of an "Authorization" header or "molecula-chip" cookie
- ui is updated for changes to handler
* fb-1131 - protect grpc endpoints
- GRPC endpoints now check authorization if auth is enabled
* fb-1129 - inter-node communication
- the following endpoints use the secretKey for authentication:
- /internal/cluster/message: POST
- /internal/translate/data: GET, POST
* added test to api_test.go (TestAuth_MultiNode) testing various auth/permissions stuff on a multi-node cluster
not included:
- fb-1130 - filter response of endpoints
- fb-1109 - improved audit logging
@jaffee [are you not entertained](https://www.youtube.com/watch?v=mutgotxrcqg )
Co-authored-by: souhailanoor <90720110+souhailanoor@users.noreply.github.com>
Co-authored-by: tgruben <tgruben@gmail.com>
Co-authored-by: 54mir <48686912+54mir@users.noreply.github.com>
Co-authored-by: kcrodgers24 <49999391+kcrodgers24@users.noreply.github.com>
2022-01-14 12:31:32 -06:00
Hoang Pham
936fb9e6bd
UI - rename a unit test
2021-12-28 13:04:56 -06:00
Hoang Pham
0ad2bffd33
UI - added test files
2021-12-28 10:56:31 -06:00
Hoang Pham
39ebbbd88e
UI - formatted tsx files with prettier (single quote)
2021-12-22 11:40:01 -06:00
Hoang Pham
c67ae54b1d
UI - fixed Sign In button
2021-12-21 16:44:27 -06:00
Hoang Pham
7de6c37b11
UI - cleaned up code, added comments
2021-12-21 16:06:02 -06:00
Hoang Pham
a24a1e8922
UI - added fixes for PR comments
2021-12-20 15:55:52 -06:00
Hoang Pham
c91e7dc8de
UI - renamed authOn to isAuthOn
2021-12-20 12:28:38 -06:00
Hoang Pham
7dc9df425d
UI - removed unnecessary code
2021-12-20 12:23:55 -06:00
Hoang Pham
9086587e06
Changed how the UI processes /auth to turn on/off authentication
2021-12-20 12:19:56 -06:00
Hoang Pham
d7ba3c8334
UI - changed createTheme back to createMuiTheme
2021-12-20 09:57:07 -06:00
Hoang Pham
89a628e91a
Added Featurebase UI code for authentication
2021-12-17 18:20:20 -06:00
Hoang Pham
583a0293ce
added Login page for testing with BE endpoint
2021-12-13 14:04:41 -06:00
reesporte
f70fdfb59e
remove inline styling
2021-11-04 12:14:01 -05:00
reesporte
7b3dee5653
single quotify
2021-11-04 11:55:32 -05:00
reesporte
e11ce9a248
clearer wording
2021-11-03 13:18:41 -05:00
reesporte
1585313a0c
better styling
2021-11-03 13:14:28 -05:00
reesporte
f9c78091ab
move warning label to results count
2021-11-03 13:05:47 -05:00
reesporte
ad2f5c5ed4
limit the number of results that we keep
...
also tells the user how many results there were, but they only
get to see 1000 of them
2021-11-02 16:03:43 -05:00
reesporte
510dd4dfb7
un-prettify for less lines of code changed :)
2021-11-01 09:36:36 -05:00
reesporte
705efc1b8a
refactor for easier reading, add more tests
2021-11-01 09:25:07 -05:00
reesporte
4a18973274
use prettier to format changed files
2021-10-29 16:16:59 -05:00
reesporte
ad0b6db841
refactor css as import
2021-10-29 16:04:58 -05:00
reesporte
cdbfcef0eb
hopefully updates the ci pipeline to run jest
...
i updated the gitlab ci pipeline so that hopefully it will run jest coverage stuff for sonar
2021-10-28 16:19:03 -05:00
reesporte
5ef7975475
refactor and add tests
2021-10-28 15:15:43 -05:00
reesporte
aadfc63bf0
add quotes around strings
2021-10-28 13:45:07 -05:00
Stephanie Yang
10f235dac1
attempt to upgrade node (to v14) and node-sass (to v4.14)
2021-10-27 13:00:40 -05:00
Stephanie Yang
1609582ba1
Update aggregate label to cardinality
2021-08-02 19:01:37 -05:00
Stephanie Yang
97df326ac6
update test and add additional test for aggregate sort
2021-08-02 19:01:37 -05:00
Stephanie Yang
b0633898a3
add ability to set an aggregate sort on int fields
2021-08-02 19:01:37 -05:00
Stephanie Yang
2947583a95
fix issue with editing saved queries
2021-07-29 12:03:32 -05:00
Stephanie Yang
8dc2105b63
add clear link for sort
2021-07-28 11:38:13 -05:00
Stephanie Yang
d8ac3251f6
replace old query builder
2021-07-28 11:21:54 -05:00
Stephanie Yang
fa353faf72
initial refactor commit
2021-07-28 11:21:54 -05:00
Stephanie Yang
fa6e179193
handle table-name.field-name syntax sql in console
2021-07-13 14:05:09 -05:00
Stephanie Yang
97ee1b91ef
wrap field and table names in backticks for sql queries
2021-07-13 14:05:09 -05:00
Stephanie Yang
9c8b272bb0
fix secondary sort field for sum case
2021-07-02 16:10:10 -05:00
Stephanie Yang
986f1f1d0f
clear sort when resetting
2021-07-02 16:10:10 -05:00
Stephanie Yang
46016fce4a
add sort option to GroupBy query builder
2021-07-02 16:10:10 -05:00
Stephanie Yang
383b0a69d1
fix group by fields stuff
2021-07-02 16:10:10 -05:00
Stephanie Yang
7c89eb8033
add cache refresh copy
2021-06-14 16:02:15 -05:00