aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-28Added translation using Weblate (Russian)Vsevolod1-0/+729
2020-04-27Bump sphinx from 3.0.2 to 3.0.3 (#596)dependabot-preview[bot]1-1/+1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.0.2...v3.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
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-26Add .idea/ folder to gitignore (#585)Andrew Dickinson1-0/+1
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 HUBSCHER4-33/+43
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 weblate translation status to the README (#574)zorun1-0/+10
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25Reorganize "Contributing" documentation to be more accessible to new ↵zorun1-66/+99
contributors (#573) * Reorganize "Contributing" documentation to be more accessible to new contributors The following changes were done: - move "How to contribute" first, and "Set up a dev environment" as the second section. This way, a new contributor has access to the most general information first, instead of the very specific "dev environment" documentation. - reduce "How to contribute" / "As a developer" by moving the part about tests to a new "Contributing as a developer" section (see below). This way, all types of contributions get roughly the same amount of text in the first "How to contribute" section. - add a new "Contributing as a developer" section, which lists items that are useful when preparing a code contribution (running tests, formatting code, create database migration). These items were moved either from "How to contribute" or from "Set up a dev environment". * Add brief documentation about updating and adding tests Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
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-24Update install docs.Rémy HUBSCHER1-1/+1
2020-04-24Improve documentation regarding database migrations (#569)zorun1-5/+20
2020-04-24Remove obsolete python code (<3.6). (#571)Rémy HUBSCHER11-72/+51
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 HUBSCHER4-0/+1
2020-04-23Update translations.Rémy HUBSCHER8-0/+0
2020-04-22Add a word about isort in the contributing docs. (#564)Rémy HUBSCHER1-5/+6
2020-04-21update i18n (#562)Glandos12-210/+2887
2020-04-21Update CONTRIBUTORSGlandos1-0/+8
2020-04-21Add isort support. (#561)Rémy HUBSCHER16-100/+106
2020-04-21Fix makefileRémy HUBSCHER1-3/+3
2020-04-21Update docs requirements sphinx and docutils.Rémy HUBSCHER1-2/+2
2020-04-21Update known working set. (#558)Rémy HUBSCHER9-81/+37
* Update known working set. * Pin dependencies in setup.cfg. * Cleanup Makefile. * Try the python_version trick.
2020-04-20Add Project History Page (#553)Andrew Dickinson19-10/+1783
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-12Fix spelling (#552)Glandos1-1/+1
2020-04-12Spelling in documentation fixed, Weblate link (#551)Allan Nordhøy1-12/+12
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-23Misc small updates (#536)am974-6/+8
2020-02-20We have maintainers :-)Alexis Metaireau1-4/+0
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>