Commit Graph

81 Commits

Author SHA1 Message Date
Alexandre Beloin 21fcea2c31 Temporary fix for Python 2.7.9 for SSL
See https://www.python.org/dev/peps/pep-0476/ for more info.
2015-02-04 21:47:57 -05:00
echel0n 3eb366ac05 Re-coded logger facility for better performance and cleaner code plus has better code for rotation of logs. 2014-12-16 02:24:06 -08:00
echel0n 3d7e460079 Fixed issues with newznab/torrent provider searches.
Fixed issues with browser launches at startup.
Fixed issues with feedparser and feedcache relating to provider searches.
2014-12-11 10:06:50 -08:00
echel0n 44ae0c2933 Fixed system path to prepend instead of append for custom libs 2014-11-29 10:02:19 -08:00
echel0n f73aee78cc Fix for issue #939 - utf8 decoding issues 2014-11-24 12:17:32 -08:00
echel0n d96597bf27 Fix for missing github modules, forgot to add folder to git repo 2014-11-16 04:15:40 -08:00
echel0n 291ff880a0 Fix #6 for github module not found issue 2014-11-16 04:10:29 -08:00
echel0n 3221c7ed63 Fix #5 for github module not found issue 2014-11-16 04:05:05 -08:00
echel0n 5e8cdbfb9a Fix #4 for github module not found issue 2014-11-16 04:01:15 -08:00
echel0n 5d46d267b6 Fix #2 for github module not found issue 2014-11-16 03:20:14 -08:00
Prinz23 e338c569c5 SYS_ENCODING set to System Default 2014-11-08 02:09:54 +01:00
JackDandy 967ea383b7 Revert "Fix SYS_ENCODING " 2014-11-07 19:23:50 +00:00
Prinz23 80fe5327df Fix SYS_ENCODING should still be set if locale.setlocale fails (like it does on Windows) 2014-11-06 15:59:33 +01:00
Brian Hartvigsen 92d55a35bd Return to linux line feeds 2014-08-11 11:48:50 -06:00
echel0n c4105db242 Testing fix for locale and startup issues related to improperly being set 2014-08-09 00:55:46 +00:00
echel0n 429db5b7d4 Shutdown/restarts now wait for Tornado to finish shutting down before proceeding further 2014-07-30 18:57:31 -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 f4b24bd85d Added a checkout branch button to the advanced config settings tab to tie things in better and make them easier. 2014-07-27 15:21:52 -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 d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
echel0n 2f0683ec1e Fixed restart/updating issues for synology/qnap devices, may also resolve other OS related simular issues. 2014-07-11 16:37:09 -07:00
echel0n e891e9d637 Fixed nextaired not found issues and fixed kat provider issues. 2014-07-09 09:01:12 -07:00
echel0n d6225dd8d3 Updated next episode airdate function to be run once at startup and then each time after that with show update schedualer 2014-07-09 00:49:05 -07:00
echel0n 74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n c8d899ad66 Removed maintance schedualer and moved the routines from it to happen before a search is started to ensure things are up to date and to stop waking up synology devices, regexes also made less greedy. 2014-07-07 14:30:27 -07:00
echel0n f0146f728e Lowered CPU usage even further, re-wrote daemonizer code for startups, removed misc unrequired functions from providers. 2014-07-03 07:07:07 -07:00
echel0n 12ac388dc2 Fixed startup/restart/shutdown issues on Windows, Linux, FreeBSD platforms tested.
Fixed for updating issues.

Fixed high cpu and memory usage.
2014-07-02 11:51:14 -07:00
echel0n 1fc909299d Fixed start/restart/shutdown issues including any issues with daemonizing. 2014-07-01 06:08:10 -07:00
echel0n 75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n 4575c58348 SQL Query performance gains added and memory footprint reduced. 2014-06-30 06:18:02 -07:00
echel0n 33a28d20a3 Cleanup leftover fd sockets on restart 2014-06-30 02:38:07 -07:00
echel0n 6df96f8cdb Another test fix to reduce memory 2014-06-30 02:33:18 -07:00
echel0n 1b045d2194 Fix for startup issues 2014-06-30 02:30:09 -07:00
echel0n 9d5b2da19e Testing fix to help reduce memory footprint. 2014-06-30 02:23:32 -07:00
echel0n cafdc57b2c Testing fix for redirect issues and blank pages.
Fix for create pid issues.
Fix for creating index on tv provider cache tables.
2014-06-28 22:54:29 -07:00
echel0n c3e2ff5193 Testing fix for shutdown issues on BSD 2014-06-27 07:47:29 -07:00
echel0n 39f32b3b7c Fix for restarts/updates issues when running as a daemon. 2014-06-25 21:03:58 -07:00
echel0n b6e7635a32 Removed tornado's auto-reload function and reverted back to using our original method of performing auto-updates, this should also correct 500 internal server issues for those that got them after updates where performed automatically. 2014-06-25 20:41:18 -07:00
echel0n 67ae7af226 Testing fix for 500 internal server error/TypeError: argument of type 'NoneType' is not iterable 2014-06-25 17:12:52 -07:00
echel0n 10bea520a7 Fixed backup/restore issues, uses correct data directory variable now. 2014-06-24 16:40:13 -07:00
echel0n c878c6d303 Shows now perform a dirty check to confirm if any records have been altered before trying to save to the DB, improves overall performance and speed of sickrage.
Browser does not get launched on restarts as a restarted check is performed now.
2014-06-23 20:25:20 -07:00
echel0n 386355e130 Updates/Restarts now use the same process instead of spawning a new one so the PID remains the same.
Fixed issue for restarts/updates on windows.
2014-06-23 08:18:01 -07:00
echel0n 7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n 07685f4295 Fixed issues with webroot settings and reverse proxies.
Fixed issues with WebAPI and WebAPI builder.
2014-06-19 08:47:28 -07:00
echel0n b9c22582cf Added restore folder to gitignore list. 2014-06-19 07:43:12 -07:00
echel0n 2b7df8e67d Added backup and restore feature, this allows you to backup your config.ini and sickbeard.db files into a zipfile and save it to a destination of your choice and as well you can restore the same zip file later on then perform a restart to have the changes take affect automatically. Backups are saved date/time stamped. 2014-06-19 07:31:44 -07:00
echel0n 5aba53ae8e Fix for OSError: [Errno 9] Bad file descriptor error, freebsd related 2014-06-18 16:17:53 -07:00
echel0n c792e34c43 FreeNAS test fix #4 2014-06-18 13:41:20 -07:00
echel0n cefbe3859a Test fix #3 for freenas 2014-06-18 13:12:19 -07:00
echel0n 5b866006b4 Test fix #2 for FreeNAS running as a daemon 2014-06-18 12:07:53 -07:00