root / pykota / trunk / NEWS @ 1149

Revision 1149, 19.0 kB (checked in by jalet, 21 years ago)

Job history can be disabled.
Some typos in README.
More messages in setup script.

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