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