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