root / pykota / trunk / NEWS @ 1240

Revision 1240, 24.5 kB (checked in by uid67467, 20 years ago)

Should be ok now.

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