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
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
devrAf
f2a7c7829c
[OSX] Growl Notifications, Menu updates, API
- Notifications types : "Startup/Shutdown", "Download", "Post-processing", "Other Messages"
- API Interface added osx_icon (1 : show, 0 : hide )
- Menu :
* added show/hide menu toggler handler
* status refresh when menu is opened
* various little enhancements
16 years ago
shypike
ee5b983f58
Nicer code for rev 2572, just use a standard os.path.join call!
16 years ago
shypike
5e9bacc707
Don't send username/password to the running instance of SABnzbd when querying for version.
Closes #286 for trunk.
16 years ago
shypike
cfeb085f7b
Accept folder path for -f/--config-file command line parameter. Will append standard name to folder name.
16 years ago
devrAf
426e28fe72
[OSX] Added Menu Functions
16 years ago
shypike
93f2eae90e
Fix potential case problems for -t parameter.
16 years ago
devrAf
f4fb23c584
OSX : Fix restart from OSX app and removed a useless import on osx.py
16 years ago
devrAf
68fa6430c1
OSX : Growl Notifications
to use, it's simple :
from sabnzbd.utils import osx
osx.sendGrowlMsg(Title,Message)
For now, only 2 notifications :
- on SABnzbd startup
- on SABnzbd shutdown
16 years ago
devrAf
fb5cebcae0
OSX : Statusbar Icon
Statusbar Icon have 2 states : paused or not. Icons need to be improved by a designer
Statusbar Icon Menu contains 2 items :
- Open SABnzbd : open web browser on config settings
- Quit : shutdown SABnzbd
Icons Resources added
16 years ago
devrAf
003e252ddd
OSX : Set I/O policy to throttle for process only for 10.5+
see : http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/setiopolicy_np.3.html
I/O policy is set to throttle. We could test as passive also.
I/O type :
IOPOL_TYPE_DISK 0
Scope :
IOPOL_SCOPE_PROCESS 0
IOPOL_SCOPE_THREAD 1
I/O Priority :
IOPOL_DEFAULT 0
IOPOL_NORMAL 1
IOPOL_PASSIVE 2
IOPOL_THROTTLE 3
16 years ago
shypike
5bf319283b
Fixed lang.T import that made errors/warning in SABnzbd.py fail.
16 years ago
shypike
ddbcd76a75
Most Python files were accidentally converted to DOS format, instead of Unix format.
SABnzbd.py could not be run from SVN anymore.
16 years ago
shypike
716f7433fd
Phase 3 Multi-language support.
Prepared all logging.error and logging.warning messages.
Addresses #18 for trunk.
16 years ago
shypike
fd5089e440
Phase 1 and 2 of Multi-language support.
Design and implementation of facilities.
Some partial conversions of Default skin done for testing the concept.
Addresses #18 for trunk.
16 years ago
shypike
a57b904834
Clean PyLint warnings that indicate sloppy coding, incorrect and needless imports and some potential errors.
16 years ago
shypike
10900e6f8b
Make code conform more to PEP 8 Style Guide.
- lowercase function names with underscores
- replace "== None" by "is None"
16 years ago