1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS |
---|
4 | |
---|
5 | (c) 2003 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ============================================================ |
---|
21 | |
---|
22 | PyKota NEWS : |
---|
23 | |
---|
24 | - 1.03 : |
---|
25 | |
---|
26 | - Upgrade script included for earlier versions. |
---|
27 | Please look inside the initscripts subdirectory. |
---|
28 | |
---|
29 | - 1.03beta2 : |
---|
30 | |
---|
31 | - repykota now reports account balances too. |
---|
32 | |
---|
33 | - PyKota now has a nice logo, see the logos |
---|
34 | subdirectory. |
---|
35 | |
---|
36 | - Manual pages were finally updated. |
---|
37 | |
---|
38 | - 1.03beta : |
---|
39 | |
---|
40 | - Group quotas seem to work now ! |
---|
41 | |
---|
42 | - 1.03alpha : |
---|
43 | |
---|
44 | - IMPORTANT : DataBase schema has changed. |
---|
45 | DON'T TRY TO UPGRADE AN EXISTING PYKOTA INSTALLATION ! |
---|
46 | The upgrade script will be finalized ASAP, be patient, |
---|
47 | or drop your old quota database to start anew. |
---|
48 | Upgrade script will be provided when 1.03final will |
---|
49 | be out. |
---|
50 | |
---|
51 | - The new database schema allows to keep an history of all |
---|
52 | jobs as well as charge users per page and/or per job, |
---|
53 | and track users' account balance. |
---|
54 | |
---|
55 | - edpykota now accepts much more command line options to |
---|
56 | use the new functionnalities. See edpykota --help for |
---|
57 | details. |
---|
58 | |
---|
59 | - The installation script now allows to install the sample |
---|
60 | configuration file during first installation. |
---|
61 | |
---|
62 | - More group quota code works, but still not finished. |
---|
63 | |
---|
64 | - The CGI script displays a link to PyKota's website. |
---|
65 | |
---|
66 | - The job history is now kept, this will allow per-period |
---|
67 | reports in the future. |
---|
68 | |
---|
69 | - After having modified the quota for an user with edpykota, |
---|
70 | a quota check is done to eventually warn the user/admin about |
---|
71 | a quota which is too low to print. |
---|
72 | |
---|
73 | - A workaround is provided for HP Printers : their internal |
---|
74 | page counter is only saved to NVRAM in a 10 increment, so |
---|
75 | if you switch them off and then on, the reported page counter |
---|
76 | may be lower than the real number of pages printed. |
---|
77 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
78 | We unconditionnally set the last job's page count to |
---|
79 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
80 | in this case. |
---|
81 | For a more accurate accounting, never switch your HP printers |
---|
82 | off. |
---|
83 | |
---|
84 | - A fix is provided for printers which only have a volatile |
---|
85 | page counter (reset to 0 every time you switch the printer on) |
---|
86 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
87 | 4L/5L/6L, not perfect, but better than nothing. |
---|
88 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
89 | For a more accurate accounting, never switch your HP printers |
---|
90 | off. This is untested, please report any problem. |
---|
91 | |
---|
92 | - A bug was fixed when edpykota --add was used with users who already |
---|
93 | had a quota on the specified printer. |
---|
94 | |
---|
95 | - A small display bug in repykota was introduced in preliminary |
---|
96 | 1.03 versions, and fixed later on. |
---|
97 | |
---|
98 | - Some minor bugs which happened in rare situations were fixed. |
---|
99 | |
---|
100 | - Support for AppleTalk printers was added, see sample configuration |
---|
101 | file for details. |
---|
102 | |
---|
103 | - Users and group printing can now be controlled (limited) either by |
---|
104 | print quota or by account balance. |
---|
105 | |
---|
106 | - 1.02 : |
---|
107 | |
---|
108 | - The installation script now checks for software availability |
---|
109 | and in case a software is missing asks the user if he |
---|
110 | wants to continue with the installation or abort it. |
---|
111 | |
---|
112 | - The configuration file pykota.conf is now expected to be |
---|
113 | found in /etc instead of in /etc/cups |
---|
114 | The installation script prompts the user to see if he |
---|
115 | wants to move an old configuration file to the new location |
---|
116 | if needed. |
---|
117 | |
---|
118 | - Improved documentation. |
---|
119 | |
---|
120 | - You can now set the tcp/ip port on which the Quota Storage |
---|
121 | Server is listening, see sample configuration file for details. |
---|
122 | |
---|
123 | - Better general error handling. |
---|
124 | |
---|
125 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
126 | included as well. |
---|
127 | |
---|
128 | - 1.01 : |
---|
129 | |
---|
130 | - The configuration file now accepts an option |
---|
131 | to choose the recipient(s) of the email messages : |
---|
132 | |
---|
133 | - DevNull means no one will receive them. |
---|
134 | - User means only the user will receive them. |
---|
135 | - Admin means only the admin will receive them. |
---|
136 | - Both means the User and the Admin will receive them. |
---|
137 | |
---|
138 | - The configuration file now uses hard-coded default values |
---|
139 | when an option is not set. See sample configuration file |
---|
140 | for details. |
---|
141 | |
---|
142 | - Manual pages are included since 1.00, but I forgot to |
---|
143 | add this information to this file. |
---|
144 | |
---|
145 | - Redistribution terms for the official package have |
---|
146 | softened and are now fully GPL compatible : |
---|
147 | unrestricted modification is now allowed even for |
---|
148 | the version number. |
---|
149 | |
---|
150 | - 1.00 : |
---|
151 | |
---|
152 | - edpykota now accepts a --noquota option. This |
---|
153 | disable quota checking while still doing page |
---|
154 | accounting. This is really useful for people |
---|
155 | who don't want to limit their users but want |
---|
156 | to know how much pages they print. |
---|
157 | |
---|
158 | - Some untested scripts were added to retrieve |
---|
159 | the life time page counter of non-SNMP printers. |
---|
160 | |
---|
161 | - Every directory now has a specific README file. |
---|
162 | |
---|
163 | - 0.99 : |
---|
164 | |
---|
165 | - Under some circumstances while the user wasn't allowed |
---|
166 | to print, he didn't receive any email message. It is |
---|
167 | now fixed. |
---|
168 | |
---|
169 | - When an user wasn't allowed to print, the quota for |
---|
170 | the previous user wasn't updated. This is now fixed. |
---|
171 | |
---|
172 | - 0.98 : |
---|
173 | |
---|
174 | - Correctly handle the case where the printer is switched off. |
---|
175 | |
---|
176 | - Small bug wrt syslog fixed. |
---|
177 | |
---|
178 | - 0.97 : |
---|
179 | |
---|
180 | - edpykota accepts wildcards on its command line for users/groups too |
---|
181 | if the --add option is not set, e.g. : |
---|
182 | |
---|
183 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
184 | |
---|
185 | - If no user name is passed at all, then a default wildcard of "*" |
---|
186 | which means apply the command on ALL users for this printer is used. |
---|
187 | |
---|
188 | - Small bug fixes. |
---|
189 | |
---|
190 | - 0.96 : |
---|
191 | |
---|
192 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
193 | be set either globally or per printer. The printer option has |
---|
194 | priority if both are defined. |
---|
195 | |
---|
196 | - More powerful configuration parser. |
---|
197 | |
---|
198 | - If all options are defined globally, there's no need to |
---|
199 | define a section for each printer in the configuration |
---|
200 | file anymore. Just define a [global] section and it's ok. |
---|
201 | |
---|
202 | - 0.95 : |
---|
203 | |
---|
204 | - External requesters for printers finally added. |
---|
205 | |
---|
206 | - Full internationalization (english and french are supported) |
---|
207 | |
---|
208 | - More complete quota usage report |
---|
209 | |
---|
210 | - CGI script to access to the quota usage report |
---|
211 | |
---|
212 | - Several bugs fixed. |
---|
213 | |
---|
214 | |
---|
215 | - 0.9 : |
---|
216 | |
---|
217 | - First public version |
---|