Commit graph

314 commits

Author SHA1 Message Date
Jwen921
46ae3e0bc2 Added translation using Weblate (Japanese)
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: Jwen921 <yangjingwen0921@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
Translation: I Hate Money/I Hate Money
2020-10-31 18:26:35 +01:00
ssantos
0e24ce81c8 Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translation: I Hate Money/I Hate Money
2020-10-09 22:19:12 +02:00
Glandos
b89bd1e690 sqlalchemy database uri needs for '/' for local files
fix #672
2020-09-27 22:41:36 +02:00
Fakhruddin Ahmad Darwis
5103cc4d2a Translated using Weblate (Indonesian)
Currently translated at 68.8% (159 of 231 strings)

Co-authored-by: Fakhruddin Ahmad Darwis <fakhri.satu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/id/
Translation: I Hate Money/I Hate Money
2020-09-27 22:08:46 +02:00
ian Vatega
f6a90050b7 Added translation using Weblate (Esperanto)
Added translation using Weblate (Spanish)

Co-authored-by: ian Vatega <admin@sendenai.com>
2020-09-27 22:08:46 +02:00
ssantos
2377563cc5 Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/
Translation: I Hate Money/I Hate Money
2020-09-27 22:08:46 +02:00
Sander Kooijmans
a6e3229e81 Translated using Weblate (Dutch)
Currently translated at 75.3% (174 of 231 strings)

Co-authored-by: Sander Kooijmans <weblate@gogognome.nl>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nl/
Translation: I Hate Money/I Hate Money
2020-09-07 22:19:31 +02:00
Miguel Victoria Villaquiran
3f2ffae549 Translated using Weblate (Spanish (Latin America))
Currently translated at 98.2% (227 of 231 strings)

Co-authored-by: Miguel Victoria Villaquiran <miguelvicvil@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
Translation: I Hate Money/I Hate Money
2020-09-07 22:19:31 +02:00
Glandos
58e5eca270
update to black 20.8b1 (#676)
Some trailing commas were removed because of some black changes.
2020-08-27 22:09:04 +02:00
André Oliveira
d8d4e99631 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/
2020-08-27 21:29:33 +02:00
ssantos
f94aad4eac Translated using Weblate (Portuguese)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt/

Added translation using Weblate (Portuguese)
2020-08-27 21:29:33 +02:00
Alexey Napalkov
e413ebde02 Translated using Weblate (Russian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-08-27 21:29:33 +02:00
Oymate
4a8e61f559 Translated using Weblate (Bengali (Bangladesh))
Currently translated at 2.1% (5 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/bn_BD/

Added translation using Weblate (Bengali (Bangladesh))
2020-08-27 21:29:33 +02:00
Kobus van Schoor
7cb562dd0a
Update apache-vhost config generation (#673)
The current configuration generated uses the old syntax for Apache access control.
Use the new syntax for Apache 2.4 that is widely used now.
2020-08-23 21:10:22 +02:00
Baptiste Jonglez
eb441a1de9 Fix test location
The test for CVE-2020-15120 was mistakenly added to the HistoryTestCase
class, where it does not belong.
2020-07-26 19:32:50 +02:00
Baptiste Jonglez
b8f7ce34dd Add test case for CVE-2020-15120 2020-07-26 19:21:16 +02:00
Baptiste Jonglez
7fd1828888 Fix crash when trying to get a member from the wrong project
This was hidden by the CVE-2020-15120 issue: now that we no longer return
members from the wrong project, we need to handle the case where there is
nothing to return.
2020-07-26 19:21:16 +02:00
Baptiste Jonglez
8d77cf5d56 Fix unauthorized access and modification of project data (CVE-2020-15120)
An authenticated member of one project can modify and delete members of
another project, without knowledge of this other project's private
code. This can be further exploited to access all bills of another project
without knowledge of this other project's private code.

With the default configuration, anybody is allowed to create a new
project. An attacker can create a new project and then use it to become
authenticated and exploit this flaw. As such, the exposure is similar to
an unauthenticated attack, because it is trivial to become authenticated.

This issue was caused by a wrong database queries in PersonQuery.

For more details, see https://github.com/spiral-project/ihatemoney/security/advisories/GHSA-67j9-c52g-w2q9
2020-07-26 19:21:16 +02:00
Glandos
040d76af83
Relax pin point dependencies (#660)
* 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-07-26 18:21:55 +02:00
zorun
21c193710c
Improve French translation of email templates (#593)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-07-26 13:16:13 +02:00
Baptiste Jonglez
29dd0c3d99 Add 'pt_BR' and 'ta' to default languages, update changelog 2020-07-18 01:05:22 +02:00
Abo7atm
909ac7e9d6
Change mobile link icon to point to Play Store (#597) (#598)
* Change mobile link icon to point to Play Store (#597)

* Link mobile app button to correct page (#597)
2020-07-18 00:54:52 +02:00
kanta
65988d4993 Changed @media max-width for .home .card to 450px to make it more responsive 2020-07-18 00:50:11 +02:00
raghupalash
351185b854 added 'hi' in SUPPORTED_LANGUAGES list in default_settings.py 2020-07-18 00:43:13 +02:00
rohitn01
d73dea6750 Translated using Weblate (Tamil)
Currently translated at 28.1% (65 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ta/

Added translation using Weblate (Tamil)
2020-07-18 00:37:13 +02:00
Stefano Mortellaro
1773a5facf Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
2020-07-18 00:37:13 +02:00
Isabella Rocha de Oliveira
5f700a13f8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.3% (218 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 45.4% (105 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pt_BR/
2020-07-18 00:37:13 +02:00
Rémy Hubscher
da1d9c159e Added translation using Weblate (Portuguese (Brazil)) 2020-07-18 00:37:13 +02:00
Milo Ivir
c57770b2a4 Translated using Weblate (German)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/
2020-07-18 00:37:13 +02:00
Allan Nordhøy
baddc65fb1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.4% (165 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-07-18 00:37:13 +02:00
Muge Niu
a30f55031a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
2020-06-15 23:22:12 +02:00
raghupalash
6eca1d2a4a Translated using Weblate (Hindi)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hi/

Translated using Weblate (Hindi)

Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/hi/

Added translation using Weblate (Hindi)
2020-06-15 23:22:12 +02:00
Allan Nordhøy
35c65d0926 Translated using Weblate (Norwegian Bokmål)
Currently translated at 71.4% (165 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-06-07 21:14:44 +02:00
Szylu
222534ee0e Translated using Weblate (Polish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
2020-06-07 21:14:44 +02:00
Oğuz Ersen
aef5570488 Translated using Weblate (Turkish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2020-06-02 23:12:42 +02:00
Allan Nordhøy
d68e524695 Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.8% (159 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-06-02 23:12:42 +02:00
Glandos
305dc6caf3 Translated using Weblate (French)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/

Translated using Weblate (French)

Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-06-02 23:12:42 +02:00
Glandos
b108838253
update translations (#641) 2020-05-30 21:57:45 +02:00
zorun
04b5a59795
Fix missing format string in norwegian translation (#639)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-05-30 17:53:18 +02:00
Glandos
4c8b90b8cc
Rename see to show (#638) 2020-05-30 14:36:50 +02:00
Natalie Jann
08e176a27c Translated using Weblate (German)
Currently translated at 99.1% (229 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/de/

Translated using Weblate (Spanish (Latin America))

Currently translated at 97.8% (226 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/es_419/
2020-05-30 13:53:10 +02:00
Stefano Mortellaro
8e80148688 Translated using Weblate (Italian)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/it/
2020-05-30 13:53:10 +02:00
Oğuz Ersen
096c16deee Translated using Weblate (Turkish)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/

Translated using Weblate (Turkish)

Currently translated at 41.5% (96 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/tr/
2020-05-30 13:53:10 +02:00
Allan Nordhøy
9ec652a0d1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.3% (158 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/nb_NO/
2020-05-30 13:53:10 +02:00
Glandos
24bf340e83 Translated using Weblate (French)
Currently translated at 100.0% (231 of 231 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-05-30 13:53:10 +02:00
Rajat Singh
8d041fdba3
fixed bug on tool-tip message (#635)
Fix #634
2020-05-25 09:34:44 +02:00
Daniel Atwood
0fd2958865
Populate the demo project with defaults. (#616) 2020-05-24 11:45:34 +02:00
Adrien CLERC
82393a110a Move Chinese simplified into the right folder 2020-05-24 11:17:36 +02:00
Adrien CLERC
804d7d758e Build translations 2020-05-24 11:04:35 +02:00
Weblate (bot)
d41c93c3fb
Translations update from Weblate (#624)
Italian 100%
Ukrainian 28%
2020-05-24 10:28:36 +02:00
Rajat Singh
638fc5277c
Fix: Change tool-tip message for access code (#623)
Fix #610
2020-05-24 10:08:11 +02:00
Glandos
23ed467d37
Replace currencyformat_nc with currency filter (#625) 2020-05-21 21:31:24 +02:00
zorun
df6ffc7d86
Improve error handling when sending emails (#595)
In one case, we were not catching a family of possible exceptions
(socket.error), and in the two other cases there was no error handling at
all. Sending emails can easily fail if no email server is configured, so
it is really necessary to handle these errors instead of crashing with a
HTTP 500 error.

Refactor email sending code and add proper error handling.

Show alert messages that tell the user if an email was sent or if there
was an error.

When sending a password reminder email or inviting people by email, we
don't proceed to the next step in case of error, because sending emails is
the whole point of these actions.
2020-05-21 21:13:33 +02:00
Glandos
e10ea6c776
Add a unified balance table for all sidebar pages (#618) 2020-05-21 20:47:56 +02:00
Weblate (bot)
3f46beade3
Translations update from Weblate (#622)
Translated using Weblate (Italian) Currently translated at 36.4% (83 of 228 strings)
Translated using Weblate (French) Currently translated at 100.0% (228 of 228 strings)
2020-05-18 15:08:33 +02:00
Szylu
b449017214 Translated using Weblate (Polish)
Currently translated at 100.0% (228 of 228 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/pl/
2020-05-13 22:50:49 +02:00
Muge Niu
c09c39148b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (228 of 228 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/zh_Hans/
2020-05-13 22:50:49 +02:00
Glandos
ca7c3d5452
use currency format everywhere (#619)
This should unify the number formats, along with #618
2020-05-10 23:05:48 +02:00
Glandos
b9672d9e15
Update i18n (#617) 2020-05-09 21:50:24 +02:00
Weblate (bot)
570a19c4d2
Translations update from Weblate (#615)
Fix #614
2020-05-09 12:43:23 +02:00
Glandos
a3086956c8
update l10n data (#613)
Add all new localization data from Weblate into main menu:
- Chinese
- Russian
- Polish
- Turkish (incomplete)
- Ukrainian (incomplete)
2020-05-08 22:49:42 +02:00
Weblate (bot)
a2cf9bf2cf
Translations update from Weblate (#612)
Complete Polish
Update Chinese (simplified)
2020-05-08 22:06:48 +02:00
Glandos
981edd413a
Improve currencies (#604)
- 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-05-07 22:56:17 +02:00
Glandos
76911983af
compress jpeg with mozjpeg and png with zopfli (#611) 2020-05-07 22:54:55 +02:00
Jojo144
bd1122cc0e
Integrate illustrations as a showcase (#544)
Integrate some custom graphics, and a whole comics explanation, only in French for now.
Fix #363
2020-05-07 22:34:31 +02:00
zorun
795efd6b58
Fix order of participants in the statistics page (#608)
This fixes #607 and add a test case for this bug.

It also renames participants in test cases to avoid alphabetical ordering.

Inserting participants in alphabetical order is a special case, because ordering by ID will be the same as ordering by name. This is a bad idea in test cases, as #607 has shown.
2020-05-04 23:06:35 +02:00
Weblate (bot)
15ab04e636
Translations update from Weblate (#606)
Fix #605
2020-05-03 17:28:27 +02:00
dark0dave
f389c56259
Feature/currencies (#541)
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-29 22:57:08 +02:00
Weblate (bot)
162193c787
Translations update from Weblate (#591)
RU : 100%
2020-04-29 12:08:24 +02:00
zorun
c509896b8c
Add support for different categories of "flash alerts" (#594) 2020-04-26 23:17:48 +02:00
zorun
08bb95422b
Fix crash when a localized email template is missing (#592) 2020-04-26 23:12:33 +02:00
zorun
342292ca9f
Fix language code parsing (#589) 2020-04-26 22:48:30 +02:00
zorun
d9dc38947c
Fix string representation of bills (#584)
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-26 14:22:54 +02:00
Andrew Dickinson
2c32c6190c
Direct Alembic to ignore the sqlite_sequence table (#586)
* 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-26 14:20:24 +02:00
zorun
27cac869d3
Fix missing HTML tag (#583) 2020-04-25 14:03:40 +02:00
Weblate (bot)
ab3240ed34
Translated using Weblate (French) (#582)
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-25 13:15:02 +02:00
Rémy HUBSCHER
741e4023b4
Fix last history string. 2020-04-25 13:04:47 +02:00
Rémy Hubscher
1167a64b50
Translated using Weblate (French)
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-25 13:01:38 +02:00
Rémy HUBSCHER
2854258830
Merge remote-tracking branch 'weblate/master' 2020-04-25 12:47:01 +02:00
Rémy Hubscher
84c8949a81
Translated using Weblate (French)
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-25 12:44:10 +02:00
Rémy HUBSCHER
db47683e4e
Fix history translations. (#580) 2020-04-25 12:44:06 +02:00
Rémy HUBSCHER
64fbda885c
@zorun review.
Revert "Fix obsolete translations."

This reverts commit a2a3b1e2fe.
2020-04-25 12:18:10 +02:00
Rémy HUBSCHER
a8e62734a3
Fix weblate conflicts. 2020-04-25 12:15:00 +02:00
Rémy HUBSCHER
6129191b26
Fix sqlite only migration. (#579) 2020-04-25 11:55:46 +02:00
Baptiste
f5d861199d
Translated using Weblate (French)
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-25 11:55:25 +02:00
zorun
d6d084f26a
Fix translations (#575)
* 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-25 11:55:20 +02:00
zorun
d0fa723877
Add Indonesian and Norwegian to the list of supported languages (#572)
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-25 11:48:32 +02:00
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
Weblate (bot)
abf1eea842
Translated using Weblate (French) (#566)
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-23 11:12:16 +02:00
Rémy HUBSCHER
53dae96bdb
Pin WTForms 2.2.1 2020-04-23 10:22:50 +02:00
Rémy HUBSCHER
3592a8e2f7
Update translations. 2020-04-23 10:10:37 +02:00
Glandos
11aef3f3d1
update i18n (#562) 2020-04-21 14:41:27 +02:00
Rémy HUBSCHER
299c64a48c
Add isort support. (#561) 2020-04-21 13:59:41 +02:00
Andrew Dickinson
026a072235
Add Project History Page (#553)
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-20 15:30:27 +02:00
eMerzh
03251c090e
merge settings and import to avoid clutter (#550) 2020-04-08 14:00:24 +02:00
Charles Rose
4b79efe18a
updated web.py to make session permanent (#547)
* moved making session permanent to after authentication in web.py

Co-authored-by: Charlie Rose <charlierose@Charlies-MacBook-Pro.local>
2020-04-07 17:09:33 +02:00
eMerzh
23b7e397f2
fix(Home): correct responsive width of cards (#549) 2020-04-05 23:39:50 +02:00
bmatt
a8e74c98df
Bmatticus/feature/112 dashboard sorting (#538)
* 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-03-06 23:06:17 +01:00
Glandos
5ec3dc0acc
Align tables in statistics (#535)
* 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-20 09:43:50 +01:00
zorun
9378694034
Paginate the list of bills (#480)
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-20 09:43:00 +01:00