Jelte Jansen
|
086b420bfb
[trac384] removed an unused if branch
|
14 years ago |
Jelte Jansen
|
184c6c7068
[trac384] more review comments addressed
|
14 years ago |
Jelte Jansen
|
7c7c776676
[trac384] handle review comments
|
14 years ago |
zhanglikun
|
db105a36be
Merge branch 'master' into trac384
|
14 years ago |
JINMEI Tatuya
|
901c9eed83
Revert "maintenance commit"
|
14 years ago |
JINMEI Tatuya
|
a669db434d
maintenance commit
|
14 years ago |
Jelte Jansen
|
b929be82fe
Merge branch 'trac431'
|
14 years ago |
Jelte Jansen
|
3954c628c1
pretty-print command results
|
14 years ago |
Jelte Jansen
|
345b81701d
check http response code, if unauthorized, login again
|
14 years ago |
Jelte Jansen
|
f64a196284
improve internal help documentation for config commands
|
14 years ago |
Jelte Jansen
|
e8edbcf573
show actual error (ie the exception text) for a DataNotFoundError, instead of just 'not found'
|
14 years ago |
Jelte Jansen
|
c31de72c76
make value optional for 'config add <list>'; add the default value that is specified in the spec file in that case
|
14 years ago |
Jelte Jansen
|
ff385d569e
update for showing of list contents
|
14 years ago |
Jelte Jansen
|
9851a189c6
sync with trunk
|
14 years ago |
Jelte Jansen
|
4bd81e036d
merge branches/trac405
|
14 years ago |
Jelte Jansen
|
f373cd95de
replaced workaround (identifier/value switch) by more fundamental solution (making the value optional)
|
14 years ago |
Jelte Jansen
|
fe68c56d43
bindctl printing of configuration values changed to be in JSON format instead of python literals (which is also the format required for input). 1-line change, discussed on jabber.
|
14 years ago |
Jelte Jansen
|
af62c6c6bb
some cleanup and removal of temporary things
|
14 years ago |
Jelte Jansen
|
dbfbbb2b32
support for list indices wrt set/add/remove operations
|
14 years ago |
Jelte Jansen
|
96a12cbadf
'checkpoint' commit, can address individual list items, not set them yet, need a bit of refactoring first
|
14 years ago |
Jelte Jansen
|
359efa4b21
bindctl config show improvements;
|
14 years ago |
JINMEI Tatuya
|
f6acd3ffaf
trivial cleanup: removed a duplicate import.
|
14 years ago |
Jelte Jansen
|
162ce5577c
better printing of errors when reading and sending user login information from bindctl to cmdctl; ticket #260
|
14 years ago |
Jelte Jansen
|
254b3aa8df
make bindctl error if you try to perform a config command on an unknown or non-running module
|
14 years ago |
Jelte Jansen
|
e26aaedc8e
merge branches/trac284 (Not every 'data' parsing is done with json)
|
15 years ago |
Jelte Jansen
|
6fe33b957f
update literal_eval calls to also use json.loads
|
15 years ago |
Jelte Jansen
|
a8bd18ab0b
fix; only initialize fully if it hasn't been done yet, otherwise only update the specifications and the configuration as known by the manager, not the local changes
|
15 years ago |
Likun Zhang
|
fc5d7da022
1. Remove certificate file 'bindctl.pem'. 2. Add options -c(--certificate-chain) to bindctl. 3. Override class HTTPSConnection to support server certificate validation. 4. Rename module name from 'Cmd-Ctrl' to 'Cmdctl'. 5. Add support to cmdctl.spec file, now there are three configurable items for cmdctl: 'key_file', 'cert_file' and 'accounts_file', all of them can be changed in runtime.
|
15 years ago |
Likun Zhang
|
cb3e3b3cfc
Merge trac220 to trunk: 1. Make bindctl's command parser only do minimal check. Parameter value can be a sequence of non-space characters, or a string surrounded by quotation marks(these marks can be a part of the value string in escaped form). Make error message be more friendly.(if there is some error in parameter's value, the parameter name will provided) 2. Refactor function login_to_cmdctl() in class BindCmdInterpreter. Avoid using Exception to catch all exceptions.
|
15 years ago |
Likun Zhang
|
4058640801
Update the code according Jelte's review. Fix some hardcode string in code. Raise correct exception if key/certificate file doesn't exist. Fix docstring error.
|
15 years ago |