Commit History

Author SHA1 Message Date
  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 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
  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
  Likun Zhang 77fcdf53d3 Fix the bug report by ticket 92: bindctl can't all available modules. 15 years ago
  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. 15 years ago
  Likun Zhang 6000bb171b Change code of bindctl according the review result: 1. Fix typo error. 2. Use getpwnam to get user home directory. 15 years ago
  JINMEI Tatuya 4c2fafb0ee removed a redundant white space at EOL 15 years ago
  Likun Zhang 8656b4b0c6 1. Change bindctl's code according the suggestion in trac220. 15 years ago
  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) 15 years ago
  Likun Zhang b13c2aac74 Ignore value/type check for commands belong to fake module 'config'. 15 years ago
  Likun Zhang 3dabd8c630 Add code for task 80(add value/type check for cmdctl). After review, the code needs to be merged to trunk. 15 years ago
  Jelte Jansen 1db7be2208 Merged in branches/trac90 15 years ago
  JINMEI Tatuya 50e619ebf1 typo: s/stding/stdin/ 15 years ago
  Jelte Jansen b4661557e1 don't store ~/.bind10/default_user.csv if $HOME environment variable isn't set 15 years ago
  Jelte Jansen 4b17dea51b changed default_user.csv file used to store the bindctl user from $cwd to ~/.bind10/default_user.csv 15 years ago