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