1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-11 03:45:01 -05:00
Commit Graph

68 Commits

Author SHA1 Message Date
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
echel0n
da826d24d4 Testing fix for freenas 2014-06-18 11:24:59 -07:00
echel0n
cf4cbd9a34 Fix for missing WITH statement 2014-06-18 01:53:11 -07:00
echel0n
327df6682e Updated tornado to latest stable code, fixes issues with auto-reload 2014-06-16 21:54:00 -07:00
echel0n
09297b853b Fix for autoreload issues 2014-06-16 17:48:22 -07:00
echel0n
2ac1c5fdd5 Fixed forced updates to wait for auto-reload instead of performing a restart. 2014-06-16 05:31:57 -07:00
echel0n
dccf371ebd SSL issues fixed.
UI Notifications fixed.
Auto-updating option fixed to now work with auto-reload feature.
2014-06-16 05:19:07 -07:00
echel0n
489a181cdb Auto-reloads app on code changes automatically detected from git.
Fixed issues with basicauth/cookies and login page.
Parse results now displayed all the time.
2014-06-16 03:44:33 -07:00
echel0n
d8358882de Fixed issues with restarts and updates. 2014-06-15 22:45:52 -07:00
echel0n
7d52d079fa Fixes more issues that were preventing proper shutdowns, restarts, and upgrades. 2014-06-15 12:11:21 -07:00
echel0n
fa01711192 IOLoop tasks are now started and stopped via regular start and halt sickrage functions allowing us to gracefully exit on shutdown or restart. 2014-06-15 06:59:51 -07:00
echel0n
acca01eb90 Fixed shutdown to completely stop and close IOLoop. 2014-06-15 06:44:39 -07:00
echel0n
af6cd334a0 Moved Tornado IOLoop to main() to resolve shutdown issues plus we now use IOLoop to control checks for startup tasks and background commands. 2014-06-15 05:43:53 -07:00
echel0n
20e2ae2f86 Improved tornado async routines and shutdown routines. 2014-06-15 04:08:41 -07:00