aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney
AgeCommit message (Collapse)AuthorFilesLines
2020-04-29Feature/currencies (#541)dark0dave11-10/+306
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-29Translations update from Weblate (#591)Weblate (bot)2-0/+1497
RU : 100%
2020-04-26Add support for different categories of "flash alerts" (#594)zorun2-15/+10
2020-04-26Fix crash when a localized email template is missing (#592)zorun2-10/+23
2020-04-26Fix language code parsing (#589)zorun1-1/+1
2020-04-26Fix string representation of bills (#584)zorun2-24/+14
Currently the string representation of a Bill is: "<amount> for <description>" It is used in the History Page to describe changes that were applied to Bills, for instance: Bill "42.0 for Test" renamed to "Another Test" This is inconsistent, not easy to read, and the "for" in the middle is not translatable. To solve this issue, simply switch the string representation of a bill to its description. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-26Direct Alembic to ignore the sqlite_sequence table (#586)Andrew Dickinson2-11/+36
* Direct Alembic to ignore the sqlite_sequence table * Direct Alembic to ignore the sqlite_sequence table * Fix "Skipping unsupported ALTER" warning on database migration
2020-04-25Fix missing HTML tag (#583)zorun1-0/+1
2020-04-25Translated using Weblate (French) (#582)Weblate (bot)1-13/+14
Currently translated at 100.0% (222 of 222 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/ Co-authored-by: Rémy Hubscher <hubscher.remy@gmail.com>
2020-04-25Fix last history string.Rémy HUBSCHER24-91/+57
2020-04-25Translated using Weblate (French)Rémy Hubscher1-43/+69
Currently translated at 97.7% (218 of 223 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Merge remote-tracking branch 'weblate/master'Rémy HUBSCHER1-7/+6
2020-04-25Translated using Weblate (French)Rémy Hubscher1-9/+12
Currently translated at 83.3% (190 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Fix history translations. (#580)Rémy HUBSCHER13-427/+317
2020-04-25@zorun review.Rémy HUBSCHER5-0/+390
Revert "Fix obsolete translations." This reverts commit a2a3b1e2feeb41fbf48b77b4f5273fbf7ff8a2bc.
2020-04-25Fix weblate conflicts.Rémy HUBSCHER1-5/+5
2020-04-25Fix sqlite only migration. (#579)Rémy HUBSCHER2-30/+40
2020-04-25Translated using Weblate (French)Baptiste1-7/+7
Currently translated at 81.5% (186 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25Fix translations (#575)zorun15-702/+67
* Fix user-facing string and update translation catalog In the flash message confirming member creation, change "member had been added" into the correct form "member has been added". No translation has been changed. Some translators seem to have already spotted the mistake while translating, but I can't tell for all languages. * Change "Person" to "Participant" in history view Currently, the main user-facing term is "Participant", as seen for instance in the "Add participant" form. "Person" is not used anywhere in the interface. See #302 for a more general discussion on choosing the right terminology. * Fix obsolete translations. Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org> Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2020-04-25Add Indonesian and Norwegian to the list of supported languages (#572)zorun1-1/+1
According to https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ these translations are almost complete (69% and 58% currently, but that's because there have been lots of new strings to translate recently) Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-24Remove obsolete python code (<3.6). (#571)Rémy HUBSCHER6-63/+49
2020-04-23Translated using Weblate (French) (#566)Weblate (bot)1-27/+33
Currently translated at 80.7% (184 of 228 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/ Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-04-23Pin WTForms 2.2.1Rémy HUBSCHER3-0/+0
2020-04-23Update translations.Rémy HUBSCHER8-0/+0
2020-04-21update i18n (#562)Glandos12-210/+2887
2020-04-21Add isort support. (#561)Rémy HUBSCHER11-96/+77
2020-04-20Add Project History Page (#553)Andrew Dickinson17-10/+1781
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)eMerzh6-41/+68
2020-04-07updated web.py to make session permanent (#547)Charles Rose1-0/+2
* moved making session permanent to after authentication in web.py Co-authored-by: Charlie Rose <charlierose@Charlies-MacBook-Pro.local>
2020-04-05fix(Home): correct responsive width of cards (#549)eMerzh1-2/+9
2020-03-06Bmatticus/feature/112 dashboard sorting (#538)bmatt10-2/+228
* Added DataTables for table sorting, pagination, and searching of bill_table for dashboard. Issue #112 * Moved datatables CSS/JS to dashboard to reduce loaded data throughout * Moved link back to proper place, in head tab, but added if to prevent loading CSS/JS for datatables outside of the dashboard. Also added eye icon to drill into list_billa API to be more consistent with the look and feel of the overall site. Co-authored-by: bmatt <bmatt@nuc01.attlocal.net>
2020-02-20Align tables in statistics (#535)Glandos3-35/+66
* Align tables in statistics The table in sidebar is now aligned with the one in content, to avoid redundant informations. All tables are back to normal on small devices. * fix test * run black on tests
2020-02-20Paginate the list of bills (#480)zorun3-3/+40
We display 100 bills on each page. We only show previous/next buttons (at the top of the view) and the list of pages (at the bottom) if there are more than one pages. This uses built-in pagination support from Flask-SQLAlchemy: https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.BaseQuery.paginate https://flask-sqlalchemy.palletsprojects.com/en/2.x/api/#flask_sqlalchemy.Pagination
2020-02-20Added support for multiple API versions (#533)DavidRThrashJr5-26/+43
* Added support for multiple API versions Note that no changes were made to the api, the code was refactored to allow for new versions of the api to be created down the road. Here's what this would look like: +-- api/ +-- v1/ +-- __init__.py +-- resources.py +-- v1_1/ +-- __init__.py +-- resources.py +-- v2/ +-- __init__.py +-- resources.py +-- __init__.py +-- common.py * reformatted using black /Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/v1/resources.py reformatted /Users/drthrash/PycharmProjects/ihatemoney/ihatemoney/api/common.py All done! ✨ 🍰 ✨ * Applying fix for unused import in init.py https://stackoverflow.com/questions/31079047/python-pep8-class-in-init-imported-but-not-used * Formatting changes recommended by black All done! ✨ 🍰 ✨ 1 file reformatted, 22 files left unchanged.
2020-02-17Use SQL statement for summing up weightsDavidRThrashJr2-2/+75
* Update models: Bill.pay_each() * Import sql func * reformatted using black * Added ModelsTestCase.test_bill_pay_each() in order to test the SQL query change within pay_each. Had to add Project.ProjectQuery.get_by_name() for the test.
2020-02-13Update from Weblate (#510)Weblate (bot)4-66/+1117
* Added translation using Weblate (Indonesian) * Translated using Weblate (Indonesian) Currently translated at 100.0% (158 of 158 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/ * Added translation using Weblate (Ukrainian) * Translated using Weblate (Ukrainian) Currently translated at 11.4% (18 of 158 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/uk/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 20.9% (33 of 158 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/ * Translated using Weblate (German) Currently translated at 100.0% (155 of 155 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/ Co-authored-by: Muhammad Fauzi <fauzipadlaw@users.noreply.github.com> Co-authored-by: Muge Niu <mugeniu12138@gmail.com> Co-authored-by: flolilo <30194876+flolilo@users.noreply.github.com>
2020-02-09Initial montly expenses (#526)Edwin Smulders4-1/+38
2020-02-09Update forms.html (#531)DavidRThrashJr1-1/+6
Made the html formatting more readable
2020-02-08Statistics view #323James Leong2-16/+9
Remove header and table column of 'Balance' in statistics view
2020-01-13Import previously exported json data (#518)Nicolas Vanvyve8-7/+377
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-12-29Fixed typos in tests.py (#521)John-Michael Reed1-4/+4
2019-11-13Translated using Weblate (Norwegian Bokmål) (#509)Weblate (bot)1-5/+6
Currently translated at 84.8% (134 of 158 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2019-11-01prevent bill cancellation when cancelling autocomplete (#506)Tom Biju1-1/+1
2019-10-25Added translation using Weblate (Czech) (#505)Weblate (bot)1-0/+516
2019-10-25Token support (#504)José Antonio de la Torre2-0/+48
Added API support to generate authentication tokens, at `/api/projects/:id/token`
2019-10-20Change the color of the add a member button.Alexis M1-1/+1
2019-10-20Translated using Weblate (German)nautilusx1-12/+14
Currently translated at 100.0% (155 of 155 strings) Translation: I Hate Money/I Hate Money Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
2019-10-20Added missing strings and fixed some of themJosé Antonio de la Torre2-13/+13
2019-10-19Remove jQuery datepicker.Alexis M6-2816/+1
We don't need this anymore because all major browser now have implemented that feature on the browser itself. Closes #221.
2019-10-19Fix the "and add a new one" button.Alexis M1-1/+1