[737] | 1 | # $Id$ |
---|
| 2 | |
---|
[952] | 3 | PyKota - Print Quota for CUPS and LPRng |
---|
[737] | 4 | |
---|
[2028] | 5 | (c) 2003, 2004, 2005 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. |
---|
[737] | 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. |
---|
[737] | 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 | |
---|
[737] | 20 | ============================================================ |
---|
| 21 | |
---|
[1322] | 22 | TODO, in no particular order : |
---|
[737] | 23 | |
---|
[2250] | 24 | - Add date filtering options to dumpykota, something like |
---|
| 25 | date=+20050101 date=-20050201 |
---|
| 26 | to dump all jobs printed between January 1st 2005 included |
---|
| 27 | and February 1st 2005 not included. This looks ugly but |
---|
| 28 | at least we avoid the problematic '<' and '>' on command |
---|
| 29 | lines, which would mandate the use of quotes... |
---|
| 30 | |
---|
[2249] | 31 | - Make the PyKota's logo URL a new configuration directive. |
---|
| 32 | |
---|
[2150] | 33 | - Pass-through mode for printers : history correctly filled (including |
---|
| 34 | job size) but no impact on user's page counter or account |
---|
| 35 | balance : this is meant to be a temporary situation for |
---|
| 36 | a printer to be in pass-through mode, for example during |
---|
| 37 | an exam where the faculty pays for the printouts and we |
---|
| 38 | don't want our users to complain about their credits being |
---|
| 39 | "eaten" for mandatory printouts. |
---|
| 40 | |
---|
[2208] | 41 | - Allow several levels of administrative priviledges by allowing |
---|
| 42 | files like ~pykota/pykotadmin.someusername.conf (readonly by |
---|
| 43 | user 'someusername'), and have the database server deal |
---|
| 44 | with the permissions : no need for additionnal code or data |
---|
| 45 | in PyKota's database ! |
---|
| 46 | |
---|
[2207] | 47 | - Add a "printing denied" indicator on user print quota entries, |
---|
| 48 | to temporarily forbid an user to print on a particular printer. |
---|
| 49 | |
---|
[2123] | 50 | - Maybe per user "denyduplicates" : my 5 years old daughter |
---|
| 51 | just prints again when the printer is off... |
---|
| 52 | |
---|
[2108] | 53 | - Now that the job size is ALWAYS precomputed, add a |
---|
| 54 | MaxJobSize attribute to users and groups (printers as |
---|
| 55 | well, maybe ?) to limit each job's size if needed. |
---|
| 56 | |
---|
[1973] | 57 | - Add precomputed job size (and price) to the history for |
---|
| 58 | controlling purpose. |
---|
| 59 | |
---|
[1882] | 60 | - Try to talk to education based distribution coordinators |
---|
| 61 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
| 62 | better integrate PyKota with these. |
---|
| 63 | |
---|
[1876] | 64 | - Allow soft and hard limits to be increased/decreased. |
---|
| 65 | |
---|
[2212] | 66 | - Add most configuration directives to the database itself, |
---|
| 67 | while still allowing to overwrite them with the configuration |
---|
| 68 | files at run time. |
---|
[1844] | 69 | |
---|
[1634] | 70 | - Ink accounting ala PrintBill. |
---|
| 71 | |
---|
[1679] | 72 | - Price and statistics per page format. |
---|
| 73 | |
---|
[1623] | 74 | - Add a description field to users/groups. |
---|
| 75 | |
---|
[1598] | 76 | - Allow the admin to choose an action to take when the database |
---|
[1892] | 77 | is unavailable (server is down or something like that), so |
---|
[1598] | 78 | introduce two directives : |
---|
| 79 | |
---|
| 80 | nodb: accept|reject|hold |
---|
| 81 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
| 82 | |
---|
[1585] | 83 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
| 84 | data : use this to tell CUPS what action has been taken |
---|
[2212] | 85 | for current job. I did some testing but wasn't able to |
---|
| 86 | make it work... |
---|
[1585] | 87 | |
---|
[1501] | 88 | - Think about some possible client <=> PyKota dialog |
---|
| 89 | possibilities, like embedding a small web server in |
---|
[1507] | 90 | PyKota for example, or something like that. |
---|
[1501] | 91 | |
---|
| 92 | - Log something when --add is used with existing entries. |
---|
| 93 | Maybe add a new command line option to force/not force |
---|
| 94 | modification of existing entries. |
---|
| 95 | |
---|
[1440] | 96 | - Finish implementation of quota-then-balance and |
---|
| 97 | balance-then-quota. |
---|
| 98 | |
---|
[1640] | 99 | - Introduce the pkusers command. |
---|
| 100 | pkusers --nogroup |
---|
[1378] | 101 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
[1370] | 102 | |
---|
[1319] | 103 | - Allow the --ingroups command line option to repykota, to |
---|
| 104 | report only users members of the specified groups. |
---|
| 105 | |
---|
[1157] | 106 | - Documentation... |
---|
| 107 | |
---|
[2054] | 108 | - Learn more bits of PHP to help with phpPyKotaAdmin, which |
---|
| 109 | is a GREAT tool ! |
---|
[1045] | 110 | |
---|
[1385] | 111 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
| 112 | related datas in PostgreSQL, history in text file, |
---|
| 113 | and so on... For 2.0, probably not before. |
---|
[737] | 114 | |
---|
| 115 | |
---|
| 116 | ============================================================ |
---|
| 117 | |
---|
| 118 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|