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