ShyPike
287490d549
Split misc.py into misc.py, panic.py and powersup.py.
14 years ago
ShyPike
138b3d9ae2
Add --new command line parameter to force a new instance instead of starting the UI of the existing instance.
14 years ago
ShyPike
309c556f35
On OSX, the topmenu did not always send the right URL to the browser.
14 years ago
ShyPike
62f4647117
Implement automatic redirection of HTTP to HTTPS, when server is set to HTTPS-only.
Required a patch of CherryPy (wsgiserver/__init__.py).
14 years ago
ShyPike
6b0580c3fd
NZB paths on the command line should be made absolute before being sent to the running instance.
14 years ago
ShyPike
bfe4fe0a6d
Fix failing NZB-extension association on Windows 7 and Vista when using an HTTPS-only configuration.
The cause is that Python 2.5 on Windows doesn't properly implement urllib2.urlopen for htps calls to ipv6 addresses
(like localhost in Windows 7).
The work-around is to use an external CURL program to handle the API calls to the running SABnzbd instance.
14 years ago
ShyPike
2ae316bf9c
Fix handling of nzb.gz files as command line parameter.
14 years ago
ShyPike
cfcb404794
Fix failing compare of versions of running and new instance of SABnzbd.
This made NZB association fail.
14 years ago
ShyPike
05e0abbd5e
Fix NZB upload. Don't send api part when launching UI for running instance.
14 years ago
ShyPike
123cc3bbf9
Implement PID file support for non-Windows systems.
Triggered by command line parameter:
--pid <full-path>
14 years ago
ShyPike
aefdcd7cd6
Win32: Fix registration of SABnzbd url in the user registry. This made the NZB association go wrong.
14 years ago
ShyPike
2eb3150c40
OSX: prevent double Growl notification "SABnzbd shutdown finished".
14 years ago
ShyPike
202089e829
Fix hangup during scheduled restart.
14 years ago
ShyPike
4d0858e4d3
Improve some error messages that report problems with web interface.
14 years ago
ShyPike
70ee936107
Rename SABnzbdDelegate.py to osxmenu.py and move to sabnzbd folder.
14 years ago
ShyPike
dbc997532a
Add support for color schemes in Plush too.
This alters the interface spec for all skins:
1. The colorschemes folder is now scanned for files <color>.css and folders <color>
2. The colorscheme parameter for the templates now contains <color> instead of <color>.css
14 years ago
ShyPike
b3346d3104
Windows: add "Safe" mode to Menu Start entries.
This will start SABnzbd with: --server 127.0.0.1:8080 -b1 -t Plush --no-login
--no-login will remove the web username/password.
14 years ago
ShyPike
7073ff151a
Prevent crash when checking web host address return unexpected error codes.
14 years ago
ShyPike
f6d3eb6a05
Make sure the logfiles are in DOS format on Windows.
Remove obsolete "weblogging" button from "Status" page.
14 years ago
ShyPike
ca72266513
Log the location of the INI file.
14 years ago
ShyPike
566693dc9b
Console logging wasn't properly suppressed in daemon mode, leading to a crash.
14 years ago
ShyPike
4bb4de11b3
Update copyrights to 2011.
15 years ago
ShyPike
d82a58799c
Drop support for Python 2.4, due to missing features in gettext modules.
15 years ago
ShyPike
3cb5744682
Remove wrapper layer from Downloader.
15 years ago
ShyPike
0bd763833f
Fix incorrect URL used for browser launch (side-effect of previous change).
15 years ago
ShyPike
ca10eb8b8a
Windows-only.
At startup store the API-url in the Registry.
In normal mode, store in key HKCU\Software\SABnzbd\api (value "url").
In Service mode, store in key HKLM\SYSTEM\CurrentControlSet\Services\SABnzbd\api (value "url").
When the program stops, the key is removed.
When SABnzbd is started with an NZB file as parameter, it will use the registry entry to get the API-url.
First the HKCU key is tried, if that does not exist, the HKLM key is used instead.
The registry entry can also be used by third-party utilities.
Fixed a bug where "net stop sabnzbd" would not notify SABHelper.
15 years ago
ShyPike
1476f70f88
Prevent crash on systems with platform.platform() issues.
15 years ago
ShyPike
cf87ed0956
Make Panic messages translatable.
Enable ^C when running from source on OSX.
15 years ago
ShyPike
037847728d
Add specific panic message for invalid web server host address.
15 years ago
ShyPike
d647f393ad
When no specific HTTPS port is set, use the standard port for HTTPS only.
15 years ago
ShyPike
ca9601f7dc
Fix incorrect logging in Bail_Out().
15 years ago
ShyPike
9dc50b5c41
Convert to GNU gettext following the Launchpad translation guidelines.
Implements blueprints "go-gettext" and "code-gettext".
Use tools/extract_pot.py to create new POT files.
Use tools/make_mo.py to create MO files, email template translations and patch the NSIS_Installer.nsi script.
15 years ago
ShyPike
7f8393081a
Some code clean_ups.
15 years ago
ShyPike
a20acae1bb
Fix names of cfg items.
Add debugging support to SABnzbdDelegate.
15 years ago
ShyPike
62661987f1
Implement file flag to check whether SABnzbd's state was proiperly saved.
If not, do a repair on the next start up.
15 years ago
ShyPike
56a64829bb
On Windows, detect whether sqlite3.dll is missing. If so, panic and complain about lame virus scanner.
15 years ago
ShyPike
df014e3db7
Reduce logging.
- Demote some logs from info to debug
- Promote all traceback logging to info
- Full logging of article handling will only be done when the --log-all command line option is used
15 years ago
ShyPike
3f7ad80104
On OSX, force CherryPy to use 127.0.0.1 when "localhost" is given.
Needed to support Chrome on OSX.
Always remove square brackets from numerical IPV6 addresses on OSX.
15 years ago
ShyPike
7d2d055f25
Prevent logging-exceptions from being logged.
This should prevent infinite growth of the log file when the notorious Python logging bug raises its ugly head.
15 years ago
ShyPike
30760cb0d4
Missing exe name when using -v option.
15 years ago
ShyPike
7ee7273740
Prevent --clean from crashing on undeletable files.
15 years ago
ShyPike
aac200cc0f
Add INI-only "log_new" option to enable modified RotatingFileHandler for Win32.
15 years ago
ShyPike
d01d6039c9
One more globber.
15 years ago
ShyPike
24659b5c89
More flexible repair mode.
0 = no repairs
1 = add orphaned jobs from "incomplete"
2 = do a full queue reconstruction from "incomplete" (ignore all existing admin)
15 years ago
ShyPike
e0c8c81abb
Full repair-mode "--repair-all".
Reconstruct queue from "incomplete" folder using the saved nzb file and attributes.txt in the admin folder of the jobs.
15 years ago
ShyPike
1d6ba732e3
Try solve the notorious Python logging bug on Windows.
15 years ago
ShyPike
4e2ea61695
Prevent crash on Linuix and OSX when HOME environment variable is missing, exit with panic() instead.
15 years ago
ShyPike
90d168cf3c
Use SABHelper also to guard the SABnzbd service.
Auto-restart when SABnzbd is no longer running and didn't sign-off properly.
15 years ago
ShyPike
bd877388c2
Fix the find_free_port() code and copy the found https port in the right variable.
15 years ago
ShyPike
a742f405f2
Make the SABnzbd service dependant on the SABHelper service.
15 years ago