Samir Patel
10dbbb49c8
rename
2021-12-15 14:54:01 -06:00
Samir Patel
f0e287e40b
handle logout and userinfo
2021-12-15 14:53:30 -06:00
Samir Patel
a1de086cd8
change scopes from string to slicee
2021-12-15 14:53:04 -06:00
Samir Patel
1bd935bb59
separate out authentication from auth
2021-12-15 14:52:16 -06:00
Samir Patel
213572bb78
add logout and userinfo endpoints
2021-12-15 14:51:45 -06:00
Souhaila Noor
484cbbcd09
fixed func name
2021-12-15 14:19:21 -06:00
souhailanoor
0c65485b0e
Merge branch 'master' into fb1000
2021-12-15 13:37:15 -06:00
Souhaila Noor
48913caafd
renamed package to authz, inmplemented reviewer's feedback
2021-12-15 13:36:27 -06:00
Samir Patel
7d81c6e1c1
add defaults to conf
2021-12-15 12:39:14 -06:00
Matthew Jaffee
600494c724
Merge pull request #1810 from molecula/sup-126
...
[SUP-126] Defer unlock & rollback during rbf.DB.Begin()
2021-12-15 08:39:24 -06:00
Ben Johnson
7141662c03
Defer unlock & rollback during rbf.DB.Begin()
2021-12-15 07:16:30 -07:00
Samir Patel
a261aa9972
refactor auth.go
2021-12-13 23:13:19 -06:00
Samir Patel
4eee8a4245
change the way auth is instantiated, and send to handler
2021-12-13 23:12:04 -06:00
Samir Patel
541132a176
hash and block key cmd options
2021-12-13 23:10:29 -06:00
Samir Patel
bd81427dd5
load auth object into handler
2021-12-13 23:10:04 -06:00
Samir Patel
ee9416d53a
move auth struct to config
2021-12-13 23:09:14 -06:00
Samir Patel
5e6aec6f60
add hash and block keys to conf file
2021-12-13 23:08:41 -06:00
souhailanoor
a8b198af99
Merge branch 'master' into fb1000
2021-12-13 14:15:09 -06:00
Hoang Pham
583a0293ce
added Login page for testing with BE endpoint
2021-12-13 14:04:41 -06:00
tgruben
a52eda0510
Merge pull request #1808 from molecula/sup120
...
[SUP-120] use higher level iterator in order to account for ops log
2021-12-13 13:51:29 -06:00
Todd Gruben
c25ab78b03
use higherlevel iterator in order to account for ops log
2021-12-13 13:10:16 -06:00
Souhaila Noor
3c8a7384ba
added reviewer's suggestions
2021-12-13 13:05:35 -06:00
Souhaila Noor
32228bb134
updated go.mod
2021-12-13 10:48:40 -06:00
Souhaila Noor
9e2cf81127
added unit tests
2021-12-13 10:35:56 -06:00
Samir Patel
3b257fe3cb
remove settings
2021-12-11 14:10:34 -06:00
Samir Patel
b5c87e0f18
add auth endpoints
2021-12-11 00:11:30 -06:00
Samir Patel
29832a3140
add authorization
2021-12-10 16:45:20 -06:00
Matthew Jaffee
7935624549
implement percentiles on timestamp/decimal, still needs tests
2021-12-10 15:21:29 -06:00
souhailanoor
e5052a864b
Merge branch 'master' into fb1000
2021-12-10 14:09:39 -06:00
Souhaila Noor
01e4baab04
determine permission for user access to index
2021-12-10 14:07:24 -06:00
Matthew Jaffee
9283d52141
Merge pull request #1798 from molecula/fix-backup-key-translation
...
FB-1080 Fix backup key translation
2021-12-10 13:59:43 -06:00
Matthew Jaffee
e8972e437e
smaller clusters to take less memory... test-race getting oom killed
2021-12-10 11:52:39 -06:00
Matthew Jaffee
081184f436
another data race? fuck
2021-12-10 11:52:39 -06:00
Matthew Jaffee
f2a6ee738c
remove old shell-based backup/restore tests
2021-12-10 11:52:39 -06:00
Matthew Jaffee
53373240ef
make chksum process All() results correctly for unkeyed indexes
2021-12-10 11:52:39 -06:00
Matthew Jaffee
ea267202bd
more complete backup/restore coverage in go tests
...
I think we can remove the shell version now
2021-12-10 11:52:39 -06:00
Matthew Jaffee
1980c8b8e5
featurebase backup: don't hide TranslateStoreNotFoundError
...
I think this shouldn't happen unless there's actually a problem
2021-12-10 11:52:39 -06:00
Matthew Jaffee
b0d29bb425
fix unrelated data race that randomly cropped up in CI
2021-12-10 11:52:39 -06:00
Matthew Jaffee
3d3080df8b
full backup/restore test in a Go test
2021-12-10 11:52:39 -06:00
Matthew Jaffee
aff3d3ddd9
do a backup in a go test for coverage purposes
...
also found a weird issue with schema marshalling
if you create a field thru the api w/o specifying a field type, you
get slightly different behavior than going thru the HTTP handler which
is... not ideal. I changed the marshaler to accept an empty field type.
2021-12-10 11:52:39 -06:00
Matthew Jaffee
3761fc6d3c
have Circle build release on branch instead of waiting for merge
2021-12-10 11:52:39 -06:00
Matthew Jaffee
7a8f0135b3
redirect GetTranslateData if node doesn't own partition
2021-12-10 11:52:39 -06:00
Matthew Jaffee
b8da3bc7e6
checksum All() instead of Count(All()) to cover index keys
2021-12-10 11:52:39 -06:00
reese
e45a26cc19
Merge pull request #1804 from molecula/copyright-notice-added-back-in
...
[no-000] add copyright notice back in
2021-12-10 11:21:03 -06:00
reesporte
48aef0c8a4
add copyright notice back in
...
```bash
for file in `cat diffys`; do
printf '%s\n%s\n' "// Copyright 2021 Molecula Corp. All rights reserved." "$(cat $file)" >$file;
done
```
2021-12-10 11:01:04 -06:00
reese
eca56c52d4
Merge pull request #1803 from molecula/no-license
...
[no-000] removed license from each go file
2021-12-10 10:06:43 -06:00
reesporte
4c53f86e82
removed license from each go file
...
i used this script, a little clunky but it got the job done
```bash
for file in `find . -type f -print | grep '\.go'`; do
sed '1,/^\/\/ limitations under the License.$/d' $file > $file.tmp;
result=`cat $file.tmp`
if [[ result != "" ]]; then
gofmt $file.tmp &> /dev/null;
if [[ $? == 0 ]]; then
mv $file.tmp $file && gofmt -w $file;
else
rm $file.tmp;
fi
else
rm $file.tmp;
fi
done
```
2021-12-10 09:17:17 -06:00
reese
0f51a85002
Merge pull request #1802 from molecula/sup120-pt1
...
[FB-1092] translaste -> translate
2021-12-09 09:09:45 -06:00
reesporte
76c1d237ac
translaste -> translate
...
also remove meaingless comments
2021-12-08 16:35:26 -06:00
Matthew Jaffee
6dbbb52438
Merge pull request #1801 from molecula/simplify-coverage
...
try to simplify test coverage w/ -coverpkg
2021-12-08 13:46:51 -06:00