root / pykota / trunk / NEWS @ 1258

Revision 1258, 24.7 kB (checked in by jalet, 21 years ago)

edpykota now supports adding printers to printer groups.

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