Commit History

Author SHA1 Message Date
  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) 14 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
  Likun Zhang 3831ebf57b 1. Update TODO list. 15 years ago
  Jeremy C. Reed ecac16e6a6 Fix typo 15 years ago
  Jelte Jansen c2e90505e7 fixed a bug in tab-completion 15 years ago
  Jelte Jansen 505205989b fixed indentation for those strings 15 years ago
  Jelte Jansen 0d3e60f218 added some module-level docstrings 15 years ago
  Shane Kerr 9f5008fd32 Use readline if supported on the system, otherwise stdin. 15 years ago
  Jelte Jansen 6fe5d6fe60 some docstring updates for bindcmd.py (easier to fix than to put them all in the review report) 15 years ago
  Jeremy C. Reed 6fbf197240 Add a TODO: entry for saving the default user. 15 years ago
  Jeremy C. Reed 87b9b18a21 Typo fix. 15 years ago