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