Samir Patel
0d52a952e0
resolve some comments
2021-12-19 23:33:44 -06:00
Samir Patel
7ce07d4e4a
settings
2021-12-17 11:42:02 -06:00
Samir Patel
3b58e887ed
add group lenth check
2021-12-17 11:34:48 -06:00
Samir Patel
c2d51a2257
remove settings
2021-12-17 10:00:21 -06:00
Samir Patel
1555746ff1
test
2021-12-16 23:53:30 -06:00
Samir Patel
db2263465b
tests
2021-12-16 23:39:58 -06:00
Samir Patel
e5866f5f9c
comment out string checking in test
2021-12-16 22:08:16 -06:00
Samir Patel
a793ebc3c4
update config internal test
2021-12-16 21:56:54 -06:00
Samir Patel
4565cb714b
update config internal test
2021-12-16 21:02:58 -06:00
Samir Patel
eb693beb0b
add authN login test
2021-12-16 20:35:34 -06:00
Samir Patel
b082a318f3
move authN to its own package
2021-12-16 20:34:09 -06:00
Samir Patel
b37f13e5c5
rename
2021-12-16 20:33:23 -06:00
Samir Patel
52625c70ab
check auth enabled before handling auth requests
2021-12-15 15:42:56 -06:00
Samir Patel
0cb27bfdd3
Merge branch '54mir/authentication' of github.com:molecula/featurebase into 54mir/authentication
2021-12-15 14:54:41 -06:00
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
Samir Patel
7d81c6e1c1
add defaults to conf
2021-12-15 12:39:14 -06: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
Hoang Pham
583a0293ce
added Login page for testing with BE endpoint
2021-12-13 14:04:41 -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
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
Matthew Jaffee
4f55f423b0
Merge branch 'master' into simplify-coverage
2021-12-08 12:57:31 -06:00
reese
134cc8c2e3
Merge pull request #1800 from molecula/sup112
...
[SUP-112] Roaring-migrate panic bug fix
2021-12-08 10:55:35 -06:00
Matthew Jaffee
c91e81537d
try something a bit different
2021-12-08 09:54:20 -06:00
reesporte
69f364e167
remove breaking test
2021-12-08 09:30:16 -06:00
reesporte
a2b86caad8
Merge branch 'master' into sup112
2021-12-08 09:24:02 -06:00
reesporte
47f78c88e0
check that translate store is not nil where it needs to be checked
2021-12-08 09:23:46 -06:00
reesporte
fed20ffd3e
test that translate key error messages are correct
2021-12-08 09:23:46 -06:00
Matthew Jaffee
a40bc3edf7
try to simplify test coverage w/ -coverpkg
2021-12-07 18:38:48 -06:00
reesporte
f223d2d84b
Merge branch 'sup112-with-tests' into sup112
2021-12-07 15:21:14 -06:00
Matthew Jaffee
4488ab1062
Merge pull request #1784 from molecula/recordbatch-ingestapi
...
add new RecordBatch implementation which uses ingest API
2021-12-06 20:40:09 -06:00
Matthew Jaffee
77897f3ef0
try to get some more test coverage on error cases
...
(without creating too much duplication!)
2021-12-06 20:19:42 -06:00
Matthew Jaffee
1a4180ca4a
add new RecordBatch implementation which uses ingest API
2021-12-06 17:06:55 -06:00
reese
7788af166f
Merge pull request #1797 from molecula/staticcheck-issues-pt-2
...
[fb-964] fixes some more staticcheck errors
2021-12-06 17:04:35 -06:00