Commit graph

28 commits

Author SHA1 Message Date
Daniel Krol 9046be7c4f const maxBodySize 2022-08-22 17:44:34 -04:00
Daniel Krol 4843b91ce7 Rename the output. lbry-id -> wallet-sync-server 2022-08-22 12:05:53 -04:00
Daniel Krol 0e36bebdae Mailgun integration 2022-08-13 14:26:04 -04:00
Daniel Krol 3b44a55f5a Connect the latest handlers to endpoints. 2022-07-29 20:53:28 -04:00
Daniel Krol 5ffcddf8f7 Endpoint to re-send verify token string 2022-07-29 20:49:00 -04:00
Daniel Krol 4ecf8538be log.Printf istead fmt.Printf to be uniform 2022-07-29 13:43:27 -04:00
Daniel Krol 6672175a25 Server test/implement send verify-account email 2022-07-27 19:45:09 -04:00
Daniel Krol f15875c4a6 Verify account endpoint 2022-07-26 16:36:57 -04:00
Daniel Krol f792ba5846 env package provides config values 2022-07-24 16:03:37 -04:00
Daniel Krol ade526f4f9 Create environmental var package 2022-07-23 19:03:51 -04:00
Daniel Krol 41b14dad44 Prometheus - track wallet requests 2022-07-22 19:49:30 -04:00
Daniel Krol f10cc8aa26 Salt Seed, used to generate secrets on client 2022-07-21 19:10:16 -04:00
Daniel Krol 23f9d45ed5 More useful 404, particularly for API version change 2022-07-21 15:14:21 -04:00
Daniel Krol 4430013bae KDF for server password. Save salt in DB. 2022-07-14 22:04:03 -04:00
Daniel Krol 55686cb7b5 Change module name to new repo account 2022-07-11 22:14:53 -04:00
Daniel Krol 6646e9a4f9 validate() functions return error messages 2022-07-11 09:42:08 -04:00
Daniel Krol 125e461d95 Change password endpoint implemented and tested 2022-07-06 14:03:59 -04:00
Daniel Krol 3d492d8b86 Update API: PostWallet no longer returns a wallet 2022-06-23 15:22:31 -04:00
Daniel Krol 62866a0045 Handle oversized requests. 2022-06-19 17:49:05 -04:00
Daniel Krol da849cc9be Test (and fix) validation for register 2022-06-17 16:12:20 -04:00
Daniel Krol 1cbf2e82b5 Do the API versioning differently
I want the consts to contain the API version in them.
2022-06-17 15:38:44 -04:00
Daniel Krol 23bd804f97 API Version in the URL, not the payload. Duh. 2022-06-16 17:58:11 -04:00
Daniel Krol fcec1ad950 Serve from localhost explicitly 2022-06-16 10:01:49 -04:00
Daniel Krol d467559dcd test client: factor out wallet sync API into class
In preparation for adding the LBRY SDK api class
2022-06-10 21:08:24 -04:00
Daniel Krol 512ebe3e95 Protocol changes
* Regress from `lastSynced` to just `sequence` to start with something simpler
* Simplified payload: separate metadata, assume canonical way to hmac it together
  * No more "wallet state" except as a simple wrapper on the front end
* Version number in wallet payloads
2022-06-10 15:04:31 -04:00
Daniel Krol eccef61d0b "Full" in Auth endpoint name is no longer useful 2022-06-07 18:24:01 -04:00
Daniel Krol 0bf11b059c Change to normal password auth, and various things 2022-06-07 17:47:38 -04:00
Daniel Krol 2fbcf6ee6d Get/Post WalletState, account recover, test client
A few things at once because it was faster to get a demo out the door. Skipping most test implementation though I made failing stubs so I know what to fill in later.

* Get/Post WalletState
* downloadKey/email so that a second client can log in, and/or recover from lost client
* Test client in Python to demonstrate the above
* Organize into packages
2022-01-04 16:07:23 -05:00