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