Commit graph

311 commits

Author SHA1 Message Date
manu5801
f070b8a736
Docker version: Building from Debian bullseye, not so old as buster (#174)
Co-authored-by: Emmanuel Courcelle & Projet Internet et Citoyenneté <picadmin@le-pic.org>
2023-10-20 13:49:03 +02:00
manu5801
3df9dd6115
email.py: added message id and local_hostname to get better formed messages, far from spams (#172)
Co-authored-by: Emmanuel Courcelle & Projet Internet et Citoyenneté <picadmin@le-pic.org>
2023-10-18 19:38:38 +02:00
Aurélien Schiltz
0485ff4305
Sort former deliveries by reverse delivery date (#167)
* Sort former deliveries by reverse delivery date

* Refactor both incoming and former deliveries to avoid lambda hell
2023-09-08 16:08:53 +02:00
Aurélien Schiltz
8ece5dfc10
Add practical_info field to producers, refactor producer form (#169) 2023-09-08 13:18:59 +02:00
Aurélien Schiltz
a79a35c941
Fix broken former delivery page when groups have been deleted (#168) 2023-09-08 13:10:37 +02:00
4e480b4d9a
Update dependabot.yml 2023-09-08 13:01:43 +02:00
ff262418c3 Update the demo mode 2023-01-31 01:08:37 +01:00
5e1e88545f Add instructions on how to install on AlwaysData.net 2022-12-06 18:56:41 +01:00
encrypt
b25c8fae4b
Fixes on dependencies (#138)
* Add libjpeg as dependency to dockerfile, is needed by WeasyPrint > Pillow

* Pin MarkupSafe to 2.0.1 to fix pallets/jinja#1585
2022-11-24 15:53:20 +01:00
ced93b0f69
Fix problems introduced by duplicates (#137)
* Throw an exception when duplicates are found

* When dupes are found, append a "-dedupe" to them.

* Change the way product refs are being generated.

Add a salt of randomness to avoid conflicts.
2022-11-10 15:21:04 +01:00
2b0459e94a
Specify the version in copanier/__init__.py. (#129)
And use it when loading the css files in order to not have the css files
cached by the browsers after an update.

Fix #124
2022-10-25 23:56:26 +02:00
Gwenael-F
c5fcdad2d1
Ajout code pour la fonctionnalité ‘Plus d'infos’ (#122) 2022-09-28 17:01:58 +02:00
Gwenael-F
801ab42a08
Fonctionnalité ‘Plus d'infos’ (#120) 2022-09-28 17:00:44 +02:00
manu5801
78c501da98
SMTP_LOGIN can be set to "", meaning that the smtp server does not want authentication (#103)
Co-authored-by: Emmanuel <emmanuel.courcelle@zaclys.net>
2022-02-21 18:28:51 +01:00
79d4e22601 Remove extraneous code 2022-02-18 18:55:37 +01:00
c9481c4df4 Change cookie policy to Lax in order to accept links from third party 2022-02-18 18:53:38 +01:00
aabe6e3a06 Try fixing the auth 2022-02-18 17:40:06 +01:00
d1b92cc639 Styling 2021-10-10 21:46:18 +02:00
399b942ed1 Add phone number on order summaries 2021-07-12 21:18:32 +02:00
2243be1a03 Fix modal display 2021-07-12 21:08:10 +02:00
9bccd8be25 Enhance style 2021-07-11 01:30:23 +02:00
2a1483ece5 Depend on latest roll release 2021-07-10 22:30:32 +02:00
dependabot-preview[bot]
5dbd8c2aeb
Upgrade to GitHub-native Dependabot (#67)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-22 21:34:09 +02:00
TheCapsLock
f89985ad92
Changed db mount path (#68)
Fixes #65

Co-authored-by: CapsLock <github@legeox.net>
2021-05-02 19:10:26 +02:00
4561302480 Add a favicon. Fixes #58 2021-04-11 15:54:55 +02:00
377306c6c5
Add a link to the repository in the footer. (#62)
Fixes #61.
2021-04-11 15:49:02 +02:00
a22c935f35
Control phone number format. (#63)
Fixes #60.
2021-04-11 15:48:40 +02:00
5ae359bb88 Add a GPLv3 license.
Fix #53
2021-04-10 12:00:28 +02:00
a1d5a4f577 Merge branch 'handover-delivery' 2021-04-10 11:58:04 +02:00
d175e8d6e3 Add missing files for delivery transmission 2021-04-10 11:48:45 +02:00
a06a1590bc
Facilitate the transmission of information at the end of a delivery. (#56)
This is made in order to have moving reponsabilities, and avoid having people taking too much responsability.
2021-04-10 11:45:21 +02:00
d87efdbe7c Facilitate the transmission of information at the end of a delivery.
This is made in order to have moving reponsabilities, and avoid having people taking too much responsability.
2021-04-10 11:43:06 +02:00
TheCapsLock
1784884a80
Docker: plusieurs améliorations (voir détails ci-dessous) (#57)
* docker: using gunicorn
* cleanup
* Docker: many improvements, added docker-compose for development purpose
* display "sesame" on docker logs
* auto restart app container in case of crash
* dev mode: allow user to work on source code and synchronize changes with source code in "app" service
* dev mode: auto reload gunicorn workers on source code change
dev mode and data persistance
* Suppression log inutile

Co-authored-by: CapsLock <github@legeox.net>
2021-04-08 22:35:01 +02:00
TheCapsLock
ff6bdb0f10
Docker: using Gunicorn (#55)
* docker: using gunicorn
* cleanup

Co-authored-by: CapsLock <github@legeox.net>
2021-04-07 22:26:25 +02:00
f5772d349a
Merge pull request #52 from TheCapsLock/master
Added Dockerfile
2021-04-07 22:08:52 +02:00
b26f07ab5a Display shipping prices in the order summary 2021-04-07 22:07:03 +02:00
0ba6dfcc45 Add missing file 2021-04-07 21:19:13 +02:00
fb00e75a1a
Merge pull request #54 from spiral-project/clearer-progress
Make progress easier to follow
2021-04-07 20:19:00 +02:00
ed0bd05114 Make progress easier to follow 2021-04-07 20:15:28 +02:00
CapsLock
045deec68d Added missing quotes in README.md 2021-04-07 20:14:15 +02:00
1c1e0bc7a5 Update flash.min.js to not depend on font-awesome.
Fixes #10
2021-04-07 18:51:48 +02:00
CapsLock
c8605fbd36 Added Dockerfile 2021-04-07 16:07:33 +02:00
42ef27dd5d
Merge pull request #51 from vinyll/master
access to groups management can be restricted to admin through config
2021-03-26 09:02:35 +01:00
Vincent Agnano
1c610e494f access to groups management can be restricted to admin through config 2021-03-25 19:11:26 +01:00
525d2f0924 Remove completely the idea of 'staff only' things 2021-02-21 14:50:37 +01:00
fe16d4a2e0 Access to the payment info shouldn't be staff only 2021-02-21 14:45:43 +01:00
cc9f75de23 Do not fail on unbalanced balance.
The "debts" solver is intelligent enough to do the rounding itself
so let's use it :-)
2021-02-19 20:00:09 +01:00
d19bab7260 Enhance the installation instructions 2020-12-05 13:46:14 +01:00
458968a133 Fix calls to app.url_for 2020-11-26 22:38:48 +01:00
d56fe1f9fd Add demonstration files 2020-11-26 22:30:43 +01:00