aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/forms.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-10fix basic deprecation warningsGlandos1-1/+1
2021-06-09Adapt code for https://github.com/wtforms/wtforms/pull/288Glandos1-1/+1
2020-08-27update to black 20.8b1 (#676)Glandos1-2/+2
Some trailing commas were removed because of some black changes.
2020-07-26Relax pin point dependencies (#660)Glandos1-1/+1
* Please don't pin point releases and future releases Fixes #658 * fix expression checked by new flake8 * (really) fix condition * ensure Flask-WTF is ok * don't forget, it's >= not > Co-authored-by: Glandos <bugs-framagit@antipoul.fr>
2020-05-07Improve currencies (#604)Glandos1-44/+31
- Rename "No Currency" to ISO4217 "XXX" - Use Babel to render currency symbols and names in currency lists - Improve i18n in bill lists Fix #601 Fix #600
2020-04-29Feature/currencies (#541)dark0dave1-1/+61
Now each project can have a currency, default to None. Each bill can use a different currency, and a conversion to project default currency is done on settle. Fix #512
2020-04-21Add isort support. (#561)Rémy HUBSCHER1-16/+14
2020-04-20Add Project History Page (#553)Andrew Dickinson1-4/+31
Co-Authored-By: Glandos <bugs-github@antipoul.fr> All project activity can be tracked, using SQLAlchemy-continuum. IP addresses can optionally be recorded.
2020-04-08merge settings and import to avoid clutter (#550)eMerzh1-1/+4
2020-01-13Import previously exported json data (#518)Nicolas Vanvyve1-0/+17
Fix #417 * New tab upload * Extract data from JSON * Add users * Black format * Try to add bill * Import bills * Add french translation msg * Black reformat missing * Deactivated users are supported * Test import * Remove temp file in upload_json() * Incomplete tests * tests import * Update ihatemoney/translations/fr/LC_MESSAGES/messages.po Co-Authored-By: Rémy HUBSCHER <hubscher.remy@gmail.com> * Remove useless variable and check json format * Use String.IO and test for wrong json * Remove coma Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2019-10-17Removed unused textarea to solve flake8 errorJosé Antonio de la Torre1-1/+1
2019-10-17Added support to split messages #133José Antonio de la Torre1-1/+1
2019-10-14Use black to refomat the files.Alexis M1-24/+48
2019-10-03Add new translationsLeo Mouyna1-1/+1
2019-10-03feat: Optional field 'external link' in bill form.Leo Mouyna1-2/+6
An optional field has been added to the bill form to add a link to a real bill. A new action button allow user to see this bill. Breaking change with Bill model update for database, a migration is needed. See issue #429.
2019-09-27Trim member usernames. Fixes #353Alexis Métaireau1-1/+8
2019-09-06Use WTForms DataRequired to be futureproofAlexis M1-18/+18
2019-08-26Move export form to linksBrice Maron1-13/+0
2019-07-26Improve already project exists messageBrice Maron1-8/+4
2019-01-03Do not allow negative weights on users (Fixes #362) (#366)Alexis Metaireau1-3/+5
2019-01-03Provide basic math operations on bills (#413)Byron Ullauri1-2/+27
* allow basic math ops in amount field for bills form * docs: changing compile-translations to build-translations
2018-11-25flake8 code cleanupJocelyn Delalande1-1/+1
Flake8 was nitpicking about: ihatemoney/forms.py:192:13: F841 local variable 'e' is assigned to but never used ihatemoney/utils.py:26:8: W605 invalid escape sequence '\w' ihatemoney/utils.py:26:10: W605 invalid escape sequence '\s' ihatemoney/utils.py:27:8: W605 invalid escape sequence '\s'
2018-08-10Fix failing tests (#365)Alexis Metaireau1-2/+5
* Remove unwanted space in utils.py * Fix email validation when sending invites
2017-12-21Use hashed passwords for projects (#286)0livd1-2/+3
- Remove all occurences of clear text project passwords. - Migrate the database to hash the previously stored passwords. Closes #232
2017-10-26Use token based auth to reset passwords (#269)0livd1-1/+9
Send a mail containing a password reset token link instead of sending a clear text password. Ref #232
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau1-0/+195
* 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.