[openstreetmap/openstreetmap-website] Add the ability to rate limit edits (PR #4319)

mmd notifications at github.com
Thu Nov 2 17:30:45 UTC 2023


>  the SQL function is slightly different to the previous version as it is now called api_rate_limit and takes only a user ID as argument and returns the maximum number of changes that can currently be committed.

Good idea. Now it's even feasible to include additional details in the error message. As said, with JOSM's chunk-based upload, the max changes value can be easily determined anyway. On the other hand, additional details make it easier to help users who would be otherwise stuck.

Maybe we could also include this information in /user/details, to give editing apps a chance to be aware of these limits even before  trying to upload anything.

![2023-11-02 18-21-14](https://github.com/openstreetmap/openstreetmap-website/assets/5842757/7a9c0dfe-c90d-4352-bcd7-d92b3ee8df48)

CGImap is already updated. 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4319#issuecomment-1791214722
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4319/c1791214722 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231102/a9b4701f/attachment.htm>


More information about the rails-dev mailing list