root / pykota / trunk / NEWS @ 1270

Revision 1270, 24.8 kB (checked in by jalet, 20 years ago)

Clarifies

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