Skip to content

Commit

Permalink
Update to
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Apr 11, 2017
1 parent 74e159c commit cb1f892
Show file tree
Hide file tree
Showing 810 changed files with 78,345 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/.vagrant
Vagrantfile
/.tmp
/backup
/debug
/sampleapiresults
/dist
/build
/flask_session
/.idea
/cache
/nzbhydra/tests/mock/cache
/nzbhydra/tests/playground.py
/node_modules
/bower_components
*.db*
*.cfg*
*.bak
*.log*
**/*.pyc
/libs/**/__pycache__
/libs/**/tests/**
/libs/**/test/**
/libs/**/testsuite/**
/*.cmd
**/.cache
nzbhydra.pid
/buildWindowsDist.py
/makeGithubRelease.py
/pushToMasterAndRelease.py
36 changes: 36 additions & 0 deletions WindowsService/installService.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@echo off

net session >nul 2>&1
if %errorLevel% == 0 (
echo Administrator rights confirmed.
goto install
) else (
echo You need to run this script with administrator rights.
pause
goto eof
)

:install
echo Installing service
call "%~dp0nssm.exe" install NzbHydra "%%~dp0..\nzbhydra.exe"
if %errorlevel% neq 0 goto failure
echo Setting service exe
call "%~dp0nssm.exe" set NzbHydra Application "%~dp0..\nzbhydra.exe"
if %errorlevel% neq 0 goto failure
echo Setting service folder
call "%~dp0nssm.exe" set NzbHydra AppDirectory "%~dp0.."
if %errorlevel% neq 0 goto failure
echo Enter your username like this: ".\username"
set /p username="Username:"
set /p password="Enter your windows password:"
call "%~dp0nssm.exe" set NzbHydra ObjectName %username% %password%
echo Service installed successfully. Starting service...
call "%~dp0nssm.exe" start NzbHydra
pause
goto eof

:failure
echo An error occured while installing the service.
pause

:eof
Binary file added WindowsService/nssm.exe
Binary file not shown.
27 changes: 27 additions & 0 deletions WindowsService/uninstallService.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off

net session >nul 2>&1
if %errorLevel% == 0 (
echo Administrator rights confirmed.
goto install
) else (
echo You need to run this script with administrator rights.
pause
goto eof
)

:install
echo Stopping service
call "%~dp0nssm.exe" stop NzbHydra
if %errorlevel% neq 0 goto failure
echo Uninstalling service
call "%~dp0nssm.exe" remove nzbhydra confirm
if %errorlevel% neq 0 goto failure
pause
goto eof

:failure
echo An error occured while uninstalling the service.
pause

:eof
6 changes: 6 additions & 0 deletions tcl/msgs/af_za.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset af_ZA DATE_FORMAT "%d %B %Y"
::msgcat::mcset af_ZA TIME_FORMAT_12 "%l:%M:%S %P"
::msgcat::mcset af_ZA DATE_TIME_FORMAT "%d %B %Y %l:%M:%S %P %z"
}
54 changes: 54 additions & 0 deletions tcl/msgs/ar.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset ar DAYS_OF_WEEK_ABBREV [list \
"\u062d"\
"\u0646"\
"\u062b"\
"\u0631"\
"\u062e"\
"\u062c"\
"\u0633"]
::msgcat::mcset ar DAYS_OF_WEEK_FULL [list \
"\u0627\u0644\u0623\u062d\u062f"\
"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"\
"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"\
"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621"\
"\u0627\u0644\u062e\u0645\u064a\u0633"\
"\u0627\u0644\u062c\u0645\u0639\u0629"\
"\u0627\u0644\u0633\u0628\u062a"]
::msgcat::mcset ar MONTHS_ABBREV [list \
"\u064a\u0646\u0627"\
"\u0641\u0628\u0631"\
"\u0645\u0627\u0631"\
"\u0623\u0628\u0631"\
"\u0645\u0627\u064a"\
"\u064a\u0648\u0646"\
"\u064a\u0648\u0644"\
"\u0623\u063a\u0633"\
"\u0633\u0628\u062a"\
"\u0623\u0643\u062a"\
"\u0646\u0648\u0641"\
"\u062f\u064a\u0633"\
""]
::msgcat::mcset ar MONTHS_FULL [list \
"\u064a\u0646\u0627\u064a\u0631"\
"\u0641\u0628\u0631\u0627\u064a\u0631"\
"\u0645\u0627\u0631\u0633"\
"\u0623\u0628\u0631\u064a\u0644"\
"\u0645\u0627\u064a\u0648"\
"\u064a\u0648\u0646\u064a\u0648"\
"\u064a\u0648\u0644\u064a\u0648"\
"\u0623\u063a\u0633\u0637\u0633"\
"\u0633\u0628\u062a\u0645\u0628\u0631"\
"\u0623\u0643\u062a\u0648\u0628\u0631"\
"\u0646\u0648\u0641\u0645\u0628\u0631"\
"\u062f\u064a\u0633\u0645\u0628\u0631"\
""]
::msgcat::mcset ar BCE "\u0642.\u0645"
::msgcat::mcset ar CE "\u0645"
::msgcat::mcset ar AM "\u0635"
::msgcat::mcset ar PM "\u0645"
::msgcat::mcset ar DATE_FORMAT "%d/%m/%Y"
::msgcat::mcset ar TIME_FORMAT_12 "%I:%M:%S %P"
::msgcat::mcset ar DATE_TIME_FORMAT "%d/%m/%Y %I:%M:%S %P %z"
}
6 changes: 6 additions & 0 deletions tcl/msgs/ar_in.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset ar_IN DATE_FORMAT "%A %d %B %Y"
::msgcat::mcset ar_IN TIME_FORMAT_12 "%I:%M:%S %z"
::msgcat::mcset ar_IN DATE_TIME_FORMAT "%A %d %B %Y %I:%M:%S %z %z"
}
39 changes: 39 additions & 0 deletions tcl/msgs/ar_jo.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset ar_JO DAYS_OF_WEEK_ABBREV [list \
"\u0627\u0644\u0623\u062d\u062f"\
"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"\
"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"\
"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621"\
"\u0627\u0644\u062e\u0645\u064a\u0633"\
"\u0627\u0644\u062c\u0645\u0639\u0629"\
"\u0627\u0644\u0633\u0628\u062a"]
::msgcat::mcset ar_JO MONTHS_ABBREV [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631"\
"\u062d\u0632\u064a\u0631\u0627\u0646"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
::msgcat::mcset ar_JO MONTHS_FULL [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631"\
"\u062d\u0632\u064a\u0631\u0627\u0646"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
}
39 changes: 39 additions & 0 deletions tcl/msgs/ar_lb.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset ar_LB DAYS_OF_WEEK_ABBREV [list \
"\u0627\u0644\u0623\u062d\u062f"\
"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"\
"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"\
"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621"\
"\u0627\u0644\u062e\u0645\u064a\u0633"\
"\u0627\u0644\u062c\u0645\u0639\u0629"\
"\u0627\u0644\u0633\u0628\u062a"]
::msgcat::mcset ar_LB MONTHS_ABBREV [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631"\
"\u062d\u0632\u064a\u0631\u0627\u0646"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
::msgcat::mcset ar_LB MONTHS_FULL [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631"\
"\u062d\u0632\u064a\u0631\u0627\u0646"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
}
39 changes: 39 additions & 0 deletions tcl/msgs/ar_sy.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset ar_SY DAYS_OF_WEEK_ABBREV [list \
"\u0627\u0644\u0623\u062d\u062f"\
"\u0627\u0644\u0627\u062b\u0646\u064a\u0646"\
"\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621"\
"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621"\
"\u0627\u0644\u062e\u0645\u064a\u0633"\
"\u0627\u0644\u062c\u0645\u0639\u0629"\
"\u0627\u0644\u0633\u0628\u062a"]
::msgcat::mcset ar_SY MONTHS_ABBREV [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631"\
"\u062d\u0632\u064a\u0631\u0627\u0646"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
::msgcat::mcset ar_SY MONTHS_FULL [list \
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0634\u0628\u0627\u0637"\
"\u0622\u0630\u0627\u0631"\
"\u0646\u064a\u0633\u0627\u0646"\
"\u0646\u0648\u0627\u0631\u0627\u0646"\
"\u062d\u0632\u064a\u0631"\
"\u062a\u0645\u0648\u0632"\
"\u0622\u0628"\
"\u0623\u064a\u0644\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644"\
"\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a"\
"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"\
""]
}
52 changes: 52 additions & 0 deletions tcl/msgs/be.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset be DAYS_OF_WEEK_ABBREV [list \
"\u043d\u0434"\
"\u043f\u043d"\
"\u0430\u0442"\
"\u0441\u0440"\
"\u0447\u0446"\
"\u043f\u0442"\
"\u0441\u0431"]
::msgcat::mcset be DAYS_OF_WEEK_FULL [list \
"\u043d\u044f\u0434\u0437\u0435\u043b\u044f"\
"\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a"\
"\u0430\u045e\u0442\u043e\u0440\u0430\u043a"\
"\u0441\u0435\u0440\u0430\u0434\u0430"\
"\u0447\u0430\u0446\u0432\u0435\u0440"\
"\u043f\u044f\u0442\u043d\u0456\u0446\u0430"\
"\u0441\u0443\u0431\u043e\u0442\u0430"]
::msgcat::mcset be MONTHS_ABBREV [list \
"\u0441\u0442\u0434"\
"\u043b\u044e\u0442"\
"\u0441\u043a\u0432"\
"\u043a\u0440\u0441"\
"\u043c\u0430\u0439"\
"\u0447\u0440\u0432"\
"\u043b\u043f\u043d"\
"\u0436\u043d\u0432"\
"\u0432\u0440\u0441"\
"\u043a\u0441\u0442"\
"\u043b\u0441\u0442"\
"\u0441\u043d\u0436"\
""]
::msgcat::mcset be MONTHS_FULL [list \
"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f"\
"\u043b\u044e\u0442\u0430\u0433\u0430"\
"\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430"\
"\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430"\
"\u043c\u0430\u044f"\
"\u0447\u0440\u0432\u0435\u043d\u044f"\
"\u043b\u0456\u043f\u0435\u043d\u044f"\
"\u0436\u043d\u0456\u045e\u043d\u044f"\
"\u0432\u0435\u0440\u0430\u0441\u043d\u044f"\
"\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430"\
"\u043b\u0438\u0441\u0442\u0430\u043f\u0430\u0434\u0430"\
"\u0441\u043d\u0435\u0436\u043d\u044f"\
""]
::msgcat::mcset be BCE "\u0434\u0430 \u043d.\u0435."
::msgcat::mcset be CE "\u043d.\u0435."
::msgcat::mcset be DATE_FORMAT "%e.%m.%Y"
::msgcat::mcset be TIME_FORMAT "%k.%M.%S"
::msgcat::mcset be DATE_TIME_FORMAT "%e.%m.%Y %k.%M.%S %z"
}
52 changes: 52 additions & 0 deletions tcl/msgs/bg.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# created by tools/loadICU.tcl -- do not edit
namespace eval ::tcl::clock {
::msgcat::mcset bg DAYS_OF_WEEK_ABBREV [list \
"\u041d\u0434"\
"\u041f\u043d"\
"\u0412\u0442"\
"\u0421\u0440"\
"\u0427\u0442"\
"\u041f\u0442"\
"\u0421\u0431"]
::msgcat::mcset bg DAYS_OF_WEEK_FULL [list \
"\u041d\u0435\u0434\u0435\u043b\u044f"\
"\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a"\
"\u0412\u0442\u043e\u0440\u043d\u0438\u043a"\
"\u0421\u0440\u044f\u0434\u0430"\
"\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a"\
"\u041f\u0435\u0442\u044a\u043a"\
"\u0421\u044a\u0431\u043e\u0442\u0430"]
::msgcat::mcset bg MONTHS_ABBREV [list \
"I"\
"II"\
"III"\
"IV"\
"V"\
"VI"\
"VII"\
"VIII"\
"IX"\
"X"\
"XI"\
"XII"\
""]
::msgcat::mcset bg MONTHS_FULL [list \
"\u042f\u043d\u0443\u0430\u0440\u0438"\
"\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438"\
"\u041c\u0430\u0440\u0442"\
"\u0410\u043f\u0440\u0438\u043b"\
"\u041c\u0430\u0439"\
"\u042e\u043d\u0438"\
"\u042e\u043b\u0438"\
"\u0410\u0432\u0433\u0443\u0441\u0442"\
"\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438"\
"\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438"\
"\u041d\u043e\u0435\u043c\u0432\u0440\u0438"\
"\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438"\
""]
::msgcat::mcset bg BCE "\u043f\u0440.\u043d.\u0435."
::msgcat::mcset bg CE "\u043d.\u0435."
::msgcat::mcset bg DATE_FORMAT "%Y-%m-%e"
::msgcat::mcset bg TIME_FORMAT "%k:%M:%S"
::msgcat::mcset bg DATE_TIME_FORMAT "%Y-%m-%e %k:%M:%S %z"
}
Loading

0 comments on commit cb1f892

Please sign in to comment.