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
Maxime Bombar
6c903b371c
[Printer/Api] Serialize abstract printoperation model
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
385e73e02f
[Printer] remove migrations merge conflict
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
bca63818ac
[Printer] History jobs in API
2018-12-06 17:57:57 +01:00
Maxime Bombar
42f1052b7e
[api] Serializer for printer job. Beginning, it's late
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
471165194b
[Printer] Move printer urlpatterns into optional urls
2018-12-06 17:57:57 +01:00
Maxime Bombar
af589f3185
Printer is an optional app
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
cf159f79ae
[Printer][Preference] Forgot migrations in commit 1e8d84b4c89d691a17da505358fb2f60c7d57394
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
Maxime Bombar
c431771b93
[Printer][re2o] Allow to disable printer directly from 'Preference' menu
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
7da8b03e80
[Printer] Format choice is at the first step
2018-12-06 17:57:57 +01:00
Maxime Bombar
d3048fdd5f
[Printer][Preferences] Put Printer Options into Preferences database
2018-12-06 17:57:57 +01:00
Maxime Bombar
62aef50c08
[Printer] Prevent crashing when no file is given
2018-12-06 17:57:37 +01:00
Maxime Bombar
3a3f2e0797
[Printer] Rename 'Advanced Options' in 'Next'
2018-12-06 17:57:37 +01:00
Maxime Bombar
7f394b7e9c
[Printer] Forgot a PrintAs field (see previous commit message)
2018-12-06 17:57:37 +01:00
Maxime Bombar
d554cff4ef
Default empty label for PrintAs field is self.user.pseudo
2018-12-06 17:57:37 +01:00
Maxime Bombar
a01ff3b88f
[Printer] Propagate correctly ValidationError
2018-12-06 17:57:37 +01:00
Maxime Bombar
1891654756
[API/Printer] Service needs number of pages
2018-12-06 17:57:37 +01:00
Maxime Bombar
4acb118268
[Printer] Handles accentted filenames
2018-12-06 17:57:37 +01:00