root / pykota / trunk / NEWS @ 1221

Revision 1221, 22.6 kB (checked in by jalet, 20 years ago)

Printing on a printer not present in the Quota Storage now results
in the job being stopped or cancelled depending on the system.

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