Jelte Jansen
|
b929be82fe
Merge branch 'trac431'
|
il y a 14 ans |
Jelte Jansen
|
3954c628c1
pretty-print command results
|
il y a 14 ans |
Jelte Jansen
|
345b81701d
check http response code, if unauthorized, login again
|
il y a 14 ans |
Jelte Jansen
|
4bd81e036d
merge branches/trac405
|
il y a 14 ans |
Jelte Jansen
|
f373cd95de
replaced workaround (identifier/value switch) by more fundamental solution (making the value optional)
|
il y a 14 ans |
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.
|
il y a 14 ans |
Jelte Jansen
|
af62c6c6bb
some cleanup and removal of temporary things
|
il y a 14 ans |
Jelte Jansen
|
dbfbbb2b32
support for list indices wrt set/add/remove operations
|
il y a 14 ans |
Jelte Jansen
|
96a12cbadf
'checkpoint' commit, can address individual list items, not set them yet, need a bit of refactoring first
|
il y a 14 ans |
JINMEI Tatuya
|
f6acd3ffaf
trivial cleanup: removed a duplicate import.
|
il y a 14 ans |
Jelte Jansen
|
162ce5577c
better printing of errors when reading and sending user login information from bindctl to cmdctl; ticket #260
|
il y a 14 ans |
Jelte Jansen
|
254b3aa8df
make bindctl error if you try to perform a config command on an unknown or non-running module
|
il y a 14 ans |
Jelte Jansen
|
e26aaedc8e
merge branches/trac284 (Not every 'data' parsing is done with json)
|
il y a 15 ans |
Jelte Jansen
|
6fe33b957f
update literal_eval calls to also use json.loads
|
il y a 15 ans |
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
|
il y a 15 ans |
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.
|
il y a 15 ans |
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.
|
il y a 15 ans |
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.
|
il y a 15 ans |
Likun Zhang
|
77fcdf53d3
Fix the bug report by ticket 92: bindctl can't all available modules.
|
il y a 15 ans |
Likun Zhang
|
fe4fa5f0cb
1. Remove certificate file 'bindctl.pem'. 2. Add options -c(--certificate-chain) to bindctl. 3. Override class HTTPSConnection to support server certificate validation.
|
il y a 15 ans |
Likun Zhang
|
6000bb171b
Change code of bindctl according the review result: 1. Fix typo error. 2. Use getpwnam to get user home directory.
|
il y a 15 ans |
JINMEI Tatuya
|
4c2fafb0ee
removed a redundant white space at EOL
|
il y a 15 ans |
Likun Zhang
|
8656b4b0c6
1. Change bindctl's code according the suggestion in trac220.
|
il y a 15 ans |
Likun Zhang
|
efcdb2155e
Generate a unique session ID by using socket.gethostname() instead of socket.gethostbyname(), since the latter one could make bindctl stall if its own host name can't be resolved.(the patch was created by Jinmei and reviewed by zhanglikun)
|
il y a 15 ans |
Likun Zhang
|
b13c2aac74
Ignore value/type check for commands belong to fake module 'config'.
|
il y a 15 ans |
Likun Zhang
|
3dabd8c630
Add code for task 80(add value/type check for cmdctl). After review, the code needs to be merged to trunk.
|
il y a 15 ans |
Jelte Jansen
|
1db7be2208
Merged in branches/trac90
|
il y a 15 ans |
JINMEI Tatuya
|
50e619ebf1
typo: s/stding/stdin/
|
il y a 15 ans |
Jelte Jansen
|
b4661557e1
don't store ~/.bind10/default_user.csv if $HOME environment variable isn't set
|
il y a 15 ans |
Jelte Jansen
|
4b17dea51b
changed default_user.csv file used to store the bindctl user from $cwd to ~/.bind10/default_user.csv
|
il y a 15 ans |