root / pykota / trunk / NEWS @ 1328

Revision 1328, 26.9 kB (checked in by jalet, 20 years ago)

New entries.

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