root / pykota / trunk / NEWS @ 1086

Revision 1085, 15.6 kB (checked in by jalet, 21 years ago)

Bug in postgresql storage when modifying the prices for a printer

  • 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.14alpha5 :
25       
26        - Big bug fixed when changing the prices for a printer
27       
28    - 1.14alpha4 :
29   
30        - When adding an user, the user itself and its account balance
31          are now added in the same LDAP entry. Before they were added
32          as two different LDAP entries.
33         
34    - 1.14alpha3 :
35   
36        - Email field added to PostgreSQL database. An upgrade script
37          is included in initscripts/postgresql.
38       
39    - 1.14alpha2 :
40   
41        - Typo fixed when using the --prototype option to edpykota
42       
43    - 1.14alpha1 :
44   
45        - Poor man's treshold included : users with a low account
46          balance (below 1.0 by default, configurable) are sent
47          a warning message.
48         
49        - All warning messages to users are now configurable. 
50          NB : Warning messages to the administrator are not.
51       
52    - 1.13 :
53   
54        - Some small fixes wrt group handling.
55       
56        - The whole module code was passed through PyChecker and
57          several small code inconsistencies were fixed,
58          as well as a bug in the groups code.
59         
60    - 1.13alpha1 :
61   
62        - Bug fix wrt LDAP.
63       
64    - 1.12 :
65   
66        - More complete test added in edpykota.
67       
68    - 1.12alpha2 :
69   
70        - The previous bug fix was incomplete. This is corrected.
71       
72    - 1.12alpha1 :
73   
74        - Small bug fix.
75       
76    - 1.11 :
77   
78        - Now includes the pykotme command line tool, to produce
79          printing quotes for users.
80         
81    - 1.10 :
82   
83        - Bug fixed wrt quota reports when print limiting is by
84          account balance.
85         
86    - 1.09 :
87   
88        - Translations finalized.
89       
90        - Manpages updated.
91       
92        - Installation documentation improved wrt LDAP support.
93       
94    - 1.09beta2 :
95   
96        - The CGI script for quota reports works again, and
97          is much more powerful.
98       
99    - 1.09beta :
100   
101        - edpykota finalized
102       
103    - 1.09alpha2 :
104   
105        - LDAP schema modified a bit. Please upgrade.
106       
107        - LDAP backend works !
108       
109        - repykota and warnpykota allow the root user to pass
110          users or groups names on the command line. Users
111          and groups names may contain wildcards.
112         
113        - repykota and warnpykota only reports or warns the
114          current user when launched by non-root users.
115         
116        - Minor bug fixes. 
117   
118    - 1.09alpha1 :
119   
120        - More work on LDAP storage backend. Many options
121          were added to /etc/pykota.conf to give some
122          hints to the LDAP storage backend.
123         
124        - Severe database access optimizations were done by
125          rewriting most of the Quota Storage backends drivers.
126     
127    - 1.08 :
128   
129        - Major bug fix wrt LPRng support for remote jobs.
130       
131        - Major bug fix wrt increase/decrease account balances.
132       
133    - 1.08alpha8 :
134   
135        - Code refactoring.
136       
137        - A single user/password pair is used to connect
138          to the database backend. The storageuser configuration
139          field, and its associated passwords storageuserpw, are
140          not used anymore.
141         
142        - You can now set PyKota in debug mode, see sample configuration 
143          file for details.
144          WARNING : only Quota Storage backend queries are logged in
145          debug mode, for now.
146       
147    - 1.08alpha7 :
148   
149        - Very latest LDAP schema.
150       
151        - Code enhancement wrt easy pluggability of PyKota attributes
152          and object classes into an existing LDAP directory.
153       
154    - 1.08alpha6 :
155   
156        - Minor bug corrections
157       
158        - More work on LDAP : new schema
159       
160    - 1.08alpha5 :
161   
162        - More good work on LDAP storage.
163          repykota now works reasonably well with the sample LDAP directory.
164       
165    - 1.08alpha4 :
166   
167        - LDAP schema included.
168          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
169          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
170          MAY CHANGE IN THE FUTURE. PLEASE TELL US
171          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
172          MAILING LIST.
173         
174    - 1.08alpha3 :
175   
176        - External accounting methods were partly rewritten :
177         
178          - No more "broken pipe" should happen.
179         
180          - They now take care of the number of copies
181            This may be unneeded though, if the postscript
182            file already does this, because this would
183            overcharge users (number of copies counted
184            two times). NEEDS MORE TESTING.
185           
186          - The sample configuration file now contains 
187            an external accounting method example which should
188            work with all DSC compliant Postscript files.
189           
190        - Some small bugs were fixed.   
191       
192    - 1.08alpha2 :
193   
194        - Now works with net-snmp v5.0 and above.
195          It already worked, but the sample configuration
196          file didn't contain appropriate values...
197       
198    - 1.07 : Release of the Shame !
199   
200        - The external accounting methods driver was left out of
201          the CVS tree. Nobody could use it since it wasn't included !
202         
203    - 1.06 :
204   
205        - Severe bug fixed : if you had a printer in
206          power saving state which couldn't answer immediately,
207          a bug was triggered.
208          It was caused by a bad copy/paste which
209          forgot to import a Python module at run time.
210         
211    - 1.05 :
212   
213        - External accounters are finally available !
214          This means that you can plug any page accounting
215          method you like by setting the appropriate
216          'accounter' field in /etc/pykota.conf
217          See the sample conf/pykota.conf.sample to
218          learn how to do.
219         
220          NB : Both 'external' and 'stupid' accounting methods
221               account a job size just before *this* job is
222               sent to the printer.
223               The original 'querying' method accounts a job
224               size just before *the next* job is sent to
225               the printer.
226       
227    - 1.05alpha3 :
228   
229        - A 'stupid' and unreliable accounting method was
230          implemented to serve as an example on how to
231          do this sort of things. This method only counts
232          the 'showpage' statements in the input data.
233          See sample configuration file for details.
234          Pluggable accounting methods work, but I advise
235          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
236          It is not reliable enough to be used.
237          Use the 'querying' accounting method instead.
238         
239    - 1.05alpha2 :
240   
241        - Pluggable accounting methods.
242       
243        - Better error handling.
244       
245    - 1.05alpha1 :
246   
247        - SECURITY file added to help improve PyKota's security.
248       
249        - Extracting the printer's internal page counter is now
250          tried several times, waiting several seconds between
251          two tries. This lets the time to warm up for some printers
252          which don't answer when they are sleeping (my Apple
253          LaserWriter 16/600 PS is in this case, maybe others too)
254         
255        - Small display bug fixed in repykota
256         
257    - 1.04 :
258   
259        - Default print policy for users/groups unknown from
260          the print quota system is now DENY instead of ALLOW,
261          since ALLOW can generate inaccurate results
262          (incorrect job sizes charged to the wrong persons)
263         
264        - LPRng support works !
265       
266        - A bug was introduced some time ago wrt printers' default
267          policy for unknown users. It is now corrected.
268       
269        - repykota now displays prices per job and per page for each
270          printer, if they are defined.
271         
272        - Minor display bug fixed in repykota.
273       
274        - Problem when running repykota with an empty database was fixed.
275       
276    - 1.03 :
277   
278        - Upgrade script included for earlier versions.
279          Please look inside the initscripts subdirectory.
280          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
281         
282        - repykota now reports account balances too.
283       
284        - PyKota now has a nice logo, see the logos
285          subdirectory.
286       
287        - Manual pages were finally updated.
288       
289        - Group quotas seem to work now !
290       
291        - The new database schema allows to keep an history of all
292          jobs as well as charge users per page and/or per job,
293          and track users' account balance.
294         
295        - edpykota now accepts much more command line options to 
296          use the new functionnalities. See edpykota --help for
297          details.
298         
299        - The installation script now allows to install the sample
300          configuration file during first installation.
301         
302        - More group quota code works, but still not finished. 
303       
304        - The CGI script displays a link to PyKota's website.
305       
306        - The job history is now kept, this will allow per-period
307          reports in the future.
308         
309        - After having modified the quota for an user with edpykota,
310          a quota check is done to eventually warn the user/admin about
311          a quota which is too low to print.
312         
313        - A workaround is provided for HP Printers : their internal
314          page counter is only saved to NVRAM in a 10 increment, so
315          if you switch them off and then on, the reported page counter
316          may be lower than the real number of pages printed.
317          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
318          We unconditionnally set the last job's page count to
319          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
320          in this case.
321          For a more accurate accounting, never switch your HP printers
322          off.
323         
324        - A fix is provided for printers which only have a volatile 
325          page counter (reset to 0 every time you switch the printer on)
326          This should allow PyKota to work reasonably fine with HP Laserjet
327          4L/5L/6L, not perfect, but better than nothing.
328          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
329          For a more accurate accounting, never switch your HP printers
330          off. This is untested, please report any problem.
331         
332        - A bug was fixed when edpykota --add was used with users who already
333          had a quota on the specified printer.
334         
335        - A small display bug in repykota was introduced in preliminary
336          1.03 versions, and fixed later on.
337         
338        - Some minor bugs which happened in rare situations were fixed.
339       
340        - Support for AppleTalk printers was added, see sample configuration
341          file for details.
342         
343        - Users and group printing can now be controlled (limited) either by 
344          print quota or by account balance.
345       
346    - 1.02 :
347   
348        - The installation script now checks for software availability
349          and in case a software is missing asks the user if he
350          wants to continue with the installation or abort it.
351         
352        - The configuration file pykota.conf is now expected to be
353          found in /etc instead of in /etc/cups
354          The installation script prompts the user to see if he
355          wants to move an old configuration file to the new location
356          if needed.
357         
358        - Improved documentation.
359       
360        - You can now set the tcp/ip port on which the Quota Storage
361          Server is listening, see sample configuration file for details.
362       
363        - Better general error handling.
364       
365        - Upgrade script for pre 1.01 PostgreSQL database schema is now
366          included as well.
367       
368    - 1.01 :
369   
370        - The configuration file now accepts an option   
371          to choose the recipient(s) of the email messages :
372         
373            - DevNull means no one will receive them.
374            - User means only the user will receive them.
375            - Admin means only the admin will receive them.
376            - Both means the User and the Admin will receive them.
377           
378        - The configuration file now uses hard-coded default values
379          when an option is not set. See sample configuration file
380          for details.
381         
382        - Manual pages are included since 1.00, but I forgot to   
383          add this information to this file.
384         
385        - Redistribution terms for the official package have 
386          softened and are now fully GPL compatible :
387          unrestricted modification is now allowed even for
388          the version number.
389         
390    - 1.00 :
391   
392        - edpykota now accepts a --noquota option. This
393          disable quota checking while still doing page
394          accounting. This is really useful for people
395          who don't want to limit their users but want
396          to know how much pages they print.
397         
398        - Some untested scripts were added to retrieve
399          the life time page counter of non-SNMP printers.
400         
401        - Every directory now has a specific README file. 
402       
403    - 0.99 :
404   
405        - Under some circumstances while the user wasn't allowed
406          to print, he didn't receive any email message. It is
407          now fixed.
408         
409        - When an user wasn't allowed to print, the quota for
410          the previous user wasn't updated. This is now fixed.
411         
412    - 0.98 :
413   
414        - Correctly handle the case where the printer is switched off.
415       
416        - Small bug wrt syslog fixed.
417       
418    - 0.97 :
419   
420        - edpykota accepts wildcards on its command line for users/groups too
421          if the --add option is not set, e.g. :
422         
423              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
424             
425        - If no user name is passed at all, then a default wildcard of "*"
426          which means apply the command on ALL users for this printer is used.
427         
428        - Small bug fixes.
429       
430    - 0.96 :
431
432        - Options requester, policy, admin, adminmail and gracedelay can now
433          be set either globally or per printer. The printer option has
434          priority if both are defined.
435
436        - More powerful configuration parser.
437       
438        - If all options are defined globally, there's no need to
439          define a section for each printer in the configuration
440          file anymore. Just define a [global] section and it's ok.
441
442    - 0.95 :
443
444        - External requesters for printers finally added.
445
446        - Full internationalization (english and french are supported)
447 
448        - More complete quota usage report
449
450        - CGI script to access to the quota usage report
451
452        - Several bugs fixed.
453
454
455    - 0.9 :
456
457        - First public version
Note: See TracBrowser for help on using the browser.