root / pykota / trunk / NEWS @ 1248

Revision 1248, 24.5 kB (checked in by jalet, 20 years ago)

Dots in user, groups and printer names should be allowed.

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