aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/web.py
AgeCommit message (Collapse)AuthorFilesLines
2017-10-26Use token based auth to reset passwords (#269)0livd1-3/+26
Send a mail containing a password reset token link instead of sending a clear text password. Ref #232
2017-10-23Make authentication logic simpler and safer (#270)0livd1-36/+27
* Fixed exposed password in session The project password was set in clear text in the session cookie. The cookie payload is only base64 encoded so it must not be used to store private information. The password is simply replaced by a boolean. * Simplify authentication logic
2017-09-07Do not import the whole werkzeug pkg (#271)0livd1-4/+4
2017-09-04Enhance the dashboard. (#262)0livd1-20/+60
* Update to a more flexible admin authentication * Admin can now access any project * Add delete and edit options in the dashboard * Add a link to the dashboard in the nav bar This is a rework of the changes proposed by @Olivd, so they can apply on top of the latest master without trouble. All credit goes to him for the code.
2017-08-21Add a statistics tab (#257)0livd1-0/+22
2017-08-20Protect admin endpoints against brute force attacks (#249)0livd1-5/+17
* Protect admin endpoints against brute force attacks Add a throttling mechanism to prevent a client brute forcing the authentication form, based on its ip address Closes #245 * Reset attempt counters if they get memory hungry
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau1-0/+500
* Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI.