[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 | |
---|
[885] | 24 | - 1.03alpha : |
---|
| 25 | |
---|
[900] | 26 | - IMPORTANT : DataBase schema has changed. |
---|
| 27 | DON'T TRY TO UPGRADE AN EXISTING PYKOTA INSTALLATION ! |
---|
| 28 | The upgrade script will be finalized ASAP, be patient, |
---|
| 29 | or drop your old quota database to start anew. |
---|
[887] | 30 | |
---|
[885] | 31 | - The installation script now allows to install the sample |
---|
| 32 | configuration file during first installation. |
---|
[892] | 33 | |
---|
| 34 | - More group quota code works, but still not finished. |
---|
[885] | 35 | |
---|
[894] | 36 | - The CGI script displays a link to PyKota's website. |
---|
| 37 | |
---|
[899] | 38 | - The job history is now kept, this will allow per-period |
---|
| 39 | reports in the future. |
---|
[900] | 40 | |
---|
| 41 | - After having modified the quota for an user with edpykota, |
---|
| 42 | a quota check is done to eventually warn the user/admin about |
---|
| 43 | a quota which is too low to print. |
---|
| 44 | |
---|
[901] | 45 | - A workaround is provided for HP Printers : their internal |
---|
| 46 | page counter is only saved to NVRAM in a 10 increment, so |
---|
| 47 | if you switch them off and then on, the reported page counter |
---|
| 48 | may be lower than the real number of pages printed. |
---|
| 49 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[908] | 50 | We unconditionnally set the last job's page count to five in this |
---|
| 51 | case. |
---|
| 52 | For a more accurate accounting, never switch your HP printers |
---|
| 53 | off. |
---|
[901] | 54 | |
---|
| 55 | - A fix is provided for printers which only have a volatile |
---|
| 56 | page counter (reset to 0 every time you switch the printer on) |
---|
[908] | 57 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
| 58 | 4L/5L/6L, not perfect, but better than nothing. |
---|
[901] | 59 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[908] | 60 | For a more accurate accounting, never switch your HP printers |
---|
| 61 | off. |
---|
[901] | 62 | |
---|
[907] | 63 | - A bug was fixed when edpykota --add was used with users who already |
---|
| 64 | had a quota on the specified printer. |
---|
| 65 | |
---|
[877] | 66 | - 1.02 : |
---|
[859] | 67 | |
---|
[871] | 68 | - The installation script now checks for software availability |
---|
| 69 | and in case a software is missing asks the user if he |
---|
| 70 | wants to continue with the installation or abort it. |
---|
| 71 | |
---|
[872] | 72 | - The configuration file pykota.conf is now expected to be |
---|
| 73 | found in /etc instead of in /etc/cups |
---|
| 74 | The installation script prompts the user to see if he |
---|
| 75 | wants to move an old configuration file to the new location |
---|
| 76 | if needed. |
---|
| 77 | |
---|
[859] | 78 | - Improved documentation. |
---|
| 79 | |
---|
| 80 | - You can now set the tcp/ip port on which the Quota Storage |
---|
| 81 | Server is listening, see sample configuration file for details. |
---|
| 82 | |
---|
[872] | 83 | - Better general error handling. |
---|
[859] | 84 | |
---|
[875] | 85 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
| 86 | included as well. |
---|
| 87 | |
---|
[852] | 88 | - 1.01 : |
---|
| 89 | |
---|
| 90 | - The configuration file now accepts an option |
---|
| 91 | to choose the recipient(s) of the email messages : |
---|
| 92 | |
---|
| 93 | - DevNull means no one will receive them. |
---|
| 94 | - User means only the user will receive them. |
---|
| 95 | - Admin means only the admin will receive them. |
---|
| 96 | - Both means the User and the Admin will receive them. |
---|
| 97 | |
---|
[853] | 98 | - The configuration file now uses hard-coded default values |
---|
| 99 | when an option is not set. See sample configuration file |
---|
| 100 | for details. |
---|
| 101 | |
---|
[852] | 102 | - Manual pages are included since 1.00, but I forgot to |
---|
| 103 | add this information to this file. |
---|
| 104 | |
---|
[855] | 105 | - Redistribution terms for the official package have |
---|
| 106 | softened and are now fully GPL compatible : |
---|
| 107 | unrestricted modification is now allowed even for |
---|
| 108 | the version number. |
---|
| 109 | |
---|
[846] | 110 | - 1.00 : |
---|
| 111 | |
---|
| 112 | - edpykota now accepts a --noquota option. This |
---|
| 113 | disable quota checking while still doing page |
---|
| 114 | accounting. This is really useful for people |
---|
| 115 | who don't want to limit their users but want |
---|
| 116 | to know how much pages they print. |
---|
| 117 | |
---|
| 118 | - Some untested scripts were added to retrieve |
---|
| 119 | the life time page counter of non-SNMP printers. |
---|
| 120 | |
---|
| 121 | - Every directory now has a specific README file. |
---|
| 122 | |
---|
[833] | 123 | - 0.99 : |
---|
| 124 | |
---|
| 125 | - Under some circumstances while the user wasn't allowed |
---|
| 126 | to print, he didn't receive any email message. It is |
---|
| 127 | now fixed. |
---|
| 128 | |
---|
| 129 | - When an user wasn't allowed to print, the quota for |
---|
[835] | 130 | the previous user wasn't updated. This is now fixed. |
---|
[833] | 131 | |
---|
[827] | 132 | - 0.98 : |
---|
| 133 | |
---|
| 134 | - Correctly handle the case where the printer is switched off. |
---|
| 135 | |
---|
[828] | 136 | - Small bug wrt syslog fixed. |
---|
| 137 | |
---|
[819] | 138 | - 0.97 : |
---|
| 139 | |
---|
| 140 | - edpykota accepts wildcards on its command line for users/groups too |
---|
| 141 | if the --add option is not set, e.g. : |
---|
| 142 | |
---|
| 143 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
| 144 | |
---|
[821] | 145 | - If no user name is passed at all, then a default wildcard of "*" |
---|
[819] | 146 | which means apply the command on ALL users for this printer is used. |
---|
| 147 | |
---|
| 148 | - Small bug fixes. |
---|
| 149 | |
---|
[803] | 150 | - 0.96 : |
---|
| 151 | |
---|
[808] | 152 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
[807] | 153 | be set either globally or per printer. The printer option has |
---|
| 154 | priority if both are defined. |
---|
[803] | 155 | |
---|
[807] | 156 | - More powerful configuration parser. |
---|
| 157 | |
---|
| 158 | - If all options are defined globally, there's no need to |
---|
| 159 | define a section for each printer in the configuration |
---|
| 160 | file anymore. Just define a [global] section and it's ok. |
---|
[803] | 161 | |
---|
[797] | 162 | - 0.95 : |
---|
| 163 | |
---|
[798] | 164 | - External requesters for printers finally added. |
---|
[797] | 165 | |
---|
| 166 | - Full internationalization (english and french are supported) |
---|
| 167 | |
---|
| 168 | - More complete quota usage report |
---|
| 169 | |
---|
| 170 | - CGI script to access to the quota usage report |
---|
| 171 | |
---|
| 172 | - Several bugs fixed. |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | - 0.9 : |
---|
| 176 | |
---|
| 177 | - First public version |
---|