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