root / pykota / trunk / NEWS @ 1258

Revision 1258, 24.7 kB (checked in by jalet, 20 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
RevLine 
[797]1# $Id$
2
3PyKota - Print Quota for CUPS
4
[1257]5(c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
[873]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.
[797]10
[873]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.
[797]15
[873]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
[797]20============================================================
21
22PyKota NEWS :
23
[1258]24    - 1.16alpha22 :
25   
26        - edpykota now allows adding printers to printer groups
27       
[1248]28    - 1.16alpha21 :
29   
30        - Allows the dot in user and printer names.
31       
[1249]32        - Printer groups are now cached too.
33       
[1240]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         
[1239]69    - 1.16alpha17 :
[1227]70   
[1239]71        - Added portugues translation.
72       
73        - Major code refactoring in accounters.
74       
75    - 1.16alpha16 :
76   
[1235]77        - Code refactoring, and addition of a real HTML reporter, to
78          have nice looking and useful web based reports (in the future).
79       
[1227]80        - Added utolower configuration option to convert all usernames
81          to lowercase during printing.
82         
[1226]83    - 1.15alpha15 :
84   
85        - Now includes the papwaitprinter.sh shell script to wait for
86          AppleTalk enabled printers.
87         
[1221]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         
[1212]94    - 1.16alpha13 :
95   
96        - Small bugfix wrt Python v2.1
97       
[1215]98        - If username is an empty string, user root is assumed.
[1220]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.
[1212]104         
[1203]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         
[1200]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         
[1194]123    - 1.16alpha10 :
[1196]124       
125        - Some modifications done to external policy handling.
126          See sample configuration file for details.
[1194]127   
128        - Spanish translation added.
129       
[1192]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         
[1189]137    - 1.16alpha8 :
138   
[1191]139        - Now cupspykota transmits SIGTERMS to the original 
140          backend when the user deletes a job being processed.
141         
[1189]142        - The documentation is now licensed under the terms of the
143          GNU GPL too.
144         
[1185]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       
[1179]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         
[1178]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       
[1177]165    - 1.16alpha4 :
166   
167        - New CUPS backend added.
168       
[1175]169    - 1.16alpha3 :
170       
171        - Minimal FAQ document added.
172       
[1172]173    - 1.16alpha2 :
174   
175        - CGI script now partially supports browser's language preference
176       
[1170]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       
[1168]183    - 1.15 :
184     
185        - Documentation improved.
186       
[1156]187    - 1.15beta :
188   
189        - Command line tools now accept multiple printer
190          names or wildcards, separated with commas.
191         
[1152]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         
[1149]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       
[1138]207    - 1.15alpha7 :
208   
209        - More work done on caching wrt groups.
210       
[1135]211    - 1.15alpha6 :
212   
213        - Performance bottleneck with LDAP solved.
214       
[1130]215    - 1.15alpha5 :
216   
217        - Caching mechanism for all database queries.
218
[1123]219    - 1.15alpha4 :
220   
221        - Problem with Python 2.3 fixed. Needs some definitive
222          modification.
223         
[1121]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.
[1122]231          NB : REMOTE_USER is automatically set by the web server
232          (e.g. Apache) when a page with restricted access is viewed.
[1121]233         
[1116]234    - 1.15alpha2 :
235   
236        - Better detection of LPRng.
237       
238        - Outputs a warning if printing system is unknown.
239       
[1115]240    - 1.15alpha1 :
241   
242        - Bug fix in SQL code.
243       
[1113]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       
[1111]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       
[1105]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         
[1099]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         
[1095]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         
[1089]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         
[1087]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         
[1085]302    - 1.14alpha5 :
303       
304        - Big bug fixed when changing the prices for a printer
305       
[1082]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         
[1079]312    - 1.14alpha3 :
313   
314        - Email field added to PostgreSQL database. An upgrade script
315          is included in initscripts/postgresql.
316       
[1078]317    - 1.14alpha2 :
318   
319        - Typo fixed when using the --prototype option to edpykota
320       
[1077]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       
[1068]330    - 1.13 :
331   
[1072]332        - Some small fixes wrt group handling.
333       
[1068]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         
[1067]338    - 1.13alpha1 :
339   
340        - Bug fix wrt LDAP.
341       
[1065]342    - 1.12 :
343   
344        - More complete test added in edpykota.
345       
[1062]346    - 1.12alpha2 :
347   
348        - The previous bug fix was incomplete. This is corrected.
349       
[1061]350    - 1.12alpha1 :
351   
352        - Small bug fix.
353       
[1057]354    - 1.11 :
355   
356        - Now includes the pykotme command line tool, to produce
357          printing quotes for users.
358         
[1056]359    - 1.10 :
360   
361        - Bug fixed wrt quota reports when print limiting is by
362          account balance.
363         
[1052]364    - 1.09 :
365   
366        - Translations finalized.
367       
368        - Manpages updated.
369       
370        - Installation documentation improved wrt LDAP support.
371       
[1049]372    - 1.09beta2 :
373   
374        - The CGI script for quota reports works again, and
375          is much more powerful.
376       
[1043]377    - 1.09beta :
378   
379        - edpykota finalized
380       
[1041]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   
[1029]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.
[1044]401         
402        - Severe database access optimizations were done by
403          rewriting most of the Quota Storage backends drivers.
[1029]404     
[1027]405    - 1.08 :
406   
407        - Major bug fix wrt LPRng support for remote jobs.
[1029]408       
[1027]409        - Major bug fix wrt increase/decrease account balances.
410       
[1021]411    - 1.08alpha8 :
412   
413        - Code refactoring.
[1029]414       
[1021]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.
[1029]419         
[1022]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.
[1021]424       
[1019]425    - 1.08alpha7 :
426   
427        - Very latest LDAP schema.
[1029]428       
[1019]429        - Code enhancement wrt easy pluggability of PyKota attributes
430          and object classes into an existing LDAP directory.
431       
[1017]432    - 1.08alpha6 :
433   
434        - Minor bug corrections
[1029]435       
[1017]436        - More work on LDAP : new schema
437       
[1016]438    - 1.08alpha5 :
439   
[1017]440        - More good work on LDAP storage.
441          repykota now works reasonably well with the sample LDAP directory.
[1016]442       
[1014]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         
[1000]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       
[998]470    - 1.08alpha2 :
471   
472        - Now works with net-snmp v5.0 and above.
473          It already worked, but the sample configuration
[1000]474          file didn't contain appropriate values...
[998]475       
[991]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         
[989]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         
[980]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       
[976]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.
[978]515          Use the 'querying' accounting method instead.
[976]516         
[973]517    - 1.05alpha2 :
518   
519        - Pluggable accounting methods.
520       
[975]521        - Better error handling.
522       
[962]523    - 1.05alpha1 :
524   
[969]525        - SECURITY file added to help improve PyKota's security.
526       
[962]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         
[970]533        - Small display bug fixed in repykota
534         
[960]535    - 1.04 :
[956]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         
[954]542        - LPRng support works !
543       
[953]544        - A bug was introduced some time ago wrt printers' default
545          policy for unknown users. It is now corrected.
546       
[950]547        - repykota now displays prices per job and per page for each
548          printer, if they are defined.
549         
[947]550        - Minor display bug fixed in repykota.
551       
552        - Problem when running repykota with an empty database was fixed.
553       
[942]554    - 1.03 :
555   
556        - Upgrade script included for earlier versions.
557          Please look inside the initscripts subdirectory.
[965]558          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
[942]559         
[932]560        - repykota now reports account balances too.
[929]561       
[932]562        - PyKota now has a nice logo, see the logos
563          subdirectory.
564       
[936]565        - Manual pages were finally updated.
566       
[927]567        - Group quotas seem to work now !
568       
[910]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         
[917]573        - edpykota now accepts much more command line options to 
574          use the new functionnalities. See edpykota --help for
575          details.
576         
[885]577        - The installation script now allows to install the sample
578          configuration file during first installation.
[892]579         
580        - More group quota code works, but still not finished. 
[885]581       
[894]582        - The CGI script displays a link to PyKota's website.
583       
[899]584        - The job history is now kept, this will allow per-period
585          reports in the future.
[900]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         
[901]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
[909]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.
[908]599          For a more accurate accounting, never switch your HP printers
600          off.
[901]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)
[908]604          This should allow PyKota to work reasonably fine with HP Laserjet
605          4L/5L/6L, not perfect, but better than nothing.
[901]606          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[908]607          For a more accurate accounting, never switch your HP printers
[925]608          off. This is untested, please report any problem.
[901]609         
[907]610        - A bug was fixed when edpykota --add was used with users who already
611          had a quota on the specified printer.
612         
[913]613        - A small display bug in repykota was introduced in preliminary
614          1.03 versions, and fixed later on.
[915]615         
616        - Some minor bugs which happened in rare situations were fixed.
[913]617       
[919]618        - Support for AppleTalk printers was added, see sample configuration
619          file for details.
[925]620         
621        - Users and group printing can now be controlled (limited) either by 
622          print quota or by account balance.
[919]623       
[877]624    - 1.02 :
[859]625   
[871]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         
[872]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         
[859]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       
[872]641        - Better general error handling.
[859]642       
[875]643        - Upgrade script for pre 1.01 PostgreSQL database schema is now
644          included as well.
645       
[852]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           
[853]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         
[852]660        - Manual pages are included since 1.00, but I forgot to   
661          add this information to this file.
662         
[855]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         
[846]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       
[833]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
[835]688          the previous user wasn't updated. This is now fixed.
[833]689         
[827]690    - 0.98 :
691   
692        - Correctly handle the case where the printer is switched off.
693       
[828]694        - Small bug wrt syslog fixed.
695       
[819]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             
[821]703        - If no user name is passed at all, then a default wildcard of "*"
[819]704          which means apply the command on ALL users for this printer is used.
705         
706        - Small bug fixes.
707       
[803]708    - 0.96 :
709
[808]710        - Options requester, policy, admin, adminmail and gracedelay can now
[807]711          be set either globally or per printer. The printer option has
712          priority if both are defined.
[803]713
[807]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.
[803]719
[797]720    - 0.95 :
721
[798]722        - External requesters for printers finally added.
[797]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.