root / pykota / trunk / NEWS @ 1227

Revision 1227, 22.9 kB (checked in by jalet, 20 years ago)

Added 'utolower' configuration option to convert all usernames to
lowercase when printing. All database accesses are still and will
remain case sensitive though.

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