Commit graph

20 commits

Author SHA1 Message Date
Jonathan Zernik
686edbcd77
Decode payment request on get offer (#235)
* Decode payment request after getting offer

* Decode amount and node_pubkey from payment request string

* Rename fields in offer database table

* Include invoice time and expiry time in offer table

* Fix block time display in squeak detail component
2020-08-07 17:50:06 -07:00
Jonathan Zernik
4e58415299
Add offer table (#229)
* Add offer table to db schema

* Add offer table to db schema

* Add sent payment table
2020-08-05 04:16:08 -07:00
Jonathan Zernik
2486a05d60
Rename subscription to peer (#212)
* Rename subscription to peer

* Rename subscribed to downloading

* Rename publishing to uploading

* Rename subcription to peer in frontend
2020-08-03 04:20:05 -07:00
Jonathan Zernik
c9a2a3433c
Rename subscribed and publishing in subscription (#196)
* Rename subscribed and publishing fields in subscriptin

* Show publishing and subscribed in subscriptions table
2020-08-01 16:12:03 -07:00
Jonathan Zernik
874f27df58
Rename subscription (#192)
* Rename addserver request to createsubscription

* Rename server to subscription

* Show subscriptions in frontend
2020-08-01 04:52:35 -07:00
Jonathan Zernik
10b93dd03b
Add server table (#179)
* Add server table

* Add server rpc method

* Add method to get server by id
2020-07-30 05:25:45 -07:00
Jonathan Zernik
1438b96de4
Add delete squeak method (#174) 2020-07-30 00:42:44 -07:00
Jonathan Zernik
cdca52b7e2
Rename followed to following (#170)
* Rename followed field to following in profile

* Rename shared field to sharing in profile

* Revert changes to icons.js

* Rename following squeaks to followed squeaks

* Fix frontend for renamed get followed request
2020-07-29 21:48:42 -07:00
Jonathan Zernik
3543f498cc
Fix set followed method (#168)
* Fix set followed rpc method

* Fix get followed squeaks method
2020-07-29 16:53:52 -07:00
Jonathan Zernik
06e642b19c
Add profile whitelist (#160)
* Add whitelisted field to profile table

* Fix adding whitelisted field to profile, itest passes now
2020-07-28 02:05:33 -07:00
Jonathan Zernik
a37296565c
Thread ancestors db query (#153)
* Add replyto field to squeak display response in rpc method

* Got thread ancestors query working mostyly

* Got thread ancestors query working

* Fix docstring for ancestor query

* Add check for ancestor query to itest
2020-07-27 00:55:58 -07:00
Jonathan Zernik
149c55b4d3
Use lowercase and underscores in sql tables column names (#90) 2020-07-19 01:50:48 -07:00
Jonathan Zernik
404772372f
Add btcd credentials to sqkserver config (#81)
* Add btcd credentials and rpc cert to sqkserver configs

* Start the squeak block verifier worker thread on startup

* Btcd request still failing because of cert

* Got btcd client working

* Use valid block hash and height in itest
2020-07-18 17:19:43 -07:00
Jonathan Zernik
7d530b25f4
Successfully create and get signing squeak profile (#74) 2020-07-17 16:42:22 -07:00
Jonathan Zernik
d7d349d5c9
Decryption key is required non null field (#69) 2020-07-05 18:43:33 -07:00
Jonathan Zernik
5cdd868af8
Rename db columns (#68) 2020-07-05 18:02:15 -07:00
Jonathan Zernik
ce6991214a
Use bytea postgres type for key (#65)
* Use bytea type for storing decryption key in postgres

* Use bytea type for encryption key

* Use bytea type for scrippubkey and scriptsig

* Remove content field from postgres db
2020-07-04 16:00:05 -07:00
Jonathan Zernik
74817948cc
Use new squeak protocol (#64)
* Use new squeak protocol with encryption/decryption key instead of data key hash.

* Use from_bytes method for encrypted decryption key

* Undo changes to use temporary local install of squeaklib
2020-07-03 21:51:47 -07:00
Jonathan Zernik
278fa38db6
Init db on startup (#43)
* Create db tables on startup

* Move createdb script for itest to itest folder

* Fix teardown of dockercompose containers
2020-06-11 17:44:23 -07:00
Jonathan Zernik
88108f7810
Rename squeaknode to squeakserver (#28)
* Rename server entrypoint

* Updated manifest

* Moved db init.sql file

* Rename module to squeakserver
2020-06-04 17:47:49 -07:00
Renamed from squeaknode/server/init.sql (Browse further)