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