1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00
Commit Graph

138 Commits

Author SHA1 Message Date
Alexandre Beloin
65c41bb54c Merge pull request #1295 from abeloin/patch-touchfile
Modified touchfile() to detect ENOSYS and EACCES.
2015-02-15 18:26:49 -05:00
Alexandre Beloin
23f3185e61 Merge pull request #1262 from eli-jordan/develop
use subprocess instead of os.system
2015-02-15 18:17:54 -05:00
Alexandre Beloin
fbdd48aed8 Modified touchfile() to detect ENOSYS and EACCES.
To better distinguish between file permissions and not implemented.
2015-02-10 22:52:49 -05:00
Alexandre Beloin
3dc71dcfbc Generate a cookie instead of using an hardcoded one. 2015-02-09 11:22:48 -05:00
elijordan
3bd3a1359a Merge remote-tracking branch 'upstream/develop' into develop 2015-01-31 16:49:17 +11:00
elijordan
1b3b10903b prevent command injection
to prevent command injection when using the ‘cp’ command to perform
copied use subprocess instead of os.system
2015-01-31 16:44:42 +11:00
echel0n
2c19805bb3 Merge pull request #1240 from Tawmmm/patch-1
Ignore partially synced files from BTSync 2.0 Alpha
2015-01-29 14:54:23 -08:00
echel0n
8432c82544 Merge pull request #1243 from abeloin/patch-rename_across_partition
Fix moving files across partition
2015-01-29 14:46:50 -08:00
Alexandre Beloin
2ef08d1c25 Use shutil.move instead of os.rename to move file as os.rename doesn't
work across partition.
2015-01-25 20:44:58 -05:00
Tawmmm
2f9362c74c Update helpers.py
Ignore partially synced files from BTSync 2.0 Alpha
2015-01-25 16:49:46 +00:00
Alexandre Beloin
faa3cc8fdf Fix 'Sort with "The", "A", "An"' on dropdown in displayShow not working. 2015-01-21 15:29:16 -05:00
echel0n
2a43bda0c2 Merge pull request #1193 from eli-jordan/develop
use os.system for file copies on posix systems
2015-01-17 19:20:23 -08:00
elijordan
a8787bc0d3 use os.system for file copies on posix systems 2015-01-17 12:17:06 +11:00
Václav Navrátil
4122029df6 Update helpers.py
Processing postpone will happened if there is file with .part extension - incomplete transmission file.
2015-01-09 18:38:04 +01:00
echel0n
9fedc24c55 Fix for sickragetv/sickrage-issues#178 2014-12-24 09:19:25 -08:00
echel0n
0da960ff51 Fixed issues with newznab custom provider categories.
Updated feedparser and added custom code to parse subcategories.
Updated jQuery and Bootstrap.
2014-12-24 07:49:15 -08:00
echel0n
b669195882 Updated flag images. 2014-12-21 08:43:42 -08:00
echel0n
76062ae2a7 download_file helper function now decodes unicode on the fly 2014-12-20 09:59:28 -08:00
echel0n
2e13186256 Fixed sickragetv/sickrage-issues#205 - Getting a proper local lan ip 2014-12-19 22:58:19 -08:00
echel0n
8e9f4f47cb Updated code for get_lan_ip to fix issues with returning local lan ip from network interface. 2014-12-19 22:30:06 -08:00
echel0n
4b039b0313 Added new webproxy per-provider option to allow accessing blocked content from different countries that may have restrictions, this feature is beta.
Performed misc PEP8 code cleanups.

Fixed sickragetv/sickrage-issues#213

Fixed sickragetv/sickrage-issues#217
2014-12-19 22:07:39 -08:00
echel0n
0209852af5 Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues, added no cache header.
Fixed WebAPI builder issues with show.delete cmd.
Fixed article sorting for both WebAPI and WebUI.
2014-12-12 17:52:32 -08:00
echel0n
7339ab9224 Updated KAT urls 2014-12-11 14:58:25 -08:00
echel0n
e7de90f688 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	sickbeard/webapi.py
2014-12-07 15:57:32 -08:00
echel0n
589b7167c1 Improvements made to tv cache code for providers 2014-12-07 09:16:41 -08:00
echel0n
e5af1cb4ff Fix for issue #1004 and issue #989 2014-12-02 04:04:29 -08:00
echel0n
29d22b8a8f Trakt.tv recommend shows and trending shows now work with both TVDB and TVRAGE Indexer's 2014-11-23 04:08:37 -08:00
John
4f773ec4ea Respect cache.
Tries to fix https://github.com/SiCKRAGETV/SickRage/issues/903
2014-11-19 00:41:50 +01:00
JackDandy
0607b912d8 Add an anonymous redirect builder for external links.
Add anonymous redirect to external links on pages... Add Trending Show, Add Existing Shows, Add New Shows, Coming Episodes, Display Show, Config Notifications, Config Anime, Subtitle Providers, ASCII chart on General Config Advanced, links of newly created Usenet and Torrent providers.
Update xbmc link to Kodi at Config Notifications.
Fix irc protocol link to not use http protocol linkage on Config/Help and align lower right side column to the upper right side text.
2014-11-10 04:01:53 +00:00
Adam
560ffca7dd Make hardlink debug error more verbose 2014-10-13 23:20:44 +08:00
Adam
d8e52f2098 Fixes displayshow error for series with special characters 2014-10-03 07:34:09 +08:00
Adam
0822d15d36 Add sizing field on show page 2014-10-02 16:41:13 +08:00
echel0n
ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
echel0n
3eed021200 Fixed issues where data needing to be posted was being sent via a GET instead of POST 2014-08-09 00:45:21 +00:00
echel0n
c658fe0f26 Fixed NoneType error when mapping indexers to show 2014-08-09 00:19:29 +00:00
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
echel0n
7c650d730c Switched a logger error to a logger debug 2014-07-30 18:59:52 -07:00
echel0n
b8b5947ae6 Fix for trakt.tv issues when adding/removing/syncing shows.
Fix for indexer mapper to return a result no matter what.
2014-07-30 16:33:28 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
19a89d453c We now check if a torrent url links to a valid file before adding as a verified result to get snatched, this helps prevent issues when attempting to add torrent to client later on to find the url returned nothing resulting in a error. 2014-07-28 12:19:41 -07:00
echel0n
52010d9951 Fix for invalid torrent files causing NoneType errors. 2014-07-27 23:00:25 -07:00
echel0n
480199085e Fix for images in cache folder being deleted by cleaner routine. 2014-07-27 19:11:24 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
f2a1331110 Skip cleaning images cache folder. 2014-07-27 05:34:03 -07:00
echel0n
b13e72e0a3 Moved code for cleaning up cache folder to seperate function located in helper.py.
Added call to cache folder cleanup during SickRage main init.

Changed a error message in rss feed class to a debug message for when url returns no data.

Moved indexer api cache files to be placed under cache folder subfolder indexers.

Moved rss feed cache files to be placed under cache folder subfolder rss.
2014-07-27 04:58:14 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
f47734446d Fixed further json issues with speedcd provider.
Fixed several providers and ssl cert verify issues.

Air-by-date shows now automatically get there respective season/episode numbers during release parsing.
2014-07-24 11:16:59 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00
echel0n
de5db9be64 Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00