aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/web.py
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16fix: display validation message on password reminderLeo Mouyna1-2/+7
Create a new route with a new generic page that display a title and a message on a <p> tag. This route will be triggered after succesfully submit password reminder form See issue #455
2019-08-26Move export form to linksBrice Maron1-27/+25
2019-08-18Arrange navbar items by functionsBrice Maron1-1/+6
2018-09-03Fix double-click when deleting a bill (#349) (#372)Alexis Metaireau1-1/+1
When double-clicking on the delete button, the first click actually deletes the bill, and the second click does the same action again. But as the bill is already deleted, it displays a 404 page which can be misleading. This fix makes the app trigger a redirect when the bill seem to doesn't exist, fixing this strange behaviour.
2018-08-11Add a favicon.ico route and logo. (#381)Alexis Metaireau1-1/+8
Might fix #255
2018-08-05Remove strict_slashes for /Glandos1-1/+1
I don't know why, but on my setup (nginx + uwsgi), the `strict_slashes` (default to `True`) was causing an infinite loop. I think it could be safely removed for this route only.
2018-02-07Move member stats computation to a dedicated methodJocelyn Delalande1-14/+1
2018-02-07Change statistics data structureJocelyn Delalande1-13/+14
Clearer data structure, and simpler template This commit has a side effect: sidebar now hides disabled members. IMHO, the disabled members should either be hidden or shown consistently between sidebar and central table. Previous status was: shown in sidebar (if balance ≠ 0) and hidden in central table.
2018-01-05Include all .j2 files in the packaged version.Alexis Métaireau1-3/+3
I've also renamed the templates to *.j2 in order to make things clearer to others. Having extensions with the name of the locale doesn't seem to be a good practice, and would need us to add the locales in the MANIFEST file each time we add one. Fix #305
2017-12-21Use hashed passwords for projects (#286)0livd1-13/+11
- Remove all occurences of clear text project passwords. - Migrate the database to hash the previously stored passwords. Closes #232
2017-12-15Use token based auth in invitation e-mails (#280)0livd1-11/+21
* Use token based auth in invitation e-mails Invitation e-mails no longer contain the clear text project password * Skip invite page after project creation - Replace ``The project identifier is demo, remember it!`` by ``Invite other people to join this project!`` (linking to the invite page) - Encourage users to share the project password via other communication means in the reminder email
2017-11-11Fix some typos using codespell (#285)Alexandre Avenel1-1/+1
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.