Activity

gavhu10

I added rate limiting and API versioning. I also made so that you cannot add empty messages to a jar. The rate limiting was not too hard to do, but getting it deployed was. I started by using memcached and got it compiled on the pythonanywhere servers, but it could not connect for various reasons. I tried to use an external memcached serve, but I could not get authentication to to memcached server work with Flask-Limiter. Then I found the python package redislite. After a lot of fiddling around with unix domain sockets and testing the wrong endpoints, I got it to work!

Attachment
0
gavhu10

I made so that you can scroll messages with the arrow keys. I also made it much more efficient and fixed some bugs.

0
gavhu10

I added room management. Now you can create rooms from the device!

Attachment
0
gavhu10

I just added a retype password check to the sign up and change password screens. This is a (very) small feature, but as I tested it and changed my password, I saw that it was not validating that the two new passwords were the same. Then I realized that it was not validating the new password at all, so someone could change their password to None (or whatever None hashed is) and so lock themselves out. 🤦Oh well; It’s fixed now.

Attachment
0