Maxime Bombar
f1c9d8d066
[Printer] Fix _compute_price
2018-12-06 17:57:57 +01:00
Maxime Bombar
8620581e5c
[Printer] remove useless import
2018-12-06 17:57:57 +01:00
Maxime Bombar
51df34b7ce
[Printer] Translate status in index_jobs
2018-12-06 17:57:57 +01:00
Maxime Bombar
94f8e21a81
[Printer] Update docstrings in models
2018-12-06 17:57:57 +01:00
Gabriel Detraz
3fe8dfe201
Colonnes dynamique pour classer les objets
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
68eb0d813d
[Printer] fix PrintAgain
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
Maxime Bombar
490b26006b
[Printer] add admin.py
2018-12-06 17:57:57 +01:00
Maxime Bombar
c347feb3a6
[Printer] Translate out of order message
2018-12-06 17:57:57 +01:00
Maxime Bombar
aa6590e5b1
[Printer] Allow to disable printer in 'Preferences'
2018-12-06 17:57:57 +01:00
Gabriel Detraz
278d752b65
[Printer] Re2o_paginator va dans base.py
2018-12-06 17:57:57 +01:00
Maxime Bombar
14868f4264
[Printer] Handles pdf with fancy encoding in metadata
2018-12-06 17:57:57 +01:00
Maxime Bombar
f15da4a658
[Printer] Typo in email_printer template
2018-12-06 17:57:57 +01:00
Maxime Bombar
832db0c7a9
[Printer] user.can_view(printer) = user.is_active
2018-12-06 17:57:57 +01:00
Maxime Bombar
6fd8111a3b
[Printer] Don't display 'Printer' button if not logged in
2018-12-06 17:57:57 +01:00
detraz
7184aa7016
[Printer] Pagination sur le template
2018-12-06 17:57:57 +01:00
detraz
aa2b79bd87
[Printer] Fix prinas None crash
2018-12-06 17:57:57 +01:00
Gabriel Detraz
10f24f4591
Cree l'objet pref printer si il n'existe pas
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
91becb9bdb
[Printer] Migration squashée
2018-12-06 17:57:57 +01:00
Maxime Bombar
58d63ffa6d
[Printer] Translation
2018-12-06 17:57:57 +01:00
Maxime Bombar
b55781364a
[Printer] Delete unused templates
2018-12-06 17:57:57 +01:00
Maxime Bombar
094be7e59e
[Printer] refactor templates
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
detraz
bab1ca8f66
[Printer] Refactor form et url
2018-12-06 17:57:57 +01:00
detraz
0a1ee79414
[Printer] Refactor views avec model_form_set
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
5d85fd1b74
[Printer] Handles submission of empty files
2018-12-06 17:57:57 +01:00
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
Maxime Bombar
56ca2c47a4
Move printing_path from models to utils
2018-12-06 17:57:57 +01:00
Maxime Bombar
9912e0cfe7
[Printer] Minor Fixes
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
6773575dc5
[Printer] Consistency : Invoices are in French
2018-12-06 17:57:57 +01:00
Maxime Bombar
b1a8f697f5
[Printer] Cancel jobs that couldn't be paid
2018-12-06 17:57:57 +01:00
Maxime Bombar
505c5e13e4
[Printer] Fix bug in updating job object
2018-12-06 17:57:57 +01:00
Maxime Bombar
5213ade25c
[Printer] Send information on how to pick up printings.
...
Sorry, for now it is strongly based on Cr@ns infrastructure, but it won't last, don't worry.
2018-12-06 17:57:57 +01:00
Maxime Bombar
4924f357e1
[Printer] Refactor frontend of printer interface (2nd step)
2018-12-06 17:57:57 +01:00
Maxime Bombar
24a7895566
[Printer] remove garbage comments
2018-12-06 17:57:57 +01:00
Maxime Bombar
d945dd013d
[Printer] Handles submission of empty files
2018-12-06 17:57:57 +01:00
Maxime Bombar
8656f6dcf3
[Printer] Refactor frontend of printer interface (1st step)
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
511eb2d7a1
[Printer] Resize 'Add file' button
2018-12-06 17:57:57 +01:00
Maxime Bombar
a3cc9857e2
[Printer] Remove unused sr-only to display field labels in template
2018-12-06 17:57:57 +01:00
Maxime Bombar
641073e0a6
[Printer] Prevent printer interface from crashing when adding a new file
2018-12-06 17:57:57 +01:00
Maxime Bombar
f74c50c3df
[Printer] Make 'Add file' button not editable
2018-12-06 17:57:57 +01:00