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