root / pykota / trunk / NEWS @ 1305

Revision 1301, 26.0 kB (checked in by jalet, 20 years ago)

1.16beta3 is out

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