Commit Graph

2882 Commits

Author SHA1 Message Date
rembo10
769ef001ec Merge remote-tracking branch 'maxkoryukov/feature/six-1.10' into develop 2016-02-15 21:41:12 +00:00
rembo10
44b8ac79da Merge remote-tracking branch 'hamiltont/patch-4' into develop 2016-02-15 21:40:19 +00:00
rembo10
5ada65b2a0 Merge remote-tracking branch 'Uncreate/patch-1' into develop 2016-02-15 21:39:14 +00:00
rembo10
e433e7eda1 Merge remote-tracking branch 'JamieMagee/update-frontend-libs' into develop 2016-02-15 21:34:53 +00:00
Andrzej Ciarkowski
7de7dea1da webserve.py: Fix scanning artists with non-ASCII letters in folder names.
This patch prevents exceptions from os.path.isdir() called with unicode folder names.
2016-02-15 21:59:10 +01:00
Noam
86fb9bbd6c Update README.md
Deluge support
2016-02-14 18:56:10 +02:00
maxkoryukov
159474cf9b Improved CSS for 'select' tags. Now they looks similar to submit-buttons.
No more ugly rectangles!!
2016-02-14 20:01:55 +05:00
Noam
a2e7d4bdd1 Base64 Encode Received Torrent Binary and Updated Credits
- Instead of base64-encoding the torrent binary data for each method
(data/file/url/link), _add_torrent_file receives binary data and base64
encodes it
- Today I found out SickRage split into two groups somewhere along the
way (https://github.com/SickRage/sickrage-issues/issues/3), and since I
used parts of the code from SickRage I thought the credits in the file
should reflect its true author
2016-02-14 15:08:56 +02:00
maxkoryukov
b143a942ae Unittests for config.py 2016-02-14 16:56:59 +05:00
Noam
c446dc263a Add Problematic URL to Debug 2016-02-14 11:31:23 +02:00
Noam
60f718c2ce Temporary Debugging
Print source of exception
2016-02-14 11:28:06 +02:00
Noam
05df81be2f Travis
Not sure why Travis failed, let's try again
2016-02-13 12:17:00 +02:00
Noam
92cd62f0e9 Removed b64encode Import
Already importing all of base64, silly me
2016-02-13 12:07:24 +02:00
Noam
602dfbabc2 Encoding issues
- UTF-8 encoding/decoding issues, removed conversion (for now...)
- Noticed I was accidentally base64-encoding already-based64-encoded
torrents
2016-02-13 00:41:15 +02:00
Noam
c492a4122c Travis fixes
- Whitespace
- Old variable name
2016-02-12 15:59:47 +02:00
Noam
fd55e84274 Try to Download and Parse Torrents if Receives URL
Deluge module will attempt to download any http(s) links it receives
2016-02-12 13:16:22 +02:00
Uncreate
dba264cc5f Update init.ubuntu 2016-02-09 18:06:16 -06:00
Andrzej Ciarkowski
7ff27a42ca pathrender.py: Add module for extended path formatting
The pattern matching is loosely based on foobar2000 pattern syntax, i.e. the
notion of escaping characters with ' and optional elements enclosed in square
brackets [] is taken from there while the substitution variable names are
Perl-ish or sh-ish. The following syntax elements are supported:
 * escaped literal strings, that is everything that is enclosed within single
   quotes (like 'this');
 * substitution variables, which start with dollar sign ($) and extend until
   next non-alphanumeric+underscore character (like $This and $5_that).
 * optional elements enclosed in square brackets, which render nonempty value
   only if any variable or optional inside returned nonempty value, ignoring
   literals (like ['['$That']' ]).
2016-02-09 17:16:28 +01:00
Andrzej Ciarkowski
8e1aa18b8f postprocessor.py: Delete the proper temp dir after postprocessing
Fix for the bug leaving spurious temp dirs after each album processing, due to
headphones trying to rmtree the subdirectory instead of the temp dir itself.
2016-02-05 14:54:43 +01:00
maxkoryukov
99cab7304d ignore .coverage.yml 2016-02-04 22:50:37 +05:00
Noam
b5a9d52592 Fixed Whitespace Again
- Oh Travis...
2016-02-04 16:17:27 +02:00
Noam
ca36938a83 Removed Whitespace
- Travis stuff
2016-02-04 16:10:22 +02:00
Noam
de9d77a8ef Renames Cleanups and Torrent Removal Function
**Changes:**
- Modified function names to adhere to policy
- Removed/commented unused elements
- Added torrent removal function
2016-02-04 15:48:53 +02:00
Noam
0c3ebfbbb3 Exception handling for torrent name regular expression
Fall back to the torrent file's name in case reular expression
extraction method from the torrent file doesn't work.
2016-02-04 14:05:12 +02:00
maxkoryukov
c575b861ed Soft Chroot for Headphones 2016-02-04 04:13:27 +05:00
Noah Manning
8323649c10 Added Deluge (Downloader) and Telegram (Notifier) Support
**Features:**
- - Added the ability to use Deluge as a torrent downloader
(http://deluge-torrent.org/)
- - Added the ability to use Telegram messenger for download
notifications using Telegram's Bot API (https://core.telegram.org/bots)

**Issues:**
- - Post-processor doesn't look for the right directory when scanning
for completed downloads, it looks for the torrent's official name and
not the actually directory it was saved to
2016-02-03 17:32:50 +02:00
maxkoryukov
0dd84fad78 pep8 2016-02-03 18:37:50 +05:00
maxkoryukov
7dc25b3d33 improved testing crutches for python 2.6 2016-02-03 18:35:16 +05:00
maxkoryukov
5599e736ba improved testing crutches for python 2.6 2016-02-03 18:32:02 +05:00
maxkoryukov
e4e9a6b493 bug in test 2016-02-03 18:25:57 +05:00
maxkoryukov
c50ee144df pep8 2016-02-03 18:24:32 +05:00
maxkoryukov
f5f32d902b SoftChroot module done 2016-02-03 18:19:35 +05:00
maxkoryukov
f993d371a6 Improved testing approach (many testcases in decorators) 2016-02-03 18:19:18 +05:00
maxkoryukov
b5fb769bff improved test compatability 2016-02-03 06:59:10 +05:00
maxkoryukov
28cbf6d803 pep8 and pyflakes 2016-02-03 06:52:35 +05:00
maxkoryukov
89ddd937b0 pep8-fy tests 2016-02-03 06:44:25 +05:00
maxkoryukov
5da950f61b * improved unitesting (compat level for python 2.6 and unittest)
* preparation for SoftChroot (stubs and mocks)
2016-02-03 06:30:09 +05:00
maxkoryukov
7bff1b6c3c fuckin python 2.6 2016-02-03 03:57:23 +05:00
maxkoryukov
2baadd19cf fixed travis matrix and tests 2016-02-03 03:53:49 +05:00
maxkoryukov
2852aadc71 Compability with 2.6 unittests.. looks like a dogs poops 2016-02-03 03:50:53 +05:00
maxkoryukov
32e1854e13 Fixed tests Part 2. Me vs. PyFlakes 2016-02-03 03:35:04 +05:00
maxkoryukov
b31daaa657 Fixed tests 2016-02-03 03:29:02 +05:00
maxkoryukov
2401fc46ba Merge branch 'feature/softchroot' of https://github.com/maxkoryukov/headphones into feature/softchroot
Conflicts:
	.travis.yml
	headphones/config_test.py
2016-02-03 03:23:06 +05:00
maxkoryukov
0957d2d957 Fixed tests 2016-02-03 03:21:52 +05:00
maxkoryukov
f8df9c502b travis: Coverall installing 2016-02-03 03:07:23 +05:00
maxkoryukov
52f071d8b0 Update config_test.py 2016-02-03 03:04:19 +05:00
maxkoryukov
a175ec5b5c ignore coverage temporary files
removed "exclude-dirs" from setup.cfg. Travis still cant work with nose-plugins
2016-02-03 02:58:28 +05:00
maxkoryukov
f32ee0a9be Merge branch 'feature/cache-travis' into feature/softchroot 2016-02-03 02:53:48 +05:00
maxkoryukov
f93702b82c cache for pip on TravisCI 2016-02-03 02:44:29 +05:00
maxkoryukov
0d4b006537 setup.cfg without RedNose 2016-02-03 02:40:25 +05:00