]> git.proxmox.com Git - pve-common.git/blame - data/ChangeLog
update documentation (we now use git instead of svn)
[pve-common.git] / data / ChangeLog
CommitLineData
e143e9d8
DM
12011-08-17 Proxmox Support Team <support@proxmox.com>
2
3 * PVE/PodParser.pm: split out pod generation code
4
52011-08-16 Proxmox Support Team <support@proxmox.com>
6
7 * PVE/JSONSchema.pm (dump_config): a simply way to generate
8 key/value configuration files.
9
102011-08-15 Proxmox Support Team <support@proxmox.com>
11
12 * PVE/JSONSchema.pm (parse_config): a simply way to verify
13 key/value configuration files.
14
152011-08-11 Proxmox Support Team <support@proxmox.com>
16
17 * PVE/*: remove useless 'fixme' comments.
18
19 * PVE/Tools.pm (lock_file): removed $text parameter (to simplify
20 code), better timeout error message.
21
222011-08-10 Proxmox Support Team <support@proxmox.com>
23
24 * PVE/RESTHandler.pm (cli_handler): renamed cli_handler2 to
25 cli_handler.
26
27 * PVE/CLIHandler.pm (print_pod_manpage): add method to generate
28 pod base manual pages (SYNOPSIS is auto generated).
29
302011-08-05 Proxmox Support Team <support@proxmox.com>
31
32 * PVE/CLIHandler.pm (help): avoid warning on undefined commands
33
342011-08-02 Proxmox Support Team <support@proxmox.com>
35
36 * PVE/CLIHandler.pm (handle_cmd): auto-complete commands
37
382011-07-28 Proxmox Support Team <support@proxmox.com>
39
40 * PVE/JSONSchema.pm (get_standard_option): register option
41 'pve-node-list'
42
43 * PVE/Tools.pm (run_command): fix $laststderr (do not suppress
44 last line in some rare cases).
45
462011-07-14 Proxmox Support Team <support@proxmox.com>
47
48 * PVE/Tools.pm (encode_text, decode_text): useful functions to
49 store comments in config files (uri encoding)
50
512011-07-04 Proxmox Support Team <support@proxmox.com>
52
53 * PVE/JSONSchema.pm (check_format): allow to add '-opt' to format
54 specifier which allows to pass empty strings. For
55 example format 'email' always requires a valid email address,
56 whereas format 'email-opt' also accepts an emtpy string.
57
582011-06-21 Proxmox Support Team <support@proxmox.com>
59
60 * PVE/Tools.pm (run_command): use alarm to impl. timeout
61
62 * PVE/RESTHandler.pm (api_dump): new - used to generate docu
63
64 * PVE/Tools.pm (upid_decode): fix upid parser
65
662011-05-10 Proxmox Support Team <support@proxmox.com>
67
68 * PVE/RESTHandler.pm (handle): untaint parameters after validate
69
702011-03-23 Proxmox Support Team <support@proxmox.com>
71
72 * PVE/Tools.pm (debmirrors): return list of debian mirrors (per
73 country).
74
752011-03-21 Proxmox Support Team <support@proxmox.com>
76
77 * PVE/INotify.pm (read_active_workers): simply skip entries we
78 cannot parse, add additional 'id' field to upid
79
802011-03-18 Proxmox Support Team <support@proxmox.com>
81
82 * PVE/Tools.pm (upid_read_status): read/parse last line from
83 worker output file.
84
852011-03-17 Proxmox Support Team <support@proxmox.com>
86
87 * PVE/INotify.pm (read/write_active_workers): list/update list of
88 active/recent worker processes
89
902011-03-16 Proxmox Support Team <support@proxmox.com>
91
92 * PVE/Tools.pm (upid_*): add code to handle worker processes.
93
942011-03-14 Proxmox Support Team <support@proxmox.com>
95
96 * PVE/Tools.pm (upid_encode,upid_decode): moved from
97 pve-access-control.
98
992011-03-09 Proxmox Support Team <support@proxmox.com>
100
101 * PVE/ProcFSTools.pm (read_proc_net_dev): first impl.
102
103 * PVE/Tools.pm (df): implement interruptible version of 'df'
104 (workd with timeout on NFS)
105
1062011-03-03 Proxmox Support Team <support@proxmox.com>
107
108 * PVE/ProcFSTools.pm (read_memory_usage): memory usage of current
109 process
110
1112011-02-22 Proxmox Support Team <support@proxmox.com>
112
113 * PVE/JSONSchema.pm (pve_verify_email): verify email address
114
1152011-02-16 Proxmox Support Team <support@proxmox.com>
116
117 * PVE/RPCEnvironment.pm: moved to pve-access-control
118
1192011-02-15 Proxmox Support Team <support@proxmox.com>
120
121 * PVE/Tools.pm (template_replace): support simple uri templates
122
123 * PVE/JSONSchema.pm: add permissions property (path,
124 privs). Allows use to specify required access permissions.
125
1262011-02-14 Proxmox Support Team <support@proxmox.com>
127
128 * PVE/ProcFSTools.pm: impl. new helpers read_loadavg(),
129 read_meminfo() and read_proc_stat().
130
1312011-02-08 Proxmox Support Team <support@proxmox.com>
132
133 * PVE/INotify.pm (update_file): use PVE::Tools, changed interface
134 (update_etc_resolv_conf): do not touch other options (like
135 'sortlist' and 'options'),
136 (read_etc_timezone): add timezone parser
137 (write_etc_timezone): add timezone writer
138
139 * PVE/JSONSchema.pm (pve_verify_ipv4): register IPv4 format.
140
1412011-02-02 Proxmox Support Team <support@proxmox.com>
142
143 * PVE/Tools.pm (next_vnc_port): moved from qemu-server
144
1452011-01-28 Proxmox Support Team <support@proxmox.com>
146
147 * PVE/SafeSyslog.pm (initlog): enable default for facility.
148
1492011-01-25 Proxmox Support Team <support@proxmox.com>
150
151 * PVE/JSONSchema.pm (get_options): make boolean arguments
152 optional, allow "true|yes|on|false|no|off|0|1"
153
1542011-01-19 root <root@maui.maurer-it.com>
155
156 * PVE/SafeSyslog.pm (tag): a way to read the log tag
157
1582011-01-12 root <root@maui.maurer-it.com>
159
160 * INotify.pm (read/write_etc_resolv_conf): functions to read/write
161 resolv.config
162 (nodename): new method to read actual node name (hostname)
163
1642010-11-09 Proxmox Support Team <support@proxmox.com>
165
166 * JSONSchema.pm (check_type): only allow '0' and '1' for boolean
167 values, because we often use perl directly to test (if
168 ($param->{force}) ...)
169
170 * INotify.pm (read_vmlist): add parser for vmlist file.
171
1722010-11-08 Proxmox Support Team <support@proxmox.com>
173
174 * INotify.pm (read_etc_hostname): impl. read/write /etc/hostname
175
1762010-09-17 Proxmox Support Team <support@proxmox.com>
177
178 * RESTHandler.pm (AUTOLOAD): bug fix.
179 (usage_str): add info about required options.
180
1812010-09-15 Proxmox Support Team <support@proxmox.com>
182
183 * RPCEnvironment.pm (fork_worker): moved from PVE::Utils
184 (get_remote_node_ip): new helper
185
186 * ProcFSTools.pm (read_proc_starttime): moved from PVE::Utils
187
1882010-09-14 Proxmox Support Team <support@proxmox.com>
189
190 * JSONSchema.pm (get_standard_option): allow to set defaults.
191
192 * RPCEnvironment.pm (get_nodelist): new helper
193
194 * RESTHandler.pm (register_method): do not validate method (that
195 is too slow - delays startup).
196 (validate_method_schemas): new method to validate all registered
197 methods. We can no do that once when we create a package.
198
1992010-09-13 Proxmox Support Team <support@proxmox.com>
200
201 * JSONSchema.pm (validate): add minLength/maxLength to the default
202 schema.
203
2042010-09-10 Proxmox Support Team <support@proxmox.com>
205
206 * INotify.pm (ccache_info): fix serious bug by duplicating cache info
207 entry.
208
209 * CLIHandler.pm (print_usage_short): group command by class
210
211 * JSONSchema.pm (register_standard_option, get_standard_option): a
212 way to register/get commom schemas by name.
213
214 * Tools.pm (extract_param): new helper
215
216 * CLIHandler.pm: new verbose option for help.
217
218 * Tools.pm (kvmkeymaps): moved from PVE::Utils.
219
220 * JSONSchema.pm: add a new attribute caled 'typetext' (any better
221 name?), used to generate nice docs.
222
2232010-09-08 Proxmox Support Team <support@proxmox.com>
224
225 * RESTHandler.pm (usage_str): only print indexed options
226 once (-vlan\d+ -scsi\d+)
227 (usage_str): sort options
228 (usage_str): use Text::Wrap to format output
229
230 * JSONSchema.pm (check_format): revert previous change - to keep
231 it simply
232
2332010-09-07 Proxmox Support Team <support@proxmox.com>
234
235 * JSONSchema.pm (check_format): return parsed value
236
237 * ProcFSTools.pm: new file - utilities to read /proc/
238
239 * ProcFSTools.pm (get_cpu_info): read cpu info from /proc
240
2412010-08-27 Proxmox Support Team <support@proxmox.com>
242
243 * RESTHandler.pm (cli_handler2): simplify code - allow to pass
244 optional parameters as arguments.
245 (find_handler): return matched path template as 3rd argument
246
2472010-08-26 Proxmox Support Team <support@proxmox.com>
248
249 * RESTHandler.pm (usage_str): new '$hidepw' parameter to correctly
250 handle hidden password parameter.
251
252 * README.dev: update docu about find_handler()
253
254 * RESTHandler.pm (find_handler): use '$path' instead of strange
255 '$stack' parameter.
256
2572010-08-25 Proxmox Support Team <support@proxmox.com>
258
259 * Exception.pm (raise_param_exc): allow to specify usage information.
260
261 * RESTHandler.pm (usage_str): first try to autogenerate usage information.
262 (cli_handler2): experimental code used by new CLIHandler.pm
263
264 * CLIHandler.pm: new class for command line tools like 'pvesm' -
265 automatically create 'help' and usage information.
266
2672010-08-24 Proxmox Support Team <support@proxmox.com>
268
269 * RESTHandler.pm (handle): remove $conn parameter. We use new
270 RPCEnvironment class to pass environment values.
271
2722010-08-20 Proxmox Support Team <support@proxmox.com>
273
274 * RESTHandler.pm (register_method): allow us to use regex in the
275 path template, for example path => '{method:(lvm|iscsi|nfs)}'
276
277 * JSONSchema.pm (validate): new 'fragmentDelimiter' option.
278
279 * RESTHandler.pm (find_handler): remove 'require' - we load
280 statically instead
281
2822010-08-17 Proxmox Support Team <support@proxmox.com>
283
284 * JSONSchema.pm (get_options): we use option type 's' for boolean
285 values - that way we can pass true and false (and any alias for
286 them)
287
288 * Exception.pm (raise_param_exc): new helper function
289
2902010-08-16 Proxmox Support Team <support@proxmox.com>
291
292 * Tools.pm (run_command): remove 'ticket' parameter - I think we
293 do not need it.
294 (file_read_firstline): new function to read first line of file -
295 moved fron Storage.pm
296 (trim): new trim() command
297
298 * RESTHandler.pm (handle): remove ugly $resp parameter - we can
299 now use the new Expection object to return better error info.
300
301 * JSONSchema.pm (validate): use new PVE::Exception::raise() in validate()
302
303 * Exception.pm (new): finalize implementation
304
3052010-08-13 Proxmox Support Team <support@proxmox.com>
306
307 * JSONSchema.pm (register_format): implement a way to register
308 'format' verification methods.
309 (check_format): make it possible to automagically check comman
310 separated lists.
311
3122010-08-12 Proxmox Support Team <support@proxmox.com>
313
314 * RESTHandler.pm (AUTOLOAD): cache autoload
315
3162010-08-11 Proxmox Support Team <support@proxmox.com>
317
318 * RESTHandler.pm (cli_handler): helper function to call method
319 directly, parsing command line args using new JSONSchema::get_options()
320
321 * JSONSchema.pm (get_options): a way to parse command line
322 parameters, using a schema to configure Getopt::Long
323
3242010-08-10 Proxmox Support Team <support@proxmox.com>
325
326 * INotify.pm (parse_ccache_options): new shadow option
327 (parse_ccache_options): new perm option (set file perm (example
328 0664));
329 (write_file): do not use PVE::AtomicFile, correctly set file
330 permissions
331