1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS |
---|
4 | |
---|
5 | (c) 2003-2004 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ============================================================ |
---|
21 | |
---|
22 | PyKota NEWS : |
---|
23 | |
---|
24 | - 1.20alpha6 : |
---|
25 | |
---|
26 | - Now exports PYKOTAPRINTERHOSTNAME for network printers' |
---|
27 | hostname or IP address. Set to 'localhost' when not |
---|
28 | meaningful. |
---|
29 | |
---|
30 | - Fixed issue with how mod_auth_ldap Apache modules |
---|
31 | fills the REMOTE_USER environment variable. |
---|
32 | |
---|
33 | - Fixed a bug in LDAP user deletion code. |
---|
34 | |
---|
35 | - 1.20alpha5 : |
---|
36 | |
---|
37 | - Introduces the new configuration directive 'onaccountererror' |
---|
38 | to specify what must be done whenever the software or |
---|
39 | hardware accounter fails. Allowed values are 'continue' and |
---|
40 | 'stop' (default). |
---|
41 | |
---|
42 | - Minor fix in software accounter for a recently introduced |
---|
43 | problem. |
---|
44 | |
---|
45 | - 1.20alpha4 : |
---|
46 | |
---|
47 | - Added support for more ghostscript devices in ESC/P2 |
---|
48 | analyzer : stcolor, st800, escp, escpc are now supported. |
---|
49 | |
---|
50 | - 1.20alpha3 : |
---|
51 | |
---|
52 | - Small improvement in PostScript parser to avoid being |
---|
53 | fooled by a change in number of copies : |
---|
54 | The user can't ask for 200 copies of page 1 and 1 copy |
---|
55 | of page 2 to fool PyKota anymore : |
---|
56 | this would have been accounted for as 1 copy only, but |
---|
57 | now the maximum value seen is used. |
---|
58 | |
---|
59 | - Relax checks for PCL5 header to accomodate some strange |
---|
60 | printer drivers. |
---|
61 | |
---|
62 | - Now hardware accounting method works like software |
---|
63 | accounting method wrt the subprocess' output. |
---|
64 | |
---|
65 | - Hardware and Software accounting stop the print queue |
---|
66 | when the accounting subprocess didn't work. This will |
---|
67 | be configurable in the near future. |
---|
68 | |
---|
69 | - 1.20alpha2 : |
---|
70 | |
---|
71 | - Now software accounting method reads accounter's |
---|
72 | answer until a line with a single integer is |
---|
73 | obtained or until all of its output has been read. |
---|
74 | This should fix the problem some people have |
---|
75 | when strange locale related messages are sent |
---|
76 | when running subprocesses (Solaris only ?). |
---|
77 | |
---|
78 | - First version of ESC/P2 analyzer. Seems to work |
---|
79 | ok at least with 'epson', 'epsonc', 'eps9mid' |
---|
80 | and 'esp9high' ghostscript devices. Needs more |
---|
81 | work to correctly analyze other devices. |
---|
82 | |
---|
83 | - 1.20alpha1 : |
---|
84 | |
---|
85 | - Fixed problem with number of copies in PCLXL parser. |
---|
86 | |
---|
87 | - Fixed problem with number of copies in PCL5 parser, |
---|
88 | when number of copies was set outside of and before first |
---|
89 | page. |
---|
90 | |
---|
91 | - Added workaround for number of copies directly set in |
---|
92 | PostScript code. |
---|
93 | |
---|
94 | - Added german translation. |
---|
95 | |
---|
96 | - Fixed problem on first print for user group quota when |
---|
97 | "enforcement: strict" is used. |
---|
98 | |
---|
99 | - Fixed interpolation problem in french translation. |
---|
100 | |
---|
101 | - 1.19 : |
---|
102 | |
---|
103 | - Updated existing translations. |
---|
104 | |
---|
105 | - Added final Thai and Greek translations. |
---|
106 | |
---|
107 | - Minor last minute bug fixes. |
---|
108 | |
---|
109 | - 1.19beta : |
---|
110 | |
---|
111 | - LPRng support for both software and hardware accounting seems |
---|
112 | to be OK. |
---|
113 | |
---|
114 | - Translation files fixed because of fuzzy matching problem. |
---|
115 | |
---|
116 | - Fixed path to Swedish translation: 'sv' instead of 'se'. |
---|
117 | |
---|
118 | - Added first draft of Thai translation. |
---|
119 | |
---|
120 | - Fixed some minor bugs with Pychecker. |
---|
121 | |
---|
122 | - 1.19alpha35 : |
---|
123 | |
---|
124 | - Generic PDL analyzer now supports Binary PostScript documents |
---|
125 | in addition to DSC compliant ones. |
---|
126 | |
---|
127 | - 1.19alpha34 : |
---|
128 | |
---|
129 | - LPRng support : software accounting seems to work fine, |
---|
130 | but hardware accounting doesn't work yet. |
---|
131 | |
---|
132 | - 1.19alpha33 : |
---|
133 | |
---|
134 | - pykosd now accepts command line arguments. Enjoy ! |
---|
135 | NB : due to a bug in xosd, you need xosd version 2.2.8 |
---|
136 | or higher if you don't use the default C locale. |
---|
137 | |
---|
138 | - 1.19alpha32 : |
---|
139 | |
---|
140 | - Early (not working) version of the LPRng support rewrite. |
---|
141 | |
---|
142 | - Saner default configuration file. |
---|
143 | |
---|
144 | - 1.19alpha31 : |
---|
145 | |
---|
146 | - Fixed a double Python2.1 incompatibility with newer versions, |
---|
147 | which prevented the PCL5 and the PCLXL parsers to work with |
---|
148 | this older version of Python. |
---|
149 | |
---|
150 | - 1.19alpha30 : |
---|
151 | |
---|
152 | - Introduction of preliminary version of the pykosd command |
---|
153 | |
---|
154 | - Usernames, Groupnames and Printernames can now contain |
---|
155 | ANY character, expected '/' and '@'. |
---|
156 | |
---|
157 | - Integrated most of the Debian work from Sergio |
---|
158 | Gonz�z Gonz�z |
---|
159 | |
---|
160 | - 1.19alpha29 : |
---|
161 | |
---|
162 | - PCLXL parser should now correctly handle number of |
---|
163 | copies set for each page. |
---|
164 | |
---|
165 | - Added testsuite for generic PDL analyzer. |
---|
166 | |
---|
167 | - Typo fixed in PCLXL parser. |
---|
168 | |
---|
169 | - Correctly dispatches error messages depending on the |
---|
170 | situation : tools which can be run interactively will |
---|
171 | ALWAYS output their logs to stderr, excepted for |
---|
172 | their DEBUG messages, for which the "logger:" |
---|
173 | directive as set in pykota.conf will be honored. |
---|
174 | Tools which can't be run interactively will ALWAYS |
---|
175 | honor the "logger:" directive as set in pykota.conf |
---|
176 | |
---|
177 | - 1.19alpha28 : |
---|
178 | |
---|
179 | - The description field for printers can now be set, |
---|
180 | and is displayed in reports. |
---|
181 | |
---|
182 | - Fixed a small problem in SQL backend code. |
---|
183 | |
---|
184 | - Improved pkhint |
---|
185 | |
---|
186 | - First working PCL6 (aka PCLXL) parser ! |
---|
187 | Doesn't handle copies yet. |
---|
188 | |
---|
189 | - 1.19alpha27 : |
---|
190 | |
---|
191 | - Additionnal 10% speed increase in PCL5 parser for GhostScript |
---|
192 | generated files (untested yet with other PCL files). |
---|
193 | |
---|
194 | - Reintroduced the use of mmap in PCL5 parser : this speedups |
---|
195 | PCL5 parsing by almost 4 times. |
---|
196 | This 4x with the 3x below give us in fact a twelvefold increase |
---|
197 | in performance for PCL5 parsing ! |
---|
198 | |
---|
199 | - The Python accelerator Psyco is now used if available |
---|
200 | in the generic PDL parser : it speedups PCL5 parsing by |
---|
201 | almost three times automagically. |
---|
202 | |
---|
203 | - 1.19alpha26 : |
---|
204 | |
---|
205 | - Fixed PCL5 parser according to the sources of rastertohp. |
---|
206 | |
---|
207 | - Fixed number of copies handling in PCL5 parser : the number |
---|
208 | of copies could vary from page to page. |
---|
209 | |
---|
210 | - Added more debug information to PCLXL parser. |
---|
211 | |
---|
212 | - 1.19alpha25 : |
---|
213 | |
---|
214 | - Added new "description" field to printers in both |
---|
215 | PostgreSQL and LDAP. No code to handle this yet. |
---|
216 | |
---|
217 | - Reversed the fix for power save mode in printers : |
---|
218 | no paper or tray open would have caused people to |
---|
219 | be undercharged. |
---|
220 | |
---|
221 | - Preliminary version of MySQL initialization script. |
---|
222 | |
---|
223 | - 1.19alpha24 : |
---|
224 | |
---|
225 | - Native PDF parsing code now works perfectly with |
---|
226 | Python 2.1 and above, and is way faster than before. |
---|
227 | GhostScript is not used anymore to convert PDF to PS, |
---|
228 | because PDF is parsed directly. |
---|
229 | |
---|
230 | - 1.19alpha23 : |
---|
231 | |
---|
232 | - Fixed waitprinter.sh wrt PowerSave mode and some |
---|
233 | printers. Thanks to Ryan Suarez. |
---|
234 | |
---|
235 | - Smart PDL analyzer now recognizes PDF too : two |
---|
236 | PDF parsing methods are used : a native one which |
---|
237 | is very fast but requires Python 2.3 or above, and |
---|
238 | a slower one which uses Ghostscript. PyKota detects |
---|
239 | automatically which method to use depending on your |
---|
240 | version of Python. |
---|
241 | |
---|
242 | - All tracebacks now include PyKota's version number. |
---|
243 | |
---|
244 | - 1.19alpha22 : |
---|
245 | |
---|
246 | - Ensures that the file pointer for job's data is |
---|
247 | reset to the start of the job's datas after the |
---|
248 | job's size pre-computation phase. |
---|
249 | |
---|
250 | - Improved PostScript detection code for bad drivers |
---|
251 | which don't correctly switch languages between PJL |
---|
252 | and PS. |
---|
253 | |
---|
254 | - Even better debugging code. |
---|
255 | |
---|
256 | - 1.19alpha21 : |
---|
257 | |
---|
258 | - Additionnal check. |
---|
259 | |
---|
260 | - 1.19alpha20 : |
---|
261 | |
---|
262 | - More complete logging messages wrt accounters. |
---|
263 | |
---|
264 | - Now catches early failures occuring when the configuration |
---|
265 | files are parsed. |
---|
266 | |
---|
267 | - 1.19alpha19 : |
---|
268 | |
---|
269 | - Fixed over-verbose exits when displaying help |
---|
270 | or version. |
---|
271 | |
---|
272 | - Extended some PATH in the shell scripts |
---|
273 | |
---|
274 | - Deleting an user now also deletes his payments history. |
---|
275 | |
---|
276 | - Doesn't explicitely ignore SIGCHLD anymore. This seems to |
---|
277 | cause problems. |
---|
278 | |
---|
279 | - 1.19alpha18 : |
---|
280 | |
---|
281 | - History of payments is now stored in the database, and |
---|
282 | updated each time an user's balance is modified with |
---|
283 | edpykota --balance. This history represents each time |
---|
284 | the user was given some positive or negative credit, |
---|
285 | but doesn't reflect price paid for jobs, which appear |
---|
286 | in the jobs history instead. |
---|
287 | |
---|
288 | - Jobs history web reports now include the job's size in |
---|
289 | bytes. Also columns were reordered to render the report |
---|
290 | more easily readable. |
---|
291 | |
---|
292 | - 1.19alpha17 : |
---|
293 | |
---|
294 | - Mysterious bug (program exited unexpectedly without leaving |
---|
295 | any log message) which occured once in a while when |
---|
296 | cancelling jobs should be fixed now. |
---|
297 | |
---|
298 | - New 'crashrecipient' directive. Disabled by |
---|
299 | default. See sample configuration file to see how |
---|
300 | to activate it. It is suggested that you activate it. |
---|
301 | |
---|
302 | - New PYKOTAJOBSIZEBYTES environment variable exported, |
---|
303 | which contains the job's size in bytes. Empty jobs |
---|
304 | are now denied. This value is now stored in the job |
---|
305 | history (but not yet displayed from the web interface) |
---|
306 | |
---|
307 | - Preliminary work on payments storage : the PostgreSQL |
---|
308 | and LDAP schemas should be OK now, but no code is written |
---|
309 | yet to support this functionnality. |
---|
310 | |
---|
311 | - 1.19alpha16 : |
---|
312 | |
---|
313 | - the newuser and newgroup LDAP specific directives now accept |
---|
314 | a second parameter to attach(), "fail" or "warn". If no entry |
---|
315 | is found to attach PyKota attributes to, and "fail" was used, |
---|
316 | then action is aborted and program exits in error. If "warn" |
---|
317 | is used, a new entry is created but a warning message is logged. |
---|
318 | |
---|
319 | - The job's originating hostname is now stored in the database, |
---|
320 | and exported as PYKOTAJOBORIGINATINGHOSTNAME in the environment. |
---|
321 | |
---|
322 | - 1.19alpha15 : |
---|
323 | |
---|
324 | - The old pykota filter is now removed. This means that |
---|
325 | currently PyKota doesn't support LPRng anymore, but |
---|
326 | LPRng support will be re-added, improved, in the near future. |
---|
327 | |
---|
328 | - 1.19alpha14 : |
---|
329 | |
---|
330 | - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE |
---|
331 | are now exported as environment variables. |
---|
332 | |
---|
333 | - Heavy CPU usage is now completely fixed it seems, by |
---|
334 | introducing some 0.01 second sleeping when nothing to do. |
---|
335 | |
---|
336 | - Pre-computation of the job's size is now only |
---|
337 | done when enforcement is "STRICT", this saves |
---|
338 | CPU for people who don't want to use this new |
---|
339 | feature. |
---|
340 | |
---|
341 | - New 'enforcement' directive which accepts either |
---|
342 | STRICT or LAXIST. See sample configuration file |
---|
343 | for details. |
---|
344 | |
---|
345 | - 1.19alpha13 : |
---|
346 | |
---|
347 | - Get back to an old version of the polling loop which |
---|
348 | worked fine, but non-optimally. Will be optimized |
---|
349 | as time permits. |
---|
350 | |
---|
351 | - 1.19alpha12 : |
---|
352 | |
---|
353 | - Job's size is now precomputed unconditionnally using |
---|
354 | the generic PDL analyzer. |
---|
355 | NB : This value is not yet used to pre-allow/deny the |
---|
356 | job. |
---|
357 | |
---|
358 | - 1.19alpha11 : |
---|
359 | |
---|
360 | - The pykota filter is now completely deprecated and |
---|
361 | can't be used anymore. LPRng users MUST download |
---|
362 | an older version of PyKota. CUPS users MUST use |
---|
363 | cupspykota. Better support for LPRng will come |
---|
364 | in the near future. |
---|
365 | |
---|
366 | - 1.19alpha10 : |
---|
367 | |
---|
368 | - pykotme now uses generic PDL Analyzer directly instead |
---|
369 | of spawning a new process. |
---|
370 | |
---|
371 | - Improvements to generic PDL Analyzer. |
---|
372 | |
---|
373 | - 25% Speedup in PCL parser. Getting more of the Python version |
---|
374 | will probably be difficult, since the completely table driven |
---|
375 | parser I wrote is slower than the original algorithm. Then, |
---|
376 | the original algorithm is still used for now. |
---|
377 | Probable that more speed could be achieved using mmap, at the |
---|
378 | expense of severe memory consumption. |
---|
379 | |
---|
380 | - configuration simplifications : the "accounter" directive's |
---|
381 | 'hardware' arguments now accepts what was in the "requester" |
---|
382 | directive as it's content. The "requester" directive is not |
---|
383 | supported anymore. See sample configuration file for details. |
---|
384 | |
---|
385 | - 1.19alpha9 : |
---|
386 | |
---|
387 | - pkpgcounter is now just a wrapper around the PDLAnalyzer class |
---|
388 | |
---|
389 | - pykotaOptions LDAP attribute now accepts non-ascii characters |
---|
390 | too. |
---|
391 | |
---|
392 | - First try at cupspykota main loop rewrite |
---|
393 | |
---|
394 | - 1.19alpha8 : |
---|
395 | |
---|
396 | - 'querying' accounting method is now called 'hardware' |
---|
397 | |
---|
398 | - 'external' accounting method is now called 'software' |
---|
399 | |
---|
400 | - 'stupid' accounting method doesn't exist anymore |
---|
401 | |
---|
402 | - 'snmp' requester doesn't exist anymore |
---|
403 | |
---|
404 | - code simplifications in external requester |
---|
405 | |
---|
406 | - 1.19alpha7 : |
---|
407 | |
---|
408 | - Database schema change (both LDAP and PostgreSQL) to |
---|
409 | allow storage of the job-originating-hostname attribute. |
---|
410 | An SQL upgrade script is present. The code is not yet |
---|
411 | capable of setting/retrieving this attribute. Support |
---|
412 | for this functionnality will be added in the future. |
---|
413 | |
---|
414 | - 1.19alpha6 : |
---|
415 | |
---|
416 | - problems connecting to SMTP servers are now catched. |
---|
417 | |
---|
418 | - pykotme now uses pkpgcounter to compute the size of the |
---|
419 | job. This modification adds PCL5 and soon PCLXL (PCL6) |
---|
420 | support. You can now get quotes for PCL in addition to |
---|
421 | PostScript. |
---|
422 | |
---|
423 | - pkpgcounter now includes first try at PCLXL parser. |
---|
424 | It is currently disabled until it's finished. |
---|
425 | |
---|
426 | - 1.19alpha5 : |
---|
427 | |
---|
428 | - cupspykota polling loop fix for MacOSX (at least) |
---|
429 | |
---|
430 | - logging subsystem now logs PID too, to ease diagnosing |
---|
431 | problems under heavy load. |
---|
432 | |
---|
433 | - pkpgcounter enhancements. |
---|
434 | |
---|
435 | - pkprinters --skipexisting now tells pkprinters to not |
---|
436 | modify existing printers when --add is used. |
---|
437 | pkprinters logs a warning message whenever --add is |
---|
438 | used and a printer already exists. |
---|
439 | |
---|
440 | - LDAP schema now allows accented chars in pykotaFileName |
---|
441 | and pykotaTitle attributes. |
---|
442 | |
---|
443 | - 1.19alpha4 : |
---|
444 | |
---|
445 | - a bad copy&paste prevented pkpgcounter to work at all, this |
---|
446 | is now fixed. |
---|
447 | |
---|
448 | - improved PCL support in pkpgcounter, with the use of |
---|
449 | HP PCL/PJL Reference Set |
---|
450 | PCL5 Printer Language Technical Quick Reference Guide |
---|
451 | |
---|
452 | - pkpgcounter now uses mmap to speed things up : duration |
---|
453 | is halved with the sample 87 pages PCL document I use for |
---|
454 | testing. |
---|
455 | |
---|
456 | - 1.19alpha3 : |
---|
457 | |
---|
458 | - pkprinters now accepts the --list command line argument |
---|
459 | to list informations about printers. |
---|
460 | |
---|
461 | - 1.19alpha2 : |
---|
462 | |
---|
463 | - pkpgcounter is now included as a smart external |
---|
464 | accounter which can handle both PostScript and PCL. |
---|
465 | |
---|
466 | - 1.19alpha1 : |
---|
467 | |
---|
468 | - PYKOTALIMITBY environment variable is now exported too. |
---|
469 | |
---|
470 | - Inclusion of Michele Baldessari's work on autotools. |
---|
471 | |
---|
472 | - 1.18 : |
---|
473 | |
---|
474 | - Improved documentation |
---|
475 | |
---|
476 | - 1.18beta2 : |
---|
477 | |
---|
478 | - Fix for raw jobs with cupspykota |
---|
479 | |
---|
480 | - 1.18beta : |
---|
481 | |
---|
482 | - Small fix for new waitprinter.sh script |
---|
483 | |
---|
484 | - Better tracebacks on error conditions |
---|
485 | |
---|
486 | - Improved translations |
---|
487 | |
---|
488 | - Improved documentation |
---|
489 | |
---|
490 | - 1.18alpha15 : |
---|
491 | |
---|
492 | - waitprinter.sh replaced by a new and possibly faster |
---|
493 | and more powerful one. |
---|
494 | |
---|
495 | - Names can now begin with a digit. |
---|
496 | |
---|
497 | - Stability improvement for quotas set on printers groups. |
---|
498 | |
---|
499 | - 1.18alpha14 : |
---|
500 | |
---|
501 | - Catches more (all ?) problems with SMTP servers instead |
---|
502 | of breaking. |
---|
503 | |
---|
504 | - Italian translation added. |
---|
505 | |
---|
506 | - 1.18alpha13 : |
---|
507 | |
---|
508 | - Pre and Post hooks are now available in the pykota |
---|
509 | filter as well. |
---|
510 | |
---|
511 | - The pykota filter doesn't check last user's quota |
---|
512 | anymore when delayed hardware accounting is used : |
---|
513 | this will be done anyway the next time the last |
---|
514 | user will print again. This saves some database |
---|
515 | queries which are unneeded. |
---|
516 | |
---|
517 | - 1.18alpha12 : |
---|
518 | |
---|
519 | - Pre and Post hooks to external commands with many |
---|
520 | many environment variables available are useable |
---|
521 | from the cupspykota backend. |
---|
522 | See sample configuration file for details and help. |
---|
523 | |
---|
524 | - 1.18alpha11 : |
---|
525 | |
---|
526 | - Hopefully final fix wrt groups (users and printers) |
---|
527 | |
---|
528 | - 1.18alpha10 : |
---|
529 | |
---|
530 | - Fixed nested printer groups accounting. |
---|
531 | |
---|
532 | - Fixed user groups + printer groups problem. |
---|
533 | |
---|
534 | - 1.18alpha9 : |
---|
535 | |
---|
536 | - Fix for LDAP problem when job price was 0. |
---|
537 | |
---|
538 | - Fix for empty user groups with LDAP. |
---|
539 | |
---|
540 | - Preliminary version of the snmpprinterstatus command added. |
---|
541 | |
---|
542 | - 1.18alpha8 : |
---|
543 | |
---|
544 | - Don't retrieve data when not needed. |
---|
545 | This avoids many database queries. |
---|
546 | |
---|
547 | - 1.18alpha7 : |
---|
548 | |
---|
549 | - New experimental ldapcache directive to improve |
---|
550 | LDAP caching. |
---|
551 | |
---|
552 | - 1.18alpha6 : |
---|
553 | |
---|
554 | - New configuration directive added : maildomain |
---|
555 | to specify the domain to send mail to when user |
---|
556 | email address is not set in PyKota database. |
---|
557 | |
---|
558 | - More complete email message headers. |
---|
559 | |
---|
560 | - 1.18alpha5 : |
---|
561 | |
---|
562 | - Debian packaging specific files, contributed by |
---|
563 | Peter Hawkins are now included in the project's tree. |
---|
564 | |
---|
565 | - Preliminary work on future low-level LDAP caching to speed |
---|
566 | up modifications (at least). |
---|
567 | |
---|
568 | - 1.18alpha4 : |
---|
569 | |
---|
570 | - Applied some of the modifications suggested by |
---|
571 | Peter Hawkins, for better Debian integration. |
---|
572 | Most notably cupspykota, pykota, and the shell |
---|
573 | scripts are now installed into /usr/share/pykota |
---|
574 | instead of into /usr/bin |
---|
575 | BEWARE : double check that your symbolic link |
---|
576 | to cupspykota is correct, and that your pykota.conf |
---|
577 | file use correct path for the shell scripts like |
---|
578 | waitprinter.sh and al. |
---|
579 | |
---|
580 | - pkhint command added, to help in configuring correct |
---|
581 | accounting method for PyKota. |
---|
582 | |
---|
583 | - 1.18alpha3 : |
---|
584 | |
---|
585 | - Fixed a rare bug in cupspykota backend which gave |
---|
586 | incorrect "CUPS backend died abnormally" messages. |
---|
587 | |
---|
588 | - 1.18alpha2 : |
---|
589 | |
---|
590 | - Added the pkprinters command line tool to manage printers |
---|
591 | exclusively. |
---|
592 | |
---|
593 | - 1.18alpha1 : |
---|
594 | |
---|
595 | - Preliminary work on Relationnal Database Independance. |
---|
596 | |
---|
597 | - Sample report made from OpenOffice.org added as PDF and SXC. |
---|
598 | |
---|
599 | - 1.17 : |
---|
600 | |
---|
601 | - Finalized release. |
---|
602 | |
---|
603 | - 1.17alpha2 : |
---|
604 | |
---|
605 | - Fix stupid software accounting bug in the CUPS backend. |
---|
606 | |
---|
607 | - 1.17alpha1 : |
---|
608 | |
---|
609 | - User/Group deletion code in edpykota rewritten. |
---|
610 | |
---|
611 | - 1.16 : |
---|
612 | |
---|
613 | - Preliminary documentation on how to use OpenOffice.org |
---|
614 | to create personnalized reports for PyKota + PostgreSQL. |
---|
615 | |
---|
616 | - Spanish installation guide for CUPS+PyKota+PostgreSQL |
---|
617 | added to the documentation. Doesn't yet document v1.16 |
---|
618 | though. |
---|
619 | |
---|
620 | - Portuguese Portuguese translation replaces Brasilian |
---|
621 | Portuguese Translation. Brasilian portuguese |
---|
622 | translation is still available under the 'br' locale. |
---|
623 | |
---|
624 | - 1.16beta3 : |
---|
625 | |
---|
626 | - Swedish translation added. |
---|
627 | |
---|
628 | - Small fix in documentation. |
---|
629 | |
---|
630 | - 1.16beta2 : |
---|
631 | |
---|
632 | - Small fix for job cancelling code while job already |
---|
633 | printing in CUPS backend. |
---|
634 | |
---|
635 | - Big fix wrt printing policies for unknown users. |
---|
636 | |
---|
637 | - 1.16beta1 : |
---|
638 | |
---|
639 | - Manpages upgraded. |
---|
640 | |
---|
641 | - 1.16alpha26 : |
---|
642 | |
---|
643 | - Job price is now computed like this : |
---|
644 | |
---|
645 | SUM((NbPages * PricePerPage) + PricePerJob) |
---|
646 | |
---|
647 | For current printer and all the printers groups it is |
---|
648 | a member of, if any. |
---|
649 | |
---|
650 | This may be difficult to grasp, but offers unprecedented |
---|
651 | flexibility. |
---|
652 | |
---|
653 | - 1.16alpha25 : |
---|
654 | |
---|
655 | - Email address can be set at user creation time, |
---|
656 | using the following syntax : |
---|
657 | |
---|
658 | $ edpykota --add username/email@yourdomain.com |
---|
659 | |
---|
660 | - 1.16alpha24 : |
---|
661 | |
---|
662 | - CGI script now can show the printing history. |
---|
663 | |
---|
664 | - Bug wrt number of copies should be fixed. |
---|
665 | |
---|
666 | - Major code refactoring => It is now possible to |
---|
667 | automatically add printers on first print. |
---|
668 | |
---|
669 | - 1.16alpha23 : |
---|
670 | |
---|
671 | - Fixed potential accuracy problem if a user printed on |
---|
672 | several printers at the very same time. |
---|
673 | |
---|
674 | - 1.16alpha22 : |
---|
675 | |
---|
676 | - edpykota now allows adding printers to printer groups |
---|
677 | |
---|
678 | - 1.16alpha21 : |
---|
679 | |
---|
680 | - Allows the dot in user and printer names. |
---|
681 | |
---|
682 | - Printer groups are now cached too. |
---|
683 | |
---|
684 | - 1.16alpha20 : |
---|
685 | |
---|
686 | - Fixed several small bugs with the help of PyChecker. |
---|
687 | |
---|
688 | - 1.16alpha19 : |
---|
689 | |
---|
690 | - Fixed a bug in PostgreSQL backend's code. |
---|
691 | |
---|
692 | - 1.16alpha18 : |
---|
693 | |
---|
694 | - Initial code for printer groups support. Printer groups have |
---|
695 | to be added with external tools like psql or gq for example. |
---|
696 | Printer groups seems to work fine with users. Untested with user |
---|
697 | groups for now. |
---|
698 | |
---|
699 | - Several minor visual problems fixed in reports. |
---|
700 | |
---|
701 | - Fixed a bug in LDAP date handling. |
---|
702 | |
---|
703 | - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP |
---|
704 | + some particular settings. |
---|
705 | |
---|
706 | - mailandpopup.sh shell script added. See sample configuration file |
---|
707 | for details. |
---|
708 | |
---|
709 | - Several environment variables are now exported when executing |
---|
710 | external commands (accounters, requesters, mailers) : |
---|
711 | |
---|
712 | PYKOTAUSERNAME => user who is printing |
---|
713 | PYKOTAPRINTERNAME => printer on which the job is being sent |
---|
714 | PYKOTATITLE => Job's title |
---|
715 | PYKOTAFILENAME => Job's filename |
---|
716 | PYKOTACOPIES => number of copies asked |
---|
717 | PYKOTAOPTIONS => print command options (-o with CUPS) |
---|
718 | |
---|
719 | - 1.16alpha17 : |
---|
720 | |
---|
721 | - Added portugues translation. |
---|
722 | |
---|
723 | - Major code refactoring in accounters. |
---|
724 | |
---|
725 | - 1.16alpha16 : |
---|
726 | |
---|
727 | - Code refactoring, and addition of a real HTML reporter, to |
---|
728 | have nice looking and useful web based reports (in the future). |
---|
729 | |
---|
730 | - Added utolower configuration option to convert all usernames |
---|
731 | to lowercase during printing. |
---|
732 | |
---|
733 | - 1.15alpha15 : |
---|
734 | |
---|
735 | - Now includes the papwaitprinter.sh shell script to wait for |
---|
736 | AppleTalk enabled printers. |
---|
737 | |
---|
738 | - 1.16alpha14 : |
---|
739 | |
---|
740 | - Now printing on a printer not defined in the Quota Storage, |
---|
741 | results in the job being cancelled or stopped, depending |
---|
742 | on the printing system. |
---|
743 | |
---|
744 | - 1.16alpha13 : |
---|
745 | |
---|
746 | - Small bugfix wrt Python v2.1 |
---|
747 | |
---|
748 | - If username is an empty string, user root is assumed. |
---|
749 | |
---|
750 | - 'postgresql' is not recognized anymore as a storage backend, |
---|
751 | you have to use 'pgstorage' instead. 'postgresql' used to |
---|
752 | be supported for compatibility with very old PyKota versions, |
---|
753 | this is not the case anymore. |
---|
754 | |
---|
755 | - 1.16alpha12 : |
---|
756 | |
---|
757 | - Job price added to job history, to keep accounting correct |
---|
758 | if a printer price per page or per job is modified and the |
---|
759 | history is not reset : the history would have given a false |
---|
760 | amount of money charged before the printer's prices were |
---|
761 | modified, this addition solves the problem. |
---|
762 | |
---|
763 | - 1.16alpha11 : |
---|
764 | |
---|
765 | - Some preliminary modifications to the database structure for |
---|
766 | PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL |
---|
767 | database is now provided. LDAP attributes now support |
---|
768 | eq, pres and sub indexes. |
---|
769 | |
---|
770 | - Job history now contains additional informations : |
---|
771 | number of copies, filename, title and print options. |
---|
772 | |
---|
773 | - 1.16alpha10 : |
---|
774 | |
---|
775 | - Some modifications done to external policy handling. |
---|
776 | See sample configuration file for details. |
---|
777 | |
---|
778 | - Spanish translation added. |
---|
779 | |
---|
780 | - 1.16alpha9 : |
---|
781 | |
---|
782 | - mailto can be set to external(...) to warn users above |
---|
783 | quota with any command of your choice (e.g. linpopup). |
---|
784 | Several parameters are available, see sample configuration |
---|
785 | file for details. |
---|
786 | |
---|
787 | - 1.16alpha8 : |
---|
788 | |
---|
789 | - Now cupspykota transmits SIGTERMS to the original |
---|
790 | backend when the user deletes a job being processed. |
---|
791 | |
---|
792 | - The documentation is now licensed under the terms of the |
---|
793 | GNU GPL too. |
---|
794 | |
---|
795 | - 1.16alpha7 : |
---|
796 | |
---|
797 | - The CUPS backend is now fully functionnal (it seems). |
---|
798 | |
---|
799 | - From now on, the use of the pykota filter with CUPS |
---|
800 | is deprecated. The pykota filter still has to be |
---|
801 | used with LPRng though. |
---|
802 | |
---|
803 | - 1.16alpha6 : |
---|
804 | |
---|
805 | - Bug fixed : when edpykota was used to add a printer |
---|
806 | with no user or group name, a bad user/group name "*" was |
---|
807 | added to the database. |
---|
808 | |
---|
809 | - 1.16alpha5 : |
---|
810 | |
---|
811 | - New CUPS backend supports device enumeration ! |
---|
812 | This means that NO manual CUPS configuration has to |
---|
813 | be done. All can now be done from CUPS web interface. |
---|
814 | |
---|
815 | - 1.16alpha4 : |
---|
816 | |
---|
817 | - New CUPS backend added. |
---|
818 | |
---|
819 | - 1.16alpha3 : |
---|
820 | |
---|
821 | - Minimal FAQ document added. |
---|
822 | |
---|
823 | - 1.16alpha2 : |
---|
824 | |
---|
825 | - CGI script now partially supports browser's language preference |
---|
826 | |
---|
827 | - 1.16alpha1 : |
---|
828 | |
---|
829 | - Ensures that the LDAP connection is really closed at end. |
---|
830 | |
---|
831 | - More complete error messages in case of LDAP operation failure. |
---|
832 | |
---|
833 | - 1.15 : |
---|
834 | |
---|
835 | - Documentation improved. |
---|
836 | |
---|
837 | - 1.15beta : |
---|
838 | |
---|
839 | - Command line tools now accept multiple printer |
---|
840 | names or wildcards, separated with commas. |
---|
841 | |
---|
842 | - 1.15alpha9 : |
---|
843 | |
---|
844 | - External policy can be used to auto-add unknown users |
---|
845 | and any other interesting things you may want to do. |
---|
846 | WARNING : You can't auto-add printers for now. |
---|
847 | They have to be created manually before. |
---|
848 | Look at sample configuration file for examples. |
---|
849 | |
---|
850 | - 1.15alpha8 : |
---|
851 | |
---|
852 | - Job history can be disabled if needed. |
---|
853 | This feature may be useful for people who use the LDAP |
---|
854 | backend and don't want their LDAP tree to grow out of |
---|
855 | control. |
---|
856 | |
---|
857 | - 1.15alpha7 : |
---|
858 | |
---|
859 | - More work done on caching wrt groups. |
---|
860 | |
---|
861 | - 1.15alpha6 : |
---|
862 | |
---|
863 | - Performance bottleneck with LDAP solved. |
---|
864 | |
---|
865 | - 1.15alpha5 : |
---|
866 | |
---|
867 | - Caching mechanism for all database queries. |
---|
868 | |
---|
869 | - 1.15alpha4 : |
---|
870 | |
---|
871 | - Problem with Python 2.3 fixed. Needs some definitive |
---|
872 | modification. |
---|
873 | |
---|
874 | - 1.15alpha3 : |
---|
875 | |
---|
876 | - CGI script now tries to restrict view when the |
---|
877 | REMOTE_USER environment variable is set. This allows |
---|
878 | people to protect its use with .htaccess files. |
---|
879 | When unprotected, or if REMOTE_USER is 'root', then |
---|
880 | unrestricted access is granted. |
---|
881 | NB : REMOTE_USER is automatically set by the web server |
---|
882 | (e.g. Apache) when a page with restricted access is viewed. |
---|
883 | |
---|
884 | - 1.15alpha2 : |
---|
885 | |
---|
886 | - Better detection of LPRng. |
---|
887 | |
---|
888 | - Outputs a warning if printing system is unknown. |
---|
889 | |
---|
890 | - 1.15alpha1 : |
---|
891 | |
---|
892 | - Bug fix in SQL code. |
---|
893 | |
---|
894 | - 1.14 : |
---|
895 | |
---|
896 | - The PostgreSQL database connection is now always closed before |
---|
897 | exit. The LDAP database connection too, but it didn't suffer |
---|
898 | from the problem anyway, AFAICT. |
---|
899 | |
---|
900 | - 1.14beta2 : |
---|
901 | |
---|
902 | - An LDAP-specific configuration field was introduced, usermail. |
---|
903 | Use it to specify which LDAP attribute contains a valid email |
---|
904 | address for the user. See sample configuration file for |
---|
905 | details. |
---|
906 | |
---|
907 | - 1.14beta : |
---|
908 | |
---|
909 | - Two new LDAP-specific configuration fields were introduced, |
---|
910 | newuser and newgroup. Use them to specify if you want to add |
---|
911 | quota information to existing entries or elsewhere. |
---|
912 | See sample configuration file for details. |
---|
913 | |
---|
914 | - 1.14alpha9 : |
---|
915 | |
---|
916 | - Documentation improved. |
---|
917 | |
---|
918 | - pykotme now also prints the user's account balance value |
---|
919 | if the user is registered in the Quota Storage and his |
---|
920 | limiting factor is "balance". |
---|
921 | |
---|
922 | - 1.14alpha8 : |
---|
923 | |
---|
924 | - bin/waitprinter.sh is now included to wait for |
---|
925 | SNMP enabled printers to be idle again before |
---|
926 | asking for their internal page counter. |
---|
927 | See sample configuration file for details. |
---|
928 | |
---|
929 | - 1.14alpha7 : |
---|
930 | |
---|
931 | - edpykota now doesn't check if the user/group is above |
---|
932 | quota. The check is only done at print time. This |
---|
933 | prevents the sending of email messages when creating |
---|
934 | user quotas if quota is already reached at creation |
---|
935 | time. |
---|
936 | |
---|
937 | - 1.14alpha6 : |
---|
938 | |
---|
939 | - Configuration file split and moved to /etc/pykota/pykota.conf |
---|
940 | and /etc/pykota/pykotadmin.conf to prevent simple users to |
---|
941 | have Read/Write access to the Quota Database. |
---|
942 | Don't forget to : |
---|
943 | |
---|
944 | $ chmod 640 /etc/pykota/pykotadmin.conf |
---|
945 | |
---|
946 | - storageuser and storageuserpw configuration fields reintroduced |
---|
947 | for the same reason. |
---|
948 | |
---|
949 | - Code cleaning for future implementation of email addresses |
---|
950 | support in the PostgreSQL and LDAP backends. |
---|
951 | |
---|
952 | - 1.14alpha5 : |
---|
953 | |
---|
954 | - Big bug fixed when changing the prices for a printer |
---|
955 | |
---|
956 | - 1.14alpha4 : |
---|
957 | |
---|
958 | - When adding an user, the user itself and its account balance |
---|
959 | are now added in the same LDAP entry. Before they were added |
---|
960 | as two different LDAP entries. |
---|
961 | |
---|
962 | - 1.14alpha3 : |
---|
963 | |
---|
964 | - Email field added to PostgreSQL database. An upgrade script |
---|
965 | is included in initscripts/postgresql. |
---|
966 | |
---|
967 | - 1.14alpha2 : |
---|
968 | |
---|
969 | - Typo fixed when using the --prototype option to edpykota |
---|
970 | |
---|
971 | - 1.14alpha1 : |
---|
972 | |
---|
973 | - Poor man's treshold included : users with a low account |
---|
974 | balance (below 1.0 by default, configurable) are sent |
---|
975 | a warning message. |
---|
976 | |
---|
977 | - All warning messages to users are now configurable. |
---|
978 | NB : Warning messages to the administrator are not. |
---|
979 | |
---|
980 | - 1.13 : |
---|
981 | |
---|
982 | - Some small fixes wrt group handling. |
---|
983 | |
---|
984 | - The whole module code was passed through PyChecker and |
---|
985 | several small code inconsistencies were fixed, |
---|
986 | as well as a bug in the groups code. |
---|
987 | |
---|
988 | - 1.13alpha1 : |
---|
989 | |
---|
990 | - Bug fix wrt LDAP. |
---|
991 | |
---|
992 | - 1.12 : |
---|
993 | |
---|
994 | - More complete test added in edpykota. |
---|
995 | |
---|
996 | - 1.12alpha2 : |
---|
997 | |
---|
998 | - The previous bug fix was incomplete. This is corrected. |
---|
999 | |
---|
1000 | - 1.12alpha1 : |
---|
1001 | |
---|
1002 | - Small bug fix. |
---|
1003 | |
---|
1004 | - 1.11 : |
---|
1005 | |
---|
1006 | - Now includes the pykotme command line tool, to produce |
---|
1007 | printing quotes for users. |
---|
1008 | |
---|
1009 | - 1.10 : |
---|
1010 | |
---|
1011 | - Bug fixed wrt quota reports when print limiting is by |
---|
1012 | account balance. |
---|
1013 | |
---|
1014 | - 1.09 : |
---|
1015 | |
---|
1016 | - Translations finalized. |
---|
1017 | |
---|
1018 | - Manpages updated. |
---|
1019 | |
---|
1020 | - Installation documentation improved wrt LDAP support. |
---|
1021 | |
---|
1022 | - 1.09beta2 : |
---|
1023 | |
---|
1024 | - The CGI script for quota reports works again, and |
---|
1025 | is much more powerful. |
---|
1026 | |
---|
1027 | - 1.09beta : |
---|
1028 | |
---|
1029 | - edpykota finalized |
---|
1030 | |
---|
1031 | - 1.09alpha2 : |
---|
1032 | |
---|
1033 | - LDAP schema modified a bit. Please upgrade. |
---|
1034 | |
---|
1035 | - LDAP backend works ! |
---|
1036 | |
---|
1037 | - repykota and warnpykota allow the root user to pass |
---|
1038 | users or groups names on the command line. Users |
---|
1039 | and groups names may contain wildcards. |
---|
1040 | |
---|
1041 | - repykota and warnpykota only reports or warns the |
---|
1042 | current user when launched by non-root users. |
---|
1043 | |
---|
1044 | - Minor bug fixes. |
---|
1045 | |
---|
1046 | - 1.09alpha1 : |
---|
1047 | |
---|
1048 | - More work on LDAP storage backend. Many options |
---|
1049 | were added to /etc/pykota.conf to give some |
---|
1050 | hints to the LDAP storage backend. |
---|
1051 | |
---|
1052 | - Severe database access optimizations were done by |
---|
1053 | rewriting most of the Quota Storage backends drivers. |
---|
1054 | |
---|
1055 | - 1.08 : |
---|
1056 | |
---|
1057 | - Major bug fix wrt LPRng support for remote jobs. |
---|
1058 | |
---|
1059 | - Major bug fix wrt increase/decrease account balances. |
---|
1060 | |
---|
1061 | - 1.08alpha8 : |
---|
1062 | |
---|
1063 | - Code refactoring. |
---|
1064 | |
---|
1065 | - A single user/password pair is used to connect |
---|
1066 | to the database backend. The storageuser configuration |
---|
1067 | field, and its associated passwords storageuserpw, are |
---|
1068 | not used anymore. |
---|
1069 | |
---|
1070 | - You can now set PyKota in debug mode, see sample configuration |
---|
1071 | file for details. |
---|
1072 | WARNING : only Quota Storage backend queries are logged in |
---|
1073 | debug mode, for now. |
---|
1074 | |
---|
1075 | - 1.08alpha7 : |
---|
1076 | |
---|
1077 | - Very latest LDAP schema. |
---|
1078 | |
---|
1079 | - Code enhancement wrt easy pluggability of PyKota attributes |
---|
1080 | and object classes into an existing LDAP directory. |
---|
1081 | |
---|
1082 | - 1.08alpha6 : |
---|
1083 | |
---|
1084 | - Minor bug corrections |
---|
1085 | |
---|
1086 | - More work on LDAP : new schema |
---|
1087 | |
---|
1088 | - 1.08alpha5 : |
---|
1089 | |
---|
1090 | - More good work on LDAP storage. |
---|
1091 | repykota now works reasonably well with the sample LDAP directory. |
---|
1092 | |
---|
1093 | - 1.08alpha4 : |
---|
1094 | |
---|
1095 | - LDAP schema included. |
---|
1096 | THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS. |
---|
1097 | LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA |
---|
1098 | MAY CHANGE IN THE FUTURE. PLEASE TELL US |
---|
1099 | WHAT YOU THINK ABOUT THIS SCHEMA ON THE |
---|
1100 | MAILING LIST. |
---|
1101 | |
---|
1102 | - 1.08alpha3 : |
---|
1103 | |
---|
1104 | - External accounting methods were partly rewritten : |
---|
1105 | |
---|
1106 | - No more "broken pipe" should happen. |
---|
1107 | |
---|
1108 | - They now take care of the number of copies |
---|
1109 | This may be unneeded though, if the postscript |
---|
1110 | file already does this, because this would |
---|
1111 | overcharge users (number of copies counted |
---|
1112 | two times). NEEDS MORE TESTING. |
---|
1113 | |
---|
1114 | - The sample configuration file now contains |
---|
1115 | an external accounting method example which should |
---|
1116 | work with all DSC compliant Postscript files. |
---|
1117 | |
---|
1118 | - Some small bugs were fixed. |
---|
1119 | |
---|
1120 | - 1.08alpha2 : |
---|
1121 | |
---|
1122 | - Now works with net-snmp v5.0 and above. |
---|
1123 | It already worked, but the sample configuration |
---|
1124 | file didn't contain appropriate values... |
---|
1125 | |
---|
1126 | - 1.07 : Release of the Shame ! |
---|
1127 | |
---|
1128 | - The external accounting methods driver was left out of |
---|
1129 | the CVS tree. Nobody could use it since it wasn't included ! |
---|
1130 | |
---|
1131 | - 1.06 : |
---|
1132 | |
---|
1133 | - Severe bug fixed : if you had a printer in |
---|
1134 | power saving state which couldn't answer immediately, |
---|
1135 | a bug was triggered. |
---|
1136 | It was caused by a bad copy/paste which |
---|
1137 | forgot to import a Python module at run time. |
---|
1138 | |
---|
1139 | - 1.05 : |
---|
1140 | |
---|
1141 | - External accounters are finally available ! |
---|
1142 | This means that you can plug any page accounting |
---|
1143 | method you like by setting the appropriate |
---|
1144 | 'accounter' field in /etc/pykota.conf |
---|
1145 | See the sample conf/pykota.conf.sample to |
---|
1146 | learn how to do. |
---|
1147 | |
---|
1148 | NB : Both 'external' and 'stupid' accounting methods |
---|
1149 | account a job size just before *this* job is |
---|
1150 | sent to the printer. |
---|
1151 | The original 'querying' method accounts a job |
---|
1152 | size just before *the next* job is sent to |
---|
1153 | the printer. |
---|
1154 | |
---|
1155 | - 1.05alpha3 : |
---|
1156 | |
---|
1157 | - A 'stupid' and unreliable accounting method was |
---|
1158 | implemented to serve as an example on how to |
---|
1159 | do this sort of things. This method only counts |
---|
1160 | the 'showpage' statements in the input data. |
---|
1161 | See sample configuration file for details. |
---|
1162 | Pluggable accounting methods work, but I advise |
---|
1163 | you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE. |
---|
1164 | It is not reliable enough to be used. |
---|
1165 | Use the 'querying' accounting method instead. |
---|
1166 | |
---|
1167 | - 1.05alpha2 : |
---|
1168 | |
---|
1169 | - Pluggable accounting methods. |
---|
1170 | |
---|
1171 | - Better error handling. |
---|
1172 | |
---|
1173 | - 1.05alpha1 : |
---|
1174 | |
---|
1175 | - SECURITY file added to help improve PyKota's security. |
---|
1176 | |
---|
1177 | - Extracting the printer's internal page counter is now |
---|
1178 | tried several times, waiting several seconds between |
---|
1179 | two tries. This lets the time to warm up for some printers |
---|
1180 | which don't answer when they are sleeping (my Apple |
---|
1181 | LaserWriter 16/600 PS is in this case, maybe others too) |
---|
1182 | |
---|
1183 | - Small display bug fixed in repykota |
---|
1184 | |
---|
1185 | - 1.04 : |
---|
1186 | |
---|
1187 | - Default print policy for users/groups unknown from |
---|
1188 | the print quota system is now DENY instead of ALLOW, |
---|
1189 | since ALLOW can generate inaccurate results |
---|
1190 | (incorrect job sizes charged to the wrong persons) |
---|
1191 | |
---|
1192 | - LPRng support works ! |
---|
1193 | |
---|
1194 | - A bug was introduced some time ago wrt printers' default |
---|
1195 | policy for unknown users. It is now corrected. |
---|
1196 | |
---|
1197 | - repykota now displays prices per job and per page for each |
---|
1198 | printer, if they are defined. |
---|
1199 | |
---|
1200 | - Minor display bug fixed in repykota. |
---|
1201 | |
---|
1202 | - Problem when running repykota with an empty database was fixed. |
---|
1203 | |
---|
1204 | - 1.03 : |
---|
1205 | |
---|
1206 | - Upgrade script included for earlier versions. |
---|
1207 | Please look inside the initscripts subdirectory. |
---|
1208 | THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE. |
---|
1209 | |
---|
1210 | - repykota now reports account balances too. |
---|
1211 | |
---|
1212 | - PyKota now has a nice logo, see the logos |
---|
1213 | subdirectory. |
---|
1214 | |
---|
1215 | - Manual pages were finally updated. |
---|
1216 | |
---|
1217 | - Group quotas seem to work now ! |
---|
1218 | |
---|
1219 | - The new database schema allows to keep an history of all |
---|
1220 | jobs as well as charge users per page and/or per job, |
---|
1221 | and track users' account balance. |
---|
1222 | |
---|
1223 | - edpykota now accepts much more command line options to |
---|
1224 | use the new functionnalities. See edpykota --help for |
---|
1225 | details. |
---|
1226 | |
---|
1227 | - The installation script now allows to install the sample |
---|
1228 | configuration file during first installation. |
---|
1229 | |
---|
1230 | - More group quota code works, but still not finished. |
---|
1231 | |
---|
1232 | - The CGI script displays a link to PyKota's website. |
---|
1233 | |
---|
1234 | - The job history is now kept, this will allow per-period |
---|
1235 | reports in the future. |
---|
1236 | |
---|
1237 | - After having modified the quota for an user with edpykota, |
---|
1238 | a quota check is done to eventually warn the user/admin about |
---|
1239 | a quota which is too low to print. |
---|
1240 | |
---|
1241 | - A workaround is provided for HP Printers : their internal |
---|
1242 | page counter is only saved to NVRAM in a 10 increment, so |
---|
1243 | if you switch them off and then on, the reported page counter |
---|
1244 | may be lower than the real number of pages printed. |
---|
1245 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
1246 | We unconditionnally set the last job's page count to |
---|
1247 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
1248 | in this case. |
---|
1249 | For a more accurate accounting, never switch your HP printers |
---|
1250 | off. |
---|
1251 | |
---|
1252 | - A fix is provided for printers which only have a volatile |
---|
1253 | page counter (reset to 0 every time you switch the printer on) |
---|
1254 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
1255 | 4L/5L/6L, not perfect, but better than nothing. |
---|
1256 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
1257 | For a more accurate accounting, never switch your HP printers |
---|
1258 | off. This is untested, please report any problem. |
---|
1259 | |
---|
1260 | - A bug was fixed when edpykota --add was used with users who already |
---|
1261 | had a quota on the specified printer. |
---|
1262 | |
---|
1263 | - A small display bug in repykota was introduced in preliminary |
---|
1264 | 1.03 versions, and fixed later on. |
---|
1265 | |
---|
1266 | - Some minor bugs which happened in rare situations were fixed. |
---|
1267 | |
---|
1268 | - Support for AppleTalk printers was added, see sample configuration |
---|
1269 | file for details. |
---|
1270 | |
---|
1271 | - Users and group printing can now be controlled (limited) either by |
---|
1272 | print quota or by account balance. |
---|
1273 | |
---|
1274 | - 1.02 : |
---|
1275 | |
---|
1276 | - The installation script now checks for software availability |
---|
1277 | and in case a software is missing asks the user if he |
---|
1278 | wants to continue with the installation or abort it. |
---|
1279 | |
---|
1280 | - The configuration file pykota.conf is now expected to be |
---|
1281 | found in /etc instead of in /etc/cups |
---|
1282 | The installation script prompts the user to see if he |
---|
1283 | wants to move an old configuration file to the new location |
---|
1284 | if needed. |
---|
1285 | |
---|
1286 | - Improved documentation. |
---|
1287 | |
---|
1288 | - You can now set the tcp/ip port on which the Quota Storage |
---|
1289 | Server is listening, see sample configuration file for details. |
---|
1290 | |
---|
1291 | - Better general error handling. |
---|
1292 | |
---|
1293 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
1294 | included as well. |
---|
1295 | |
---|
1296 | - 1.01 : |
---|
1297 | |
---|
1298 | - The configuration file now accepts an option |
---|
1299 | to choose the recipient(s) of the email messages : |
---|
1300 | |
---|
1301 | - DevNull means no one will receive them. |
---|
1302 | - User means only the user will receive them. |
---|
1303 | - Admin means only the admin will receive them. |
---|
1304 | - Both means the User and the Admin will receive them. |
---|
1305 | |
---|
1306 | - The configuration file now uses hard-coded default values |
---|
1307 | when an option is not set. See sample configuration file |
---|
1308 | for details. |
---|
1309 | |
---|
1310 | - Manual pages are included since 1.00, but I forgot to |
---|
1311 | add this information to this file. |
---|
1312 | |
---|
1313 | - Redistribution terms for the official package have |
---|
1314 | softened and are now fully GPL compatible : |
---|
1315 | unrestricted modification is now allowed even for |
---|
1316 | the version number. |
---|
1317 | |
---|
1318 | - 1.00 : |
---|
1319 | |
---|
1320 | - edpykota now accepts a --noquota option. This |
---|
1321 | disable quota checking while still doing page |
---|
1322 | accounting. This is really useful for people |
---|
1323 | who don't want to limit their users but want |
---|
1324 | to know how much pages they print. |
---|
1325 | |
---|
1326 | - Some untested scripts were added to retrieve |
---|
1327 | the life time page counter of non-SNMP printers. |
---|
1328 | |
---|
1329 | - Every directory now has a specific README file. |
---|
1330 | |
---|
1331 | - 0.99 : |
---|
1332 | |
---|
1333 | - Under some circumstances while the user wasn't allowed |
---|
1334 | to print, he didn't receive any email message. It is |
---|
1335 | now fixed. |
---|
1336 | |
---|
1337 | - When an user wasn't allowed to print, the quota for |
---|
1338 | the previous user wasn't updated. This is now fixed. |
---|
1339 | |
---|
1340 | - 0.98 : |
---|
1341 | |
---|
1342 | - Correctly handle the case where the printer is switched off. |
---|
1343 | |
---|
1344 | - Small bug wrt syslog fixed. |
---|
1345 | |
---|
1346 | - 0.97 : |
---|
1347 | |
---|
1348 | - edpykota accepts wildcards on its command line for users/groups too |
---|
1349 | if the --add option is not set, e.g. : |
---|
1350 | |
---|
1351 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
1352 | |
---|
1353 | - If no user name is passed at all, then a default wildcard of "*" |
---|
1354 | which means apply the command on ALL users for this printer is used. |
---|
1355 | |
---|
1356 | - Small bug fixes. |
---|
1357 | |
---|
1358 | - 0.96 : |
---|
1359 | |
---|
1360 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
1361 | be set either globally or per printer. The printer option has |
---|
1362 | priority if both are defined. |
---|
1363 | |
---|
1364 | - More powerful configuration parser. |
---|
1365 | |
---|
1366 | - If all options are defined globally, there's no need to |
---|
1367 | define a section for each printer in the configuration |
---|
1368 | file anymore. Just define a [global] section and it's ok. |
---|
1369 | |
---|
1370 | - 0.95 : |
---|
1371 | |
---|
1372 | - External requesters for printers finally added. |
---|
1373 | |
---|
1374 | - Full internationalization (english and french are supported) |
---|
1375 | |
---|
1376 | - More complete quota usage report |
---|
1377 | |
---|
1378 | - CGI script to access to the quota usage report |
---|
1379 | |
---|
1380 | - Several bugs fixed. |
---|
1381 | |
---|
1382 | |
---|
1383 | - 0.9 : |
---|
1384 | |
---|
1385 | - First public version |
---|