Commit Graph

37 Commits

Author SHA1 Message Date
Benjamin Dauvergne 0ded4ae599 lingo: report errors on invoices retrieval (#43967) 2020-06-19 17:39:07 +02:00
Nicolas Roche 7494896e9f utils: switch to pycryptodomex, replace Crypto with Cryptodome (#43563) 2020-06-17 11:39:47 +02:00
Frédéric Péters 16cd985be2 trivial: import reverse from django.urls (#41285) 2020-04-02 20:42:23 +02:00
Lauréline Guérin f17b9cb3f5
lingo: hide items cell if empty (#41190) 2020-03-31 17:53:14 +02:00
Lauréline Guérin 72fe08ea5e
lingo: display amount_paid in invoice listing (#40364) 2020-03-03 10:25:03 +01:00
Lauréline Guérin 89ebef5aba
lingo: do not display pay limit date column if not provided (#40170) 2020-02-28 09:59:08 +01:00
Lauréline Guérin 7e81814aa5
lingo: display amount_paid if provided (#40170) 2020-02-28 09:59:08 +01:00
Emmanuel Cazenave 3177f5067d lingo: move transaction identifier to URL path (#39074) 2020-01-20 17:59:01 +01:00
Emmanuel Cazenave 36588dd357 lingo: support anonymous and no basket payment (#36876) 2020-01-16 11:44:23 +01:00
Lauréline Guérin ccf99d908f
dj2: is_anonymous and is_authenticated are now properties (#36895)
remove RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is deprecated.
Remove the parentheses to use it as an attribute.
2019-10-29 08:35:46 +01:00
Benjamin Dauvergne 546336acc7 requests_wrapper: sign URL of prepared requests (#35225) 2019-08-06 11:34:48 +02:00
Emmanuel Cazenave 1deb29c3bf lingo: make payment related views compliant with PaymentBackend (#32441) 2019-05-15 17:53:26 +02:00
Frédéric Péters b5a8e0cda4 misc: monkeypatch user model with a method to get name id (#30723) 2019-03-04 13:42:56 +01:00
Frédéric Péters ac33f94f81 general: move cron jobs in app configs (#28000) 2018-11-14 18:54:03 +01:00
Frédéric Péters 61452c1f7d tests: use force_text() instead of unicode() 2018-07-25 21:19:02 +02:00
Frédéric Péters 1b7400a0b4 tests: update tests on the road to python 3
(this includes a switch of lingo tests from django test client to
webtest)
2018-07-25 16:45:36 +02:00
Frédéric Péters 9ba3f603ed lingo: add back date parser import as it's still in use (#24079) 2018-05-25 12:08:55 +02:00
Frédéric Péters 311aaa13cb tests: do not depend on message strings (#23138) 2018-05-22 21:17:32 +02:00
Serghei Mihai be003c355c lingo: activate localization in new invoices notifications command (#23024) 2018-05-18 15:14:53 +02:00
Serghei Mihai 21c21969f2 lingo: update new invoices email's context with template vars (#23138) 2018-05-18 15:14:53 +02:00
Serghei Mihai b493ae7406 lingo: use wrapper for remote invoices notifications (#22756)
Fix creation and payment limit dates parsing.
2018-05-18 15:14:53 +02:00
Serghei Mihai d560d5ff81 lingo: search user by SAML name_id on remote invoices notifying (#22755) 2018-04-19 18:14:39 +02:00
Serghei Mihai dbd744e3d2 lingo: add active invoices page url in invoice payment form (#22607) 2018-04-05 10:55:30 +02:00
Serghei Mihai 1933eb6a9f lingo: send emails when notifying new invoices (#13122) 2018-03-21 11:03:34 +01:00
Frédéric Péters 6eba54171f tests: update remote item payment test as return now process them (#19709) 2018-02-20 09:39:58 +01:00
Frédéric Péters 71db20a5e4 misc: split utils in specific modules (#21165) 2018-01-16 09:09:44 +01:00
Frédéric Péters 0558d9b091 general: update context usage for Django 1.11 (#20935) 2018-01-02 17:45:55 +01:00
Thomas NOËL 5cf7d09d3f lingo: do not cache requests.get results (#17828) 2017-07-28 10:02:15 +02:00
Benjamin Dauvergne 0665cb8bbd lingo: notify remote_item of payments asynchronously (#14627)
In case the remote_item cannot be notified synchronously of a payment, we keep
around a list of items to notify in the Transaction.to_be_paid_remote_items
field. They will be notified by the update_transactions command launched by
cron.
2017-06-18 11:00:46 +02:00
Frédéric Péters ffeb370d0f tests: adapt to django-webtest 1.9.1 change of its get() signature 2017-03-11 16:17:16 +01:00
Frédéric Péters e086e49092 tests: add check for past invoices cell 2016-12-17 21:12:30 +01:00
Frédéric Péters 14f620a8c3 lingo: include a nice label but no ugly URL for paid invoices (#14323) 2016-12-15 16:22:44 +01:00
Jean-Baptiste Jaillet 578c763a83 lingo: attached BasketItem to transaction (#14023) 2016-12-08 16:46:53 +01:00
Frédéric Péters d107771bba lingo: add cell to self declare and pay invoices (#13492) 2016-10-21 17:19:12 +02:00
Thomas NOËL 005d003292 lingo: get name id from user object instead of session (#13124) 2016-10-21 15:03:30 +02:00
Jean-Baptiste Jaillet 9779837cb4 lingo: allow invoices anonymous payment (#12637) 2016-10-17 18:01:59 +02:00
Thomas NOËL eb495f90de tests: add test for a remote regie (#13255) 2016-09-21 14:57:23 +02:00