root / pykota / trunk / NEWS @ 1272

Revision 1272, 25.0 kB (checked in by jalet, 20 years ago)

Bug wrt number of copies with CUPS should be fixed.

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