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 | - Add an MD5 checksum of the job's datas to the |
---|
25 | history, to be able to discover duplicate print |
---|
26 | jobs. |
---|
27 | |
---|
28 | - Add --hardreset command line option to |
---|
29 | edpykota to also reset lifetime page counters to 0. |
---|
30 | |
---|
31 | - Maybe put "gracedelay" in the database. |
---|
32 | |
---|
33 | - Allow admin to specify a prefix to delete from |
---|
34 | usernames when printing, just like what is done |
---|
35 | for the "utolower" directive. |
---|
36 | |
---|
37 | - Price multiplier/divisor which can be set on a per |
---|
38 | user or per user group basis. |
---|
39 | |
---|
40 | - Ink accounting ala PrintBill. |
---|
41 | |
---|
42 | - Price and statistics per page format. |
---|
43 | |
---|
44 | - Add a description field to users/groups. |
---|
45 | |
---|
46 | - Allow the admin to choose an action to take when the database |
---|
47 | is unavailable (server is down or something like that) : |
---|
48 | introduce two directives : |
---|
49 | |
---|
50 | nodb: accept|reject|hold |
---|
51 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
52 | |
---|
53 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
54 | data : use this to tell CUPS what action has been taken |
---|
55 | for current job. |
---|
56 | |
---|
57 | - Add frontbanner and rearbanner directives to pykota.conf |
---|
58 | This directives will allow the launch (if executable) |
---|
59 | or the use of the banner path passed as a parameter. |
---|
60 | If executable, the banner content will be taken from |
---|
61 | the command's output, else from the banner file |
---|
62 | directly. |
---|
63 | |
---|
64 | Maybe allow frontbanner: +somepath and |
---|
65 | frontbanner: -somepath |
---|
66 | to allow/deny accounting of the banner itself |
---|
67 | (not sure because may be VERY DIFFICULT !) |
---|
68 | |
---|
69 | - Think about some possible client <=> PyKota dialog |
---|
70 | possibilities, like embedding a small web server in |
---|
71 | PyKota for example, or something like that. |
---|
72 | |
---|
73 | - Log something when --add is used with existing entries. |
---|
74 | Maybe add a new command line option to force/not force |
---|
75 | modification of existing entries. |
---|
76 | |
---|
77 | - Finish implementation of quota-then-balance and |
---|
78 | balance-then-quota. |
---|
79 | |
---|
80 | - Test and document a possible workaround for knowing |
---|
81 | if the job is a banner (embed a postscript comment |
---|
82 | in the banner). |
---|
83 | |
---|
84 | - Introduce the pkusers command. |
---|
85 | pkusers --nogroup |
---|
86 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
87 | |
---|
88 | - Ensures data are stored in a consistent way with Unicode : |
---|
89 | I can't reproduce the problem. |
---|
90 | |
---|
91 | - Allow the --ingroups command line option to repykota, to |
---|
92 | report only users members of the specified groups. |
---|
93 | |
---|
94 | - Documentation... |
---|
95 | |
---|
96 | - Complete web administrative interface with graphical reports. |
---|
97 | |
---|
98 | - Group administrators (think quotagrpdmins for disk quotas). |
---|
99 | Won't be implemented for now. |
---|
100 | |
---|
101 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
102 | related datas in PostgreSQL, history in text file, |
---|
103 | and so on... For 2.0, probably not before. |
---|
104 | |
---|
105 | |
---|
106 | ============================================================ |
---|
107 | |
---|
108 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|