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