With the addition of load balancing we now have some info about the load of the gateways:
float64
that indicates the loadbool
indicating if we consider this gateway overloadedIn the current API we have a single entry point /json
and if we GET it the response looks like:
{
"ip": "x.x.x.x", // your IP address
"cc": "DE", // a two letter country code of that IP
"city": "Berlin", // the guessed city from the IP
"lat": 52.4963,
"lon": 13.4417,
"gateways": ["foo.riseup.net", ...] // a list of gateway host names
}
How should we include this information in the API?
meskio (443e378b) at 06 Jun 17:36
Don't omit order purchase on the transaction
meskio (fb7df923) at 27 Mar 11:16
Don't display a 500 error on user creation
... and 53 more commits
meskio (0cbc2264) at 10 Mar 16:07
meskio (d336dbf3) at 20 Dec 17:07
Be able to update orders up to 10 days after the deadline
meskio (d76b032c) at 26 Sep 16:37
Don't crash if the member doesn't exist
Thanks for testing, meskio. Quick question though: Are you seeing a desktop app / seeing it in launcher to load it? I don't use a DE (using a i3WM ever since) so I don't know the user exp with a proper DE.
I use i3 too :) I see the desktop app and the systray icon, it looks ok, but I'm not keeping up with the latest UI changes.
Are you planning to add it to backports once is in testing?
That looks like a lot of work :/ Bookworm would be released hopefully in an year so I am a bit less motivated to do so. But if there is some real interest (a non-trivial number of users) wanting to use it, I'll do so but this might a month or so or even more.
Yes it is a lot of work, and I assume most debian desktop users use testing/sid, so might not be that worth it. So it might not be worth it.
I have briefly tested the package and it works pretty well for me. thank you for the great work.
Are you planning to add it to backports once is in testing? I'm not sure how much it makes sense for desktop applications to do that, but if you plan to do it at some point poke me as I've being wanting to upload snowflake into backports but lacking the time to do it we can coordinate the work.
meskio (f81476f7) at 25 Mar 18:33
Import go-openpgp-wkd implementation
I'm happy I did left this comment, I don't remember much what was the intention for anything. But don't reporting gateways without agent makes sense, so we don't get users to try to connect to gateways that are offline. The plan is to have agents in every gateway so they not only help to report their load but also be used as a canary if they fail.
I'm not sure if I can help with the testing, I remember I managed to set it up to test it locally, but don't recall much how. I think we had some testing server where I run it by hand, maybe @kali can point you where.
I'm happy to answer questions if you have about it. Is being a long time since I work on this, I hope I'll remember how it was working.
Let's keep the history of the user balance on each transaction so we can audit the situation.