<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gradecoin/src, branch auth_dev</title>
<subtitle>gradecoin server, simple crypto playground, suitable for undergrad courses</subtitle>
<id>https://git.yigitsever.com/projects/gradecoin/atom?h=auth_dev</id>
<link rel='self' href='https://git.yigitsever.com/projects/gradecoin/atom?h=auth_dev'/>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/'/>
<updated>2021-04-11T23:17:44Z</updated>
<entry>
<title>start adding auth logic to transaction proposals.</title>
<updated>2021-04-11T23:17:44Z</updated>
<author>
<name>alpaylan</name>
</author>
<published>2021-04-11T23:17:44Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=c93ec3248126411e283b5ad369a64d2507064ae2'/>
<id>urn:sha1:c93ec3248126411e283b5ad369a64d2507064ae2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement User handling and authentication</title>
<updated>2021-04-11T21:03:23Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-11T18:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=518a99a132707ba0e2572b24ca18f6b9606d7334'/>
<id>urn:sha1:518a99a132707ba0e2572b24ca18f6b9606d7334</id>
<content type='text'>
New struct: User, corresponds to a student

Blocks and users are persistent (written to a text file)

PostgreSQL would've been overkill, we have 30 students

AuthRequest is the representation for incoming register requests and
User is the inner representation

Students who are enrolled to the class are hardcoded, only they can
register new accounts

There are two new tests, one checks if a priviliged (=enrolled) user can
create an account and the other checks if a unpriviliged one cannot

There are quick verbose error messages that I'm not married to, might
move on to something better honestly

There's nothing stopping a malicious user to pre-register everyone with
mock public keys and effectively lock everyone out, what's a good secret
we can use?
</content>
</entry>
<entry>
<title>Remove unused code and clean up comments</title>
<updated>2021-04-09T17:27:12Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T17:27:12Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=33d1499f5fa69778063d7da27c0072dba78db4c3'/>
<id>urn:sha1:33d1499f5fa69778063d7da27c0072dba78db4c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused code from filters</title>
<updated>2021-04-09T17:21:32Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T17:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=6fc65eaeaca246c4019ba4b9c77853522a15b112'/>
<id>urn:sha1:6fc65eaeaca246c4019ba4b9c77853522a15b112</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test TODO items to routes</title>
<updated>2021-04-09T14:15:33Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T14:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=0d41110136db32b78b45af616621879bda84b7e2'/>
<id>urn:sha1:0d41110136db32b78b45af616621879bda84b7e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add routes tests</title>
<updated>2021-04-09T14:12:09Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T14:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=dc19e3767b8262d4f5cc7c3e9a501fae3c5e9f8c'/>
<id>urn:sha1:dc19e3767b8262d4f5cc7c3e9a501fae3c5e9f8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove old routes tests</title>
<updated>2021-04-09T14:10:02Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T14:10:02Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=793bf9630d7ddf90b67e67091c05f3f252273d5c'/>
<id>urn:sha1:793bf9630d7ddf90b67e67091c05f3f252273d5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused code from routes</title>
<updated>2021-04-09T11:46:24Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T11:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=4f02e577984da089ed47973ed01c31c23e74cb71'/>
<id>urn:sha1:4f02e577984da089ed47973ed01c31c23e74cb71</id>
<content type='text'>
Original repo here: https://github.com/blurbyte/restful-rust
</content>
</entry>
<entry>
<title>Cleared unused code from handlers</title>
<updated>2021-04-09T11:43:25Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-09T11:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=336a5b699604f11e223ae6fb111b88b9f9275bf1'/>
<id>urn:sha1:336a5b699604f11e223ae6fb111b88b9f9275bf1</id>
<content type='text'>
The original repo is here: https://github.com/blurbyte/restful-rust
</content>
</entry>
<entry>
<title>Implement Block GET/PUT with new schema</title>
<updated>2021-04-07T01:35:44Z</updated>
<author>
<name>Yigit Sever</name>
</author>
<published>2021-04-07T01:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.yigitsever.com/projects/gradecoin/commit/?id=84d9c14a17e864058527981e3388cef148827c11'/>
<id>urn:sha1:84d9c14a17e864058527981e3388cef148827c11</id>
<content type='text'>
- `Arc`+`Mutex` is replaced by `parking_lot::RwLock,` decoupled
  Read+Write and ability to upgrade read locks into write locks if
  needed
- Schema has changed, `Db` is now a struct that implements `new()` to
  return a new instance of itself, pros/cons listed in code but tl;dr
  blockchain and pending transactions are separate now
- `custom_filters` now supports extracting Block json and Transaction
  json in separate functions too
- /block GET and PUT implemented, `Blocks` currently have one check
  (transactions appear in pending transaction)
- debug is working after something, dunno how I fixed it
</content>
</entry>
</feed>
