Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved some files

  • Loading branch information...
commit 469cf94f585bad1d41465c3b4378c22ac704b276 1 parent c89b11c
Sebastian Ruml authored
View
26 src/cli.py
@@ -107,7 +107,7 @@ def status(self):
def config(self):
if len(self._args) == 1:
# TODO: Print configuration
- print "Configuration:"
+ print "Settings:"
print " - Log Level: " + self._config.logLevel
print " - API Listen IP: " + self._config.tcpListenIp
print " - API Listen Port: " + str(self._config.tcpListenPort)
@@ -132,16 +132,16 @@ def pid_file(self):
def print_help_message(self):
print self._usage
- print "Type pythondrop -h or pythondrop --help to see all options"
+ print "Type pythondrop -h or pythondrop --help to get more information about all options"
print
- print "Arguments:"
- print " start: Start PythonDrop"
- print " stop: Stop PythonDrop"
- print " restart: Restart PythonDrop"
- print " create: Create and add a new share."
- print " Usage: create sync_directory remote_host remote_directory remote_user"
- print " rm: Removes the specified share"
- print " status: Shows the current status"
- print " config: Shows the current configuration"
- print " factoryreset: Resets all settings"
- print " help: Prints this help message"
+ print "Commands:"
+ print " start Start PythonDrop"
+ print " stop Stop PythonDrop"
+ print " restart Restart PythonDrop"
+ print " create Create and add a new share."
+ print " Usage: create sync_directory remote_host remote_directory remote_user"
+ print " rm Removes the specified share"
+ print " status Shows the current status"
+ print " config Shows the current configuration"
+ print " factoryreset Resets all settings"
+ print " help Prints this help message"
View
2  src/configuration.py
@@ -88,6 +88,7 @@ class Settings(Base):
enableSystray = Column(Boolean())
tcpListenIp = Column(String(50))
tcpListenPort = Column(Integer)
+ enableAPI = Column(Boolean())
enableWebServer = Column(Boolean())
webServerListenIp = Column(String(50))
webServerListenPort = Column(Integer)
@@ -101,6 +102,7 @@ def create_default_config(self):
settings.enableSystray = False
settings.tcpListenIp = "127.0.0.1"
settings.tcpListenPort = "12444"
+ settings.enableAPI = True
settings.enableWebServer = True
settings.webServerListenIp = "127.0.0.1"
settings.webServerListenPort = "4567"
View
0  src/gui/__init__.py
No changes.
View
0  src/gui/pythondrop_ui.py → src/pythondrop_ui.py
File renamed without changes
View
0  src/gui/res/Refresh.ico → src/static/img/Refresh.ico
File renamed without changes
View
0  src/gui/res/bad.svg → src/static/img/bad.svg
File renamed without changes
View
0  src/gui/res/heart.svg → src/static/img/heart.svg
File renamed without changes
View
0  src/gui/res/trash.svg → src/static/img/trash.svg
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.