Commit graph

898 commits

Author SHA1 Message Date
kevkevin
3e84906c7b
eslint for ./src/controller/chats.ts and some to contacts (#326)
* added min warning count for eslint
updated eslint rc to give warnings rather than ignoring rc rules
updated chats file for eslint
updated contacts file aswell for eslint

* adding back in --fix to eslint

* removed an unknown type

* updated logger

* updated warning count
2022-03-28 14:09:19 -05:00
Github Actions
3b089624b8 Automatic linter fixes 2022-03-25 17:38:26 +00:00
kevkevin
2686300fe0
Transport token unix time (#329)
* updated transport token files to use UNIX timestamp instead of javascritp timestamp also updated tests to reflect this aswell

* updated to use moment since we use that elsewhere in the project

* removed depend on ava-http since we were using asyncForEach from test/helpers.ts

* added changes to change the endpoint name and to change the value of the thing returned from transport token endpoint

* updating socket to use the rsa logic for decrypting since we use that in auth

* removing logs

* updated to 60 instead of 60000
2022-03-25 12:35:50 -05:00
Evan Feenstra
74fc5877f8
Merge pull request #322 from kevkevinpal/eslintPaymentsController
eslint for ./src/controller/payment.ts
2022-03-23 14:33:46 -07:00
Antoni Spaanderman
f2b1587b6b
fix balance calculation 2022-03-23 20:48:22 +01:00
kevkevin
c085133f85
Merge branch 'master' into eslintPaymentsController 2022-03-22 19:34:03 -05:00
Evan Feenstra
9cc0e1b200
Merge pull request #325 from stakwork/fix/eslint-invoice
no unknowns in invoices.ts
2022-03-22 13:28:35 -07:00
Evan Feenstra
1f3577c021
Merge pull request #317 from kevkevinpal/eslintContacts
eslint for ./src/controller/contacts.ts
2022-03-22 13:27:41 -07:00
Kevin Pallikunnel
2eecd7fae8 removed unknown stuff 2022-03-22 15:04:42 -05:00
Kevin Pallikunnel
08e5e6dd95 removed the unknown stuff typing 2022-03-22 15:02:35 -05:00
evanfeenstra
34681aeed4 no unknowns 2022-03-22 12:43:50 -07:00
evanfeenstra
34924ba031 fix long msg weave 2022-03-22 12:28:21 -07:00
evanfeenstra
cb5fad9281 merge 2022-03-22 09:53:04 -07:00
evanfeenstra
2091e07b10 retry test 2022-03-22 09:45:40 -07:00
Kevin Pallikunnel
8b581fa983 added eslint to payments controller 2022-03-22 08:59:11 -05:00
kevkevin
2e89494b3b
Merge branch 'master' into eslintContacts 2022-03-21 14:39:49 -05:00
kevkevin
93283d6881
eslint for ./src/controller/invoices.ts (#312)
* Adding RelayRequest inferface for our requests since we usually need an owner object

* adding the dist files since the workflow isnt working just yet and also using the types file under ./src/types instead of the models folder instead

* getting rid of these files that are in the dist and shouldnt be there

* updating some files that were giving some errors for eslint and updating interfaces cause date was type string and note Date
2022-03-21 14:39:25 -05:00
evanfeenstra
a38b564a78 merge master 2022-03-21 11:43:37 -07:00
evanfeenstra
bffe60380f eslint all the grpc stuff 2022-03-21 11:41:56 -07:00
Kevin Pallikunnel
e14c47faab updated some merged in eslint error in intercept and also making minor changes to contacts controller 2022-03-21 13:07:32 -05:00
kevkevin
5acd029695
Merge branch 'master' into eslintContacts 2022-03-21 12:57:51 -05:00
Kevin Pallikunnel
775d9586f5 Adding eslint for contacts controller and updated eslint file 2022-03-21 12:50:16 -05:00
Evan Feenstra
3c7e323bf4
Merge branch 'master' into fix/eslint-network 2022-03-21 10:14:11 -07:00
Antoni Spaanderman
d424154455
Clean up logs tags (#315)
* src/grpc/subscribe.ts

* db logging

* meme logging

* proxy logging

* tribes logging

* ssl logging

* build
2022-03-21 08:49:50 -05:00
evanfeenstra
5509ea8cd7 upload req type 2022-03-18 14:32:02 -07:00
evanfeenstra
13848e0003 add a global Req type 2022-03-18 13:50:19 -07:00
evanfeenstra
b9a168eb1e type fixes 2022-03-18 13:22:23 -07:00
evanfeenstra
d083daed42 eslint on network and msg 2022-03-18 11:17:15 -07:00
Kevin Pallikunnel
bcb5bfc05f merging in master 2022-03-17 08:31:31 -05:00
evanfeenstra
37b83c2434 models wrappers 2022-03-16 14:34:34 -07:00
evanfeenstra
7074355998 fix msg interface, parseReceiveParams 2022-03-16 14:11:32 -07:00
evanfeenstra
702eb7491d proper network msg interface 2022-03-16 13:45:58 -07:00
Kevin Pallikunnel
2885f2650f added dist from building and also exported asyncForEach from helpers since we're going to make that a global function since it is used elsewhere in the app, we also removed the err and made it an anonomys function since the err var is not used 2022-03-16 09:42:14 -05:00
Kevin Pallikunnel
55075e5b62 adding eslint to tribes util file 2022-03-16 09:26:58 -05:00
evanfeenstra
446eb654b5 create hmac-secured webhook for repo in gitbot 2022-03-15 17:04:30 -07:00
evanfeenstra
d23acb2ce8 no auto setupTransportToken, fix hmac labels 2022-03-15 15:27:24 -07:00
evanfeenstra
e93970f9ab fix 2022-03-14 16:35:25 -07:00
evanfeenstra
4ba41850e5 hmac test passing 2022-03-14 16:32:32 -07:00
evanfeenstra
62bfda2ce5 hmac auth test 2022-03-14 16:04:35 -07:00
evanfeenstra
4e7882ddc9 hmac auth middleware, hmacKey on Contact, start processWebhooks res 2022-03-11 16:58:34 -08:00
evanfeenstra
2070f9bdeb GitBot 2022-03-10 13:41:21 -08:00
evanfeenstra
d82e96c638 start github bot 2022-03-09 18:09:05 -08:00
Evan Feenstra
20b631d6c9
Merge pull request #294 from kevkevinpal/msg-channels
Msg channels
2022-03-09 08:18:16 -08:00
Kevin Pallikunnel
2453c2389b added the delete endpoint and some tests to check to see when we delete a channel that we dont get the channels in the array when we fetch the tribe 2022-03-02 18:08:34 -06:00
Kevin Pallikunnel
bdec4b3014 removed owner_pubkey and used the one we get from owner instead and updated test to reflect that 2022-03-02 12:45:42 -06:00
Kevin Pallikunnel
c97cdf7ca1 removed the ownerPubKey from the request since we use the token to auth in tribes 2022-03-02 09:58:12 -06:00
Kevin Pallikunnel
3fd5cb7de8 updating test to test the two response return the same channel id 2022-03-02 09:54:52 -06:00
Kevin Pallikunnel
45e038ab9f restored nodes.json 2022-02-28 08:19:51 -06:00
Kevin Pallikunnel
839182f5a0 made some changes so we actually get the values back 2022-02-28 08:16:31 -06:00
Kevin Pallikunnel
645e30e0fb not finished yet adding functionality to call tribes server to add a new channel 2022-02-23 14:23:27 -06:00