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
ShyPike
d3c91364b2
Move mailslot.py to a seperate package. This way the SABHelper binary can be made a lot smaller.
15 years ago
ShyPike
8b3b22c489
Remind the user to install the Helper service too.
15 years ago
ShyPike
ae28a79b8a
Adding SABnzbdHelper service for restarting SABnzbd when it runs as a Windows Service.
MailSlot.py is used by both services.
15 years ago
ShyPike
3cc6a3d8b5
Merge 2381..2382 from 0.5.x.
Report IOerror 13 on Linux as a port permission problem.
Clear up port permission text.
Error reporting equal porsts for https and http cannot be translated because translations are not available yet, use fixed English text instead.
Add some accented characters to the email test.
15 years ago
ShyPike
532c11e240
New download queue design, first phase.
Move per-job data to the job folder in "incomplete".
Move general data to the "admin" folder.
Make sure "old-style" jobs are properly finished.
Add queue repair option.
Handle jobs removed from the "incomplete" folder.
Remove some obsolete code for testing downloaded->decoder queue.
15 years ago
ShyPike
c10e9fa3bb
Rename codecs.py to encoding.py to prevent name clash with the
standard codecs Python library.
15 years ago
ShyPike
08f9037738
Eliminate superfluous 'main' folder
15 years ago
shypike
4bf60b459a
Merge revisions 3376-3379 from 0.5.x to trunk.
15 years ago
shypike
43229e9184
Lowercase all option instances.
15 years ago
shypike
47cb1c8b2e
Merge changes from branch sabnzbd-0.5.x Rev 3261-3311 to trunk
15 years ago
shypike
ea6ad3aea4
Implement __call__ method for class Option so that every option.get() can be replaced by option().
15 years ago
shypike
ddc5b9dc9c
Merge changes from branch sabnzbd-0.5.x Rev 3195-3223 to trunk.
16 years ago
shypike
c860d9f4cb
Allow SABnzbd to be run as a Windows Service.
Implemented:
- Full service-enabled, install/update/start/stop
- Command-line parameters are stored in Service's reg-entry
To be done:
- Requires better Win logging
- Restart doesn't work from UI
- Support in installer
- Translated texts
Addresses #12 for trunk.
16 years ago
shypike
508057e2dc
Value of environment variable SABnzbd will be prepended to the command line options.
16 years ago
shypike
d42e8504d8
SABnzbd.py must be in Unix format.
16 years ago
shypike
7bea24975f
Prevent crash in error logging when one of those elusive Unicode conversion problems occurs in class guiHandler.
16 years ago
swi-tch
42928e034f
Replaced a few .find() with 'string' not in variable syntax for easier readability.
16 years ago
shypike
ed75ac1cae
localhost doesn't work properly for CherryPy on recent Ubuntu and Linux Mint releases. Let CherryPy use 127.0.0.1 instead of localhost when there's ambiguity. Try to let the browser user localhost when the first resolved value is "127.0.0.1".
16 years ago
shypike
66e962fa8c
Improve error reporting of invalid INI file.
Don't bother to translate the message, since we don't know the language yet.
16 years ago
shypike
98a66aa3da
Improve Windows x64 detection by reading the registry instead of checking for SysWow64 folder.
16 years ago
shypike
0e97288e3a
The Windows binary gets an extra SABnzbd*.exe command-line parameter when restarted. This causes problems because the real parameters are not seen.
Add a hack to remove the spurious one from the parameter list.
16 years ago
shypike
94e5a8f826
Remove mandatory debug-level logging for non-final releases. We seldom require logging from users.
16 years ago
shypike
742ce95949
Corrections after running PyLint.
Mostly non-functionals like: unnecessary imports, unused variables, irregular indentation etc.
Also found some potential problems:
- Incorrect use of a global in __init__.py (health guardian)
- Missing error texts in API
- Bandwidth limit did not support KMG notation, while it should
16 years ago
shypike
454ad65c43
Make sure all logging.error/warning calls use Ta() for translation, because that returns a Latin-1 string instead of Unicode. The reason is that the logger does a bad job of combining mixed string types.
Also make sure that all unpack info is stored as Unicode.
16 years ago
shypike
b1f36de19f
Somebody checked in SABnzbd.py in Windows format. Unix doesn't like that.
16 years ago
devrAf
4f00618961
[OSX] Fix running from sources
16 years ago
shypike
7403a52fe7
More accurate detection of Windows variant.
16 years ago
shypike
999ce499ca
Remove the need for HTTP basic authentication from our RSS-api function. Instead just use ma_username/ma_password like 0.4.x does. No need for the apikey either.
16 years ago
swi-tch
a9a0392e6b
Change the error printed out at startup if Cheetah is not installed at all.
16 years ago
shypike
b657f04b08
Improve periodic health check.
Not all threads can be restarted without potential data corruption.
When downloader, assembler or post-processor die, do a full program restart.
Add some extra code to prevent browser launch after such a restart.
16 years ago
shypike
9e137637da
Rename skin "Default" to "Classic".
Make skin "smpl" the preferred one.
Set uncontroversial defaults for colors (instead of just the first one).
16 years ago
shypike
0314dfcfb3
Before restarting SABnzbd, make sure original directory is current again.
Otherwise restarting under Linux will fail when using a relative path to SABnzbd.py.
16 years ago
shypike
da293d88d4
Perform periodic check to see if the tasks are still alive.
If not, restart the task.
16 years ago
shypike
f691c114e1
Fixed translation problems.
- print_modules() called too soon.
- "error-noStartup@2" cannot be translated in time, replace by fixed English string
- Translate ERROR and WARNING on Connections page
16 years ago
shypike
7f22187e61
Add support for 64bit versions of unrar and par2 for Windows.
Closes #318 for trunk.
16 years ago
shypike
0bb9ab6b25
Use separate values for the location of language files for main program and skins.
(Request to support Linux packagers).
16 years ago
shypike
b32249521f
Allow web-logging to be switched off for a test release.
16 years ago
devrAf
5c259c2c87
[OSX] Menu & Growl Notifications Translations
- English & French translations files updated
16 years ago