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