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