1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS and LPRng |
---|
4 | |
---|
5 | (c) 2003-2004 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 | - Try to talk to education based distribution coordinators |
---|
25 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
26 | better integrate PyKota with these. |
---|
27 | |
---|
28 | - Allow soft and hard limits to be increased/decreased. |
---|
29 | |
---|
30 | - Web enabled pykotme and dumpykota. |
---|
31 | |
---|
32 | - Add a configuration directive to forbid user account |
---|
33 | creation if the user doesn't exist on the system. |
---|
34 | |
---|
35 | - Add an MD5 checksum of the job's datas to the |
---|
36 | history, to be able to discover duplicate print |
---|
37 | jobs. This is partially done : the checksum |
---|
38 | is now computed and exported into the environment |
---|
39 | variable PYKOTAMD5SUM, but it is not yet saved |
---|
40 | into the database. |
---|
41 | |
---|
42 | - Maybe put "gracedelay" in the database. |
---|
43 | |
---|
44 | - Price multiplier/divisor which can be set on a per |
---|
45 | user or per user group basis. |
---|
46 | |
---|
47 | - Ink accounting ala PrintBill. |
---|
48 | |
---|
49 | - Price and statistics per page format. |
---|
50 | |
---|
51 | - Add a description field to users/groups. |
---|
52 | |
---|
53 | - Allow the admin to choose an action to take when the database |
---|
54 | is unavailable (server is down or something like that) : |
---|
55 | introduce two directives : |
---|
56 | |
---|
57 | nodb: accept|reject|hold |
---|
58 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
59 | |
---|
60 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
61 | data : use this to tell CUPS what action has been taken |
---|
62 | for current job. |
---|
63 | |
---|
64 | - Add frontbanner and rearbanner directives to pykota.conf |
---|
65 | This directives will allow the launch (if executable) |
---|
66 | or the use of the banner path passed as a parameter. |
---|
67 | If executable, the banner content will be taken from |
---|
68 | the command's output, else from the banner file |
---|
69 | directly. |
---|
70 | |
---|
71 | Maybe allow frontbanner: +somepath and |
---|
72 | frontbanner: -somepath |
---|
73 | to allow/deny accounting of the banner itself |
---|
74 | (not sure because may be VERY DIFFICULT !) |
---|
75 | |
---|
76 | - Think about some possible client <=> PyKota dialog |
---|
77 | possibilities, like embedding a small web server in |
---|
78 | PyKota for example, or something like that. |
---|
79 | |
---|
80 | - Log something when --add is used with existing entries. |
---|
81 | Maybe add a new command line option to force/not force |
---|
82 | modification of existing entries. |
---|
83 | |
---|
84 | - Finish implementation of quota-then-balance and |
---|
85 | balance-then-quota. |
---|
86 | |
---|
87 | - Test and document a possible workaround for knowing |
---|
88 | if the job is a banner (embed a postscript comment |
---|
89 | in the banner). |
---|
90 | |
---|
91 | - Introduce the pkusers command. |
---|
92 | pkusers --nogroup |
---|
93 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
94 | |
---|
95 | - Allow the --ingroups command line option to repykota, to |
---|
96 | report only users members of the specified groups. |
---|
97 | |
---|
98 | - Documentation... |
---|
99 | |
---|
100 | - Complete web administrative interface with graphical reports. |
---|
101 | |
---|
102 | - Group administrators (think quotagrpdmins for disk quotas). |
---|
103 | Won't be implemented for now. |
---|
104 | |
---|
105 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
106 | related datas in PostgreSQL, history in text file, |
---|
107 | and so on... For 2.0, probably not before. |
---|
108 | |
---|
109 | |
---|
110 | ============================================================ |
---|
111 | |
---|
112 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|