8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-09 19:36:27 +00:00
re2o/printer
Maxime Bombar 663ade9765 [Printer] Fix major bug. See below for more explanations :
Before, I used request.session to store some information about the current jobs to be printed.
This was because in the very beginning, I had an issue with disappearing files in my model.

I was able to fix this issue in a previous commit, but I still needed the jids.
However, because of this storage system, if someone tried to print a file, then oppened a second tab,
and tried to print anoter file, he/she would pay twice for the second file ....

I decided to add a hidden field to store the job id and deal with it, and it is readonly to avoid
changing it.
2018-12-06 17:57:57 +01:00
..
migrations [Printer] Fix major bug. See below for more explanations : 2018-12-06 17:57:57 +01:00
templates/printer Printer App a beginning. 2018-12-06 17:57:57 +01:00
__init__.py [Printer] Upload file to print and manages options 2018-12-06 17:57:37 +01:00
forms.py [Printer] Fix major bug. See below for more explanations : 2018-12-06 17:57:57 +01:00
models.py Move printing_path from models to utils 2018-12-06 17:57:57 +01:00
settings.py [Printer] Move Options Available from models to settings 2018-12-06 17:57:57 +01:00
urls.py [Printer] Create payment & invoice 2018-12-06 17:57:37 +01:00
utils.py Move printing_path from models to utils 2018-12-06 17:57:57 +01:00
validators.py [Printer] Upload file to print and manages options 2018-12-06 17:57:37 +01:00
views.py [Printer] Fix major bug. See below for more explanations : 2018-12-06 17:57:57 +01:00