1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS |
---|
4 | |
---|
5 | (c) 2003-2004 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ============================================================ |
---|
21 | |
---|
22 | PyKota NEWS : |
---|
23 | |
---|
24 | - 1.19alpha5 : |
---|
25 | |
---|
26 | - pkpgcounter enhancements. |
---|
27 | |
---|
28 | - pkprinters --skipexisting now tells pkprinters to not |
---|
29 | modify existing printers when --add is used. |
---|
30 | pkprinters logs a warning message whenever --add is |
---|
31 | used and a printer already exists. |
---|
32 | |
---|
33 | - LDAP schema now allows accented chars in pykotaFileName |
---|
34 | and pykotaTitle attributes. |
---|
35 | |
---|
36 | - 1.19alpha4 : |
---|
37 | |
---|
38 | - a bad copy&paste prevented pkpgcounter to work at all, this |
---|
39 | is now fixed. |
---|
40 | |
---|
41 | - improved PCL support in pkpgcounter, with the use of |
---|
42 | HP PCL/PJL Reference Set |
---|
43 | PCL5 Printer Language Technical Quick Reference Guide |
---|
44 | |
---|
45 | - pkpgcounter now uses mmap to speed things up : duration |
---|
46 | is halved with the sample 87 pages PCL document I use for |
---|
47 | testing. |
---|
48 | |
---|
49 | - 1.19alpha3 : |
---|
50 | |
---|
51 | - pkprinters now accepts the --list command line argument |
---|
52 | to list informations about printers. |
---|
53 | |
---|
54 | - 1.19alpha2 : |
---|
55 | |
---|
56 | - pkpgcounter is now included as a smart external |
---|
57 | accounter which can handle both PostScript and PCL. |
---|
58 | |
---|
59 | - 1.19alpha1 : |
---|
60 | |
---|
61 | - PYKOTALIMITBY environment variable is now exported too. |
---|
62 | |
---|
63 | - Inclusion of Michele Baldessari's work on autotools. |
---|
64 | |
---|
65 | - 1.18 : |
---|
66 | |
---|
67 | - Improved documentation |
---|
68 | |
---|
69 | - 1.18beta2 : |
---|
70 | |
---|
71 | - Fix for raw jobs with cupspykota |
---|
72 | |
---|
73 | - 1.18beta : |
---|
74 | |
---|
75 | - Small fix for new waitprinter.sh script |
---|
76 | |
---|
77 | - Better tracebacks on error conditions |
---|
78 | |
---|
79 | - Improved translations |
---|
80 | |
---|
81 | - Improved documentation |
---|
82 | |
---|
83 | - 1.18alpha15 : |
---|
84 | |
---|
85 | - waitprinter.sh replaced by a new and possibly faster |
---|
86 | and more powerful one. |
---|
87 | |
---|
88 | - Names can now begin with a digit. |
---|
89 | |
---|
90 | - Stability improvement for quotas set on printers groups. |
---|
91 | |
---|
92 | - 1.18alpha14 : |
---|
93 | |
---|
94 | - Catches more (all ?) problems with SMTP servers instead |
---|
95 | of breaking. |
---|
96 | |
---|
97 | - Italian translation added. |
---|
98 | |
---|
99 | - 1.18alpha13 : |
---|
100 | |
---|
101 | - Pre and Post hooks are now available in the pykota |
---|
102 | filter as well. |
---|
103 | |
---|
104 | - The pykota filter doesn't check last user's quota |
---|
105 | anymore when delayed hardware accounting is used : |
---|
106 | this will be done anyway the next time the last |
---|
107 | user will print again. This saves some database |
---|
108 | queries which are unneeded. |
---|
109 | |
---|
110 | - 1.18alpha12 : |
---|
111 | |
---|
112 | - Pre and Post hooks to external commands with many |
---|
113 | many environment variables available are useable |
---|
114 | from the cupspykota backend. |
---|
115 | See sample configuration file for details and help. |
---|
116 | |
---|
117 | - 1.18alpha11 : |
---|
118 | |
---|
119 | - Hopefully final fix wrt groups (users and printers) |
---|
120 | |
---|
121 | - 1.18alpha10 : |
---|
122 | |
---|
123 | - Fixed nested printer groups accounting. |
---|
124 | |
---|
125 | - Fixed user groups + printer groups problem. |
---|
126 | |
---|
127 | - 1.18alpha9 : |
---|
128 | |
---|
129 | - Fix for LDAP problem when job price was 0. |
---|
130 | |
---|
131 | - Fix for empty user groups with LDAP. |
---|
132 | |
---|
133 | - Preliminary version of the snmpprinterstatus command added. |
---|
134 | |
---|
135 | - 1.18alpha8 : |
---|
136 | |
---|
137 | - Don't retrieve data when not needed. |
---|
138 | This avoids many database queries. |
---|
139 | |
---|
140 | - 1.18alpha7 : |
---|
141 | |
---|
142 | - New experimental ldapcache directive to improve |
---|
143 | LDAP caching. |
---|
144 | |
---|
145 | - 1.18alpha6 : |
---|
146 | |
---|
147 | - New configuration directive added : maildomain |
---|
148 | to specify the domain to send mail to when user |
---|
149 | email address is not set in PyKota database. |
---|
150 | |
---|
151 | - More complete email message headers. |
---|
152 | |
---|
153 | - 1.18alpha5 : |
---|
154 | |
---|
155 | - Debian packaging specific files, contributed by |
---|
156 | Peter Hawkins are now included in the project's tree. |
---|
157 | |
---|
158 | - Preliminary work on future low-level LDAP caching to speed |
---|
159 | up modifications (at least). |
---|
160 | |
---|
161 | - 1.18alpha4 : |
---|
162 | |
---|
163 | - Applied some of the modifications suggested by |
---|
164 | Peter Hawkins, for better Debian integration. |
---|
165 | Most notably cupspykota, pykota, and the shell |
---|
166 | scripts are now installed into /usr/share/pykota |
---|
167 | instead of into /usr/bin |
---|
168 | BEWARE : double check that your symbolic link |
---|
169 | to cupspykota is correct, and that your pykota.conf |
---|
170 | file use correct path for the shell scripts like |
---|
171 | waitprinter.sh and al. |
---|
172 | |
---|
173 | - pkhint command added, to help in configuring correct |
---|
174 | accounting method for PyKota. |
---|
175 | |
---|
176 | - 1.18alpha3 : |
---|
177 | |
---|
178 | - Fixed a rare bug in cupspykota backend which gave |
---|
179 | incorrect "CUPS backend died abnormally" messages. |
---|
180 | |
---|
181 | - 1.18alpha2 : |
---|
182 | |
---|
183 | - Added the pkprinters command line tool to manage printers |
---|
184 | exclusively. |
---|
185 | |
---|
186 | - 1.18alpha1 : |
---|
187 | |
---|
188 | - Preliminary work on Relationnal Database Independance. |
---|
189 | |
---|
190 | - Sample report made from OpenOffice.org added as PDF and SXC. |
---|
191 | |
---|
192 | - 1.17 : |
---|
193 | |
---|
194 | - Finalized release. |
---|
195 | |
---|
196 | - 1.17alpha2 : |
---|
197 | |
---|
198 | - Fix stupid software accounting bug in the CUPS backend. |
---|
199 | |
---|
200 | - 1.17alpha1 : |
---|
201 | |
---|
202 | - User/Group deletion code in edpykota rewritten. |
---|
203 | |
---|
204 | - 1.16 : |
---|
205 | |
---|
206 | - Preliminary documentation on how to use OpenOffice.org |
---|
207 | to create personnalized reports for PyKota + PostgreSQL. |
---|
208 | |
---|
209 | - Spanish installation guide for CUPS+PyKota+PostgreSQL |
---|
210 | added to the documentation. Doesn't yet document v1.16 |
---|
211 | though. |
---|
212 | |
---|
213 | - Portuguese Portuguese translation replaces Brasilian |
---|
214 | Portuguese Translation. Brasilian portuguese |
---|
215 | translation is still available under the 'br' locale. |
---|
216 | |
---|
217 | - 1.16beta3 : |
---|
218 | |
---|
219 | - Swedish translation added. |
---|
220 | |
---|
221 | - Small fix in documentation. |
---|
222 | |
---|
223 | - 1.16beta2 : |
---|
224 | |
---|
225 | - Small fix for job cancelling code while job already |
---|
226 | printing in CUPS backend. |
---|
227 | |
---|
228 | - Big fix wrt printing policies for unknown users. |
---|
229 | |
---|
230 | - 1.16beta1 : |
---|
231 | |
---|
232 | - Manpages upgraded. |
---|
233 | |
---|
234 | - 1.16alpha26 : |
---|
235 | |
---|
236 | - Job price is now computed like this : |
---|
237 | |
---|
238 | SUM((NbPages * PricePerPage) + PricePerJob) |
---|
239 | |
---|
240 | For current printer and all the printers groups it is |
---|
241 | a member of, if any. |
---|
242 | |
---|
243 | This may be difficult to grasp, but offers unprecedented |
---|
244 | flexibility. |
---|
245 | |
---|
246 | - 1.16alpha25 : |
---|
247 | |
---|
248 | - Email address can be set at user creation time, |
---|
249 | using the following syntax : |
---|
250 | |
---|
251 | $ edpykota --add username/email@yourdomain.com |
---|
252 | |
---|
253 | - 1.16alpha24 : |
---|
254 | |
---|
255 | - CGI script now can show the printing history. |
---|
256 | |
---|
257 | - Bug wrt number of copies should be fixed. |
---|
258 | |
---|
259 | - Major code refactoring => It is now possible to |
---|
260 | automatically add printers on first print. |
---|
261 | |
---|
262 | - 1.16alpha23 : |
---|
263 | |
---|
264 | - Fixed potential accuracy problem if a user printed on |
---|
265 | several printers at the very same time. |
---|
266 | |
---|
267 | - 1.16alpha22 : |
---|
268 | |
---|
269 | - edpykota now allows adding printers to printer groups |
---|
270 | |
---|
271 | - 1.16alpha21 : |
---|
272 | |
---|
273 | - Allows the dot in user and printer names. |
---|
274 | |
---|
275 | - Printer groups are now cached too. |
---|
276 | |
---|
277 | - 1.16alpha20 : |
---|
278 | |
---|
279 | - Fixed several small bugs with the help of PyChecker. |
---|
280 | |
---|
281 | - 1.16alpha19 : |
---|
282 | |
---|
283 | - Fixed a bug in PostgreSQL backend's code. |
---|
284 | |
---|
285 | - 1.16alpha18 : |
---|
286 | |
---|
287 | - Initial code for printer groups support. Printer groups have |
---|
288 | to be added with external tools like psql or gq for example. |
---|
289 | Printer groups seems to work fine with users. Untested with user |
---|
290 | groups for now. |
---|
291 | |
---|
292 | - Several minor visual problems fixed in reports. |
---|
293 | |
---|
294 | - Fixed a bug in LDAP date handling. |
---|
295 | |
---|
296 | - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP |
---|
297 | + some particular settings. |
---|
298 | |
---|
299 | - mailandpopup.sh shell script added. See sample configuration file |
---|
300 | for details. |
---|
301 | |
---|
302 | - Several environment variables are now exported when executing |
---|
303 | external commands (accounters, requesters, mailers) : |
---|
304 | |
---|
305 | PYKOTAUSERNAME => user who is printing |
---|
306 | PYKOTAPRINTERNAME => printer on which the job is being sent |
---|
307 | PYKOTATITLE => Job's title |
---|
308 | PYKOTAFILENAME => Job's filename |
---|
309 | PYKOTACOPIES => number of copies asked |
---|
310 | PYKOTAOPTIONS => print command options (-o with CUPS) |
---|
311 | |
---|
312 | - 1.16alpha17 : |
---|
313 | |
---|
314 | - Added portugues translation. |
---|
315 | |
---|
316 | - Major code refactoring in accounters. |
---|
317 | |
---|
318 | - 1.16alpha16 : |
---|
319 | |
---|
320 | - Code refactoring, and addition of a real HTML reporter, to |
---|
321 | have nice looking and useful web based reports (in the future). |
---|
322 | |
---|
323 | - Added utolower configuration option to convert all usernames |
---|
324 | to lowercase during printing. |
---|
325 | |
---|
326 | - 1.15alpha15 : |
---|
327 | |
---|
328 | - Now includes the papwaitprinter.sh shell script to wait for |
---|
329 | AppleTalk enabled printers. |
---|
330 | |
---|
331 | - 1.16alpha14 : |
---|
332 | |
---|
333 | - Now printing on a printer not defined in the Quota Storage, |
---|
334 | results in the job being cancelled or stopped, depending |
---|
335 | on the printing system. |
---|
336 | |
---|
337 | - 1.16alpha13 : |
---|
338 | |
---|
339 | - Small bugfix wrt Python v2.1 |
---|
340 | |
---|
341 | - If username is an empty string, user root is assumed. |
---|
342 | |
---|
343 | - 'postgresql' is not recognized anymore as a storage backend, |
---|
344 | you have to use 'pgstorage' instead. 'postgresql' used to |
---|
345 | be supported for compatibility with very old PyKota versions, |
---|
346 | this is not the case anymore. |
---|
347 | |
---|
348 | - 1.16alpha12 : |
---|
349 | |
---|
350 | - Job price added to job history, to keep accounting correct |
---|
351 | if a printer price per page or per job is modified and the |
---|
352 | history is not reset : the history would have given a false |
---|
353 | amount of money charged before the printer's prices were |
---|
354 | modified, this addition solves the problem. |
---|
355 | |
---|
356 | - 1.16alpha11 : |
---|
357 | |
---|
358 | - Some preliminary modifications to the database structure for |
---|
359 | PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL |
---|
360 | database is now provided. LDAP attributes now support |
---|
361 | eq, pres and sub indexes. |
---|
362 | |
---|
363 | - Job history now contains additional informations : |
---|
364 | number of copies, filename, title and print options. |
---|
365 | |
---|
366 | - 1.16alpha10 : |
---|
367 | |
---|
368 | - Some modifications done to external policy handling. |
---|
369 | See sample configuration file for details. |
---|
370 | |
---|
371 | - Spanish translation added. |
---|
372 | |
---|
373 | - 1.16alpha9 : |
---|
374 | |
---|
375 | - mailto can be set to external(...) to warn users above |
---|
376 | quota with any command of your choice (e.g. linpopup). |
---|
377 | Several parameters are available, see sample configuration |
---|
378 | file for details. |
---|
379 | |
---|
380 | - 1.16alpha8 : |
---|
381 | |
---|
382 | - Now cupspykota transmits SIGTERMS to the original |
---|
383 | backend when the user deletes a job being processed. |
---|
384 | |
---|
385 | - The documentation is now licensed under the terms of the |
---|
386 | GNU GPL too. |
---|
387 | |
---|
388 | - 1.16alpha7 : |
---|
389 | |
---|
390 | - The CUPS backend is now fully functionnal (it seems). |
---|
391 | |
---|
392 | - From now on, the use of the pykota filter with CUPS |
---|
393 | is deprecated. The pykota filter still has to be |
---|
394 | used with LPRng though. |
---|
395 | |
---|
396 | - 1.16alpha6 : |
---|
397 | |
---|
398 | - Bug fixed : when edpykota was used to add a printer |
---|
399 | with no user or group name, a bad user/group name "*" was |
---|
400 | added to the database. |
---|
401 | |
---|
402 | - 1.16alpha5 : |
---|
403 | |
---|
404 | - New CUPS backend supports device enumeration ! |
---|
405 | This means that NO manual CUPS configuration has to |
---|
406 | be done. All can now be done from CUPS web interface. |
---|
407 | |
---|
408 | - 1.16alpha4 : |
---|
409 | |
---|
410 | - New CUPS backend added. |
---|
411 | |
---|
412 | - 1.16alpha3 : |
---|
413 | |
---|
414 | - Minimal FAQ document added. |
---|
415 | |
---|
416 | - 1.16alpha2 : |
---|
417 | |
---|
418 | - CGI script now partially supports browser's language preference |
---|
419 | |
---|
420 | - 1.16alpha1 : |
---|
421 | |
---|
422 | - Ensures that the LDAP connection is really closed at end. |
---|
423 | |
---|
424 | - More complete error messages in case of LDAP operation failure. |
---|
425 | |
---|
426 | - 1.15 : |
---|
427 | |
---|
428 | - Documentation improved. |
---|
429 | |
---|
430 | - 1.15beta : |
---|
431 | |
---|
432 | - Command line tools now accept multiple printer |
---|
433 | names or wildcards, separated with commas. |
---|
434 | |
---|
435 | - 1.15alpha9 : |
---|
436 | |
---|
437 | - External policy can be used to auto-add unknown users |
---|
438 | and any other interesting things you may want to do. |
---|
439 | WARNING : You can't auto-add printers for now. |
---|
440 | They have to be created manually before. |
---|
441 | Look at sample configuration file for examples. |
---|
442 | |
---|
443 | - 1.15alpha8 : |
---|
444 | |
---|
445 | - Job history can be disabled if needed. |
---|
446 | This feature may be useful for people who use the LDAP |
---|
447 | backend and don't want their LDAP tree to grow out of |
---|
448 | control. |
---|
449 | |
---|
450 | - 1.15alpha7 : |
---|
451 | |
---|
452 | - More work done on caching wrt groups. |
---|
453 | |
---|
454 | - 1.15alpha6 : |
---|
455 | |
---|
456 | - Performance bottleneck with LDAP solved. |
---|
457 | |
---|
458 | - 1.15alpha5 : |
---|
459 | |
---|
460 | - Caching mechanism for all database queries. |
---|
461 | |
---|
462 | - 1.15alpha4 : |
---|
463 | |
---|
464 | - Problem with Python 2.3 fixed. Needs some definitive |
---|
465 | modification. |
---|
466 | |
---|
467 | - 1.15alpha3 : |
---|
468 | |
---|
469 | - CGI script now tries to restrict view when the |
---|
470 | REMOTE_USER environment variable is set. This allows |
---|
471 | people to protect its use with .htaccess files. |
---|
472 | When unprotected, or if REMOTE_USER is 'root', then |
---|
473 | unrestricted access is granted. |
---|
474 | NB : REMOTE_USER is automatically set by the web server |
---|
475 | (e.g. Apache) when a page with restricted access is viewed. |
---|
476 | |
---|
477 | - 1.15alpha2 : |
---|
478 | |
---|
479 | - Better detection of LPRng. |
---|
480 | |
---|
481 | - Outputs a warning if printing system is unknown. |
---|
482 | |
---|
483 | - 1.15alpha1 : |
---|
484 | |
---|
485 | - Bug fix in SQL code. |
---|
486 | |
---|
487 | - 1.14 : |
---|
488 | |
---|
489 | - The PostgreSQL database connection is now always closed before |
---|
490 | exit. The LDAP database connection too, but it didn't suffer |
---|
491 | from the problem anyway, AFAICT. |
---|
492 | |
---|
493 | - 1.14beta2 : |
---|
494 | |
---|
495 | - An LDAP-specific configuration field was introduced, usermail. |
---|
496 | Use it to specify which LDAP attribute contains a valid email |
---|
497 | address for the user. See sample configuration file for |
---|
498 | details. |
---|
499 | |
---|
500 | - 1.14beta : |
---|
501 | |
---|
502 | - Two new LDAP-specific configuration fields were introduced, |
---|
503 | newuser and newgroup. Use them to specify if you want to add |
---|
504 | quota information to existing entries or elsewhere. |
---|
505 | See sample configuration file for details. |
---|
506 | |
---|
507 | - 1.14alpha9 : |
---|
508 | |
---|
509 | - Documentation improved. |
---|
510 | |
---|
511 | - pykotme now also prints the user's account balance value |
---|
512 | if the user is registered in the Quota Storage and his |
---|
513 | limiting factor is "balance". |
---|
514 | |
---|
515 | - 1.14alpha8 : |
---|
516 | |
---|
517 | - bin/waitprinter.sh is now included to wait for |
---|
518 | SNMP enabled printers to be idle again before |
---|
519 | asking for their internal page counter. |
---|
520 | See sample configuration file for details. |
---|
521 | |
---|
522 | - 1.14alpha7 : |
---|
523 | |
---|
524 | - edpykota now doesn't check if the user/group is above |
---|
525 | quota. The check is only done at print time. This |
---|
526 | prevents the sending of email messages when creating |
---|
527 | user quotas if quota is already reached at creation |
---|
528 | time. |
---|
529 | |
---|
530 | - 1.14alpha6 : |
---|
531 | |
---|
532 | - Configuration file split and moved to /etc/pykota/pykota.conf |
---|
533 | and /etc/pykota/pykotadmin.conf to prevent simple users to |
---|
534 | have Read/Write access to the Quota Database. |
---|
535 | Don't forget to : |
---|
536 | |
---|
537 | $ chmod 640 /etc/pykota/pykotadmin.conf |
---|
538 | |
---|
539 | - storageuser and storageuserpw configuration fields reintroduced |
---|
540 | for the same reason. |
---|
541 | |
---|
542 | - Code cleaning for future implementation of email addresses |
---|
543 | support in the PostgreSQL and LDAP backends. |
---|
544 | |
---|
545 | - 1.14alpha5 : |
---|
546 | |
---|
547 | - Big bug fixed when changing the prices for a printer |
---|
548 | |
---|
549 | - 1.14alpha4 : |
---|
550 | |
---|
551 | - When adding an user, the user itself and its account balance |
---|
552 | are now added in the same LDAP entry. Before they were added |
---|
553 | as two different LDAP entries. |
---|
554 | |
---|
555 | - 1.14alpha3 : |
---|
556 | |
---|
557 | - Email field added to PostgreSQL database. An upgrade script |
---|
558 | is included in initscripts/postgresql. |
---|
559 | |
---|
560 | - 1.14alpha2 : |
---|
561 | |
---|
562 | - Typo fixed when using the --prototype option to edpykota |
---|
563 | |
---|
564 | - 1.14alpha1 : |
---|
565 | |
---|
566 | - Poor man's treshold included : users with a low account |
---|
567 | balance (below 1.0 by default, configurable) are sent |
---|
568 | a warning message. |
---|
569 | |
---|
570 | - All warning messages to users are now configurable. |
---|
571 | NB : Warning messages to the administrator are not. |
---|
572 | |
---|
573 | - 1.13 : |
---|
574 | |
---|
575 | - Some small fixes wrt group handling. |
---|
576 | |
---|
577 | - The whole module code was passed through PyChecker and |
---|
578 | several small code inconsistencies were fixed, |
---|
579 | as well as a bug in the groups code. |
---|
580 | |
---|
581 | - 1.13alpha1 : |
---|
582 | |
---|
583 | - Bug fix wrt LDAP. |
---|
584 | |
---|
585 | - 1.12 : |
---|
586 | |
---|
587 | - More complete test added in edpykota. |
---|
588 | |
---|
589 | - 1.12alpha2 : |
---|
590 | |
---|
591 | - The previous bug fix was incomplete. This is corrected. |
---|
592 | |
---|
593 | - 1.12alpha1 : |
---|
594 | |
---|
595 | - Small bug fix. |
---|
596 | |
---|
597 | - 1.11 : |
---|
598 | |
---|
599 | - Now includes the pykotme command line tool, to produce |
---|
600 | printing quotes for users. |
---|
601 | |
---|
602 | - 1.10 : |
---|
603 | |
---|
604 | - Bug fixed wrt quota reports when print limiting is by |
---|
605 | account balance. |
---|
606 | |
---|
607 | - 1.09 : |
---|
608 | |
---|
609 | - Translations finalized. |
---|
610 | |
---|
611 | - Manpages updated. |
---|
612 | |
---|
613 | - Installation documentation improved wrt LDAP support. |
---|
614 | |
---|
615 | - 1.09beta2 : |
---|
616 | |
---|
617 | - The CGI script for quota reports works again, and |
---|
618 | is much more powerful. |
---|
619 | |
---|
620 | - 1.09beta : |
---|
621 | |
---|
622 | - edpykota finalized |
---|
623 | |
---|
624 | - 1.09alpha2 : |
---|
625 | |
---|
626 | - LDAP schema modified a bit. Please upgrade. |
---|
627 | |
---|
628 | - LDAP backend works ! |
---|
629 | |
---|
630 | - repykota and warnpykota allow the root user to pass |
---|
631 | users or groups names on the command line. Users |
---|
632 | and groups names may contain wildcards. |
---|
633 | |
---|
634 | - repykota and warnpykota only reports or warns the |
---|
635 | current user when launched by non-root users. |
---|
636 | |
---|
637 | - Minor bug fixes. |
---|
638 | |
---|
639 | - 1.09alpha1 : |
---|
640 | |
---|
641 | - More work on LDAP storage backend. Many options |
---|
642 | were added to /etc/pykota.conf to give some |
---|
643 | hints to the LDAP storage backend. |
---|
644 | |
---|
645 | - Severe database access optimizations were done by |
---|
646 | rewriting most of the Quota Storage backends drivers. |
---|
647 | |
---|
648 | - 1.08 : |
---|
649 | |
---|
650 | - Major bug fix wrt LPRng support for remote jobs. |
---|
651 | |
---|
652 | - Major bug fix wrt increase/decrease account balances. |
---|
653 | |
---|
654 | - 1.08alpha8 : |
---|
655 | |
---|
656 | - Code refactoring. |
---|
657 | |
---|
658 | - A single user/password pair is used to connect |
---|
659 | to the database backend. The storageuser configuration |
---|
660 | field, and its associated passwords storageuserpw, are |
---|
661 | not used anymore. |
---|
662 | |
---|
663 | - You can now set PyKota in debug mode, see sample configuration |
---|
664 | file for details. |
---|
665 | WARNING : only Quota Storage backend queries are logged in |
---|
666 | debug mode, for now. |
---|
667 | |
---|
668 | - 1.08alpha7 : |
---|
669 | |
---|
670 | - Very latest LDAP schema. |
---|
671 | |
---|
672 | - Code enhancement wrt easy pluggability of PyKota attributes |
---|
673 | and object classes into an existing LDAP directory. |
---|
674 | |
---|
675 | - 1.08alpha6 : |
---|
676 | |
---|
677 | - Minor bug corrections |
---|
678 | |
---|
679 | - More work on LDAP : new schema |
---|
680 | |
---|
681 | - 1.08alpha5 : |
---|
682 | |
---|
683 | - More good work on LDAP storage. |
---|
684 | repykota now works reasonably well with the sample LDAP directory. |
---|
685 | |
---|
686 | - 1.08alpha4 : |
---|
687 | |
---|
688 | - LDAP schema included. |
---|
689 | THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS. |
---|
690 | LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA |
---|
691 | MAY CHANGE IN THE FUTURE. PLEASE TELL US |
---|
692 | WHAT YOU THINK ABOUT THIS SCHEMA ON THE |
---|
693 | MAILING LIST. |
---|
694 | |
---|
695 | - 1.08alpha3 : |
---|
696 | |
---|
697 | - External accounting methods were partly rewritten : |
---|
698 | |
---|
699 | - No more "broken pipe" should happen. |
---|
700 | |
---|
701 | - They now take care of the number of copies |
---|
702 | This may be unneeded though, if the postscript |
---|
703 | file already does this, because this would |
---|
704 | overcharge users (number of copies counted |
---|
705 | two times). NEEDS MORE TESTING. |
---|
706 | |
---|
707 | - The sample configuration file now contains |
---|
708 | an external accounting method example which should |
---|
709 | work with all DSC compliant Postscript files. |
---|
710 | |
---|
711 | - Some small bugs were fixed. |
---|
712 | |
---|
713 | - 1.08alpha2 : |
---|
714 | |
---|
715 | - Now works with net-snmp v5.0 and above. |
---|
716 | It already worked, but the sample configuration |
---|
717 | file didn't contain appropriate values... |
---|
718 | |
---|
719 | - 1.07 : Release of the Shame ! |
---|
720 | |
---|
721 | - The external accounting methods driver was left out of |
---|
722 | the CVS tree. Nobody could use it since it wasn't included ! |
---|
723 | |
---|
724 | - 1.06 : |
---|
725 | |
---|
726 | - Severe bug fixed : if you had a printer in |
---|
727 | power saving state which couldn't answer immediately, |
---|
728 | a bug was triggered. |
---|
729 | It was caused by a bad copy/paste which |
---|
730 | forgot to import a Python module at run time. |
---|
731 | |
---|
732 | - 1.05 : |
---|
733 | |
---|
734 | - External accounters are finally available ! |
---|
735 | This means that you can plug any page accounting |
---|
736 | method you like by setting the appropriate |
---|
737 | 'accounter' field in /etc/pykota.conf |
---|
738 | See the sample conf/pykota.conf.sample to |
---|
739 | learn how to do. |
---|
740 | |
---|
741 | NB : Both 'external' and 'stupid' accounting methods |
---|
742 | account a job size just before *this* job is |
---|
743 | sent to the printer. |
---|
744 | The original 'querying' method accounts a job |
---|
745 | size just before *the next* job is sent to |
---|
746 | the printer. |
---|
747 | |
---|
748 | - 1.05alpha3 : |
---|
749 | |
---|
750 | - A 'stupid' and unreliable accounting method was |
---|
751 | implemented to serve as an example on how to |
---|
752 | do this sort of things. This method only counts |
---|
753 | the 'showpage' statements in the input data. |
---|
754 | See sample configuration file for details. |
---|
755 | Pluggable accounting methods work, but I advise |
---|
756 | you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE. |
---|
757 | It is not reliable enough to be used. |
---|
758 | Use the 'querying' accounting method instead. |
---|
759 | |
---|
760 | - 1.05alpha2 : |
---|
761 | |
---|
762 | - Pluggable accounting methods. |
---|
763 | |
---|
764 | - Better error handling. |
---|
765 | |
---|
766 | - 1.05alpha1 : |
---|
767 | |
---|
768 | - SECURITY file added to help improve PyKota's security. |
---|
769 | |
---|
770 | - Extracting the printer's internal page counter is now |
---|
771 | tried several times, waiting several seconds between |
---|
772 | two tries. This lets the time to warm up for some printers |
---|
773 | which don't answer when they are sleeping (my Apple |
---|
774 | LaserWriter 16/600 PS is in this case, maybe others too) |
---|
775 | |
---|
776 | - Small display bug fixed in repykota |
---|
777 | |
---|
778 | - 1.04 : |
---|
779 | |
---|
780 | - Default print policy for users/groups unknown from |
---|
781 | the print quota system is now DENY instead of ALLOW, |
---|
782 | since ALLOW can generate inaccurate results |
---|
783 | (incorrect job sizes charged to the wrong persons) |
---|
784 | |
---|
785 | - LPRng support works ! |
---|
786 | |
---|
787 | - A bug was introduced some time ago wrt printers' default |
---|
788 | policy for unknown users. It is now corrected. |
---|
789 | |
---|
790 | - repykota now displays prices per job and per page for each |
---|
791 | printer, if they are defined. |
---|
792 | |
---|
793 | - Minor display bug fixed in repykota. |
---|
794 | |
---|
795 | - Problem when running repykota with an empty database was fixed. |
---|
796 | |
---|
797 | - 1.03 : |
---|
798 | |
---|
799 | - Upgrade script included for earlier versions. |
---|
800 | Please look inside the initscripts subdirectory. |
---|
801 | THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE. |
---|
802 | |
---|
803 | - repykota now reports account balances too. |
---|
804 | |
---|
805 | - PyKota now has a nice logo, see the logos |
---|
806 | subdirectory. |
---|
807 | |
---|
808 | - Manual pages were finally updated. |
---|
809 | |
---|
810 | - Group quotas seem to work now ! |
---|
811 | |
---|
812 | - The new database schema allows to keep an history of all |
---|
813 | jobs as well as charge users per page and/or per job, |
---|
814 | and track users' account balance. |
---|
815 | |
---|
816 | - edpykota now accepts much more command line options to |
---|
817 | use the new functionnalities. See edpykota --help for |
---|
818 | details. |
---|
819 | |
---|
820 | - The installation script now allows to install the sample |
---|
821 | configuration file during first installation. |
---|
822 | |
---|
823 | - More group quota code works, but still not finished. |
---|
824 | |
---|
825 | - The CGI script displays a link to PyKota's website. |
---|
826 | |
---|
827 | - The job history is now kept, this will allow per-period |
---|
828 | reports in the future. |
---|
829 | |
---|
830 | - After having modified the quota for an user with edpykota, |
---|
831 | a quota check is done to eventually warn the user/admin about |
---|
832 | a quota which is too low to print. |
---|
833 | |
---|
834 | - A workaround is provided for HP Printers : their internal |
---|
835 | page counter is only saved to NVRAM in a 10 increment, so |
---|
836 | if you switch them off and then on, the reported page counter |
---|
837 | may be lower than the real number of pages printed. |
---|
838 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
839 | We unconditionnally set the last job's page count to |
---|
840 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
841 | in this case. |
---|
842 | For a more accurate accounting, never switch your HP printers |
---|
843 | off. |
---|
844 | |
---|
845 | - A fix is provided for printers which only have a volatile |
---|
846 | page counter (reset to 0 every time you switch the printer on) |
---|
847 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
848 | 4L/5L/6L, not perfect, but better than nothing. |
---|
849 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
850 | For a more accurate accounting, never switch your HP printers |
---|
851 | off. This is untested, please report any problem. |
---|
852 | |
---|
853 | - A bug was fixed when edpykota --add was used with users who already |
---|
854 | had a quota on the specified printer. |
---|
855 | |
---|
856 | - A small display bug in repykota was introduced in preliminary |
---|
857 | 1.03 versions, and fixed later on. |
---|
858 | |
---|
859 | - Some minor bugs which happened in rare situations were fixed. |
---|
860 | |
---|
861 | - Support for AppleTalk printers was added, see sample configuration |
---|
862 | file for details. |
---|
863 | |
---|
864 | - Users and group printing can now be controlled (limited) either by |
---|
865 | print quota or by account balance. |
---|
866 | |
---|
867 | - 1.02 : |
---|
868 | |
---|
869 | - The installation script now checks for software availability |
---|
870 | and in case a software is missing asks the user if he |
---|
871 | wants to continue with the installation or abort it. |
---|
872 | |
---|
873 | - The configuration file pykota.conf is now expected to be |
---|
874 | found in /etc instead of in /etc/cups |
---|
875 | The installation script prompts the user to see if he |
---|
876 | wants to move an old configuration file to the new location |
---|
877 | if needed. |
---|
878 | |
---|
879 | - Improved documentation. |
---|
880 | |
---|
881 | - You can now set the tcp/ip port on which the Quota Storage |
---|
882 | Server is listening, see sample configuration file for details. |
---|
883 | |
---|
884 | - Better general error handling. |
---|
885 | |
---|
886 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
887 | included as well. |
---|
888 | |
---|
889 | - 1.01 : |
---|
890 | |
---|
891 | - The configuration file now accepts an option |
---|
892 | to choose the recipient(s) of the email messages : |
---|
893 | |
---|
894 | - DevNull means no one will receive them. |
---|
895 | - User means only the user will receive them. |
---|
896 | - Admin means only the admin will receive them. |
---|
897 | - Both means the User and the Admin will receive them. |
---|
898 | |
---|
899 | - The configuration file now uses hard-coded default values |
---|
900 | when an option is not set. See sample configuration file |
---|
901 | for details. |
---|
902 | |
---|
903 | - Manual pages are included since 1.00, but I forgot to |
---|
904 | add this information to this file. |
---|
905 | |
---|
906 | - Redistribution terms for the official package have |
---|
907 | softened and are now fully GPL compatible : |
---|
908 | unrestricted modification is now allowed even for |
---|
909 | the version number. |
---|
910 | |
---|
911 | - 1.00 : |
---|
912 | |
---|
913 | - edpykota now accepts a --noquota option. This |
---|
914 | disable quota checking while still doing page |
---|
915 | accounting. This is really useful for people |
---|
916 | who don't want to limit their users but want |
---|
917 | to know how much pages they print. |
---|
918 | |
---|
919 | - Some untested scripts were added to retrieve |
---|
920 | the life time page counter of non-SNMP printers. |
---|
921 | |
---|
922 | - Every directory now has a specific README file. |
---|
923 | |
---|
924 | - 0.99 : |
---|
925 | |
---|
926 | - Under some circumstances while the user wasn't allowed |
---|
927 | to print, he didn't receive any email message. It is |
---|
928 | now fixed. |
---|
929 | |
---|
930 | - When an user wasn't allowed to print, the quota for |
---|
931 | the previous user wasn't updated. This is now fixed. |
---|
932 | |
---|
933 | - 0.98 : |
---|
934 | |
---|
935 | - Correctly handle the case where the printer is switched off. |
---|
936 | |
---|
937 | - Small bug wrt syslog fixed. |
---|
938 | |
---|
939 | - 0.97 : |
---|
940 | |
---|
941 | - edpykota accepts wildcards on its command line for users/groups too |
---|
942 | if the --add option is not set, e.g. : |
---|
943 | |
---|
944 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
945 | |
---|
946 | - If no user name is passed at all, then a default wildcard of "*" |
---|
947 | which means apply the command on ALL users for this printer is used. |
---|
948 | |
---|
949 | - Small bug fixes. |
---|
950 | |
---|
951 | - 0.96 : |
---|
952 | |
---|
953 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
954 | be set either globally or per printer. The printer option has |
---|
955 | priority if both are defined. |
---|
956 | |
---|
957 | - More powerful configuration parser. |
---|
958 | |
---|
959 | - If all options are defined globally, there's no need to |
---|
960 | define a section for each printer in the configuration |
---|
961 | file anymore. Just define a [global] section and it's ok. |
---|
962 | |
---|
963 | - 0.95 : |
---|
964 | |
---|
965 | - External requesters for printers finally added. |
---|
966 | |
---|
967 | - Full internationalization (english and french are supported) |
---|
968 | |
---|
969 | - More complete quota usage report |
---|
970 | |
---|
971 | - CGI script to access to the quota usage report |
---|
972 | |
---|
973 | - Several bugs fixed. |
---|
974 | |
---|
975 | |
---|
976 | - 0.9 : |
---|
977 | |
---|
978 | - First public version |
---|