Commit Graph

2407 Commits

Author SHA1 Message Date
Benjamin Dauvergne 1822b1f3c7 lingo: use payment backend's slug in default callback URL (#49145) 2021-05-10 12:19:16 +02:00
Benjamin Dauvergne a8676ab897 lingo: add callback through payment backend's slug (#49145) 2021-05-10 12:19:16 +02:00
Benjamin Dauvergne 2bfb96ea95 lingo: show backend callback URL in update views (#49145) 2021-05-10 12:19:16 +02:00
Benjamin Dauvergne 829fc79e8e debian: add --all-backends option to lingo-poll-backend (#53861) 2021-05-07 18:06:07 +02:00
Benjamin Dauvergne 2e6b13399f lingo: prevent unexpected output in lingo-poll-backend (#53833)
This command is used with cron, so any output would produce unwanted
mails.
2021-05-06 20:15:13 +02:00
Benjamin Dauvergne 0853b3152a debian: fix typo in cron.d 2021-05-06 18:42:36 +02:00
Thomas NOËL f2a6aa4a49 translation update 2021-05-06 17:58:03 +02:00
Benjamin Dauvergne 760ccb41fd lingo: add poll_backend method to PaymentBackend and Transaction (#49149)
Some payment backends in eopayment (like PayFiP) allow polling the
status of currently running transaction, and can signal if a running
transaction has expired. The new can_poll_backend() and poll_backend()
method on Transaction implement this conditional behaviour in lingo.
2021-05-06 11:04:08 +02:00
Benjamin Dauvergne 5b5d046414 misc: add setting to force synchronous rendering of cells (#49149)
The setting is used through a new fixture, `synchronous_cells`. It's
necessary to test views with cells which always use ajax rendering
without an headless browser or using the request factory.
2021-05-06 10:34:04 +02:00
Benjamin Dauvergne 99a912e255 lingo: factorize eopayment response handling (#49149) 2021-05-06 00:31:15 +02:00
Benjamin Dauvergne 428033da0f pwa: use icon file basename during import (#53720)
Django 2.2.21 introduced the validation of FieldFile.save() name
argument, which cannot contain a path separator anymore. To use the
received FileField value as a base filename, we must apply
os.path.basename() on it first.

ref. https://docs.djangoproject.com/en/3.2/releases/2.2.21/
2021-05-04 16:01:46 +02:00
Benjamin Dauvergne d623ff4d8e jsoncell: copy Content-Disposition in raw cell's actions (#53666) 2021-05-04 11:34:50 +02:00
Thomas Jund b5463fb46a template: add .cell--body class to notification-cell (#53501) 2021-05-03 17:11:28 +02:00
Lauréline Guérin d9e1b61ecb
dataviz: fix sorting when data is empty (#53596)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-05-03 10:09:37 +02:00
Frédéric Péters db649f7d04 translation update 2021-04-30 18:00:47 +02:00
Lauréline Guérin 85d3f77a7f
misc: remove newsletter app (#53541)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-30 10:56:36 +02:00
Benjamin Dauvergne 2a151c45d5 tests: fix warning about uncollectable TestApp (#53577) 2021-04-29 23:12:45 +02:00
Benjamin Dauvergne b11518807c misc: fix warning about invalid escape sequences in regexps (#53577) 2021-04-29 23:12:45 +02:00
Benjamin Dauvergne 8855869cf8 misc: fix warning about unclosed resource in import-site (#53577) 2021-04-29 23:12:45 +02:00
Lauréline Guérin ea21ad5b00
map: don't fail on invalid geojson data (#53521)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-29 14:41:44 +02:00
Lauréline Guérin a71c673437
manager: page subslug style (#53221)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-29 09:56:10 +02:00
Lauréline Guérin 03f1ac9cd0
wcs: add card schema in manager form (#52498)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-29 08:56:16 +02:00
Thomas Jund e939770c0c templates: improve user lists of forms markup (#53234) 2021-04-28 10:33:06 +02:00
Valentin Deniaud 9ca7e0c17e dataviz: aggregate received data by time intervals (#53180) 2021-04-20 17:11:39 +02:00
Frédéric Péters 3bce1589f1 fix typo in translation (#53285) 2021-04-20 14:14:09 +02:00
Benjamin Dauvergne c1d958ffee translation update 2021-04-16 12:10:53 +02:00
Benjamin Dauvergne ccb2cb8500 lingo: check real payment status of remote_item when shown or paid (#53186)
Currently the remote_item.paid attribute comes from what the remote
regie is providing through a web service. But a remote_item can be
already paid if a transaction with a paid status (eopayment.PAID or
eopayment.ACCEPTED) already exist.

This patch add a RemoteItem.update_paid(regie, remote_items) which
update bunch of remote_item(s) by querying the correponding paid
transactions.

The methods Regie.get_invoices() and Regie.get_invoice() get a new
parameter update_paid=False, which is set to true in cells and views
which display or allow paying a remote item.
2021-04-15 21:24:01 +02:00
Frédéric Péters 39bc369443 tests: do not run dataviz job in cron tests 2021-04-13 14:43:05 +02:00
Thomas Jund 41f1e52ce0 profile-cell: move div content wrapper after cell title (#52968) 2021-04-13 14:28:18 +02:00
Frédéric Péters 98379eb839 dataviz: force graph redraw on initial display (#52959) 2021-04-13 14:27:06 +02:00
Frédéric Péters 3879710d48 settings: add wcs as statistics provider (#52731) 2021-04-13 14:27:06 +02:00
Valentin Deniaud 434ac12426 dataviz: add stacked bar percent chart type (#52845) 2021-04-13 13:49:38 +02:00
Frédéric Péters 15651beb91 translation update 2021-04-13 13:46:46 +02:00
Lauréline Guérin 6b2d3159a8
search: configure user search result template (#52439)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-12 15:26:21 +02:00
Lauréline Guérin 9ddf332711
search: add/edit search engines with options (#52439) 2021-04-12 15:25:47 +02:00
Frédéric Péters 54950b51b2 general: ensure jsonfields are using jsonb columns (fixup2, #52915) 2021-04-12 14:41:47 +02:00
Frédéric Péters b9ff8540d7 general: ensure jsonfields are using jsonb columns (fixup, #52915) 2021-04-12 14:11:01 +02:00
Frédéric Péters 21976d8f20 general: ensure jsonfields are using jsonb columns (#52915) 2021-04-12 14:03:43 +02:00
Lauréline Guérin 4021e5d3b0
misc: add isort reformat reference to git blame ignore list (#52797)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-08 16:53:53 +02:00
Lauréline Guérin 29bc8e66a9
misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
Lauréline Guérin 6c6d7bac40
misc: add isort (#52797) 2021-04-08 15:54:31 +02:00
Lauréline Guérin 1cfd7e90c4
search: don't index invalid cells (#52418)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-04-01 18:08:33 +02:00
Nicolas Roche d66fb50680 manager: correct asset file size display on export site popup (#45466) 2021-03-29 15:49:27 +02:00
Thomas Jund 3dd0b172d8 pwa-nav template: no newline at end of file (#51802)
to return an empty string if no item
2021-03-26 15:57:06 +01:00
Benjamin Dauvergne b9f1cbe2f5 spooler: add decorator to simplify use of spooler (#52221)
The new tenantspool decorator keep the function signature using pickle
serialization (through the pass_arguments=True parameter of @spool),
setup and teardown Django db connections and restore the current tenant.
2021-03-22 15:19:42 +01:00
Benjamin Dauvergne 631106097d setup.py: use feedparser>=6 with python 3.9 (#52263) 2021-03-20 12:20:36 +01:00
Thomas NOËL c6c87ccb4b uwsgi: recycling spooler after 20 tasks (#52261) 2021-03-19 23:49:39 +01:00
Lauréline Guérin 3b17fdace8
wcs: select categories for backoffice submission cell (#52055)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details
2021-03-19 09:17:22 +01:00
Frédéric Péters 49fc5fb3df translation update 2021-03-15 20:36:25 +01:00
Valentin Deniaud 7cf5e179fe dataviz: do not accept nested lists as valid data (#51680) 2021-03-15 09:59:00 +01:00