Skip to content

Commit

Permalink
Merge branch 'patrik-ratelimit-send-report' into 'master'
Browse files Browse the repository at this point in the history
Add ratelimit to "send me a status report" to avoid email flooding #272

See merge request ikus-soft/rdiffweb!335
  • Loading branch information
ikus060 committed Jun 1, 2023
2 parents e55e019 + f771b1b commit feef0d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -131,6 +131,7 @@ Professional support for Rdiffweb is available by [contacting IKUS Soft](https:/
* Add support for SQLAlchemy v2.0
* When reaching 100% disk usage, show quota in red to improve visibility
* Send notification when user's quota reach 90% #46
* Add ratelimit to "send me a status report" to avoid email flooding #272 - credit to [Nehal Pillai](https://www.linkedin.com/in/nehal-pillai-02a854172)

## 2.7.1 (2023-04-27)

Expand Down
1 change: 1 addition & 0 deletions rdiffweb/controller/page_pref_notification.py
Expand Up @@ -134,6 +134,7 @@ def populate_obj(self, userobj):

class PagePrefNotification(Controller):
@cherrypy.expose
@cherrypy.tools.ratelimit(methods=['POST'])
def default(self, **kwargs):
# Process the parameters.
report_form = ReportForm(obj=self.app.currentuser)
Expand Down

0 comments on commit feef0d7

Please sign in to comment.