Maxime Bombar
94f8e21a81
[Printer] Update docstrings in models
2018-12-06 17:57:57 +01:00
Gabriel Detraz
2c849c7064
Fix chargement du réglage printer
2018-12-06 17:57:57 +01:00
detraz
c6adb87e4b
Pagination, fix intelligence dans les models plutot que views
2018-12-06 17:57:57 +01:00
Maxime Bombar
cef89570f1
[Printer] Can create digicode, and display list of available digicodes. Maybe create a specific app
2018-12-06 17:57:57 +01:00
detraz
bb52a108d1
[Printer] Print again function
2018-12-06 17:57:57 +01:00
detraz
63c9a23ced
[Printer] Dashboard des taches en cours
2018-12-06 17:57:57 +01:00
Gabriel Detraz
7c3788f019
["Printer] fix print_as keyerror
2018-12-06 17:57:57 +01:00
detraz
4b530750f4
[Printer] Abstract print instance + acl mixin for printer app
2018-12-06 17:57:57 +01:00
Maxime Bombar
4b315c3ecf
[Printer] Digicode are stored in bdd
2018-12-06 17:57:57 +01:00
Maxime Bombar
6b3fa3b15a
[Printer] Move user_printing_path from utils to models (avoid circular import)
2018-12-06 17:57:57 +01:00
Maxime Bombar
56ca2c47a4
Move printing_path from models to utils
2018-12-06 17:57:57 +01:00
Maxime Bombar
4aa7b09db9
Printer App a beginning.
2018-12-06 17:57:57 +01:00
Maxime Bombar
d7233a0845
[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
Maxime Bombar
6e7c3bfc55
[Printer] Move Options Available from models to settings
2018-12-06 17:57:57 +01:00
Maxime Bombar
d3d64c62fb
Change default storage for uploaded files
2018-12-06 17:57:37 +01:00
Maxime Bombar
cc447ba622
[Printer/models] Dummy ACL
2018-12-06 17:57:37 +01:00
Maxime Bombar
71831c1483
[Printer] Add new Job status
2018-12-06 17:57:37 +01:00
Maxime Bombar
5c4c56244c
Move printing_path from models to utils
2018-12-06 17:57:37 +01:00
Maxime Bombar
39cddb2cb5
Compute job price
2018-12-06 17:57:37 +01:00
Maxime Bombar
ba6cc23fed
Price is a decimal field
2018-12-06 17:57:37 +01:00
Maxime Bombar
d44db64da1
[Printer] Upload file to print and manages options
2018-12-06 17:57:37 +01:00
Maxime Bombar
a5579ed2b2
Printer App a beginning.
2018-12-06 17:57:37 +01:00