JackDandy
c0c9e8b019
Change reload_module call to explicit import lib/six.moves.
2015-06-14 18:19:48 +01:00
Adam
680491684d
Change py2 file and reload functions to py2/3 compatible open and reload_module functions
2015-06-14 11:49:23 +08:00
Adam
b7dbd87625
Change py2 octal literals into the new py2/3 syntax
2015-06-11 19:50:04 +08:00
Adam
a3c717becd
Change py2 print statements to py2/3 compatible functions
2015-06-09 19:33:03 +08:00
Adam
37496189f1
Change py2 exception clauses to py2/3 compatible clauses
...
Add py2/3 regression testing for exception clauses
Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
Adam
e06e671d67
Fix to correctly load local libraries instead of system installed libraries
...
This fix correctly places the local libraries at the start of the sys.path such that they are loaded instead of any libraries that may already exist on the users system. This prevents the issue where a system library that isn't supported by SickGear is loaded and causes errors during operation.
2015-06-05 18:12:05 +08:00
adam
2b031fff67
Change startup code cleanup and PEP8
2015-02-24 19:14:19 +08:00
JackDandy
57f01e6584
Fix restart issue.
2014-12-14 19:05:50 +00:00
adam
a419f53ca9
Fix port checking code preventing startup directly after a SG restart
2014-12-13 13:32:08 +08:00
adam
f338c2d65d
Fix multiple issues relating to the startup process
...
Fix multiple instances of SG being able to start
Fix garbled text appearing during startup in console
Fix startup code order and general re-factoring (adapted from midgetspy/Sick-Beard)
2014-12-08 20:25:12 +08:00
adam
b407e3e606
Remove legacy sickbeard updater and build automation code
2014-12-05 22:30:19 +08:00
JackDandy
c03429a25a
Remove orphaned file and cleanup class naming.
2014-11-13 05:36:47 +00:00
Supremicus
4c8c6b21d5
Change logos, text etc. branding to SickGear.
2014-11-12 20:56:40 +00: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