[797] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | PyKota - Print Quota for CUPS |
---|
| 4 | |
---|
[1257] | 5 | (c) 2003-2004 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 | |
---|
[1415] | 24 | - 1.18 : |
---|
| 25 | |
---|
| 26 | - Improved documentation |
---|
| 27 | |
---|
[1411] | 28 | - 1.18beta2 : |
---|
| 29 | |
---|
| 30 | - Fix for raw jobs with cupspykota |
---|
| 31 | |
---|
[1404] | 32 | - 1.18beta : |
---|
| 33 | |
---|
[1405] | 34 | - Small fix for new waitprinter.sh script |
---|
| 35 | |
---|
[1404] | 36 | - Better tracebacks on error conditions |
---|
| 37 | |
---|
| 38 | - Improved translations |
---|
| 39 | |
---|
| 40 | - Improved documentation |
---|
| 41 | |
---|
[1396] | 42 | - 1.18alpha15 : |
---|
[1398] | 43 | |
---|
| 44 | - waitprinter.sh replaced by a new and possibly faster |
---|
[1404] | 45 | and more powerful one. |
---|
[1396] | 46 | |
---|
| 47 | - Names can now begin with a digit. |
---|
| 48 | |
---|
[1398] | 49 | - Stability improvement for quotas set on printers groups. |
---|
[1396] | 50 | |
---|
[1381] | 51 | - 1.18alpha14 : |
---|
| 52 | |
---|
[1384] | 53 | - Catches more (all ?) problems with SMTP servers instead |
---|
| 54 | of breaking. |
---|
| 55 | |
---|
[1381] | 56 | - Italian translation added. |
---|
| 57 | |
---|
[1376] | 58 | - 1.18alpha13 : |
---|
| 59 | |
---|
| 60 | - Pre and Post hooks are now available in the pykota |
---|
| 61 | filter as well. |
---|
| 62 | |
---|
| 63 | - The pykota filter doesn't check last user's quota |
---|
[1377] | 64 | anymore when delayed hardware accounting is used : |
---|
| 65 | this will be done anyway the next time the last |
---|
| 66 | user will print again. This saves some database |
---|
| 67 | queries which are unneeded. |
---|
[1376] | 68 | |
---|
[1372] | 69 | - 1.18alpha12 : |
---|
| 70 | |
---|
[1376] | 71 | - Pre and Post hooks to external commands with many |
---|
[1372] | 72 | many environment variables available are useable |
---|
| 73 | from the cupspykota backend. |
---|
| 74 | See sample configuration file for details and help. |
---|
| 75 | |
---|
[1368] | 76 | - 1.18alpha11 : |
---|
| 77 | |
---|
| 78 | - Hopefully final fix wrt groups (users and printers) |
---|
| 79 | |
---|
[1365] | 80 | - 1.18alpha10 : |
---|
| 81 | |
---|
| 82 | - Fixed nested printer groups accounting. |
---|
| 83 | |
---|
| 84 | - Fixed user groups + printer groups problem. |
---|
| 85 | |
---|
[1360] | 86 | - 1.18alpha9 : |
---|
| 87 | |
---|
[1363] | 88 | - Fix for LDAP problem when job price was 0. |
---|
| 89 | |
---|
[1362] | 90 | - Fix for empty user groups with LDAP. |
---|
| 91 | |
---|
[1360] | 92 | - Preliminary version of the snmpprinterstatus command added. |
---|
| 93 | |
---|
[1358] | 94 | - 1.18alpha8 : |
---|
| 95 | |
---|
| 96 | - Don't retrieve data when not needed. |
---|
| 97 | This avoids many database queries. |
---|
| 98 | |
---|
[1356] | 99 | - 1.18alpha7 : |
---|
| 100 | |
---|
| 101 | - New experimental ldapcache directive to improve |
---|
| 102 | LDAP caching. |
---|
| 103 | |
---|
[1353] | 104 | - 1.18alpha6 : |
---|
| 105 | |
---|
| 106 | - New configuration directive added : maildomain |
---|
| 107 | to specify the domain to send mail to when user |
---|
| 108 | email address is not set in PyKota database. |
---|
| 109 | |
---|
| 110 | - More complete email message headers. |
---|
| 111 | |
---|
[1351] | 112 | - 1.18alpha5 : |
---|
| 113 | |
---|
| 114 | - Debian packaging specific files, contributed by |
---|
| 115 | Peter Hawkins are now included in the project's tree. |
---|
| 116 | |
---|
| 117 | - Preliminary work on future low-level LDAP caching to speed |
---|
| 118 | up modifications (at least). |
---|
| 119 | |
---|
[1338] | 120 | - 1.18alpha4 : |
---|
| 121 | |
---|
[1345] | 122 | - Applied some of the modifications suggested by |
---|
| 123 | Peter Hawkins, for better Debian integration. |
---|
| 124 | Most notably cupspykota, pykota, and the shell |
---|
| 125 | scripts are now installed into /usr/share/pykota |
---|
| 126 | instead of into /usr/bin |
---|
| 127 | BEWARE : double check that your symbolic link |
---|
| 128 | to cupspykota is correct, and that your pykota.conf |
---|
| 129 | file use correct path for the shell scripts like |
---|
| 130 | waitprinter.sh and al. |
---|
| 131 | |
---|
[1338] | 132 | - pkhint command added, to help in configuring correct |
---|
| 133 | accounting method for PyKota. |
---|
| 134 | |
---|
[1336] | 135 | - 1.18alpha3 : |
---|
| 136 | |
---|
| 137 | - Fixed a rare bug in cupspykota backend which gave |
---|
| 138 | incorrect "CUPS backend died abnormally" messages. |
---|
| 139 | |
---|
[1330] | 140 | - 1.18alpha2 : |
---|
| 141 | |
---|
| 142 | - Added the pkprinters command line tool to manage printers |
---|
| 143 | exclusively. |
---|
| 144 | |
---|
[1328] | 145 | - 1.18alpha1 : |
---|
| 146 | |
---|
| 147 | - Preliminary work on Relationnal Database Independance. |
---|
| 148 | |
---|
| 149 | - Sample report made from OpenOffice.org added as PDF and SXC. |
---|
| 150 | |
---|
[1323] | 151 | - 1.17 : |
---|
| 152 | |
---|
| 153 | - Finalized release. |
---|
| 154 | |
---|
[1321] | 155 | - 1.17alpha2 : |
---|
| 156 | |
---|
| 157 | - Fix stupid software accounting bug in the CUPS backend. |
---|
| 158 | |
---|
[1318] | 159 | - 1.17alpha1 : |
---|
| 160 | |
---|
| 161 | - User/Group deletion code in edpykota rewritten. |
---|
| 162 | |
---|
[1308] | 163 | - 1.16 : |
---|
| 164 | |
---|
| 165 | - Preliminary documentation on how to use OpenOffice.org |
---|
| 166 | to create personnalized reports for PyKota + PostgreSQL. |
---|
| 167 | |
---|
| 168 | - Spanish installation guide for CUPS+PyKota+PostgreSQL |
---|
| 169 | added to the documentation. Doesn't yet document v1.16 |
---|
| 170 | though. |
---|
| 171 | |
---|
| 172 | - Portuguese Portuguese translation replaces Brasilian |
---|
| 173 | Portuguese Translation. Brasilian portuguese |
---|
| 174 | translation is still available under the 'br' locale. |
---|
| 175 | |
---|
[1301] | 176 | - 1.16beta3 : |
---|
| 177 | |
---|
| 178 | - Swedish translation added. |
---|
| 179 | |
---|
| 180 | - Small fix in documentation. |
---|
| 181 | |
---|
[1291] | 182 | - 1.16beta2 : |
---|
| 183 | |
---|
| 184 | - Small fix for job cancelling code while job already |
---|
| 185 | printing in CUPS backend. |
---|
[1293] | 186 | |
---|
| 187 | - Big fix wrt printing policies for unknown users. |
---|
[1291] | 188 | |
---|
[1287] | 189 | - 1.16beta1 : |
---|
| 190 | |
---|
| 191 | - Manpages upgraded. |
---|
| 192 | |
---|
[1285] | 193 | - 1.16alpha26 : |
---|
| 194 | |
---|
| 195 | - Job price is now computed like this : |
---|
| 196 | |
---|
| 197 | SUM((NbPages * PricePerPage) + PricePerJob) |
---|
| 198 | |
---|
| 199 | For current printer and all the printers groups it is |
---|
[1286] | 200 | a member of, if any. |
---|
[1285] | 201 | |
---|
| 202 | This may be difficult to grasp, but offers unprecedented |
---|
| 203 | flexibility. |
---|
| 204 | |
---|
[1284] | 205 | - 1.16alpha25 : |
---|
| 206 | |
---|
| 207 | - Email address can be set at user creation time, |
---|
| 208 | using the following syntax : |
---|
| 209 | |
---|
| 210 | $ edpykota --add username/email@yourdomain.com |
---|
| 211 | |
---|
[1271] | 212 | - 1.16alpha24 : |
---|
| 213 | |
---|
[1274] | 214 | - CGI script now can show the printing history. |
---|
| 215 | |
---|
[1272] | 216 | - Bug wrt number of copies should be fixed. |
---|
| 217 | |
---|
[1271] | 218 | - Major code refactoring => It is now possible to |
---|
| 219 | automatically add printers on first print. |
---|
| 220 | |
---|
[1269] | 221 | - 1.16alpha23 : |
---|
| 222 | |
---|
[1270] | 223 | - Fixed potential accuracy problem if a user printed on |
---|
| 224 | several printers at the very same time. |
---|
[1269] | 225 | |
---|
[1258] | 226 | - 1.16alpha22 : |
---|
| 227 | |
---|
| 228 | - edpykota now allows adding printers to printer groups |
---|
| 229 | |
---|
[1248] | 230 | - 1.16alpha21 : |
---|
| 231 | |
---|
| 232 | - Allows the dot in user and printer names. |
---|
| 233 | |
---|
[1249] | 234 | - Printer groups are now cached too. |
---|
| 235 | |
---|
[1240] | 236 | - 1.16alpha20 : |
---|
| 237 | |
---|
| 238 | - Fixed several small bugs with the help of PyChecker. |
---|
| 239 | |
---|
| 240 | - 1.16alpha19 : |
---|
| 241 | |
---|
| 242 | - Fixed a bug in PostgreSQL backend's code. |
---|
| 243 | |
---|
| 244 | - 1.16alpha18 : |
---|
| 245 | |
---|
| 246 | - Initial code for printer groups support. Printer groups have |
---|
| 247 | to be added with external tools like psql or gq for example. |
---|
| 248 | Printer groups seems to work fine with users. Untested with user |
---|
| 249 | groups for now. |
---|
| 250 | |
---|
| 251 | - Several minor visual problems fixed in reports. |
---|
| 252 | |
---|
| 253 | - Fixed a bug in LDAP date handling. |
---|
| 254 | |
---|
| 255 | - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP |
---|
| 256 | + some particular settings. |
---|
| 257 | |
---|
| 258 | - mailandpopup.sh shell script added. See sample configuration file |
---|
| 259 | for details. |
---|
| 260 | |
---|
| 261 | - Several environment variables are now exported when executing |
---|
| 262 | external commands (accounters, requesters, mailers) : |
---|
| 263 | |
---|
| 264 | PYKOTAUSERNAME => user who is printing |
---|
| 265 | PYKOTAPRINTERNAME => printer on which the job is being sent |
---|
| 266 | PYKOTATITLE => Job's title |
---|
| 267 | PYKOTAFILENAME => Job's filename |
---|
| 268 | PYKOTACOPIES => number of copies asked |
---|
| 269 | PYKOTAOPTIONS => print command options (-o with CUPS) |
---|
| 270 | |
---|
[1239] | 271 | - 1.16alpha17 : |
---|
[1227] | 272 | |
---|
[1239] | 273 | - Added portugues translation. |
---|
| 274 | |
---|
| 275 | - Major code refactoring in accounters. |
---|
| 276 | |
---|
| 277 | - 1.16alpha16 : |
---|
| 278 | |
---|
[1235] | 279 | - Code refactoring, and addition of a real HTML reporter, to |
---|
| 280 | have nice looking and useful web based reports (in the future). |
---|
| 281 | |
---|
[1227] | 282 | - Added utolower configuration option to convert all usernames |
---|
| 283 | to lowercase during printing. |
---|
| 284 | |
---|
[1226] | 285 | - 1.15alpha15 : |
---|
| 286 | |
---|
| 287 | - Now includes the papwaitprinter.sh shell script to wait for |
---|
| 288 | AppleTalk enabled printers. |
---|
| 289 | |
---|
[1221] | 290 | - 1.16alpha14 : |
---|
| 291 | |
---|
| 292 | - Now printing on a printer not defined in the Quota Storage, |
---|
| 293 | results in the job being cancelled or stopped, depending |
---|
| 294 | on the printing system. |
---|
| 295 | |
---|
[1212] | 296 | - 1.16alpha13 : |
---|
| 297 | |
---|
| 298 | - Small bugfix wrt Python v2.1 |
---|
| 299 | |
---|
[1215] | 300 | - If username is an empty string, user root is assumed. |
---|
[1220] | 301 | |
---|
| 302 | - 'postgresql' is not recognized anymore as a storage backend, |
---|
| 303 | you have to use 'pgstorage' instead. 'postgresql' used to |
---|
| 304 | be supported for compatibility with very old PyKota versions, |
---|
| 305 | this is not the case anymore. |
---|
[1212] | 306 | |
---|
[1203] | 307 | - 1.16alpha12 : |
---|
| 308 | |
---|
| 309 | - Job price added to job history, to keep accounting correct |
---|
| 310 | if a printer price per page or per job is modified and the |
---|
| 311 | history is not reset : the history would have given a false |
---|
| 312 | amount of money charged before the printer's prices were |
---|
| 313 | modified, this addition solves the problem. |
---|
| 314 | |
---|
[1200] | 315 | - 1.16alpha11 : |
---|
| 316 | |
---|
| 317 | - Some preliminary modifications to the database structure for |
---|
| 318 | PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL |
---|
| 319 | database is now provided. LDAP attributes now support |
---|
| 320 | eq, pres and sub indexes. |
---|
| 321 | |
---|
| 322 | - Job history now contains additional informations : |
---|
| 323 | number of copies, filename, title and print options. |
---|
| 324 | |
---|
[1194] | 325 | - 1.16alpha10 : |
---|
[1196] | 326 | |
---|
| 327 | - Some modifications done to external policy handling. |
---|
| 328 | See sample configuration file for details. |
---|
[1194] | 329 | |
---|
| 330 | - Spanish translation added. |
---|
| 331 | |
---|
[1192] | 332 | - 1.16alpha9 : |
---|
| 333 | |
---|
| 334 | - mailto can be set to external(...) to warn users above |
---|
| 335 | quota with any command of your choice (e.g. linpopup). |
---|
| 336 | Several parameters are available, see sample configuration |
---|
| 337 | file for details. |
---|
| 338 | |
---|
[1189] | 339 | - 1.16alpha8 : |
---|
| 340 | |
---|
[1191] | 341 | - Now cupspykota transmits SIGTERMS to the original |
---|
| 342 | backend when the user deletes a job being processed. |
---|
| 343 | |
---|
[1189] | 344 | - The documentation is now licensed under the terms of the |
---|
| 345 | GNU GPL too. |
---|
| 346 | |
---|
[1185] | 347 | - 1.16alpha7 : |
---|
| 348 | |
---|
| 349 | - The CUPS backend is now fully functionnal (it seems). |
---|
| 350 | |
---|
| 351 | - From now on, the use of the pykota filter with CUPS |
---|
| 352 | is deprecated. The pykota filter still has to be |
---|
| 353 | used with LPRng though. |
---|
| 354 | |
---|
[1179] | 355 | - 1.16alpha6 : |
---|
| 356 | |
---|
| 357 | - Bug fixed : when edpykota was used to add a printer |
---|
| 358 | with no user or group name, a bad user/group name "*" was |
---|
| 359 | added to the database. |
---|
| 360 | |
---|
[1178] | 361 | - 1.16alpha5 : |
---|
| 362 | |
---|
| 363 | - New CUPS backend supports device enumeration ! |
---|
| 364 | This means that NO manual CUPS configuration has to |
---|
| 365 | be done. All can now be done from CUPS web interface. |
---|
| 366 | |
---|
[1177] | 367 | - 1.16alpha4 : |
---|
| 368 | |
---|
| 369 | - New CUPS backend added. |
---|
| 370 | |
---|
[1175] | 371 | - 1.16alpha3 : |
---|
| 372 | |
---|
| 373 | - Minimal FAQ document added. |
---|
| 374 | |
---|
[1172] | 375 | - 1.16alpha2 : |
---|
| 376 | |
---|
| 377 | - CGI script now partially supports browser's language preference |
---|
| 378 | |
---|
[1170] | 379 | - 1.16alpha1 : |
---|
| 380 | |
---|
| 381 | - Ensures that the LDAP connection is really closed at end. |
---|
| 382 | |
---|
| 383 | - More complete error messages in case of LDAP operation failure. |
---|
| 384 | |
---|
[1168] | 385 | - 1.15 : |
---|
| 386 | |
---|
| 387 | - Documentation improved. |
---|
| 388 | |
---|
[1156] | 389 | - 1.15beta : |
---|
| 390 | |
---|
| 391 | - Command line tools now accept multiple printer |
---|
| 392 | names or wildcards, separated with commas. |
---|
| 393 | |
---|
[1152] | 394 | - 1.15alpha9 : |
---|
| 395 | |
---|
| 396 | - External policy can be used to auto-add unknown users |
---|
| 397 | and any other interesting things you may want to do. |
---|
| 398 | WARNING : You can't auto-add printers for now. |
---|
| 399 | They have to be created manually before. |
---|
| 400 | Look at sample configuration file for examples. |
---|
| 401 | |
---|
[1149] | 402 | - 1.15alpha8 : |
---|
| 403 | |
---|
| 404 | - Job history can be disabled if needed. |
---|
| 405 | This feature may be useful for people who use the LDAP |
---|
| 406 | backend and don't want their LDAP tree to grow out of |
---|
| 407 | control. |
---|
| 408 | |
---|
[1138] | 409 | - 1.15alpha7 : |
---|
| 410 | |
---|
| 411 | - More work done on caching wrt groups. |
---|
| 412 | |
---|
[1135] | 413 | - 1.15alpha6 : |
---|
| 414 | |
---|
| 415 | - Performance bottleneck with LDAP solved. |
---|
| 416 | |
---|
[1130] | 417 | - 1.15alpha5 : |
---|
| 418 | |
---|
| 419 | - Caching mechanism for all database queries. |
---|
| 420 | |
---|
[1123] | 421 | - 1.15alpha4 : |
---|
| 422 | |
---|
| 423 | - Problem with Python 2.3 fixed. Needs some definitive |
---|
| 424 | modification. |
---|
| 425 | |
---|
[1121] | 426 | - 1.15alpha3 : |
---|
| 427 | |
---|
| 428 | - CGI script now tries to restrict view when the |
---|
| 429 | REMOTE_USER environment variable is set. This allows |
---|
| 430 | people to protect its use with .htaccess files. |
---|
| 431 | When unprotected, or if REMOTE_USER is 'root', then |
---|
| 432 | unrestricted access is granted. |
---|
[1122] | 433 | NB : REMOTE_USER is automatically set by the web server |
---|
| 434 | (e.g. Apache) when a page with restricted access is viewed. |
---|
[1121] | 435 | |
---|
[1116] | 436 | - 1.15alpha2 : |
---|
| 437 | |
---|
| 438 | - Better detection of LPRng. |
---|
| 439 | |
---|
| 440 | - Outputs a warning if printing system is unknown. |
---|
| 441 | |
---|
[1115] | 442 | - 1.15alpha1 : |
---|
| 443 | |
---|
| 444 | - Bug fix in SQL code. |
---|
| 445 | |
---|
[1113] | 446 | - 1.14 : |
---|
| 447 | |
---|
| 448 | - The PostgreSQL database connection is now always closed before |
---|
| 449 | exit. The LDAP database connection too, but it didn't suffer |
---|
| 450 | from the problem anyway, AFAICT. |
---|
| 451 | |
---|
[1111] | 452 | - 1.14beta2 : |
---|
| 453 | |
---|
| 454 | - An LDAP-specific configuration field was introduced, usermail. |
---|
| 455 | Use it to specify which LDAP attribute contains a valid email |
---|
| 456 | address for the user. See sample configuration file for |
---|
| 457 | details. |
---|
| 458 | |
---|
[1105] | 459 | - 1.14beta : |
---|
| 460 | |
---|
| 461 | - Two new LDAP-specific configuration fields were introduced, |
---|
| 462 | newuser and newgroup. Use them to specify if you want to add |
---|
| 463 | quota information to existing entries or elsewhere. |
---|
| 464 | See sample configuration file for details. |
---|
| 465 | |
---|
[1099] | 466 | - 1.14alpha9 : |
---|
| 467 | |
---|
| 468 | - Documentation improved. |
---|
| 469 | |
---|
| 470 | - pykotme now also prints the user's account balance value |
---|
| 471 | if the user is registered in the Quota Storage and his |
---|
| 472 | limiting factor is "balance". |
---|
| 473 | |
---|
[1095] | 474 | - 1.14alpha8 : |
---|
| 475 | |
---|
| 476 | - bin/waitprinter.sh is now included to wait for |
---|
| 477 | SNMP enabled printers to be idle again before |
---|
| 478 | asking for their internal page counter. |
---|
| 479 | See sample configuration file for details. |
---|
| 480 | |
---|
[1089] | 481 | - 1.14alpha7 : |
---|
| 482 | |
---|
| 483 | - edpykota now doesn't check if the user/group is above |
---|
| 484 | quota. The check is only done at print time. This |
---|
| 485 | prevents the sending of email messages when creating |
---|
| 486 | user quotas if quota is already reached at creation |
---|
| 487 | time. |
---|
| 488 | |
---|
[1087] | 489 | - 1.14alpha6 : |
---|
| 490 | |
---|
| 491 | - Configuration file split and moved to /etc/pykota/pykota.conf |
---|
| 492 | and /etc/pykota/pykotadmin.conf to prevent simple users to |
---|
| 493 | have Read/Write access to the Quota Database. |
---|
| 494 | Don't forget to : |
---|
| 495 | |
---|
| 496 | $ chmod 640 /etc/pykota/pykotadmin.conf |
---|
| 497 | |
---|
| 498 | - storageuser and storageuserpw configuration fields reintroduced |
---|
| 499 | for the same reason. |
---|
| 500 | |
---|
| 501 | - Code cleaning for future implementation of email addresses |
---|
| 502 | support in the PostgreSQL and LDAP backends. |
---|
| 503 | |
---|
[1085] | 504 | - 1.14alpha5 : |
---|
| 505 | |
---|
| 506 | - Big bug fixed when changing the prices for a printer |
---|
| 507 | |
---|
[1082] | 508 | - 1.14alpha4 : |
---|
| 509 | |
---|
| 510 | - When adding an user, the user itself and its account balance |
---|
| 511 | are now added in the same LDAP entry. Before they were added |
---|
| 512 | as two different LDAP entries. |
---|
| 513 | |
---|
[1079] | 514 | - 1.14alpha3 : |
---|
| 515 | |
---|
| 516 | - Email field added to PostgreSQL database. An upgrade script |
---|
| 517 | is included in initscripts/postgresql. |
---|
| 518 | |
---|
[1078] | 519 | - 1.14alpha2 : |
---|
| 520 | |
---|
| 521 | - Typo fixed when using the --prototype option to edpykota |
---|
| 522 | |
---|
[1077] | 523 | - 1.14alpha1 : |
---|
| 524 | |
---|
| 525 | - Poor man's treshold included : users with a low account |
---|
| 526 | balance (below 1.0 by default, configurable) are sent |
---|
| 527 | a warning message. |
---|
| 528 | |
---|
| 529 | - All warning messages to users are now configurable. |
---|
| 530 | NB : Warning messages to the administrator are not. |
---|
| 531 | |
---|
[1068] | 532 | - 1.13 : |
---|
| 533 | |
---|
[1072] | 534 | - Some small fixes wrt group handling. |
---|
| 535 | |
---|
[1068] | 536 | - The whole module code was passed through PyChecker and |
---|
| 537 | several small code inconsistencies were fixed, |
---|
| 538 | as well as a bug in the groups code. |
---|
| 539 | |
---|
[1067] | 540 | - 1.13alpha1 : |
---|
| 541 | |
---|
| 542 | - Bug fix wrt LDAP. |
---|
| 543 | |
---|
[1065] | 544 | - 1.12 : |
---|
| 545 | |
---|
| 546 | - More complete test added in edpykota. |
---|
| 547 | |
---|
[1062] | 548 | - 1.12alpha2 : |
---|
| 549 | |
---|
| 550 | - The previous bug fix was incomplete. This is corrected. |
---|
| 551 | |
---|
[1061] | 552 | - 1.12alpha1 : |
---|
| 553 | |
---|
| 554 | - Small bug fix. |
---|
| 555 | |
---|
[1057] | 556 | - 1.11 : |
---|
| 557 | |
---|
| 558 | - Now includes the pykotme command line tool, to produce |
---|
| 559 | printing quotes for users. |
---|
| 560 | |
---|
[1056] | 561 | - 1.10 : |
---|
| 562 | |
---|
| 563 | - Bug fixed wrt quota reports when print limiting is by |
---|
| 564 | account balance. |
---|
| 565 | |
---|
[1052] | 566 | - 1.09 : |
---|
| 567 | |
---|
| 568 | - Translations finalized. |
---|
| 569 | |
---|
| 570 | - Manpages updated. |
---|
| 571 | |
---|
| 572 | - Installation documentation improved wrt LDAP support. |
---|
| 573 | |
---|
[1049] | 574 | - 1.09beta2 : |
---|
| 575 | |
---|
| 576 | - The CGI script for quota reports works again, and |
---|
| 577 | is much more powerful. |
---|
| 578 | |
---|
[1043] | 579 | - 1.09beta : |
---|
| 580 | |
---|
| 581 | - edpykota finalized |
---|
| 582 | |
---|
[1041] | 583 | - 1.09alpha2 : |
---|
| 584 | |
---|
| 585 | - LDAP schema modified a bit. Please upgrade. |
---|
| 586 | |
---|
| 587 | - LDAP backend works ! |
---|
| 588 | |
---|
| 589 | - repykota and warnpykota allow the root user to pass |
---|
| 590 | users or groups names on the command line. Users |
---|
| 591 | and groups names may contain wildcards. |
---|
| 592 | |
---|
| 593 | - repykota and warnpykota only reports or warns the |
---|
| 594 | current user when launched by non-root users. |
---|
| 595 | |
---|
| 596 | - Minor bug fixes. |
---|
| 597 | |
---|
[1029] | 598 | - 1.09alpha1 : |
---|
| 599 | |
---|
| 600 | - More work on LDAP storage backend. Many options |
---|
| 601 | were added to /etc/pykota.conf to give some |
---|
| 602 | hints to the LDAP storage backend. |
---|
[1044] | 603 | |
---|
| 604 | - Severe database access optimizations were done by |
---|
| 605 | rewriting most of the Quota Storage backends drivers. |
---|
[1029] | 606 | |
---|
[1027] | 607 | - 1.08 : |
---|
| 608 | |
---|
| 609 | - Major bug fix wrt LPRng support for remote jobs. |
---|
[1029] | 610 | |
---|
[1027] | 611 | - Major bug fix wrt increase/decrease account balances. |
---|
| 612 | |
---|
[1021] | 613 | - 1.08alpha8 : |
---|
| 614 | |
---|
| 615 | - Code refactoring. |
---|
[1029] | 616 | |
---|
[1021] | 617 | - A single user/password pair is used to connect |
---|
| 618 | to the database backend. The storageuser configuration |
---|
| 619 | field, and its associated passwords storageuserpw, are |
---|
| 620 | not used anymore. |
---|
[1029] | 621 | |
---|
[1022] | 622 | - You can now set PyKota in debug mode, see sample configuration |
---|
| 623 | file for details. |
---|
| 624 | WARNING : only Quota Storage backend queries are logged in |
---|
| 625 | debug mode, for now. |
---|
[1021] | 626 | |
---|
[1019] | 627 | - 1.08alpha7 : |
---|
| 628 | |
---|
| 629 | - Very latest LDAP schema. |
---|
[1029] | 630 | |
---|
[1019] | 631 | - Code enhancement wrt easy pluggability of PyKota attributes |
---|
| 632 | and object classes into an existing LDAP directory. |
---|
| 633 | |
---|
[1017] | 634 | - 1.08alpha6 : |
---|
| 635 | |
---|
| 636 | - Minor bug corrections |
---|
[1029] | 637 | |
---|
[1017] | 638 | - More work on LDAP : new schema |
---|
| 639 | |
---|
[1016] | 640 | - 1.08alpha5 : |
---|
| 641 | |
---|
[1017] | 642 | - More good work on LDAP storage. |
---|
| 643 | repykota now works reasonably well with the sample LDAP directory. |
---|
[1016] | 644 | |
---|
[1014] | 645 | - 1.08alpha4 : |
---|
| 646 | |
---|
| 647 | - LDAP schema included. |
---|
| 648 | THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS. |
---|
| 649 | LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA |
---|
| 650 | MAY CHANGE IN THE FUTURE. PLEASE TELL US |
---|
| 651 | WHAT YOU THINK ABOUT THIS SCHEMA ON THE |
---|
| 652 | MAILING LIST. |
---|
| 653 | |
---|
[1000] | 654 | - 1.08alpha3 : |
---|
| 655 | |
---|
| 656 | - External accounting methods were partly rewritten : |
---|
| 657 | |
---|
| 658 | - No more "broken pipe" should happen. |
---|
| 659 | |
---|
| 660 | - They now take care of the number of copies |
---|
| 661 | This may be unneeded though, if the postscript |
---|
| 662 | file already does this, because this would |
---|
| 663 | overcharge users (number of copies counted |
---|
| 664 | two times). NEEDS MORE TESTING. |
---|
| 665 | |
---|
| 666 | - The sample configuration file now contains |
---|
| 667 | an external accounting method example which should |
---|
| 668 | work with all DSC compliant Postscript files. |
---|
| 669 | |
---|
| 670 | - Some small bugs were fixed. |
---|
| 671 | |
---|
[998] | 672 | - 1.08alpha2 : |
---|
| 673 | |
---|
| 674 | - Now works with net-snmp v5.0 and above. |
---|
| 675 | It already worked, but the sample configuration |
---|
[1000] | 676 | file didn't contain appropriate values... |
---|
[998] | 677 | |
---|
[991] | 678 | - 1.07 : Release of the Shame ! |
---|
| 679 | |
---|
| 680 | - The external accounting methods driver was left out of |
---|
| 681 | the CVS tree. Nobody could use it since it wasn't included ! |
---|
| 682 | |
---|
[989] | 683 | - 1.06 : |
---|
| 684 | |
---|
| 685 | - Severe bug fixed : if you had a printer in |
---|
| 686 | power saving state which couldn't answer immediately, |
---|
| 687 | a bug was triggered. |
---|
| 688 | It was caused by a bad copy/paste which |
---|
| 689 | forgot to import a Python module at run time. |
---|
| 690 | |
---|
[980] | 691 | - 1.05 : |
---|
| 692 | |
---|
| 693 | - External accounters are finally available ! |
---|
| 694 | This means that you can plug any page accounting |
---|
| 695 | method you like by setting the appropriate |
---|
| 696 | 'accounter' field in /etc/pykota.conf |
---|
| 697 | See the sample conf/pykota.conf.sample to |
---|
| 698 | learn how to do. |
---|
| 699 | |
---|
| 700 | NB : Both 'external' and 'stupid' accounting methods |
---|
| 701 | account a job size just before *this* job is |
---|
| 702 | sent to the printer. |
---|
| 703 | The original 'querying' method accounts a job |
---|
| 704 | size just before *the next* job is sent to |
---|
| 705 | the printer. |
---|
| 706 | |
---|
[976] | 707 | - 1.05alpha3 : |
---|
| 708 | |
---|
| 709 | - A 'stupid' and unreliable accounting method was |
---|
| 710 | implemented to serve as an example on how to |
---|
| 711 | do this sort of things. This method only counts |
---|
| 712 | the 'showpage' statements in the input data. |
---|
| 713 | See sample configuration file for details. |
---|
| 714 | Pluggable accounting methods work, but I advise |
---|
| 715 | you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE. |
---|
| 716 | It is not reliable enough to be used. |
---|
[978] | 717 | Use the 'querying' accounting method instead. |
---|
[976] | 718 | |
---|
[973] | 719 | - 1.05alpha2 : |
---|
| 720 | |
---|
| 721 | - Pluggable accounting methods. |
---|
| 722 | |
---|
[975] | 723 | - Better error handling. |
---|
| 724 | |
---|
[962] | 725 | - 1.05alpha1 : |
---|
| 726 | |
---|
[969] | 727 | - SECURITY file added to help improve PyKota's security. |
---|
| 728 | |
---|
[962] | 729 | - Extracting the printer's internal page counter is now |
---|
| 730 | tried several times, waiting several seconds between |
---|
| 731 | two tries. This lets the time to warm up for some printers |
---|
| 732 | which don't answer when they are sleeping (my Apple |
---|
| 733 | LaserWriter 16/600 PS is in this case, maybe others too) |
---|
| 734 | |
---|
[970] | 735 | - Small display bug fixed in repykota |
---|
| 736 | |
---|
[960] | 737 | - 1.04 : |
---|
[956] | 738 | |
---|
| 739 | - Default print policy for users/groups unknown from |
---|
| 740 | the print quota system is now DENY instead of ALLOW, |
---|
| 741 | since ALLOW can generate inaccurate results |
---|
| 742 | (incorrect job sizes charged to the wrong persons) |
---|
| 743 | |
---|
[954] | 744 | - LPRng support works ! |
---|
| 745 | |
---|
[953] | 746 | - A bug was introduced some time ago wrt printers' default |
---|
| 747 | policy for unknown users. It is now corrected. |
---|
| 748 | |
---|
[950] | 749 | - repykota now displays prices per job and per page for each |
---|
| 750 | printer, if they are defined. |
---|
| 751 | |
---|
[947] | 752 | - Minor display bug fixed in repykota. |
---|
| 753 | |
---|
| 754 | - Problem when running repykota with an empty database was fixed. |
---|
| 755 | |
---|
[942] | 756 | - 1.03 : |
---|
| 757 | |
---|
| 758 | - Upgrade script included for earlier versions. |
---|
| 759 | Please look inside the initscripts subdirectory. |
---|
[965] | 760 | THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE. |
---|
[942] | 761 | |
---|
[932] | 762 | - repykota now reports account balances too. |
---|
[929] | 763 | |
---|
[932] | 764 | - PyKota now has a nice logo, see the logos |
---|
| 765 | subdirectory. |
---|
| 766 | |
---|
[936] | 767 | - Manual pages were finally updated. |
---|
| 768 | |
---|
[927] | 769 | - Group quotas seem to work now ! |
---|
| 770 | |
---|
[910] | 771 | - The new database schema allows to keep an history of all |
---|
| 772 | jobs as well as charge users per page and/or per job, |
---|
| 773 | and track users' account balance. |
---|
| 774 | |
---|
[917] | 775 | - edpykota now accepts much more command line options to |
---|
| 776 | use the new functionnalities. See edpykota --help for |
---|
| 777 | details. |
---|
| 778 | |
---|
[885] | 779 | - The installation script now allows to install the sample |
---|
| 780 | configuration file during first installation. |
---|
[892] | 781 | |
---|
| 782 | - More group quota code works, but still not finished. |
---|
[885] | 783 | |
---|
[894] | 784 | - The CGI script displays a link to PyKota's website. |
---|
| 785 | |
---|
[899] | 786 | - The job history is now kept, this will allow per-period |
---|
| 787 | reports in the future. |
---|
[900] | 788 | |
---|
| 789 | - After having modified the quota for an user with edpykota, |
---|
| 790 | a quota check is done to eventually warn the user/admin about |
---|
| 791 | a quota which is too low to print. |
---|
| 792 | |
---|
[901] | 793 | - A workaround is provided for HP Printers : their internal |
---|
| 794 | page counter is only saved to NVRAM in a 10 increment, so |
---|
| 795 | if you switch them off and then on, the reported page counter |
---|
| 796 | may be lower than the real number of pages printed. |
---|
| 797 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[909] | 798 | We unconditionnally set the last job's page count to |
---|
| 799 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
| 800 | in this case. |
---|
[908] | 801 | For a more accurate accounting, never switch your HP printers |
---|
| 802 | off. |
---|
[901] | 803 | |
---|
| 804 | - A fix is provided for printers which only have a volatile |
---|
| 805 | page counter (reset to 0 every time you switch the printer on) |
---|
[908] | 806 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
| 807 | 4L/5L/6L, not perfect, but better than nothing. |
---|
[901] | 808 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[908] | 809 | For a more accurate accounting, never switch your HP printers |
---|
[925] | 810 | off. This is untested, please report any problem. |
---|
[901] | 811 | |
---|
[907] | 812 | - A bug was fixed when edpykota --add was used with users who already |
---|
| 813 | had a quota on the specified printer. |
---|
| 814 | |
---|
[913] | 815 | - A small display bug in repykota was introduced in preliminary |
---|
| 816 | 1.03 versions, and fixed later on. |
---|
[915] | 817 | |
---|
| 818 | - Some minor bugs which happened in rare situations were fixed. |
---|
[913] | 819 | |
---|
[919] | 820 | - Support for AppleTalk printers was added, see sample configuration |
---|
| 821 | file for details. |
---|
[925] | 822 | |
---|
| 823 | - Users and group printing can now be controlled (limited) either by |
---|
| 824 | print quota or by account balance. |
---|
[919] | 825 | |
---|
[877] | 826 | - 1.02 : |
---|
[859] | 827 | |
---|
[871] | 828 | - The installation script now checks for software availability |
---|
| 829 | and in case a software is missing asks the user if he |
---|
| 830 | wants to continue with the installation or abort it. |
---|
| 831 | |
---|
[872] | 832 | - The configuration file pykota.conf is now expected to be |
---|
| 833 | found in /etc instead of in /etc/cups |
---|
| 834 | The installation script prompts the user to see if he |
---|
| 835 | wants to move an old configuration file to the new location |
---|
| 836 | if needed. |
---|
| 837 | |
---|
[859] | 838 | - Improved documentation. |
---|
| 839 | |
---|
| 840 | - You can now set the tcp/ip port on which the Quota Storage |
---|
| 841 | Server is listening, see sample configuration file for details. |
---|
| 842 | |
---|
[872] | 843 | - Better general error handling. |
---|
[859] | 844 | |
---|
[875] | 845 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
| 846 | included as well. |
---|
| 847 | |
---|
[852] | 848 | - 1.01 : |
---|
| 849 | |
---|
| 850 | - The configuration file now accepts an option |
---|
| 851 | to choose the recipient(s) of the email messages : |
---|
| 852 | |
---|
| 853 | - DevNull means no one will receive them. |
---|
| 854 | - User means only the user will receive them. |
---|
| 855 | - Admin means only the admin will receive them. |
---|
| 856 | - Both means the User and the Admin will receive them. |
---|
| 857 | |
---|
[853] | 858 | - The configuration file now uses hard-coded default values |
---|
| 859 | when an option is not set. See sample configuration file |
---|
| 860 | for details. |
---|
| 861 | |
---|
[852] | 862 | - Manual pages are included since 1.00, but I forgot to |
---|
| 863 | add this information to this file. |
---|
| 864 | |
---|
[855] | 865 | - Redistribution terms for the official package have |
---|
| 866 | softened and are now fully GPL compatible : |
---|
| 867 | unrestricted modification is now allowed even for |
---|
| 868 | the version number. |
---|
| 869 | |
---|
[846] | 870 | - 1.00 : |
---|
| 871 | |
---|
| 872 | - edpykota now accepts a --noquota option. This |
---|
| 873 | disable quota checking while still doing page |
---|
| 874 | accounting. This is really useful for people |
---|
| 875 | who don't want to limit their users but want |
---|
| 876 | to know how much pages they print. |
---|
| 877 | |
---|
| 878 | - Some untested scripts were added to retrieve |
---|
| 879 | the life time page counter of non-SNMP printers. |
---|
| 880 | |
---|
| 881 | - Every directory now has a specific README file. |
---|
| 882 | |
---|
[833] | 883 | - 0.99 : |
---|
| 884 | |
---|
| 885 | - Under some circumstances while the user wasn't allowed |
---|
| 886 | to print, he didn't receive any email message. It is |
---|
| 887 | now fixed. |
---|
| 888 | |
---|
| 889 | - When an user wasn't allowed to print, the quota for |
---|
[835] | 890 | the previous user wasn't updated. This is now fixed. |
---|
[833] | 891 | |
---|
[827] | 892 | - 0.98 : |
---|
| 893 | |
---|
| 894 | - Correctly handle the case where the printer is switched off. |
---|
| 895 | |
---|
[828] | 896 | - Small bug wrt syslog fixed. |
---|
| 897 | |
---|
[819] | 898 | - 0.97 : |
---|
| 899 | |
---|
| 900 | - edpykota accepts wildcards on its command line for users/groups too |
---|
| 901 | if the --add option is not set, e.g. : |
---|
| 902 | |
---|
| 903 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
| 904 | |
---|
[821] | 905 | - If no user name is passed at all, then a default wildcard of "*" |
---|
[819] | 906 | which means apply the command on ALL users for this printer is used. |
---|
| 907 | |
---|
| 908 | - Small bug fixes. |
---|
| 909 | |
---|
[803] | 910 | - 0.96 : |
---|
| 911 | |
---|
[808] | 912 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
[807] | 913 | be set either globally or per printer. The printer option has |
---|
| 914 | priority if both are defined. |
---|
[803] | 915 | |
---|
[807] | 916 | - More powerful configuration parser. |
---|
| 917 | |
---|
| 918 | - If all options are defined globally, there's no need to |
---|
| 919 | define a section for each printer in the configuration |
---|
| 920 | file anymore. Just define a [global] section and it's ok. |
---|
[803] | 921 | |
---|
[797] | 922 | - 0.95 : |
---|
| 923 | |
---|
[798] | 924 | - External requesters for printers finally added. |
---|
[797] | 925 | |
---|
| 926 | - Full internationalization (english and french are supported) |
---|
| 927 | |
---|
| 928 | - More complete quota usage report |
---|
| 929 | |
---|
| 930 | - CGI script to access to the quota usage report |
---|
| 931 | |
---|
| 932 | - Several bugs fixed. |
---|
| 933 | |
---|
| 934 | |
---|
| 935 | - 0.9 : |
---|
| 936 | |
---|
| 937 | - First public version |
---|