24 | | # |
25 | | # $Log$ |
26 | | # Revision 1.88 2005/02/19 17:47:19 jalet |
27 | | # Fixed the --prototype command line option to edpykota |
28 | | # |
29 | | # Revision 1.87 2005/02/13 22:02:28 jalet |
30 | | # Big database structure changes. Upgrade script is now included as well as |
31 | | # the new LDAP schema. |
32 | | # Introduction of the -o | --overcharge command line option to edpykota. |
33 | | # The output of repykota is more complete, but doesn't fit in 80 columns anymore. |
34 | | # Introduction of the new 'maxdenybanners' directive. |
35 | | # |
36 | | # Revision 1.86 2005/01/21 14:40:01 jalet |
37 | | # edpykota's --delete command line tool doesn't use "*" as its default argument |
38 | | # anymore when the user doesn't pass any real argument :-) |
39 | | # |
40 | | # Revision 1.85 2005/01/18 19:47:49 jalet |
41 | | # Big bug fix wrt the datelimit attribute |
42 | | # |
43 | | # Revision 1.84 2005/01/17 08:44:23 jalet |
44 | | # Modified copyright years |
45 | | # |
46 | | # Revision 1.83 2004/12/02 21:24:50 jalet |
47 | | # Integrated the patch by Wilson Roberto Afonso and Matt Hyclak to allow |
48 | | # edpykota to accept the -U | --used value command line option. |
49 | | # |
50 | | # Revision 1.82 2004/11/22 21:53:38 jalet |
51 | | # Added the reject_unknown directive to pykota.conf to reject user/group |
52 | | # creation if user or group is unknown to the system |
53 | | # |
54 | | # Revision 1.81 2004/10/12 15:37:00 jalet |
55 | | # Now outputs the name of the offending user if a mere mortal tries to use |
56 | | # one of these commands !!! |
57 | | # |
58 | | # Revision 1.80 2004/10/11 22:53:05 jalet |
59 | | # Postponed string interpolation to help message's output method |
60 | | # |
61 | | # Revision 1.79 2004/10/11 12:49:06 jalet |
62 | | # Renders help translatable |
63 | | # |
64 | | # Revision 1.78 2004/10/07 14:35:40 jalet |
65 | | # Now edpykota refuses to launch if the user is not a PyKota administrator. |
66 | | # dumpykota : now has the same error message than edpykota in this case. |
67 | | # |
68 | | # Revision 1.77 2004/09/28 17:45:31 jalet |
69 | | # Added the --hardreset command line option to edpykota |
70 | | # |
71 | | # Revision 1.76 2004/07/01 19:56:40 jalet |
72 | | # Better dispatching of error messages |
73 | | # |
74 | | # Revision 1.75 2004/06/18 13:34:47 jalet |
75 | | # Now all tracebacks include PyKota's version number |
76 | | # |
77 | | # Revision 1.74 2004/06/07 18:43:40 jalet |
78 | | # Fixed over-verbose exits when displaying help or version number |
79 | | # |
80 | | # Revision 1.73 2004/06/03 21:50:34 jalet |
81 | | # Improved error logging. |
82 | | # crashrecipient directive added. |
83 | | # Now exports the job's size in bytes too. |
84 | | # |
85 | | # Revision 1.72 2004/04/16 16:20:19 jalet |
86 | | # Note about not implemented limitby values |
87 | | # |
88 | | # Revision 1.71 2004/03/24 15:15:24 jalet |
89 | | # Began integration of Henrik Janhagen's work on quota-then-balance |
90 | | # and balance-then-quota |
91 | | # |
92 | | # Revision 1.70 2004/02/27 09:23:21 jalet |
93 | | # Minor code reorganisation |
94 | | # |
95 | | # Revision 1.69 2004/02/19 15:05:56 jalet |
96 | | # domain names changed to example.com in the doc, according to RFC2606 |
97 | | # |
98 | | # Revision 1.68 2004/01/28 10:05:22 jalet |
99 | | # New user/group deletion code |
100 | | # |
101 | | # Revision 1.67 2004/01/15 11:19:07 jalet |
102 | | # Typos in messages wrt gettext. |
103 | | # |
104 | | # Revision 1.66 2004/01/12 21:54:36 jalet |
105 | | # User's email address can now be set at user's creation time. |
106 | | # |
107 | | # Revision 1.65 2004/01/08 16:24:49 jalet |
108 | | # edpykota now supports adding printers to printer groups. |
109 | | # |
110 | | # Revision 1.64 2004/01/08 14:10:32 jalet |
111 | | # Copyright year changed. |
112 | | # |
113 | | # Revision 1.63 2003/11/24 16:50:58 jalet |
114 | | # Old help message deletedd |
115 | | # |
116 | | # Revision 1.62 2003/11/12 23:28:38 jalet |
117 | | # More work on new backend. This commit may be unstable. |
118 | | # |
119 | | # Revision 1.61 2003/11/12 13:06:35 jalet |
120 | | # Bug fix wrt no user/group name command line argument to edpykota |
121 | | # |
122 | | # Revision 1.60 2003/10/09 21:25:24 jalet |
123 | | # Multiple printer names or wildcards can be passed on the command line |
124 | | # separated with commas. |
125 | | # Beta phase. |
126 | | # |
127 | | # Revision 1.59 2003/10/07 09:07:27 jalet |
128 | | # Character encoding added to please latest version of Python |
129 | | # |
130 | | # Revision 1.58 2003/10/03 12:27:01 jalet |
131 | | # Several optimizations, especially with LDAP backend |
132 | | # |
133 | | # Revision 1.57 2003/08/20 16:01:19 jalet |
134 | | # Comment added. |
135 | | # |
136 | | # Revision 1.56 2003/07/29 20:55:17 jalet |
137 | | # 1.14 is out ! |
138 | | # |
139 | | # Revision 1.55 2003/07/28 09:11:12 jalet |
140 | | # PyKota now tries to add its attributes intelligently in existing LDAP |
141 | | # directories. |
142 | | # |
143 | | # Revision 1.54 2003/07/21 06:32:42 jalet |
144 | | # Prevents email messages to be sent at modification/creation time for |
145 | | # a user/group quota |
146 | | # |
147 | | # Revision 1.53 2003/07/09 06:03:41 jalet |
148 | | # Fixed typo when using edpykota --prototype |
149 | | # |
150 | | # Revision 1.52 2003/07/07 12:11:13 jalet |
151 | | # Small fix |
152 | | # |
153 | | # Revision 1.51 2003/07/07 11:55:50 jalet |
154 | | # Small fix |
155 | | # |
156 | | # Revision 1.50 2003/07/05 12:33:53 jalet |
157 | | # More on previous fix. |
158 | | # |
159 | | # Revision 1.49 2003/07/05 12:32:07 jalet |
160 | | # Ensure that the user don't pass more than two prices for a printer. |
161 | | # |
162 | | # Revision 1.48 2003/06/25 19:52:30 jalet |
163 | | # Should be ready for testing :-) |
164 | | # |
165 | | # Revision 1.47 2003/06/25 14:10:01 jalet |
166 | | # Hey, it may work (edpykota --reset excepted) ! |
167 | | # |
168 | | # Revision 1.46 2003/06/16 11:59:09 jalet |
169 | | # More work on LDAP |
170 | | # |
171 | | # Revision 1.45 2003/06/11 19:32:00 jalet |
172 | | # Severe bug wrt account balance setting should be corrected. |
173 | | # |
174 | | # Revision 1.44 2003/04/29 22:03:38 jalet |
175 | | # Better error handling. |
176 | | # |
177 | | # Revision 1.43 2003/04/23 22:13:56 jalet |
178 | | # Preliminary support for LPRng added BUT STILL UNTESTED. |
179 | | # |
180 | | # Revision 1.42 2003/04/17 13:38:47 jalet |
181 | | # Docstring corrected for better manual page |
182 | | # |
183 | | # Revision 1.41 2003/04/16 12:35:49 jalet |
184 | | # Groups quota work now ! |
185 | | # |
186 | | # Revision 1.40 2003/04/16 08:22:09 jalet |
187 | | # More strict error detection. |
188 | | # Minor code rewrite to avoid some repetitive tests. |
189 | | # |
190 | | # Revision 1.39 2003/04/16 08:01:53 jalet |
191 | | # edpykota --charge command line option works now. |
192 | | # |
193 | | # Revision 1.38 2003/04/15 22:02:43 jalet |
194 | | # More complete docstring |
195 | | # |
196 | | # Revision 1.37 2003/04/15 21:58:33 jalet |
197 | | # edpykota now accepts a --delete option. |
198 | | # Preparation to allow edpykota to accept much more command line options |
199 | | # (WARNING : docstring is OK, but code isn't !) |
200 | | # |
201 | | # Revision 1.36 2003/04/15 13:55:28 jalet |
202 | | # Options --limitby and --balance added to edpykota |
203 | | # |
204 | | # Revision 1.35 2003/04/15 13:06:39 jalet |
205 | | # Allow to add a printer without any user |
206 | | # |
207 | | # Revision 1.34 2003/04/11 16:51:11 jalet |
208 | | # Bug fix for edpykota --add with users who already had a quota on the printer. |
209 | | # |
210 | | # Revision 1.33 2003/04/10 21:47:20 jalet |
211 | | # Job history added. Upgrade script neutralized for now ! |
212 | | # |
213 | | # Revision 1.32 2003/04/08 21:31:39 jalet |
214 | | # (anything or 0) = anything !!! Go back to school Jerome ! |
215 | | # |
216 | | # Revision 1.31 2003/04/08 21:13:44 jalet |
217 | | # Prepare --groups option to work. |
218 | | # |
219 | | # Revision 1.30 2003/04/08 21:10:18 jalet |
220 | | # Checks --groups option presence instead of --users because --users is the default. |
221 | | # |
222 | | # Revision 1.29 2003/04/05 09:28:56 jalet |
223 | | # Unnecessary message was logged |
224 | | # |
225 | | # Revision 1.28 2003/03/29 13:45:26 jalet |
226 | | # GPL paragraphs were incorrectly (from memory) copied into the sources. |
227 | | # Two README files were added. |
228 | | # Upgrade script for PostgreSQL pre 1.01 schema was added. |
229 | | # |
230 | | # Revision 1.27 2003/03/10 00:23:04 jalet |
231 | | # Bad english |
232 | | # |
233 | | # Revision 1.26 2003/03/10 00:11:27 jalet |
234 | | # Cleaner example. |
235 | | # |
236 | | # Revision 1.25 2003/03/09 23:56:21 jalet |
237 | | # Option noquota added to do accounting only. |
238 | | # |
239 | | # Revision 1.24 2003/02/27 23:48:41 jalet |
240 | | # Correctly maps PyKota's log levels to syslog log levels |
241 | | # |
242 | | # Revision 1.23 2003/02/27 22:55:20 jalet |
243 | | # WARN log priority doesn't exist. |
244 | | # |
245 | | # Revision 1.22 2003/02/27 09:37:02 jalet |
246 | | # Wildcards seem to work now |
247 | | # |
248 | | # Revision 1.21 2003/02/27 09:04:46 jalet |
249 | | # user and group names can be passed as wildcards if the --add option |
250 | | # is not set. The default is to act on all users or groups. |
251 | | # |
252 | | # Revision 1.20 2003/02/10 12:07:30 jalet |
253 | | # Now repykota should output the recorded total page number for each printer too. |
254 | | # |
255 | | # Revision 1.19 2003/02/09 13:40:29 jalet |
256 | | # typo |
257 | | # |
258 | | # Revision 1.18 2003/02/09 12:56:53 jalet |
259 | | # Internationalization begins... |
260 | | # |
261 | | # Revision 1.17 2003/02/08 22:47:23 jalet |
262 | | # Option --reset can now be used without having to use soft and hard limits |
263 | | # on the command line. |
264 | | # |
265 | | # Revision 1.16 2003/02/08 22:39:46 jalet |
266 | | # --reset command line option added |
267 | | # |
268 | | # Revision 1.15 2003/02/08 22:20:01 jalet |
269 | | # Clarification on why we don't check with /etc/passwd to see if the user |
270 | | # name is valid or not. |
271 | | # |
272 | | # Revision 1.14 2003/02/08 22:18:15 jalet |
273 | | # Now checks user and group names for validity before adding them |
274 | | # |
275 | | # Revision 1.13 2003/02/08 22:09:02 jalet |
276 | | # Only printer was added the first time. |
277 | | # |
278 | | # Revision 1.12 2003/02/08 21:44:49 jalet |
279 | | # Python 2.1 string module doesn't define ascii_letters |
280 | | # |
281 | | # Revision 1.11 2003/02/08 09:42:44 jalet |
282 | | # Better handle wrong or bad command line arguments |
283 | | # |
284 | | # Revision 1.10 2003/02/08 09:39:20 jalet |
285 | | # typos |
286 | | # |
287 | | # Revision 1.9 2003/02/08 09:38:06 jalet |
288 | | # Badly placed test |
289 | | # |
290 | | # Revision 1.8 2003/02/07 22:53:57 jalet |
291 | | # Checks if printer name is valid before adding it |
292 | | # |
293 | | # Revision 1.7 2003/02/07 22:17:58 jalet |
294 | | # Incomplete test |
295 | | # |
296 | | # Revision 1.6 2003/02/07 22:13:13 jalet |
297 | | # Perhaps edpykota is now able to add printers !!! Oh, stupid me ! |
298 | | # |
299 | | # Revision 1.5 2003/02/06 14:49:04 jalet |
300 | | # edpykota should be ok now |
301 | | # |
302 | | # Revision 1.4 2003/02/06 14:28:59 jalet |
303 | | # edpykota should be ok, minus some typos |
304 | | # |
305 | | # Revision 1.3 2003/02/06 10:47:21 jalet |
306 | | # Documentation string and command line options didn't match. |
307 | | # |
308 | | # Revision 1.2 2003/02/06 10:39:23 jalet |
309 | | # Preliminary edpykota work. |
310 | | # |
311 | | # Revision 1.1 2003/02/05 21:41:09 jalet |
312 | | # Skeletons added for all command line tools |
313 | | # |