* Note * Pull requests will be accepted *only* against the dev branch, except for feature branch fixes/enhancements, in which case they should be against that branch. Please make sure any PR's comply with our coding standards policy: http://li3.me/docs/specs/accepted/LSR-0-coding.md New updates are grouped by person (committer/merger), at the top of the file. All entries are dated according to merging into the code in dev branch. THIS MEANS THE CODE MAY NOT BE PRESENT IN THE STABLE BRANCH For details of when a commit makes it into the stable branch see the ReleaseNotes file. 2020-06-01 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.22.0 2020-05-28 niel Chg: Update dependencies. In particular a fix for security bug in PHPMailer. 2020-01-06 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.21.0 2019-10-31 niel Fix: Update url for IMDb images. 2019-10-24 niel Mrg: PR 2646, from JReming85 - Update Charisma theme's profileedit.tpl. Fix: Code Style. 2019-10-18 niel Fix: Another attempt to deal with the bad URL for cover images issue (2637). This time I'm not trying to juggle the output from the db, instead we try to make sure that new images have the correct IMDb id size. I will be writing a script to rename image files with id number less than 8 characters. 2019-10-15 niel Fix: Further fix the regex to be more specific. 2019-10-14 niel Fix: Tighten up regex used to Categorise MP3s, to avoid false positives. (Closes Issue 2642). 2019-10-08 niel Fix: Refactor function to check a file path for readabilty. (Closes Issue 2641) 2019-10-07 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.20.0 2019-10-02 niel Fix: Install failing to create PROCEDURES during database initialisation. Chg: Update dependencies. 2019-09-19 niel Fix: Force Movies::getMovieRange() to return imdbid without leading zeroes. (Closes Issue 2637). 2019-09-06 niel Chg: Updated Lithium framework to official 1.2 version (we've been using a custom version to provide PHP 7.3 support). 2019-09-06 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.19.0 2019-07-21 niel Fix: .../nzedb/NameFixer.php, Convert 'continue' to 'break' in switch statement. 2019-07-19 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.18.3 2019-07-19 niel Fix: Missing ',' in SQL, hopefully reduce overhead formatting 'Message-Id'. Closes Issue 2633. 2019-07-18 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.18.2 2019-07-18 niel Fix: Force NNTP headers to title case (Upper-case first letter, the rest lower-case. (Closes Issue 2632). 2019-07-18 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.18.1 2019-07-18 niel Fix: Remove include_once that was made superfluous. Chg: 'Optimisations' for NNTP::getXOVER(). 2019-07-18 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.18.0 2019-07-18 Fix: Ensure DB.php has Settings.php loaded if available. 2019-07-17 DariusIII Chg: Add newznab:apilimit to API and RSS XML response with limits and current api hits and grabs 2019-06-19 niel Mrg: PR 2631, from Wally73 - Update movie-add.php for larger IMDb IDs. 2019-06-03 niel Fix: Increase size of imdbid fields in movieinfo, releases, and user_movies tables to bring us inline with IMDb's latest entries. 2019-06-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.17.0 2019-06-02 niel Add: Phinx package to handle Db updates in future. 2019-05-09 niel Add: Backport change from CakePHP/Laravel that copies TSV files to /tmp before trying to LOAD INFILE them. This should resolve any permission issues as /tmp is readable by anyone by default. 2019-03-25 niel Fix: Reduce the size of tmux table's 'value' column from 19000 to a more reasonable size (1000). 2019-03-04 niel Fix: Update some regexes that were using invalid syntax. This will prevent them from being flagged as the errors they are with PCRE2 in PHP 7.3+. 2019-03-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.16.0 2019-03-01 niel Fix: Use correct object to check for video duration. Closes issue 2625 2019-02-06 niel Fix: Use absolute paths for version specific configuration files, in tmux.conf. Closes issue 2623. 2019-02-04 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.15.0 2019-01-12 niel Fix: Update search suffix for poppcorn searches. Closes issue 2620. 2019-01-07 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.14.0 2019-01-05 Bart39 Fix: Invalid object type in ProcessAdditional::getMediaInfo. 2018-12-27 niel Fix: Use empty() to check for '' and NULL for filename in NameFixer::matchPredbFiles(). 2018-12-24 niel Fix: Removed extra tab in categories tsv file that caused XXX->UHD to have incorrect parent ID. Chg: Increased size of xref field in collections and multigroup_collections to avoid truncation. **NOTE** There is no patch for existing installs yet. This will be coming when I get my backup server fixed as it handles validating the SQL etc. 2018-12-20 niel Fix Correct pd.predate to pd.created in viewnzb.tpl file for Alpha and Default themes 2018-12-19 niel Chg: Add 'z' to regexes detecting RAR parts i.e. z01 as a suffix. 2018-12-11 DariusIII Fix: Fix inserting of new mediainfo xml into releaseextrafull table (fixes issue #2609) 2018-12-10 niel Fix: PHP Fatal error: Uncaught TypeError: Argument 1 passed to nzedb\NameFixer::nzedb. 2018-12-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.13.0 2018-11-27 niel Fix: New groups not respecting number of days/posts to initialise with and then starting from first header on the server. 2018-11-21 niel Fix: Correct categories table data for Book entries. 2018-11-16 niel Fix: Add pagination links to Alpha, Charisma, Gamma, Gentele, and Omicron Themes for Browse Groups page. 2018-11-11 niel Fix: Attempt to improve accuracy of PreDb matching. Addresses issue 2568. 2018-11-05 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.12.0 2018-10-30 niel Mrg: fix-mediainfo branch. Adds support for mediaInfo's new format in v17.12+ 2018-10-27 niel Fix: Post-decrement (instead of pre-decrement) $total dumps counter to make it correct for output. This will prevent the "-1 dumps remaining message". 2018-10-23 niel Add: New anime title regex in PPA to capture more titles correctly. Chg: Altered 'Complete Sequential' to 'Custom Sequential' in tmux settings, to avoid confusion of people thinking it is more complete than Simple. Chg: Update meaning of type field in videos table. Add: Videos controller, model, and tests. 2018-10-17 niel Fix: Make generic music subject regex actually match the example. Simplify returns for CollectionsCleaning::generic() method. Fix: Remove $this->e0. No need to duplicate the constant. 2018-10-12 niel Chg: Rename updateTimeCheck function to updatedRecently. Change it to return true if the entry was updated within the last week, false otherwise. 2018-10-03 niel Fix: Make sure newly activated groups have TPG tables, if TPG mode is enabled and MGR mode is not. 2018-10-02 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.11.0 2018-09-18 niel Fix: Updated scripts in .../misc/testing/DB to use modern require_once syntax (instead of nesting multiple dirname() calls. Also added a new require_once to two scripts that need .../configuration/settings.php to run. Note they will cause an error if the file does not exist, but it should be obvious to the user what the problem is. If any other scripts are complaining about missing nZEDb_* or other constants let me know and I'll update them as well. 2018-09-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.10.0 2018-07-31 niel Mrg: Bring in updates for PHP 7.2 compatibility. ***NOTE*** You *must* run `composer install` manually as the lithium framework version has changed and your current one will not have some of the new stuff that this update adds. 2018-07-30 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.9.0 2018-07-18 niel Fix: Check for whether $active is null, as empty also includes false. 2018-07-17 niel Fix: \app\models\Groups::getRange() to correctly handle pagination and filtering by a groupname. Fix: Query string for group (in)active pages pagination. Fix: Quotation marks around $groupname need to be double, not single. 2018-07-13 Bart39 Fix: undefined index 'groupname' for Admin grouplist active/inactive pages. Fix: Admin grouplist inactive page returning active groups. 2018-07-13 niel Fix: app\models\Groups::getBackfilling() to return array of groups filtered by active and backfill state. Fix: Check for valid RecordSet returning it, or an empty array otherwise. 2018-07-11 Bart39 Fix: Typo in querying database timezone. Chg: Add categorization for a.b.sounds. Chg: Search for all other/unknown categories (not just Misc>Other) when trying to fix names. using Par2. Chg: Strip '00-' from searchname (mostly music titles) when parsing Par2 for a better name. 2018-07-04 niel Chg: Removed release counts, for the themes that used it, on group list templates. 2018-07-04 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.8.1 2018-07-04 niel Fix: Switch other theme templates to use the new $pagertotalitems pager count variable for browsegroups.php 2018-07-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.8.0 2018-07-02 niel Fix: Admin group list active/inactive pages broken by commit 8b5235b8. 2018-06-19 niel **NOTE** After updating you may have to do `composer install && ./zed update nzedb` to get things working again. Fix: Update ./zed command to switch directories, so that lithium considers it part of the main app. This is necessary as lithium v1.2 treats the commands differently if outside the 'app' directory, breaking our console commands because of the use of a model in app/config/connections.php. Chg: Updated base Lithium Framework 'app' files to latest v1.2 versions (again). Fix: Wrap LITHIUM_APP_PATH and LITHIUM_LIBRARY_PATH in "if defined" check to prevent clash caused by the way Lithium handles console commands when not started from inside the app hierarchy. Chg: Remove support for simple_php_yenc_decode extension as it doesn't support PHP 7+. 2018-06-16 niel Chg: Merging in lithium v1.2 (dev-li3-v1.2 branch) changes into dev. 2018-06-12 niel Fix: Correct use statement for Groups model. 2018-06-08 niel Fix: Correct calls of isValidGroup to isValidName for Groups model. 2018-06-07 niel Mrg: dev-groups This branch brings changes to how the groups table is used. A new Groups Model is now the default way to access it. The older methods still work but are deprecated and will be removed in the future. 2018-04-23 niel Chg: Remove 'releases' column from groups listing and browse group. 2018-06-04 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.7.0 2018-05-25 Fix: Replacing last use of each() in nZEDb code. Note that two libraries (forkdaemon and guzzlehttp/promises) still use it however. 2018-05-08 niel Chg: Increase size of 'xref' column in collections' tables due to some larger sizes reported. 2018-05-07 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.6.0 2018-05-03 niel Chg: Remove unnecessary '\n' from start of 'release have been disabled/terminated by Releases' 2018-05-02 niel Fix: Added statement termination (';') to Tmux main window update strings. Prevents the shell from interpreting them as one statement. 2018-04-16 niel Mrg: dev-console-command-verify branch. This adds the 'tpg' option (to './zed verify tables' sub-command), which checks for missing tables of active groups. It does not delete tables of inactive groups. 2018-04-05 niel Fix: Missing PHPMailer object creation. 2018-04-02 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.5.0 2018-03-23 niel Fix: Namespace issue for PHPMailer class. Chg: Refactored Misc::sendEmail() to use provided $from address as the 'reply-to' field (and to make reading it easier. 2018-03-05 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.4.0 2018-02-27 niel Mrg: dev-phpmailer-migration branch. This upgrades the code to use v6.0 of PHPMailer. 2018-02-23 niel Mrg: PR 2571, from lawsontyler - GitHub Issue 2530 - Use the existing function that updates git 2018-02-01 niel Upd: Updated dependencies. Chg: Refactored verify console command to use sub-commands like lithium's g11n console command. 2018-01-08 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.3.0 2017-12-21 niel Add: Merging in dev-allasmgr. This adds the option to treat ALL groups as Multigroup. 2017-12-18 niel Chg: Additional info for debugging timezone problems. 2017-12-15 niel Fix: Added a check in the connection detection code, to only display "No connection configured" message when debug mode is enabled. This prevents it being shown during the install procedure by default. 2017-12-08 niel Fix: Bad logic that caused "No connection defined" message for valid configurations. Chg: Deleted misc/testing/Tests/verify_time_settings as differences in various settings is irrelevant now. Chg: Removing obsolete sources for IRCScraper settings. 2017-12-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.2.0 2017-11-13 Fix: Use fully namespaced class name for Misc, to avoid not found exception for some users. 2017-11-12 niel Fix: Removed LOWER() from username checks in SQL, as usernames should always be case-sensitive. 2017-11-11 niel Mrg: PR 2546, from Wally73 - Update Configure.php for new settings.php version. 2017-11-09 niel Fix: Correct status code for "Missing parameter (apikey)" redirect. Mrg: dev-maintainance-mode. **NOTE** This requires that you update your settings.php file. There are two things to change. 1) the version number from 4 to 5. Near the top of the file. 2) The addition of the maintenance mode constants near the bottom of the file. This is optional, but it is wise to add them. Chg: Removed the check for logged in user during API key checking. This prevents allowing incorrect keys to be used. 2017-11-06 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.1.0 2017-11-05 niel Fix: Add the missing constant names to the checks for creating them in app/config/bootstrap/connections.php. 2017-11-01 niel Fix: Quick fix for bad status being returned for when Request limit is exceeded. 2017-10-30 DariusIII Fix: Update categorization to properly categorize sports related releases (fixes issue #2527) 2017-10-22 niel Chg: Defaults in settings.example.php for logging, are now enabled. Chg: Composer post install script now copies settings.example.php to settings.php automatically. 2017-10-11 niel Fix: Force case insensitive check for 'SQL_CALC_FOUND_ROWS' in DB::queryCalc() to avoid potential problems. 2017-10-10 DariusIII Fix: Tmdb error on ajax_mymovies.php (Fixes issue #2526) 2017-10-09 niel Fix: Add missing use statement to fix TMDb not found error. Closes issue 2526. 2017-10-02 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.8.0.0 2017-09-28 niel Mrg: PR 2520, from Wally73 - Changes the default sort order for Predb model. 2017-09-27 DariusIII Chg: Move isMusic check in determineCategory function to the end 2017-09-19 DariusIII Chg: Remove nZEDbPre2 channel from ircscraper_settings_example.php 2017-08-12 niel Fix: Error matching timestamp in predb_import_daily_batch.php caused by using wrong regex match index. Switched to using named regex matches instead. 2017-09-02 niel Mrg: dev-lithium-logger branch. Add basic logger which can be expanded later. 2017-08-30 DariusIII Chg: Disable caching in php-tmdb library 2017-08-29 niel Fix: Change check for gitHooks link, to only test for its existence, not if it is executable. 2017-08-29 DariusIII Fix: Set pagertotalitems to 0 if there is no totalcount returned from release queries 2017-08-18 niel Mrg: PR 2513, from jangrewe - Quick and probably incomplete fix for XSS attacks. 2017-08-14 niel Chg: Use DB_MOCK constant for checking Db connection to use. 2017-08-09 niel Mrg: PR 2507, from Wally73 - Fix http to https in readme. Chg: Temporarily change to using niel/steam_front library until b3rs3rk gets his updated. 2017-08-08 niel Chg: Update command now tries updating with composer even if the nZEDb code is unchanged. Mrg: Darius' refactored-adult post-processing branch. Chg: Removing pixelead0 library that we replaced with php-tmdb/api. Fix: Put braces around array reference in error string to prevent converting from array to string error. 2017-08-05 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.3.4 2017-08-04 niel Chg: Bring in Darius' new TMDb library code. Switching to use php-tmdb/api library from github. Fix: Remove auto sorting from composer.json as it lists bower-assets/* before the package which handles them. 2017-08-03 DariusIII Fix: Check for existing apikey before sending request to GiantBomb. 2017-08-03 niel Fix: Replace spaces with tab, causing steam_app last_update setting to fail on insertion. 2017-07-30 niel Chg: Move location for predb-progress.txt to the standard configuration directory. 2017-07-27 DariusIII Chg: Add auto sorting and autoloader optimization to composer.json 2017-07-19 niel Chg: Set 'updated' date to zero value when inserting new IRCScraper entries. Should prevent certain errors cause by bad SQL modes. 2017-07-14 niel Chg: Make version checks in .../nzedb/NZB.php and .../nzedb/Tmux.php use the XML file instead of the repository. Chg: Update composer.lock file for updated steamfront version. 2017-06-26 niel Fix: Removed check for tpg in collection_regexes-test.php's template. 2017-06-21 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.3.3 2017-06-21 niel Fix: Add 'ORDER BY 'id' ASC' clause to SQL patch 0482, to make sure they don't get done out of order, causing duplicate index errors. 2017-06-21 DariusIII Fix: Use PNotify instead of noty in Charisma theme - Potential fix for issue #2478 2017-06-20 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.3.2 2017-06-19 niel Add: Created custom Model class to extend Lithium's. It adds a new method `isModified` to check if an existing table entity has been changed. This allows Updates to skip saves if nothing has changed. Fix: Remove type declaration from Model::isModified() signature as it doesn't work for parent classes. The type is tested inside the method instead. 2017-06-14 niel Fix: Replace overlooked occurences of 'predate' with 'created' in queries. Closes Issue 2474. 2017-06-09 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.3.1 2017-06-07 DariusIII Fix: Missed changing Steam class setLastUpdated function for settings table change (fixes Issue 2468) 2017-06-02 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.3.0 2017-05-31 niel Fix: Make DbUpdate::loadTables() default to not having an "OPTIONALLY ENCLOSED BY" clause, as it causes issues with fields starting with a double-quote. 2017-05-30 niel Mrg: PR 2445, from nightah - Reworked all Anime release naming regexes. Fix: Missing category from new Predb entries that was accidentally overlooked during recent refactoring. 2017-05-28 niel Chg: Predb model: Change occurences of 'name' to 'title', even variable names as it is obviously confusing me! 2017-05-26 niel Add: Adding post-install-cmd to composer.json. It runs addHooks.sh script if installed in dev mode. 2017-05-25 b3rs3rk Fix: Two more predate instances that should be created 2017-05-24 b3rs3rk Fix: Tmux monitor query still looking for predate column Fix: Disable timezone checks if connection is to SphinxQL as it doesn't support any TZ variables Fix: Many predate string constants not changed to reflect new created column Fix: Change predb table DDL to reflect predate -> created name change in secondary key 2017-05-24 niel Mrg: dev-ircscraper branch. The IRCScraper code has been changed to make it properly timezone aware. As before, predates are received as UTC/GMT time. However they are not converted using a call to the Database server (whose timezone is essentially unknown). Instead, the timezone of the connection to the server is used, which we are able to set as part of the bootstrap process. By default, this timezone will be the same as the PHP code running the indexer, but it may be set to any valid zone by the user. Database changes: The 'predate' datetime field is replaced by a 'created' timestamp field and a new 'updated' timestamp field is added. **NOTE** If you have not already done so, you MUST populate the database's timezone tables as described in their documentation. For Debian/Ubuntu users 'mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql' should load them easily, this will require restarting the database server. The smarty template now displays the timezone in the Date header so that it is obvious to users. There is also an additional field for when the entry was updated. Additionally the pager template is switched to the newer paginate.tpl that I have been using in the dev-move-to-models branch. 2017-05-22 DariusIII Chg: Rename APIs.Steam.last_update to APIs.steam_apps.last_update Fix: Remove PHP7 return type declaration in Games.php 2017-04-22 niel Fix: Fix path reference to settings.php for View Logs page. Fixes issue 2456. 2017-05-19 b3rs3rk Fix: nzedb.xml not updated to reflect new PC Games support Fix: Remove function void return declarations at they are throwing UnknownType errors Fix: Incorrect genres_id column in use in update queries, still genre_id -- also reduce sleep time for Steam calls 2017-05-19 DariusIII Chg: Update PC Games support, use Steam and GiantBomb only 2017-05-09 niel Fix: Use correct constant to mark PAR2 used in NameFixer. Mrg: PR 2453, from kaibosh - tmux config adjustments for <= v1.8 2017-05-08 DariusIII Fix: Path to bootstrap.min.js in Default theme 2017-05-06 niel Fix: Problem with external yEnc decoders (hopefully). Closes issues 2383 and 2435. Chg: Added code to force DB connection to use PHP's timezone setting. This may be different to the databases configured timezone, but we're now working with a known timezone instead of assuming one. 2017-05-04 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.2.1 2017-05-03 niel Mrg: PR 2448, from kaibosh - Update tmux configs for tmux 2.4. Fix: NULL value 'predate' in IRCScraper. Closes issue 2449. 2017-05-01 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.2.0 2017-04-30 niel Add: Logging for IRCScraper's testing for duplicates, to try to determine why it sometimes fails to detect them. This also prevents the script from exiting because of the exception. 2017-04-28 niel Mrg: dev-ircscraper branch. Changes to IRCScraper class to make it more resilient for those suffering error about "missing catalogue". 2017-04-28 DariusIII Fix: Properly populate anidb_episodes table 2017-04-20 niel Add: Created Predb model for use in IRCScraper. No other code is updated for it yet. Fix: Add 'predb' to uninflected list in connections. Add: Created Groups model for use in IRCScraper. No other code is updated for it yet. 2017-04-19 niel Fix: Make IRCClient an abstract class, as it has an abstract method which was not previously marked as such. 2017-04-19 DariusIII Add: Per poster categorization of releases, properly categorize and rename SDCLiP releases and add FULLTEXT index on predb.filename for better releases matching. Mrg: PR 2440, from Nightah - Added extra regexes to match release names for a.b.anime 017-04-14 niel Mrg: PR 2438, from Fossil - Speed up getByRssToken function. Mrg: PR 2436, from Wally73 - Update simple-expanded.sh 2017-04-13 DariusIII Fix: Properly categorize ANiHLS and HAiKU releases as TV > Anime (please run 'php misc/testing/Release/recategorize.php all' to recategorize releases) 2017-04-08 niel Chg: Use '--prefer-dist' for stable branches, '--prefer-source' otherwise. Part of the move to not using the repo in production. 2017-04-07 niel Mrg: PR 2428, from Wally73 - Update simple.sh. Cleaning out discontinued code. Mrg: PR 2429, from Wally73 - Update simple-expanded.sh. Cleaning out NNTP Proxy references. Mrg: PR 2430, from Wally73 - Update threaded.sh. Cleaning out python references. 2017-04-06 niel Chg: Remove python module check in tmux/run.php 2017-04-06 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.1.1 2017-04-06 niel Chg: Remove NNTPProxy checks from .tmux's run.php Fix: Added missing field (collection_regexes_id) to multigroup_collections table definition. 2017-04-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.1.0 2017-04-03 niel Chg: Remove git repository checks from Tmux scripts. This is an effort to remove the use of the repository from user code. Dev code will still use it for some tasks (e.g. apply tags for releases). 2017-03-30 b3rs3rk Fix: Gamma PC Games view doesn't display grouped by gamesinfo_id 2017-03-30 DariusIII Chg: Further improve mediainfo uniqueid matching 2017-03-29 DariusIII Chg: Increase release size floor values to -10/10 in NameFixer class uidCheck function for better mediainfo matching. 2017-03-25 niel Fix: Update import predb daily batch script to handle changed layout on github. Also adds the date of the file to successful download message. 2017-03-20 niel Chg: Copied asset-installer setting to config section of composer.json in preparation for updating it. Chg: Update fxp/composer-asset-plugin to v1.3.0 ***NOTE*** This requires an update of Composer itself, to v1.4.0 2017-03-15 niel Mrg: PR 2417, from Wally73 - Update IRCScraper README.txt 2017-03-14 niel Mrg: PR 2398, from kaibosh - Update control tool for sabnzbd v1.x API. Fix: Make NZBImport check for searchname dupes (Closes issue 2411). 2017-03-14 DariusIII Chg: Remove use cases for python backfill script Chg: Remove nntpproxy support 2017-03-13 niel Fix: Problem with redirection to install on fully installed system (closes PR 2415). 2017-03-11 niel Chg: Refactored DB class. This cleans it up and streamlines the constructor as well as adding minimum version checking dependant on the vendor of MySQL variant. Relevant options are stored in individual fields, instead of storing the whole options array, after a successful connection. Thanks to b3s3rk for finding and fixing the issue with Sphinx and to crapz for helping debug. Fix Redirect from index page to Install when 'install.lock' does not exist. 2017-03-08 niel Mrg: dev-refactor-tpg, which removes conditional checking for TPG as it is no longer optional. 2017-03-06 niel Mrg: PR 2406, from egyptianbman - Fix `zed update nzedb`. Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.7.0.0 2017-03-01 niel Fix: Alter the logic for checking the Config files location during install step 1. Fix: Update Travis configuration for location of config files. Chg: Add PHP 7.1 to Travis' versions to test. 2017-02-24 niel Chg: Move location of configuration files (config.php, settings.php, etc.) to .../configuration ***NOTE*** See v0.7.0.0 entry at https://github.com/nZEDb/nZEDb/wiki/Update-Guide for additional instructions. 2017-02-21 DariusIII Chg: Move search and user menu to headermenu.tpl in Charisma theme Chg: Update Charisma theme to use new bootswatch library, remove unneeded css and make it use the bootswatch slate theme (make it darker). 2017-02-21 niel Add: Update nZEDbBase.php file to be able to return any of the 'constant' values. Mrg: PR 2397, from ThePeeps - Fix for uspsetting.sh (powerline segment). 2017-02-17 niel Mrg: PR 2391 and 2392, from Wally73 - Updates simple.sh and simple-extended.sh scripts. Fix: Change checks in NZB to look for false from Db lookup, instead of Traversable which does not guarantee useful data. 2017-02-15 niel Mrg: PR 2388, from kaibosh - Default movie process quantity to 100 if not specified, else use setting. 2017-02-13 niel Mrg: dev-log-bad-regex branch. This adds logging of failed (as in errors, not zero results) regexes to the nZEDb log. **NOTE** This supresses warning messages in the PHP log. 2017-02-12 b3rs3rk Chg: Improve performance by doing poster check in PHP instead of single row MySQL queries 2017-02-10 b3rs3rk Fix: Settings issues with AniDB population preventing run. 2017-02-10 DariusIII Fix: Search by reqid link in predb.tpl (fixes issue #2381) 2017-02-09 niel Mrg: dev-base-template-mod branch. See commit 2017-01-18. Mrg: PR 2379, from kaibosh - Update sequential scripts for mandatory TPG use. 2017-02-08 niel Mrg: dev-mgr (MultiGroup Releases) branch into dev. This adds new feature for matching releases spread across several groups. 2017-02-02 niel Mrg: PR 2376, from kaibosh - Update threaded.sh for newer fixRelNames params. 2017-01-30 niel Fix: Minor changes to XML_Repsonse methods to avoid potential problems. 2017-01-24 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.9.0 2017-01-28 niel Fix: Bring in b3s3rk's fix, from MGR branch, for the duplicate ReleasesGroups entries (Closes issue 2354). 2017-01-25 DariusIII Chg: Replace code in likeSQL function for microseconds speed gain. Fix: Wrong number of parameters in removeInstallBin function sql query. 2017-01-24 niel Mrg: PR 2366, from kaibosh - Updates to readme.md. 2017-01-23 niel Mrg: PR 2364, from krabsheva - Fixes typo in ProcessAdditional.php which prevented timeout setting being used correctly. Mrg: PR 2365, from krabsheva - Adds releases_groups table to resetdb.php Chg: .../misc/testing/DB/resetdb.php now uses loop_cbpm() stored procedure to truncate some tables. 2017-01-22 niel Fix: Bad settings data for yydecodepath. 2017-01-20 DariusIII Fix: Change leftover references to group_id in python scripts and ProcessReleases class. 2017-01-18 niel Add: New setting (site.main.incognito) that determines if the main page is shown to vistors, or if they're redirected to the login page instead. Currently there is no way to edit this in Site => edit. 2017-01-17 niel Mrg: dev-db branch which contains changes to binaries, collections, missed, and parts tables. 2017-01-16 niel Fix: Work around to prevent some db versions using auto-increment value on an explicit 0 for Categories Other's. 2017-01-12 DariusIII Fix: Predb page link for predb search (closes issue #2356) 2017-01-11 niel Mrg: PR 2353, from kaibosh - Check for incompatible tmux versions and abort if installed. Chg: Make kaibosh's fix use version_compare function. 2017-01-09 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.8.1 2017-01-09 Fix: Paths for install.sh script. 2017-01-02 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.8.0 2016-12-27 niel Mrg: PR 2346, from kaibosh - Correct powerline tmux config. Add: Created new bash script to clone and use composer install. The script can be run from the directory you want nZEDb installed to (usually /var/www) using: bash <(curl -s https://raw.githubusercontent.com/nZEDb/nZEDb/0.x/_install/install.sh) 2016-12-26 DariusIII Chg: Move predb from frontpage to admin area. 2016-12-22 niel Mrg: PR 2343, from kaibosh - Updates tmux configuration for using newer versions. 2016-12-21 b3rs3rk Chg: Make match_prefiles more precise with match attempts and reduce initial memory usage. 2016-12-19 niel Fix: Update delete_release stored procedure to use separate queries and no CONCATs for the WHERE clause. 2016-12-16 niel Mrg: dev-releases_groups branch. This provides the ability to have more than one group assocciated with a release. 2016-12-16 DariusIII Chg: Improve release renaming. 2016-12-15 DariusIII Chg: Disable desura game lookups for now, site has changed ownership and is not functional atm. 2016-12-08 b3rs3rk Fix: Issue #2330 postprocessing_non_amazon and postprocessing_additional PHP Notice: / PHP Warning 2016-12-08 DariusIII Chg: Move tmux Monitor pane logging to resources/logs folder, fixes notice in monitor pane when starting tmux 2016-12-05 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.7.0 2016-12-03 b3rs3rk Fix: Books processing variable incorrect, causing only one category to run. 2016-12-03 niel Mrg: PR 2326, from cytec - Fix post processing for tv shows. 2016-12-02 niel Chg: Sort contents of 10-settings.tsv to make findind incorrect/missing entries easier ;-) 2016-11-29 b3rs3rk Fix: Gamma Console cover view not displaying releases grouped by Console ID 2016-11-29 niel Fix: Verify settings_table failing for PHP 5.6 users, because of reversed list() parameter, due to misreading the documentation (Fixes issue #2319). 2016-11-28 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.7.0 2016-11-21 b3rs3rk Chg: Avoid joining groups table on CBP deletes by selecting group info beforehand 2016-11-17 niel Mrg: PR 2313, from Wally73 - Update simple-expanded.sh. Removes update_theaters as Rotten Tomato's API is no longer freely available. 2016-11-14 niel Chg: Update Composer configuration to use our fork of Git.php. Fix: Added some patches to fix some known setting mistakes (caused by missed or missing patches) 2016-11-12 niel Add: Unit test and console command to check that the settings table has all entries from settings.tsv. To run the tests do: ./zed test app/tests/ This runs ALL tests, although there is only one currentyly ;-) To use the command do: ./zed verify settings_table This will list out any entries from 10-settings.tsv that cannot be found in your Db table. Syntax for the latter command is tentative and may be changed in the future. 2016-11-09 DariusIII Mrg: PR #2308 - Fix advanced search and update related queries. 2016-11-08 niel Fix: Add missing use statement for Settings class. 2016-11-07 b3rs3rk Fix: Issue with SphinxSE 2.2.11 and maximum return size in ReleaseRemover with larger DB Chg: Improve site/admin site performance in a few queries in Releases and Groups Chg: Change NZB Writing to use XMLWriter instead of string buffering for standardization 2016-11-05 b3rs3rk Fix: nZEDb.xml file with new DB patch number 2016-11-04 DariusIII Chg: Replace reqid.nzedb.com with reqid.newznab-tmux.pw 2016-11-02 DariusIII Fix: Broken logic in XML_Response class that lead to high response times 2016-11-01 b3rs3rk Chg: Revamp categorySearch for cleanliness and make category determination more reliable and extensible 2016-11-01 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.6.0 2016-10-31 b3rs3rk Chg: Replace duplicate categorySearch function in releases and exclude leading -99 improving query speed. 2016-10-30 niel Mrg: DariusIII's branch to switch ReleaseImages class to using Imigemagick instead of GD, to reduce (hopefully remove) segfaults during image creation. 2016-10-28 DariusIII Mrg: Fix speed and count accuracy issues with API/Browse functions PR #2303 2016-10-25 niel Mrg: Bring in b3s3rk's Imagick changes that fix segfaults during PostProcessingAdditional. Chg: Add the Imagick PHP extension as a required dependency. 2016-10-24 DariusIII Add: Search for releases by poster by clicking on poster name in releases details page. 2016-10-22 niel Fix: Amazon settings not having full section included. Fix: Validating site-edit updates now uses the DB class until such time as the template can be rewritten to make use of Settings class (Partially fixes issue #2300). 2016-10-21 niel Mrg: Brought in dev-move-to-settings-model branch. This is expected to cause problems as we iron out the final wrinkles. Indexing side should mostly be fine as it was previously merged some time ago. The web side is where we expect most problems to occur. Please keep an eye on your logs and let us know of *any* problems showing up. Fix: Correct typo causing maxmusicprocessed setting lookup to fail. Fix: Add sql patch to ensure the indexer, ppa, innerfileblacklist setting exists. 2016-10-21 DariusIII Add: Option for admins to delete topics in forum. 2016-10-20 DariusIII Fix: User and role category exclusions (fixes issue #2290) 2016-10-19 niel Chg: Remove the yEnc initialising code as it is not needed any longer. 2016-10-18 DariusIII Fix: Segfaults in PPA caused by broken sample images (fixes issue #2278) 2016-10-17 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.5.3 2016-10-16 niel Fix: Added creation of nZEDb_INSTALLER constant to the .../www/install/index.php tp prevent problems caused by prematurely loading .../nzedb/bootstrap.php. Fixes issue 2291. 2016-10-15 niel Chg: Removed zeebinz/rarinfo library from our code (.../libs/zeebinz/rarinfo) to use the upstream version now it includes a composer configuration. Fix: Revert over-zealous changes that would break functionality of delete_releases.php script (Fixes issue 2277). 2016-10-14 DariusIII Fix: Remove semicolon in mysql-ddl.sql where it should not be in role_excluded_categories unique index row (fixes issue #2287) Fix: Port fix for rarinfo exceeding memory limits from upstream (https://github.com/zeebinz/rarinfo/commit/719979f117db1bed667e1fc9a51ce92df37d6850) (should fix issue #2263) 2016-10-13 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.5.2 2016-10-13 niel Chg: Switch Smarty to bootstrap through lithium instead of just the libraries. Hopefully this will not cause more problems than it fixes. 2016-10-13 DariusIII Chg: Remove images/covers support from Trakt (they will no longer serve images after 31st. October). Fix: getBrowseRange query was missing group_name used in API extended parameter. 2016-10-12 DariusIII Fix: Advanced search link in Gamma theme 2016-10-12 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.5.1 2016-10-11 DariusIII Fix: TinyMCE URL handling Chg: Add edit function to forumposts 2016-10-10 DariusIII Chg: Add release_naming_regex for a.b.movies to properly name DJ releases 2016-10-07 niel Chg: Issue 2263 - Out of memory issue checking RAR files. Add limit checkings to the extra options. Fix: Add missing setting for settings table. 2016-10-05 DariusIII Chg: Add caching to getPagerCount function to reduce load on indexers with many API calls 2016-10-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.5.0 2016-09-26 niel Fix: Prevent TmdbAPI constructor from exiting hard. Instead it now returns null on failure (Fixes issue 2271). 2016-09-24 niel Chg: Replace Page::getSetting() with method to trigger a warning for old style settings fetch. A new method called getSettingValue() will use the app\models\Settings model and is the prefered method from now on. the getSetting() method is deprecated and will be removed in the near future. Chg: Update templates to use newer Page::getSettingVale() to fetch from the settings table. 2016-09-23 DariusIII Add: Support for per role category exclusions to admin->role edit page(Closes issue #1639). 2016-09-23 niel Chg: Refactor checking of 'setting' for single element or dotted format, into its own method so the to be created update override can access it also. Chg: Dropped idea of overriding 'update' and made method public instead, so that calling code can create the array for update. 2016-09-20 DariusIII Fix: Wrongly named autosize script in Alpha and Charisma themes (fixes issue #2268) 2016-09-20 niel Chg: Force php-yenc to use v1.2.2 or later, which fixes some issues with multi-part. 2016-09-16 niel Chg: Alter NzedbYenc adapter test to also check for version > 1.0.0 as that version is no longer compatible with the adapter's implementation. Mrg: PR 2266, from kevin123 - Refactor yydecode to use std I/O instead of files, improves performance. 2016-09-16 DariusIII Chg: Add back reporting of total rows to API response Chg: Group audio releases by album (fixes issue #2239) 2016-09-15 niel Chg: Updated NzedbYenc adapter to support decodeIgnore in the extension, instead of falling back to the Php adapter. ***NOTE*** This changes the API for the function so all users of the extension will have to upgrade to at least v1.1.0, or the code will generate errors. https://github.com/niel/php-yenc/releases 2016-09-14 DariusIII Add: TinyMCE editor support to forum and admin->content 2016-09-14 niel Chg: Audited every call to fetch an entry from settings table, in order to make sure the setting is correctly using the full section, subsection, name or dotted format. 2016-09-13 niel Add: Validation rules for Settings model. 2016-09-12 niel Chg: Refactor scripts using nzedb\db\Settings class without actually using any of the class' additional features, to use the parent nzedb\db\DB class. This is to let me work on moving the scripts that DO need the additional features over to using app\models\Settings instead and properly separating business logic from the way models get used. 2016-09-08 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.4.1 2016-09-08 niel Add: Travis icons for Latest-testing and dev branches. 2016-09-08 kevin123 Add: Travis build icon for stable branch on README.md 2016-09-07 niel Fix: Wrap $this->release['group_name'] in an isset check before assignment to avoid missing index error reported in issue #2259. 2016-09-06 niel Fix: Prevent yEnc from configuring all adapters during install process, as that would require Db access which isn't available yet. Closes issue #2257. Fix: Have the yEnc adapters use the PHP adapter for decodeIgnore(). Slow but it what happened before. 2016-09-05 DariusIII Fix: Content display for not logged in users in Charisma/Gamma/Gentele/Omicron themes. 2016-09-05 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.4.0 2016-09-01 niel Fix: Update new yenc extension's adapter class. 2016-08-31 DariusIII Fix: Sorting arrows on admin->user-list page 2016-08-29 niel Mrg: dev-yenc-abstraction branch. This branch unifies our yenc code to use a single class. Lithium adapters are used for the available methods, the best available is automatically configured as the default. No user configuration should be needed, except for the path to ydecode in the settings as before. simple_php_yen_decode can be removed from that setting for those using it, as the extension is automatically detected if available. For PHP 7.0 users, a new extension is available to replace simple_php_yenc_decode (which cannot be compiled for PHP 7+). This extension is also available for PHP 5.6. Those familiar with Zephir and able to compile the extension themselves, can do so from this repository: https://github.com/niel/php-yenc If you can not compile, and are a trusting soul, precompiled versions, in a .deb file, can be downloaded from: https://github.com/niel/php-yenc/releases/download/v1.0.0/php5.6-yenc_1.0.0-5_amd64.deb https://github.com/niel/php-yenc/releases/download/v1.0.0/php7.0-yenc_1.0.0-4_amd64.deb The deb package assumes that PHP 5/7 is installed with the php5.6-*/php7.0-* style of packaging it will not work correctly with the php5-*/php7-* style (extension should install, but the ini files to load it will be in the wrong locations, so you'll have to correct them). Chg: Update hint for yydecode setting in site-edit. 2016-08-29 DariusIII Mrg: PR #2244 from cytek 2016-08-24 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.3.2 2016-08-23 niel Fix: Refactor use of PEAR::throwError() to avoid PHP notice on PHP 7.0. 2016-08-23 bart39 Fix: change rt_attr_string to rt_attr_uint as a dummy field. As attributes are pre-cached strings could cause out of memory issues. Note: if using sphinx search the following is required to update the index sudo service sphinxsearch stop edit /var/www/nZEDb/misc/sphinxsearch/sphinx.conf if you made any changes from the default sudo mv /etc/sphinxsearch/sphinx.conf /etc/sphinxsearch/sphinx.conf.1 sudo cp /var/www/nZEDb/misc/sphinxsearch/sphinx.conf /etc/sphinxsearch/sphinx.conf sudo service sphinxsearch start php misc/sphinxsearch/populate_rt_indexes.php releases_rt 2016-08-19 DariusIII Fix: Links to other cats in Alpha/Gamma headermenu.tpl (Fixes issue #2237) 2016-08-15 DariusIII Fix: Move tv and movies UHD category checks before web-dl check.(fixes issue #2234) note: run misc/testing/Release/recategorize.php all 2016-08-08 DariusIII Chg: Remove rss button from search page in Gamma theme. 2016-08-08 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.3.1 2016-08-08 DariusIII Fix: Add checks for tv attributes in XML_Response.php(fixes issue #2225) 2016-08-07 niel Fix: Adjustments to DbUpdate class to be sure Settings instance is there when needed. 2016-08-05 DariusIII Fix: User cart operations in themes 2016-08-05 niel Fix: Changes to Install's bootstrap process that prevent use of Settings table before it is created. 2016-08-03 niel Mrg: PR 2194, from b3s3rk - Improve JSON Response from API/RSS by basing it off of XML Response 2016-08-02 DariusIII Chg: Make themes more lower resolution/mobile devices friendly 2016-08-01 DariusIII Fix: Add missing glyphicons-halflings images to shared/img folder and adjust css of Gamma theme Fix: Replace somehow reverted icon- with font-awesome versions in viewmoviefull and xxx tpl files in Alpha theme 2016-07-28 DariusIII Fix: Undefined index genreid in Charisma/Gamma/Gentele/Omicron themes (fixes issue #2209) 2016-07-28 bart39 Fix: add required rt_att directive for sphinx v2.2.11 Note: if using sphinx search the following is required to update the index sudo service sphinxsearch stop sudo mv /etc/sphinxsearch/sphinx.conf /etc/sphinxsearch/sphinx.conf.1 sudo cp /var/www/nZEDb/misc/sphinxsearch/sphinx.conf /etc/sphinxsearch/sphinx.conf sudo service sphinxsearch start php misc/sphinxsearch/populate_rt_indexes.php releases_rt 2016-07-25 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.3.0 Fix: Improvements to version checking to allow RC tags to be created in Latest-testing branch. 2016-07-24 niel Fix: Improvements to versions updating for XML file. 2016-07-24 bart39 Chg: Use max headers iteration site setting if set (or max of 1000000 if not set) during multiprocessing safe binaries This will ensure we don't queue too many jobs in one loop if you are behind on updating and is consistant with other update binaries methods Fix: Categorization of XXX releases posted in mp3 groups 2016-07-21 DariusIII Fix: Wrong order of inserted values in Groups update function (issue #2217) 2016-07-20 DariusIII Chg: Add UHD subcats to Movies, TV and XXX categories. Note: run recategorize script to populate the new cats (php misc/testing/Release/recategorize.php all) 2016-07-19 niel Fix: Add lithium libraries bootstrap for Admin pages (Fixes issue 2215). 2016-07-19 DariusIII Fix: Display of browsing categories on browse pages of every theme. 2016-07-18 DariusIII Fix: RSS/API usenetdate format to conform with newznab api specification Chg: Set default value for groupName to -1 in getBrowseRange function Fix: Blank browse pages when browsing per category Chg: Add group parameter support to api search function (fixes issue #2195) 2016-07-18 niel Fix: Two leftover references to constants.php 2016-07-17 niel Chg: Tidy up the bootstrapping process. Fix: Blank screen on fresh deployment (Issue 2214) 2016-07-15 DariusIII Chg: Split season and season and episode queries to prevent undefined index notices in api.php Mrg: PR #2193 @DariusIII Fix: Leftover r.group_id in requestid_threaded.py (Fixes issue #2213) 2016-07-14 DariusIII Chg: Add empty data check for season and episode queries in api Fix: Add back missing nzb download to api.php (fixes issue #2212) Fix: Typo in api.php 2016-07-13 niel Fix: Add work around for duplicate constants warning. 2016-07-13 DariusIII Fix: Remove searchname after the guid when calling release details page in Charisma/Gamma/Gentele/Omicron themes Fix: Adding movies to my movies list from in theatre page in Charisma/Gentele/Omicron Fix: Marking of new releases in Gamma theme browse page Chg: Add check if isadmin is set in themes 2016-07-12 DariusIII Chg: Update profile edit pages in Charisma/Gentele/Omicron themes Fix: Reset user grabs and api requests in Charisma/Gamma/Gentele/Omicron themes (fix issue #2206) 2016-07-11 DariusIII Chg: Update Omicron css/js to AdminLTE 2.3.5 2016-07-08 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.2.4 2016-07-08 niel Chg: Clean up checking of version string from XML file. Chg: Put 'v' in front of XML files version in ./zed version output. 2016-07-07 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.2.3. Mrg: Versions-Refactor branch. Changes all scripts to use the app/extensions/util/Versions class instead of the older nzedb\utility\Versions. Add: Updates to app\extensions\utils\Versions to add the xml file updates required by runHooks.php script. Chg: Updates to runHooks script to use app\extensions\util\Versions class. 2016-07-07 niel Add: Create new bootstrap file (.../bootstrap.php) to enable nzedb and lithium's app libraries to load together. New files should use it as the base require_once instead of indexer.php. Old file will be converted over when it is convenient. Fix: Switch tmux start script to use new bootstrap file (Fixes issue #2205). Fix: Actually commit the new bootstrap file ;-) Chg: Updated fxp/composer-asset-plugin dependency to v1.2.0 2016-07-06 niel Fix: Other category not available on new installs, due to insert query still using 'category' table. Add: Included lithium app into the autoload process. All of its classes should now be available to nZEDb (Closes issue #2205) 2016-07-04 DariusIII Fix: Malformed RSS for my movies and my shows RSS 2016-07-03 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x to v0.6.2. 2016-06-30 niel Chg: Make screen simple-expanded script executable. 2016-06-30 DariusIII Fix: Wrong path to file extension icons in Gamma theme viewfilelist.tpl 2016-06-27 b3rs3rk Mrg: PR 2175 - Cleanup groups Mrg: PR 2183 - Remove 10-tvrage_titles.tsv and scripts used to pupulate that table. 2016-06-27 DariusIII Fix: Replace usage of categoryid with categories in user_series and user_movies table, related classes and in themes. Fix: Missed occurences of categoryid in UserMovies.php. Fixes issue #2191 2016-06-27 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x. 2016-06-24 niel Mrg: PR 2189, from josh4trunks - Fix Lithium Connections to send host:name in host field as Lithium expects. 2016-06-24 DariusIII Chg: Remove release searchname from Gamma profile page (comments part) Chg: Reformat getCommentsRange query in ReleaseComments class Fix: Forums on Gamma (fixes issue #2174), Charisma, Gentele and Omicron themes. Fix: Triggers in schema (fixes issue #2184) Chg: Move child forking settings inside if else loop 2016-06-23 DariusIII Fix: Headermenu on Default and themes that use it as their base (TV was linked to series not browse all TV releases). 2016-06-23 b3rs3rk Chg: Make fixReleaseNames predbft deterministic to prevent useless threads 2016-06-23 DariusIII Upd: composer.lock with version 1.0.9 of barracudanetworks/forkdaemon-php (adds unlimited child run support) 2016-06-22 b3rs3rk Fix: New gFRN bad offset typo for NFO, Files 2016-06-21 niel Fix: Initial default theme not set to Alpha, because of lower case first letter. Chg: Relaxed minimum PHP requirement to 5.6.10, so users on distros from around 14.04 have less problems. 2016-06-18 b3rs3rk Mrg: Add new Gentele theme. #2156 @DariusIII Mrg: Fixed SQL injection in Movie.php #2180 2016-06-13 DariusIII Chg: scrutinizer config 2016-06-12 b3rs3rk Fix: Series View does quality selection missing value. #2170 2016-06-12 bart39 Fix: category_id not changed to categories_id for category regexes. Fixes issue #2171. 2016-06-10 b3rs3rk Mrg: Dev fixrelsinglerun #2169 (Note: Restart Tmux) 2016-06-09 b3rs3rk Fix: AniDB client not respecting update times 2016-06-08 b3rs3rk Fix: A few errors in Categorize class (duplicate XxxSD call) Fix: Issues with categories TSV not being updated after numerous change commits Fix: Sneaky category_id not changed to categories_id in recategorize.php 2016-06-08 DariusIII Chg: Change qtip2 version used in Omicron theme Fix: Check all icon behaviour in Omicron theme Chg: Switch Omicron to iCheck checkbox style and new Pnotify style. Fix: No background images in Charisma/Omicron themes. Chg: Change type of iCheck used in Omicron. 2016-06-08 niel Chg: Update version of unionofrad/lithium in composer.lock 2016-06-07 b3rs3rk Chg: Change DATEDIFF constraints to constant comparisons to allow index scan Chg: AniDB site query optimization and code cleanup (indentations) 2016-06-07 DariusIII Fix: Revert Gamma to use customized utils.js and not the shared one. Fixes issue #2166 2016-06-06 niel Chg: Update minimum PHP requirements to 5.6.20+ Mrg: Update schema to use groups_id instead of group_id. Note this does note affect CBPM tables which will be done in a separate commit. 2016-06-06 DariusIII Chg: Enable third pre channel, remove bad sources from ircscraper_settings_example and IRCScraper class. 2016-06-05 b3rs3rk Fix: Fallback TV search now returns only specific episodes / also fix Season pack lookups 2016-06-03 b3rs3rk Fix: TV Processing returns alias for wrong show first instead of direct show title match Fix: Local lookup not working for airdates because Sxx/Exx is still being set as junk data 2016-06-03 DariusIII Add: Add multiple channels support to IRCScraper 2016-06-02 b3rs3rk Add: JSON Response formatting Fix: Need additional enclosure in TV Search API post-query check Fix: Additional issues with TV API search logic Add: Support for Season only searches with fast TV query Chg: Improve JSON Response class and refactor to make it like XML class Chg: Change some dates in the output to not use RSS style as they are not RSS attributes 2016-06-01 b3rs3rk Mrg: PR 2153 - Feature media Fix: Regex error in SP from #2153 Chg: Make nzb-export comments reflect a more specific date format Fix: nzb-import using filenames as searchname now strips .gz as well as .nzb Mrg: PR 2155 - Feature apixmlwrite Fix: Caps category issue caused by final class moves Fix: Caps Multi to single call not sending data in the correct format Fix: Caps subcategory listing sending subcatlist as element should be just subcat Fix: TV API query will wrongly return an tv_episodes_id value when no sxx/exx/airdate is passed Fix: Typo in RSS query Chg: Improve RSS query times by preserving JOIN orders 2016-06-01 DariusIII Chg: Composer.lock to match composer.json. 2016-05-31 b3rs3rk Fix: Bug with TV API changes that causes unmatched Show/Sxx/Exx queries to return data 2016-05-31 DariusIII Fix: Remove doubled and wrong preinfo function in Gamma theme's utils.js Fix: PreDB page layout in Gamma theme. Fix: Links to colorbox images in Gamma theme. 2016-05-30 niel Mrg: dev => Latest-testing to prepare for updating stable 0.x. 2015-05-29 DariusIII Chg: Replace icons with font-awesome counterparts in Alpha theme. Fix: Remove doubled and wrong preinfo function ih Gamma theme utils.js Fix: PreDB page layout in Gamma theme. Fix: Links to colorbox images in Gamma theme. 2016-05-28 b3rs3rk Fix: Greatly improve TV API search query when specifying ID/Season/Ep etc. Remove var_dump. Fix: Wrong array offset 2016-05-27 DariusIII Chg: Use well-sm in all the themes. Fix: Replace boostrap.min.css with Gamma theme custom bootstrap.css Fix: Fix link to autosize.min.js in Alpha theme. Fix: Fix tables layout in Gamma theme by removing table-striped attribute. 2016-05-26 niel Fix: Update some bower-asset's version strings to better reflect the version specified. Tightened versions for others to err on the side of caution. We can relax later if this prooves to be too tight. 2016-05-24 b3rs3rk Fix: Revert concat cat query to INNER and add WHERE constraint to exclude parentid being NULL Chg: Convert browse to use queryCalc method for cached counts to improve performance Fix: preid still in use in browse templates causing Pre'd tags to not show up in site view Fix: Make queryCalc strip out OFFSET/LIMIT tags from query before caching the SQL_CALC_FOUNDS_ROWS results 2016-05-24 niel Fix: Typoes in Changelog. Fix: Error checking for fetching SQL versions. 2016-05-23 b3rs3rk Chg: Improve RequestID query times (and update_releases thread performance) on larger databases Chg: Improve all Releases queries for larger databases by preserving join orders of smaller tables 2016-05-19 bart39 Mrg: Proper CouchPotato implementation #2151 @DariusIII 2016-05-17 niel Chg: Remove autopatcher script functionality. Replace with message to use ./zed update nzedb. 2016-05-17 b3rs3rk Mrg: Feature couchpotato #2148 @DariusIII Fix: Feature couchpotato should send IMDB ID from page request not release guid 2016-05-17 DariusIII Fix: Add artist - title display to Gamma music page. Fixes issue #2149 Fix: Add back 'None' to themes selection list in profile edit, so admin selected theme is used 2016-05-16 bart39 Fix: Buffer nzb creation fixes #2139. 2016-05-16 niel Fix: Profile edit included non theme names in its dropdown list. 2016-05-16 b3rs3rk Mrg: PR 2125, from Meganomic, Req Feature: Search Movies (Closes 1581) Chg: Clean up NZB class file indents and query strings Fix: NZBImport now sets the nzb_guid during the import 2016-05-13 b3rs3rk Fix: PostProcess Additional tmux query not accurate with PP add queue. 2016-05-12 niel Add: Reporting output for update git, db commands. 2016-05-12 b3rs3rk Fix: Browse ordering wrong due to added minSize push Mrg: PR Add leftguid column to releases to improve threading work queries #2144 Chg: Improve fixRelNames work queries 2016-05-12 DariusIII Fix: Remove derefferer links from CouchPotato url in Gamma theme. 2016-05-11 bart39 Fix: fix patch 438 / schema. Chg: Added some logging to help diagnose issue #2139 Chg: detect broken nzbs in clean nzbs. Chg: add method for rarinfo if missing. 2016-05-11 b3rs3rk Chg: Make some var changes in PP Add Fix: fix patch 438 missing trigger updates for release search table Fix: Invalid index errors in NameFixer caused by bad find and replaces in feature-db (temp) Fix: PP Add query using old releaseid Add: Feature request - Option to specify the minimum file size using the API? #234 Fix: Undefined index: anidb #2137 Add: REQUEST: include PREDBURL (if PREDB info exists) in extended=1 API information #2035 Chg: Make deleteSingle honor the release ID identifier as a PK delete will always be faster Chg: Make fixRelNames filename work query a bit quicker on larger databases by preserving table placement 2016-05-11 DariusIII Chg: Split UPDATE and DELETE query after NZB is created for release Fix: Remove argument from createGUID function call in createReleases function, as createGUID function does not use any argument. 2016-05-10 b3rs3rk Fix: Category Parent->Child name return function after Misc move Fix: WEB-DL shows as option in My TV shows when not used as a category #2110 Fix: 404 function had no parameter for reason even though it was being set and clean up BasePage Mrg: Feature db #2136 @niel Fix: Mulple issues in feature-db branch and some Gamma issues 2016-05-10 DariusIII Fix: Prevent deadlocks on binaries and releases update (fix @b3rs3rk). Chg: Add couchpotato icon to Gamma theme. Fix issue #2115 2016-05-09 DariusIII Fix: Partitioning in patch 0436. Chg: Replace requestid_threaded.py with requestid.php in ProcessReleases class. 2016-05-08 niel Mrg: Changing table 'category' to 'categories' along with references to categoryid => categories_id. **NOTE** This involves changes to your releases table. It will take some time, potentially a very long time, depending on the number of releases you have. Chg: Changing releases.preid to releases.predb_id in line with lithium conventions. Chg: Changing releases.musicinfoid => releases.musicinfo_id inline with lithium conventions. Chg: Changing releases.consoleinfoid => releases.consoleinfo_id inline with lithium conventions. Chg: Changing releases.bookinfoid => releases.bookinfo_id inline with lithium conventions. Chg: Changing various tables with releaseid => releases_id inline with lithium conventions. 2016-05-07 niel Chg: alter subsection,name fields to settings for recaptcha. Mrg: PR 2135, from zetas - Fix Recaptcha settings. Fix: Reference to configuration file/location for IRC Scraper in tmux-edit.tpl. 2016-05-06 DariusIII Fix: Missing use statement for Category class in admin pages. 2016-05-06 bart39 Fix: TV categorization mismatches. ** NOTE *** - you will need to do the following to fix the categorization: `php /var/www/nZEDb/misc/testing/Release/recategorize.php all` this will take a while to complete. 2016-05-06 DariusIII Chg: Comment out max_matches(deprecated since sphinx 2.2.3) and change sphinx.pid location to proper /var/run/sphinxsearch/searchd.pid 2016-05-05 niel Mrg: PR 2121, from meganomic - Yahoo search fix. 2016-05-05 bart39 Fix: update collection regex in a.b.mom Fix: Missing escape on release triggers. 2016-05-03 niel Fix: Force li3 connections to ignore Host/Port settings if a socket is provided. Mrg: Add 'composer install' instruction to ReleaseNotes (PR 2128). Fix: Reinstate the LINES TERMINATED BY clause to loading data files to override default behaviour of only using '\n' instead of '\r\n' that we need (Closes Issue 2104). 2016-05-02 bart39 Mrg: PR 2127, from rainje - New release name format not matched with reqid Chg: update schema and replace triggers for above PR. 2016-04-30 Mrg: dev => Latest-testing to prepare for updating stable 0.x. 2016-05-03 niel Mrg: Add 'composer install' instruction to ReleaseNotes (PR 2128). 2016-04-28 niel Fix: Code style foramtting. Fix: Removing pre-install-cmd from composer.json again. It kills the install for new users. User on dev branch will have to manually issue the 'git pull' command until I can find a work-around for this. Fix: Removing post-install-cmd from composer.json It doesn't work if nZEDb's configuration file has not been created, which is always the case on new installs. Fix: Restore the original method of doing git pull before composer install and update db after. 2016-04-28 DariusIII Add: 'gn' case to nfo retrieval in api, to be in line with newznab api spec. 2016-04-27 niel Add: Adding new nodes to nzedb.xml. This last script node will hold the date and ordinal of any script run as part of updating. This will allow us to specify scripts that the updating process can run to make changes other than simple file changes. It is intended that the scripts will *not* be included in the repo, but instead be fetched from github. Fix: Update Scrutinizer file to hopefully fix 'failed install' errors. Fix: PR 2120, from megonomic - Check for SD movies before HD ones, to prevent some being falsey matched. 2016-04-26 bart39 Fix: Update sphinx releases_rt index when release files are added. *** NOTE *** - you will need to do the following to update the sphinx index: 1) stop sphinxsearch - `sudo service sphinxsearch stop` 2) clear old index - `sudo rm /var/lib/sphinxsearch/data/*` 3) start sphinxsearch - `sudo service sphinxsearch start` 4) populate the index - `php /var/www/nZEDb/misc/sphinxsearch/populate_rt_indexes.php releases_rt` 2016-04-26 niel Add: Hash of git's current HEAD to version console command's git option. Fix: robots.txt incorrectly named robot.txt 2016-04-25 bart39 Fix: Iterator for populate_rt_indexes - fixes issue #2116. 2016-04-25 niel Add: New action 'predb' for Update console command. Only a stub method for now. 2016-04-24 niel Fix: Make Category IDs for 'Other' sub-categories match the code values. Chg: Increase Composer's process-timeout value to 6 hours, so update db doesn't time out so easily. Chg: Add 'pre-install-cmd' back to composer.json so that git pull gets run by composer install. Chg: Revert the 'pre-install-cmd' change. Keep forgetting that for the dev branch to be updated to the last commit, I have to update the lock file so the hash gets updated. 2016-04-22 DariusIII Fix: Links to detail pages in Gamma theme (remove release name). 2016-04-20 DariusIII Chg: 'Moved' more bootstrap files from themes to use shared/libs versions. 2016-04-19 niel Mrg: PR 2113, from Wally73 - simple-expanded.sh Screen script. Chg: Removed the .../cli/versions.php script. Use './zed version all' instead. Chg: Added nZEDb to li3 as a library, complete with .../nzedb/bootstrap.php file. Fix: Issue with `./zed update db` not working as expected. Mostly caused by not having nZEDb added into lithium as a library (see above). Chg: 'Moved' some bootstrap files from themes to use shared/libs versions. 2016-04-18 niel Add: 'branch' option to the versions console command. This tells you which git branch you're on. Add: Finished 'db' option for the update command. This checks for patches and updates the database accordingly (replaces .../cli/update_db.php script which will be removed shortly). Chg: Removed the .../cli/update_db.php script. Use './zed update db' to replicate, or './zed update nzedb' for everything in one operation. 2016-04-18 DariusIII Chg: Missed some files, cleanup unused scripts. Chg: Update themes to use libs handled by composer Chg: Update .gitignore Chg: Update composer.json Chg: Update .gitignore 2016-04-15 DariusIII Fix: Fix filelist display in all of the themes, reduce overhead in NZB class related to segments array. 2016-04-14 niel Add: Version console command. 2016-04-14 DariusIII Fix: Fix division by zero error when viewing filelist in Alpha and Default themes. 2016-04-13 niel Add: Refactored version of nzedb\utils\Git to li3 app\extensions\util\Git. 2016-04-11 niel Add: Initial 'Update' console command. Currently only updates the repo (via composer). ***NOTE*** `./zed update nzedb` is now the prefered method of updating. Do not `git pull` unless you know what you might be screwing up ;-) 2016-04-11 DariusIII Fix: Update autopatcher - fix issue #2096 Fix: Fix NFO display on coverpages in Light/Default themes. Second part of fixes for issue #2099 2016-04-10 niel Fix: Prevent undefined index isadmin on forumpost page in Gamma template Fix: DariusIII - Fix issue #2099 Broken links for NFO display on Charisma/Omicron cover pages Fix: Incorrect covers path for Apache users, caused by .htaccess file added to nZEDb directory during lithium integration. Add: New setting for ReCaptcha to switch it off. Defaults to on to prevent BC problems. This allows disabling ReCaptcha without having to remove your keys. NO UI component yet. 2016-04-09 niel Mrg: PR 2098, from Wally73 - Update read me. 2016-04-07 Darius Fix: Installation smarty related issue (Closes issue 2092). 2016-04-06 niel Mrg: Bring dev-li3 branch into dev. This includes composer changes and the lithium framework. ***NOTE*** You MUST install Composer to continue using nZEDb. See https://getcomposer.org/doc/00-intro.md#downloading-the-composer-executable We recommend the global method, as we do not provide the composer.phar file in our repo. ***NOTE*** After installing Composer, from your nZEDb directory run: `composer install` `./zed update nzedb`. You may have to set permissions on .../app/libraries and .../resources/smarty/templates_c Chg: Remove commit count from tmux's monitor display. 2016-04-04 niel Fix: Update version checking/updating code to account for branch renaming/changes. 2016-04-03 niel 2016-03-29 DariusIII Fix: Fix vendor autoload path in autoloader.php 2016-03-09 niel Chg: Move location of Smarty's additional directories (cache, compile, and config) to the resources directory. Fix: Correct namespace use for TVMaze, now composer handles install. 2016-03-28 niel Mrg: dev => next-master to prepare for updating master. 2016-03-30 niel Mrg: PR 2087, jmelen - Fix mismatched braces in api which caused search problems (Closes issue 2069). 2016-03-25 niel Fix: Releases' table videos_id and tv_episodes_id need to default to 0 (Closes issue 2084). 2016-03-24 DariusIII Fix: Default theme menus for cover/list views Fix: Alpha theme menus when coverview is not enabled 2016-03-23 niel * Fix problem with category entry for 'Other' being added with ID 100001 for new installs. 2016-03-18 DariusIII Fix: Issue #2080 Add back TV processing to NFO files processing. Fix: Issue #2082 Undefined index $covgroup in Alpha theme preventing cover|list view 2016-03-17 DariusIII Fix: Wrong name for failed releases in templates Chg: Change semantics for failed downloads in themes 2016-08-15 DariusIII Fix: NZBGet url error warning on empty NZBGet url on profile edit page. 2016-03-08 niel Fix: Alpha theme's posterwall had white on white characters in the dropdown list for category. Chg: Rename the ID for posterwall's select dropdown to be more unique and move its style definition to the posterwall.css file. Add: Commited a .gitattributes file. I've been using it foe several months now and it helps avoid certain kinds of problems (white-space checking on imported files for example.). Add: Lots of Composer work. 2016-03-05 niel Fix: Force users' saburl entry to have a trailing slash. 2016-03-03 bart39 Fix: Book categories in Site Edit "type of books to lookup". ***NOTE*** You may need to reselect these to pp them correctly. 2016-03-03 niel Mrg: Brought dev-themes into dev branch. ***NOTE*** That's why dates below are out of sequence, it is not a mistake. Fix: View NZB comments block from spilling beyond its wrapping grey box. Fix: Replaced Genres::CONSOLE_TYPE causing Console.php to fail. 2016-03-02 DariusIII Fix: Fix wrong path to shared images folder in Charisma/Gamma/Omicron themes Chg: Make Gamma theme menus dropdown on hover Chg: Make Gamma theme Bootstrap 3 compatible Chg: Update jQuery to version 2.2.1, use jQuery migrate 1.4.0 2016-03-01 niel Mrg: PR 2074, from zetas/kingcat - Removing extraneous container tags from alpha for Bootstrap v3. Fix: Incorrect constant name PC_GAME in predb.tpl, to correct PC_GAMES. 2016-02-29 DariusIII Chg: Replace form-search in Charisma and Omicron too Chg: Replace form-search with proper form-inline in Alpha theme 2016-02-27 niel Fix: Positioning of View/Admin buttons on category browse pages (Closes PR 2063). Fix: Console page, rows going outside the grey box element. 2016-02-25 DariusIII Chg: Replace custom filtering code in Charisma/Gamma/Omicron themes with search-filter. Chg: Move rss, rssdesc and search-filter.tpl to themes/shared folder. Fix: Fix the rss of Gamma theme. Fix: Prevent undefined index userdata notice in headermenu of Charisma/Gamma/Omicron themes. Fix: Fix "too few arguments" error in Tmux class. 2016-02-24 niel Fix: Issue 2011 - Default Template Issues. Fix: Issue 2026 - Alpha theme. The Audio menu item does not work as intended. 2016-02-19 DariusIII Fix: Gamma theme headermenu when not using coverviews. Chg: Move group browsing from user to left side menu in Charisma/Omicron themes. 2016-02-17 niel Fix: Prevent unkown index '0' for null pagertotalitems result and force a zero value if missing. 2016-02-15 niel Chg: Use Category constants instead of numbers in 33 template files of various themes. Chg: Use Category constants instead of numbers in 11 code files from misc and nzedb directories. Mrg: PR 2061, from zetas - Moving ad display to a partial for Alpha theme to unify look and functionality. 2016-02-15 DariusIII Fix Fix template tag errors in Alpha viewanime and viewseries.tpl 2016-02-14 DariusIII Chg: Change category numbers to category constants in themes search-filter.tpl 2016-02-13 DariusIII Chg: Change category numbers to category constants in themes predb.tpl 2016-02-12 DariusIII Chg: Update themes headermenu.tpl to use category constants 2016-02-27 niel Mrg: dev => next-master to prepare for updating master. **IMPORTANT** Be aware that for the next update (April) the stable branch will no longer be the master branch. It will be renamed to 0.x. You HAVE to run the following commands to stay on stable code: git checkout master git branch -m 0.x git fetch -p git branch --set-upstream-to=origin/0.x 2016-02-23 niel Chg: Remove unneccessary MYSQL_ATTR_INIT_COMMAND from PDO dsn options array. This was only needed before PHP 5.3.6 as 'charset' was ignored. Fix: Updated Ubuntu-14.04.2-Install to use mysqlnd library instead of the no longer maintained version. 2016-02-22 b3rs3rk Fix: Long running queries for RemoveCrap WMV 2016-02-20 niel Fix: Correct path for images on opening page of Install. 2016-02-15 niel Mrg: PR 2062, from zetas - Disable API access for disabled users. 2016-02-04 niel Chg: Updated Smarty to version 3.1.29 Chg: Created second directory for Smarty plugins (.../www/plugins) where we will keep our custom added plugins to avoid issues when updating Smarty. 2016-02-03 niel Mrg: PR 2055, from DariusIII - Fix paths in Charisma theme. Mrg: PR 2056, from DariusIII - Replace deprecated html tag
with proper CSS. Fix: Regression that remove WWW_THEMES definition from Page class. 2016-02-03 DariusIII Mrg: PR 2054 - Change references of releasetitle to title in myshows-add page of Charisma/Omicron theme Fix: Wrong paths to scripts in Omicron theme Fix: Fix profileedit pages in Charisma/Gamma/Omicron templates 2016-02-02 niel Mrg: PR 2051, from DariusIII - Correct wrong variable usage and replace it with proper one ($rid => $video) in myshows-add.tpl template file for all themes. Fix: Copy jquery.qtip2.js to themes/shared/script so requests can find it. Fix: Make Category::getCategoryOthersGroup static, so it is accessed like a constant would be. Fix: Fix reference to 'template' instead of 'theme' in the Omicron basepage.tpl 2016-01-31 niel Mrg: dev => next-master to prepare for updating master. 2016-01-30 niel Chg: Juggle Book category values so they match the existing ones of neznab's published API. 2016-01-29 niel Mrg: PR 2044, from DariusIII - Rework Omicron/Charisma basepages and Omicron login/register checkboxes. Mrg: PR 2046, from DariusIII - Prevent undefined index notices for failed downloads in Omicron and Charisma themes. 2016-01-26 niel Mrg: PR 2037, from DariusIII - Move Other cats to 0000 range, books cat to 7000 range. 2016-01-23 niel Mrg: PR 2041, from DariusIII - Update Noty package to version 2.3.8 and move it to shared/libs folder. 2016-01-21 niel Mrg: PR 2039, from DariusIII - Prevent undefined index notices in full series and movies view, remove references to nzbvortex and nzbgetintegration. Mrg: PR 2040, from DariusIII - Update isISO categorization. 2016-01-26 niel Mrg: PR 2037, from DariusIII - Move Other cats to 0000 range, books cat to 7000 range. Fix: Changing the CAT_OTHERS_GROUP array to be a function instead, as array constants are not supported for PHP 5.5. When 5.5 reaches EOL in July we can revisit this. ***NOTE*** on larger data sets the patches will take a long time to run. Chg: Update SQL patch 422 to improve speed on larger data sets. Thanks to NZBMets for the idea. (reverted). Fix: Remove the previous change to patch 422. ***Note*** Anyone that used the bad version will have to run the recategorise script to fix things, sorry for the hassle. Fix: Add remove partition query before adding the new partition. 2016-01-18 niel Mrg: PR 2036, from DariusIII - Fix books menu in Gamma template. 2016-01-16 niel Chg: Update getID3 library to version 1.9.11 2016-01-11 niel Mrg: PR 2027, from DariusIII - Fix white letters on profile site theme selection, replace references to nntmux/newznab with nzedb. 2016-01-09 niel Chg: Delete duplicated bootstrap files in shared theme. Chg: Rename shared directories: images => img, scripts => js, styles => css to be more conventional. 2016-01-08 niel Fix: More bad URLs in Charisma/Omicron. Mrg: PR 2023, from DariusIII - Fix wrong path to shared folder in Gamma theme. 2016-01-07 niel Fix: Several bad URLs in Charisma/Gamma/Omicron themes (missing '/' after the smarty constants). 2016-01-06 niel Mrg: Bring in dev-git-hooks changes. Adds whitespace checking/fixing to pre-commit hook. 2016-01-05 niel Fix: Remove duplicate menu items for Login and Register in menu_items.tsv Fix: In some cases, if not logged in, no theme is defined and certain links are broken with themes//style... appearing instead of a proper link. 2016-01-04 niel Fix: Added missing template file to Default theme which caused 500 error when clicking on movie title in covers view. Mrg: PR 2012, from DariusIII - Update Captcha.tpl with noscript fix, make browse groups in Charisma/Omicron themes sortable. 2016-01-02 niel Mrg: PR 2012, from egandt - Fixed paths in Charisma/Omicron themes. 2016-01-01 niel Mrg: dev => next-master to prepare for updating master. 2015-12-30 niel Mrg: PR 2010, from DariusIII - Fix missing table definition from queries in NameFixer. 2015-12-27 b3rs3rk Fix: Issue #2001 - update_releases.php -> Call to undefined method finfo::close() 2015-12-23 niel Mrg: PR 2007, from Darius - Change grabs and group browse ordering in Gamma. Chg: Merged in dev-themes branch. This moves the themes_shared directory to themes/shared. More importantly it now assumes a convention that themes should use Title cased names or they are not presented as available selections. Admins may rename the directory of any theme they want to omit from user choice to be fully lower-case (the change must be commited to prevent overwriting by next update). This change will be the basis for further improvements in time. Mrg: PR 2005, from Zeta - Adding noscript support to recaptcha. 2015-12-22 niel Mrg: PR 2006, from Darius - Fix wrong video sample extension in Gamma template. 2015-12-15 b3rs3rk Mrg: PR #1987, from Darius - Add Gamma template made by RickDB (adapted by Darius) Mrg: PR #1998, from Darius - Declare $client property in nzedb/processing/tv/TMDB.php 2015-12-14 b3rs3rk Chg: DNZB failures shouldn't send an easily corrupted searchname. Now retrieves it from the DB by sent guid instead. Fix: Attempt to fix issue with releases that have parts counters in the searchname not being sent to Sab properly 2015-12-13 b3rs3rk Fix: Too many arguments for sprintf and re-work Dnzb Failures a tiny bit as I'm getting strange results Fix: Provide a DNZB response code when no alternate match is found in DNZB query instead of just showing 404 2015-12-11 b3rs3rk Chg: Move video type check to JOIN instead of WHERE in API TVSearch Fix: Spacing issues with AniDB and small update to parsing Chg: Greatly improve CodecPoster accuracy and query speed Fix: Query update didn't have crapTime in it 2015-12-10 b3rs3rk Chg: Change COUNT(*) queries to count the primary key columns to improve query performance Chg: Re-work the count querying in PreDB class 2015-12-09 niel Chg: Refactored git hook scripts. They now live in .../build/git-hooks. Run .../build/git-hooks/addHooks.sh to create a symlink to the .git/hooks directory. ***NOTE*** When commiting, staged files will have trailing white-space replaced. This **WILL** cause problems if you have unstaged changes for the same files, as they will be committed as part of the white-space replacing. 2015-12-08 bart39 Mrg: PR #1996, from darius - Fix paths to scripts in charisma/omicron themes. Mrg: PR #1995, from darius - Fix wrong paths in omicron/charisma templates. Fix: omicron/charisma movie cover links. 2015-12-07 niel Fix: Cleaned up over 16K occurences of trailing white-space in Charisma/Omicron theme files. Again! Fix: Cleaned up space-before-tabs. 2015-12-06 niel Fix: Column genre_id in gamesinfo table, not patched when schema was updated around patch 278. 2015-12-04 b3rs3rk Chg: TVDB and TVMaze scripts now support Airdate lookup testing. Fix: RemoveCrap Executable with Sphinx finding too much for the limit 2015-12-02 b3rs3rk Mrg: PR #1985 - Add Trakt Support to Dev 2015-11-29 niel Mrg: dev => next-master to prepare for updating master. 2015-11-29 bart39 Fix: missing 'AND' from browseBy. 2015-11-28 bart39 Chg: update readme - postgres NOT supported. Chg: Also remove tv schedule update from threaded script. 2015-11-28 b3rs3rk Mrg: PR #1977, from darius - Fix the full movie view in omicron/charisma templates Mrg: PR #1979, from Wally73 - Update simple.sh to remove tv schedule script default Mrg: PR #1980, from kaibosh - Change default to PHP version of scripts rather than python ones in threaded screen script 2015-11-24 b3rs3rk Mrg: PR #1973, from darius - Adjust omicron/charisma templates to failed releases count fix Fix: Bad merge on my part which reverted some DDL in the schema. Reverted to dev and then made the one branch change 2015-11-23 b3rs3rk Fix: Failed counts for cover views being lumped together instead of group_concat Chg: Speed up Music, Games, and XXX cover views Fix: Forgot to fix movies cover view not returning a single dimension array when none are found 2015-11-24 bart39 Mrg: PR #1971, From darius - Update templates to font-awesome 4.5.0. Mrg: PR #1970, From darius - Fix count of failed releases. Mrg: PR #1964, From darius - Remove option to postprocess properly renamed releases from tmux. 2015-11-23 b3rs3rk Mrg: PR #1969, From darius - Change dnzb_failures table layout, drop indexes, add new PK Fix: Broken queries in DnzbFailures, change logic to reduce clutter and excess queries Fix: Broken DF queries in Releases Chg: A few more refinements for DNZB failures Chg: Make some things public in TV to allow external script runs Fix: XmlException errors in TVDB not being caught Fix: Queries in DnzbFailures not working properly Fix: Security issues with DnzbFailures 2015-11-23 bart39 Mrg: PR #1968, From darius - Fix the dnzb failures part of search query in Releases.php. Mrg: PR #1965, From darius - Add changes for api and pager to charisma and omicron templates. 2015-11-20 b3rs3rk Chg: Move PK on release_nfos to releaseid. Improves NFO joining operations and reduces overhead. Fix: Update schema for release_nfos change Fix: Don't cache failed TV lookups when the Episode didn't find a match but the show did 2015-11-20 bart39 Mrg: PR #1960, From izolight - More tvmaze fixes. 2015-11-18 b3rs3rk Chg: Make categorizeReleases query search for iscategorized in the correct partition Add: include NFOURL (if NFO exists) in extended=1 API information #1962 Add: Make NFO file retrievable for a release via the API and update documentation Chg: Update the alpha API description for NFO. Fixing bad copy paste. Chg: Improve error reporting for API NFO. Add: queryCalc function to DB Class to allow cached SQL_CALC_FOUND_ROWS Fix: Typo in queryCalc strpos / forgot to pass cache to query in queryCalc / cache the result instead of the array Chg: Re-work movies cover view queries and make all data sets cacheable / remove count function for movies cover views Fix: A ton of spacing issues I introduced and some others that were already existing in Movie class Chg: Re-work books cover view queries and further improve the query / Remove some lingering query stuff that isn't needed Fix: Undefined offsets when accessing pre query for Books Chg: Re-work consoles cover view queries Chg: Pager template should not round, using ceil to always round up for the last page is a better choice 2015-11-17 b3rs3rk Chg: Move PK on release_files to releaseid/name. Drastically improves query performance with optimizations to follow. Fix: Add DROP IF EXISTS for temp table in patch Add: IMDB Icon to TV new poster wall 2015-11-17 bart39 Fix: If episode airdate not set insert null. Fix: tvmaze response status can return 404 which we want to exclude. Fix: Tv name parsing regex. Mrg: PR #1959, From izolight - Fixes for tvmaze lookup. 2015-11-15 b3rs3rk Add: TV Failed Title Lookup Cache (Thread Persistent like Amazon) Fix: Bad merge broke regex again Chg: If TVDB cannot reach the API, catch the error and force local lookup Fix: Add XmlException to try/catch Chg: Remove year tags from TVMaze lookup as it returns no results with them Fix: Season Packs not showing up correctly in View Series Chg: Speed up books cover view Chg: Speed up XXX cover view Chg: Speed up Console cover view (fix discrepancy in count) 2015-11-14 b3rs3rk Mrg: PR #1953, Add TVMaze and TMDB Scrapers Fix: Duplicate Alias Errors and cache alias lookups Fix: TraktTv abstract errors from missing functions Chg: AmazonProductAPI now namespaced and autoloads across project Chg: Speedup Music Cover Views and cleanup a lot of the queries / fixed some issues Fix: A few typos with the Music change Chg: Cache counts for Movies, Music, Games Fix: Undefined offset and foreach errors in TMDB Fix: SmartyTV class abstract errors / fix a few template issues Chg: Releases that fail to parse for TV proc go into their own queue for review Fix: First TV name processing Regex not enforcing the start of the string Fix: Bad logic for airdate shows after cleanup of TV parsing (Actually fixed) 2015-11-14 bart39 Mrg: PR #1952, from Darius - Fix book related problems due to wrong var used. Mrg: PR #1951, from Darius - Ignore duplicate comments. Mrg: PR #1949, from rainje - Add french flag to "multi" releases. Fix: Another regex fix. Fix: Collection regex errors noted in #1954. 2015-11-10 niel Fix: Remerged Darius' original charisma/omicron themes into next-master. Hopefully this will fix the issues for master, but may need more work yet. 2015-11-09 b3rs3rk Fix: Sonarr's "RSS" is just using the API with no parameters. Left joining should 'fix' this until it can be addressed with the Sonarr team. Fix: Wrong if condition for TVDB Test script return Chg: Greatly improve movies cover view query time. Depending upon others' findings it is easily adapted to the other views. Chg: Greatly improve games cover view query time. Edit: missed a comma. 2015-11-07 bart39 Fix: Collection regex errors. Mrg: PR #1948, From izolight - Regexes from request thread. Add: ddl / tsv changes for izolight patch. 2015-11-06 bart39 Mrg: PR #1868, From izolight - Add regexes for korean newsgroups. Add: ddl / tsv changes for izolight patch. 2015-11-05 b3rs3rk Fix: Schema data for countries table using invalid column for private key 2015-11-04 bart39 Fix: Attempt to fix AEBN / ADM lookups #1914. 2015-11-03 bart39 Fix: Release-edit redirecting to wrong page #1940. Fix: Change patch 391 to drop and recreate user_series table due to unknown issue on InnoDB. 2015-11-02 bart39 Fix: index name on user series. 2015-10-30 b3rs3rk Fix: Attempt to fix Issue #1844 Pager counts not reflecting release availability 2015-10-29 b3rs3rk Fix: Tmux counters not accurately reflecting TV work (still off until new scrapers are finished) Fix: SCR in ReleaseRemover and improve query times for all release_files operations on larger databases 2015-10-28 b3rs3rk Chg: Speed up series list view query by removing releases join Mrg: PR #1930, From Darius - Remove totalrows count from functions, api and templates Chg: Release Browse Queries not respecting table position on larger Databases with MariaDB 2015-10-27 b3rs3rk Mrg: PR #1925, From Darius - Fix anime pages in omicron/charisma. Fix a typo in mysql-ddl.sql Mrg: PR #1928, From Darius - Move My Shows to account menu, remove links to calendar and add Anime Series link to charisma template Fix: Country not being extracted from release / Improve TVDB matching when country exists 2015-10-26 b3rs3rk Fix: Some local lookups were passing with invalid information causing them to show up as season 0. Fix: View TV Series query speedup caused incorrect join placement (2nd Attempt) Fix: Trakt class instanciation not working to the API Fix: Incorrect usage of date function (missing strtotime for int value) Chg: Removed pager count from releases->searchShows. It is only called by View Series List and API and neither use a pager function. Mrg: PR 1922, from Darius - Add changes to omicron/charisma templates for new TV. Fix: Massive non-cover view browse speedup due to query restructure. Also helps some API/RSS functions. Fix: Issue with last push breaking browse groups (Second fix -- second order by to preserve selected ordering) Fix: Undefined offset in TV.php causing issues with season assignment for some airdate shows. 2015-10-25 b3rs3rk Mrg: PR 1916 Replace TVRage Processing with TVDB Note: We found a bug dating back to the beginning that caused bad titles to be inserted into the TvRage table As such, we decided not to incorporate the title data by migrating it to the new videos schema. We are not dropping the tables yet As there is still promise in joining the tables at a later date to populate some fields. 2015-10-18 bart39 Fix: No covers shown on XXX /details pages #1918. 2015-10-13 b3rs3rk Mrg: PR 1912, Change the order of removal in Patch 385 2015-10-12 niel Mrg: PR 1904, from Darius - Update parseTraktTv function, as it was occasionally inserting covers with tt prefix. Mrg: PR 1905, from Darius - Fix the layout of tv->anime page. Mrg: PR 1906, from Darius - Extend episodeSummary function with extended type switch for future use. Mrg: PR 1907, from Darius - Update the search page in omicron/charisma templates. Mrg: PR 1910, from Darius - Move all the TV related classes so nzedb/processing/tv folder. Move the processTvReleases function into main TV class. Mrg: PR 1911, from Darius - Remove text_hash column, trigger and index from release_comments. 2015-10-08 b3rs3rk Chg: Improve Codec Poster removal query times by incorporating Sphinx FT if enabled Chg: Lots more love for Sphinx FT in ReleaseRemover. Greatly improves query times on big databases. Chg: Few more changes to RR 2015-10-07 b3rs3rk Mrg: PR #1902 Make TraktTv class extend TV class, add box office support into class. Mrg: PR #1901 Add deletion of dnzb_failures to deleteSingle Fix: Issue #1900 Undefined index error in updateTvRage.php 2015-10-06 b3rs3rk Mrg: PR #1898 Adjust templates for tvrage images change. Mrg: PR #1899 Remove echooutput from TvRage class and move it to parent TV class Fix: ReleaseRemover not honoring LIKE search types causing blacklist removal issues and not producing enough matches in SPHINX mode 2015-10-05 niel Mrg: PR 1895, from Darius - Add view release option to failed releases list. Do not post comment for user, if that user already posted the failure automated comment. 2015-10-05 b3rs3rk Add: Script to extract TV covers from the database and save them to the tvrage directory in covers Chg: Set TV cover images to pull from /covers/tvrage/ ***NOTE*** Run the extractTVCovers script in misc/testing/PostProcess/ *** Fix: Error in extract script and a query error for new poster wall for TV Del: getimage.php as it was only used for displaying TV images... TV now adopts the standard cover method Chg: updateTvRage script now looks for hascover = 0 instead... which still won't work because TVR is down Mrg: PR #1897 Anime new poster wall view Mrg: PR #1894 Change TVDB client class call Fix: Forgot to add untracked anidb icon for poster wall Fix: AniDB poster wall query not grouping by release Fix: Attempt to fix AniDB icon not showing in multiple themes Fix: Omicron poster wall typo, wrong script name in patch file 384 Add: updateTvRage.php in misc/testing/PostProc will now run in check mode to reconcile image files against the DB if you imported Fix: Alpha TV New Poster Wall missing div tag 2015-10-04 b3rs3rk Mrg: PR #1893 Integrate Moinax TVDB API 2015-10-04 niel Add: PSR-0 compliant autoloader for libs namespace. Mrg: PR 1890, from Darius - Fix host column misplacement in admin comments list when user ip tracking is enabled. Mrg: PR 1891, from Darius - Add text_hash column, triggers, and index to release_comments to prevent insertion of duplicated comments originating from automated messages, sharing etc. Mrg: PR 1892, from Darius - Add list of releases failed to download reported by X-DNZB-Failure headers to admin area. 2015-10-02 bart39 Fix: invalid icon links in omicron / charisma themes. 2015-10-01 niel Mrg: dev => next-master to prepare for updating master. Mrg: PR 1885, from Darius - Add statistical info for grabbed/failed releases to cover, browse and search pages. Mrg: PR 1889, from Darius - Automatically generate comment on failed download. 2015-10-01 bart39 Fix: updated predb insert trigger that got missed for new installs, fixes #1875. 2015-09-26 niel Chg: Altered settings.example.php Corrected erroneous references to settings.php.example (formatting was altered as a side effect of copy/pasting). Changed default value of PHPMAILER_ENABLED constant to 'false' instead of undefined (it was commented out). Changed error reporting level to not exclude any messages, as our code should run clean and therefore *any* messages should be investigated. **NOTE** Generating messages slows down the running code and hiding them does not stop them being generated, just displayed. 2015-09-22 bart39 Mrg: PR 1884, from DariusIII - Reorganize X-DNZB-Failure header support related pages (failed.php and getnzb.php) Mrg: PR 1883, from DariusIII - Add filters to cover pages. 2015-09-21 bart39 Mrg: PR 1882, from DariusIII - Fix the encodeAsUTF8 function. 2015-09-19 niel Mrg: PR 1878, from DariusIII - Fix api json output. Fix: Adding failure test for JSON encoding, which returns an API error. 2015-09-15 niel Fix: Typo in variable name which causes a missing index warning. 2015-09-14 b3rs3rk Add: Base TV Class to make the addition of a new TV scraper easier Chg: Re-organize and trim some fat out of TvRage.php in preparation for its glorious return 2015-09-11 niel Mrg: PR 1870, from DariusIII - Change font used in omicron and charisma templates, adjust layout of coverview pages. 2015-09-11 bart39 Mrg: PR 1854, from rainje - Fix issue #1850 - Three Arrows when viewing movie upper right corner. 2015-09-10 kevin Fix: Issue with empty array causing query to fail in PR 1871 2015-09-09 niel Mrg: PR 1871, from bfincher - Display the date which a binary black list was last used. 2015-09-08 niel Mrg: PR 1869, from DariusIII - Add back missing invites in profile page of charisma/omicron templates. Mrg: PR 1870, from DariusIII - Change sidebar menu XXX into Adult to match headermenu, change the icon. 2015-09-05 niel Mrg: PR 1856, from DariusIII - Fix display of api/download hits, in omicron and charisma templates, in last 24 hours. Mrg: PR 1857, from DariusIII - Fix background colors on profile and profile edit pages. Mrg: PR 1858, from DariusIII - Adjustments and fixes in charisma and omicron templates. 2015-08-31 bart39 Fix: Return false if trakt title is not set when fetching properties. 2015-08-30 bart39 Fix: collection regex edit page not showing the result. 2015-08-29 rullatio Mrg: PR #1849 Fix RSS Content Length Response 2015-08-28 b3rs3rk Fix: Sphinx Search broken for MariaDB installs (re-run create_se_tables script) 2015-08-27 b3rs3rk Fix: API Search function not including -1 for fileName parameter breaking API search 2015-08-27 niel Add: predb export script now has a default filename (predb_export_YYYYMMDDhhmmss.tsv) if only a path is specified. 2015-08-26 bart39 Mrg: PR 1843, by b3rs3rk - Sphinx Full-Text Search for Filenames. *** NOTE *** - you will need to do the following to update the sphinx index: 0) Minimum Sphinx v2.2.9 1) stop sphinxsearch - `sudo service sphinxsearch stop` 2) clear old index - `su * Chg: do rm /var/lib/sphinxsearch/data/*` 3) copy updated conf file - `sudo cp /var/www/nZEDb/misc/sphinxsearch/sphinx.conf /etc/sphinxsearch/sphinx.conf` 4) If you had previously edited the conf file - you will need to re-edit again. 5) start sphinxsearch - `sudo service sphinxsearch start` 6) recreate the tables - `php /var/www/nZEDb/misc/sphinxsearch/create_se_tables.php 0 9312` 7) populate the index - `php /var/www/nZEDb/misc/sphinxsearch/populate_rt_indexes.php releases_rt` 2015-08-26 kevin Add: Xdebug and PHP settings to nzedb\config\settings.php 2015-08-25 bart39 Fix: Truncate rather than word-wrap #1846 - clear your smarty cache. Fix: Revert word-wrap change that caused a space to appear in release titles (alpha theme) #1846 - clear your smarty cache. 2015-08-25 niel Chg: Added note to copy nZEDb/nzedb/config/settings.exmple.php to nZEDb/nzedb/config/settings.php on opening Install page. Fix: Typo $this->tablePerGroup to $this->_tablePerGroup. Fix: Predb import dailies script does not have an OPTIONALLY ENCLOSED BY value (and there wasn't a default one) so group names were loaded quoted and consequently inserted into the groups table that way. 2015-08-24 bart39 Fix: Removed another "AND" from SQL query which cause a syntax error. 2015-08-24 niel Mrg: dev => next-master to prepare for updating master. 2015-08-23 bart39 Fix: Drop trigger from collections that got missed with recent changes. 2015-08-22 bart39 Mrg: PR 1841, by b3rs3rk - Refresh all releases indexes to align with new schema. Fix: Invalid datetime format when updating consoleinfo if releasedate is blank. 2015-08-21 b3rs3rk Fix: Issue #1819 - Console Processing failing to validate Amazon API Return Chg: Console Processing Local will now require an exact platform match just like the Amazon lookups to prevent incorrect platform matches 2015-08-21 niel Fix: predb_import_daily_batch script to properly calculate last timestamp for progress mode. 2015-08-20 bart39 Mrg: PR 1838, by terbonium - removed "AND" from SQL query which cause a syntax error. Mrg: PR 1837, by terbonium - cbp delete fix. 2015-08-20 b3rs3rk Fix: Anime covers not showing properly Chg: Add Anime Series view to header menu->TV Fix: Omicron Anime view not honoring $nodata when no releases match the AniDBID Chg: Single table scan for expensive tmux monitor queries (6-8x reduction in time required to loop) thanks to @terbonium Add: TV to Omicron side bar menu 2015-08-19 bart39 Fix: PHP error if rowCount() is null #1834. 2015-08-19 b3rs3rk Chg: Re-work queries for faster CBP deletion and greatly improve page load times/dehash work queries Fix: Another failing query in ProcessReleases which could almost certainly DB swell 2015-08-18 niel Fix: PreDb import and export scripts to work as expected. 2015-08-18 bart39 Fix: Amend ab.moovee collection regex that was splitting subs out separately. Mrg: PR 1827, by terbonium - moved releases update into foreach of matching releases. 2015-08-17 b3rs3rk Add: Blacklist regex for 16 character hash floods in kenpsx and frogs (Remove +1 patch -- whoops) Fix: Blacklist regex not matching properly 2015-08-17 bart39 Fix: predb_export / getImdb scripts typo's Fix: various links to testing/PostProc corrected to testing/PostProcess. Mrg: PR 1825, by terbonium - part.id column no longer exists.. match on non-recent binaryid's. Mrg: PR 1824, by darius - Add TRAKT link to details page. Mrg: PR 1823, by terbonium - set collections orphan cleanup to run only 1/200 of the time. Mrg: PR 1822, by terbonium - select was matching against releases already marked NFO_FAILED which then executed a duplicate DELETE on releases_nfo. Fix: Display of movie trailers #1811. 2015-08-16 bart39 Fix: Checking for existing movie trailers. Fix: Typo in Movie.php. Fix: Add missing quote for echo in predb_export. Chg: minMaxQueryFormulator to maxQueryFormulator - min not required. Mrg: PR 1820, by darius - Add TraktTv cover support for movies. 2015-08-15 niel Fix: PreDb export script. Typo prevented executing prepared statement. Had to put ENCLOSED BY clause into prepared statement, instead of passing it as a parameter. 2015-08-15 b3rs3rk Fix: DELETE Query missing collections alias 2015-08-15 bart39 Fix: Fix movieinfo insert errors with long ratings (mainly from trakt). Chg: Alpha theme updates for newposterwall / word wrapping. Chg: Categorize updates. Chg: When starting tmux monitor don't analyze releases table if engine = InnoDB (InnoDB uses online analysis). 2015-08-14 bart39 Mrg: PR 1817, by terbonium - reworked patch to get around duplicate data in parts table. ***NOTE*** run this sql to reset sqlpatch if you already ran patch 374 and failed before patching: UPDATE settings SET `value` = 373 WHERE setting = 'sqlpatch' AND `value` = 374; Mrg: PR 1816, by terbonium - removed id and collectionid from parts table, updated primary key to (binaryid,partnumber). Fix: Set NULL tmdbid values to 0 before altering the default value in patch 372. Mrg: PR 1813, by darius - Add back missing triggers into releases table. ***NOTE*** if using sphinxsearch then run 'php misc/sphinxsearch/toggle_search_type.php sphinx' to remove unnecessary release_search_data triggers. Fix: Correct default value for tmdbid to '0' 2015-08-14 b3rs3rk Chg: Make UPDATE queries in postproc use partitioning Chg: Improve TV matching a bit Fix: Issue 1814 Bad XXX processing query Fix: Patch 374 typo and add CALL and DROP Add: *** MUST RUN *** TPG Script to DROP old collections TRIGGERS after Patch 374 /nzedb/build/_runonce/tpg_delete_triggers_2015-08-14.php Chg: Permissions on TPG scripts Fix: TPG Creation function called when adding a new group in Site Admin no longer adds the delete triggers 2015-08-14 kevin Chg: Add default values for movieinfo table. Fix: Check if trakt data has a imdb ID. 2015-08-13 b3rs3rk Chg: DB optimization: Change nzb_guid to BINARY(16) 2015-08-12 DariusIII Fix: Issues on Omicron/Charisma themes. 2015-08-11 terbonium Chg: Improve performance of predb_hash table and queries by storing hashes as binary. 2015-08-11 kevin Chg: Better support for DELIMITER in DbUpdate. 2015-08-10 kevin Fix: Issue where youtube trailer URL's would get overwritten with the wrong URL. Fix: Issue where API NZB downloads would fail. 2015-08-10 Darius Fix: Typo in nzedb\Movies. 2015-08-07 kevin Chg: Parse most of the TraktTV details for movies. Chg: Store movie trailer URL's in the database. Chg: Add movie trailer configurable settings to Admin section of site. Chg: Refactor some methods in Movie.php Fix: #1782 Unused title parameter in getnzb and details page intermittently caused them not to load. 2015-08-07 terbonium Fix: Escape the "_" character in LIKE clause of query of patch 360. #1801 http://git.io/vOFcf 2015-08-06 niel Fix: Added default SSL values check for installation process. 2015-08-06 b3rs3rk Fix: Delete query for stuck collections 2015-08-06 kevin Fix: nzedb\db\DbUpdate::splitSQL ; Properly parse delimiters for patches. ; Parse comments. Mrg: PR 1796, by terbonium - SQL optimizations. Mrg: PR 1793, by kevinlekiller/b3rs3rk/DariusIII - Delete collections that are broken after a timeout period. Issue #1791 Mrg: PR 1797, by DariusIII - Change buttons in viewseries.tpl to be in line with the other pages. 2015-08-05 niel Fix: Install process to use install.php instead of smarty.php Fix: Bad span end tag is install step 2 template file. Fix: Reverted kevin's earlier 'fix' for Step 2 of install. The constant must exist or the bug is elsewhere. The bug was not having 'settings' as part of install configuration. Mrg: PR 1789, from darius - Remove getQueue function from utils.js as it was conflicting with a function in our JS. Cleanup trailing whitespace. 2015-08-05 kevin Fix: Step 2 of install. Mrg: PR 1795 from terbonium - group OR operators () properly for proper index usage on date column and prevent full table scans when not needed 2015-07-31 bart39 Mrg: PR 1786 from darius - Add XXX back cover view and games screenshot view to release details. Mrg: PR 1781 from darius - Add movie rating to movies page, remove year from xxx template. 2015-07-30 bart39 Mrg: PR 1784 from iguyking - Create a new Ubuntu 14.04.02 install instructions. Mrg: PR 1780 from darius - Add send to cart and send to my queue buttons to rest of the pages. Mrg: PR 1779 from darius - Change the search page and results display, add send to cart and send to my queue buttons to movies page. 2015-07-25 niel Chg: Merging in dev-configs branch. This adds a new Configure class and streamlines autoloading further. ***NOTE*** This will require moving config.php and settings.php from .../www/ to .../nzedb/config. You will also have to remove the require_once line from the bottom of config.php 2015-07-24 niel Fix: updated regex for predb_import_daily_batch script to account for Dropbox's changes to link HTML. 2015-07-24 bart39 Mrg: PR 1775 from darius - Add buttons for actions in posterwall. 2015-07-23 bart39 Mrg: PR 1774 from darius - Change the color of posterwall in charisma template. Mrg: PR 1773 from darius - Fix errors in usefullinksmenu.tpl. Mrg: PR 1772 from darius - Home buttons and menu will now load the site home link setup in admin>site edit area. Mrg: PR 1771 from darius - Add new german variant of codecposter spam releases. Mrg: PR 1770 from darius - Fix search in new templates, final fix for posterwall and update the base of Omicron template (AdminLTE) to version 2.2.0. 2015-07-22 bart39 Fix: Bad regex causing preg_match errors. Mrg: PR 1769 from darius - Partial fix for newposterwall, remove newznab-tmux reference from search page. Mrg: PR 1768 from darius - Fix styling of new themes, add back new releases posterwall. 2015-07-19 niel Fix: Quick fix for Smarty class not loading in .../misc/testing/DB/autopatcher.php Mrg: PR 1764, from Darius - Make max.headers.iteration editable in admin => site-edit. Fix: Had to rename the 'setting' for max.headers.iteration to allow it to work with smarty template. Fix: Removing unneccessary require_once for Utility.php. No longer needed as autoloading covers it and Utility is gone. ;-) 2015-07-18 niel Chg: Renamed Utility class to Misc. It should only contain odd methods that do not fit in anywhere else. Chg: Created a new utility class 'Text' and moved various text based methods into it from Misc. 2015-07-18 bart39 Mrg: PR 1763 from darius - Fix the reference to Tabula-Rasa test site. Chg: Change baseplate text to be consistant across all themes. Mrg: PR 1762 from darius - Change references to nZEDb. Mrg: PR 1757 from darius - Move $options before the $message to prevent undefined index options. Mrg: PR 1756 from darius - Group will be disabled on update if USP server responds with code 411. Mrg: PR 1755 from bfincher - Fix interval defined in timeother to be 6 hours instead of 0 hours. 2015-07-17 bart39 Mrg: PR 1760 from darius - Add omicron and charisma Bootstrap 3 based templates. 2015-07-16 niel Fix: Finally have a work around for the register page not loading. Thanks to Bart39. 2015-07-14 bart39 Mrg: PR 1759 from darius - Update ReleaseRemover with new variant of codec installer file. 2015-07-09 niel Fix: Installation require_once problems. No, really this time, I even tested it on a VM. 2015-07-08 niel Fix: Path of require for installation's config. Plus additional requires in step files. Mrg: PR 1753, from Fossil01 - Show password on screen after reset. 2015-07-07 niel Fix: Require of 'config.php' for installing. 2015-07-06 niel Mrg: PR 1747, from sebst3r - API-Change regarding JSON-Output 2015-06-30 niel Mrg: PR 1740, from Fossil01 - Added user signups by month view back to site-stats. 2015-06-29 niel Chg: Combining web page autoloaders into a single file. Chg: Streamlined the autoloader process for Smarty files/pages. 2015-06-28 niel Chg: Moved smarty page files autoloader script to.../pages/autoload.php and moved Smarty framework autoload code initialisation into the .../www/index.php - This has a several advantages: Prevents problems on Windows and other case-insenstive file-systems (and applications) from not being able to have ours and smarty's in the same directory. Removes our code from the Smarty library tree, making it possible to no longer have the whole library included in the repo. Allows us to separate out the Smarty framework autoloading from the smarty page autoloading. Removes autoloaders for smarty stuff completely from the indexer code. Fix: Admin section now works with the Smarty autoloading changes. 2015-06-25 kevinlekiller Fix: Notices in register page. Fix: Notices in admin pages. 2015-06-24 kevinlekiller Fix: Notices in password reset page. 2015-06-23 kevinlekiller Chg: If NNTP compression fails to enable, retry. If NNTP returns status code 0, do not show message (issue #1735). Fix: Notices. Issue #1737 Fix: Various notices. Chg: Use get_class / __FUNCTION__ for nzedb\Logger->Log usage. Chg: Update smarty to 3.1.27 Fix: Add check for string on nzedb\Movie::doMovieUpdate #1742 Fix: PR 1742 (Notices in movie.php, remove old smarty files) 2015-06-22 niel Mrg: PR 1738 from Enverex - Avoid MySQL caching on transient content 2015-06-19 bart39 Mrg: PR 1730 from kevin123, Fix for changes in Trakt API v2. Mrg: PR 1729 from kevin123, Fix issues if nZEDb_SSL_CAFILE is empty. Mrg: PR 1728 from kevin123, Add support for trakt.tv API v2. Mrg: PR 1727 from darius, Fix the nzbFileList function. 2015-06-17 niel * NEW: PR 1726 from kevin123 - Support for downloading last rar/zip file when post processing. 2015-06-15 niel Mrg: PR 1724 from kevin123, Changes to cache use. * NEW: Adding a limit to the maximum number of headers a single group can grab per iteration of the main loop. This allows for a reasonably safe catchup ability on out of date groups, without completely choking the database with one groups headers ;-) ***NOTE*** this may slow things down for some users of *very* active groups. There is an entry in the Settings table (max=>headers=>iteration) to set the value (default 1,000,000), an entry in admin => Edit Site to make this easier will come when someone can be coerced into doing smarty work ;-) 2015-06-14 niel Mrg: PR 1725 from kingcat/zetas - NZBImport add missing group (inactive) instead of skipping nzb. 2015-06-13 bart39 Fix: Undefined offset: 1 in MiscSorter.php #1714. 2015-06-12 bart39 Mrg: PR 1723 from kevin123 - Changes to showpasswordedrelease. Mrg: PR 1722 from kevin123 - Add support for APCu or APC for caching. 2015-06-11 niel Mrg: PR from kevin123 - Cache various queries. 2015-06-10 niel Mrg: PR 1712 from zetas - Ordering comments by created date. Showing newest on top. Mrg: PR 1719 from enverex - Add matching for hyphenated music scene release names. * New: Added a config directory under .../nzedb to contain configuration/settings files, so they're all together and don't need paths changing when code moves. I'll gradually move older config/settings files here, with some exceptions TBD. Chg: Moved IRCScraper example settings file to the .../nzedb/config directory Chg: Refactored the IRCScraper scrape script to look in .../nzedb/config for the renamed ircscraper_settings.php file. (it will move the old one from testing/IRCScraper if it finds it. * NEW: Added tmux.running.exit to settings table. This is read during the tmux monitor script's loop to see if it should exit or not. I'll add a means to set this from the Tmux settings page once the rest is finished. Fix: Removing superfluous quotes around $user variable as they are added by the escaping in the previous line. 2015-06-09 bart39 Mrg: PR 1716 from enverex - Pick up additional RAR names and match both functions. 2015-06-06 bart39 Fix: from rainje - Select all + delete in adv search not working #1713 #1715. 2015-06-01 niel Mrg: PR 1709 from zetas - Implementing private profiles and the ability to turn them on or off via the ACP. 2015-05-29 bart39 Add: Add option to disable a group during backfill if target date reached (site edit > usenet settings). 2015-05-28 bart39 Mrg: PR 1705 from zetas - [Security Bug] Fix for: Logged in users can view others profiles. Mrg: PR 1705 from kevin123 - Add requested regexes. Mrg: PR 1704 from kevin123 - Fix bad namespace in populate_anidb.php. 2015-05-24 bart39 Mrg: PR 1703 from kevin123 - Use full php tag in anime page. 2015-05-23 bart39 Mrg: PR 1701 from kevin123 - Update API docs. Mrg: PR 1700 from kevin123 - Fix broken install on step 6. Mrg: PR 1702 from enverex - Ensure all variables are set. 2015-05-22 bart39 Mrg: PR 1698 from enverex - Improve daytopost accuracy and speed. Mrg: PR 1696 from kevin123 - Fix alternate provider not being set in config.php on install. #1695 Mrg: PR 1693 from kevin123 - Add thumbnail creation setting. Mrg: PR 1692 from kevin123 - Update documentation. Remove obsolete files. 2015-05-20 bart39 Chg: another update ab.cd.image collection regex. Chg: add DEViANCE and PLAZA to PC Game categorization. Chg: update ab.cd.image collection regex. Mrg: PR 1689 from enverex - Add additional audiobook regexes. Mrg: PR 1688 from sebst3r - Fix typo in "Admin Home". Mrg: PR 1686 from enverex - Add match for "release" and "author" when finding audio name. 2015-05-18 bart39 Chg: Improved release creation loop even further and added same logic to multiprocessing. 2015-05-17 bart39 Fix: Giantbomb api error if empty result returned. Mrg: PR 1685 from enverex - Update the audioNFO regex to be slightly less rubbish. Mrg: PR 1683 from kevin123 - Fix namespace issues. Fixes broken install on step 6. Mrg: PR 1682 from wally73 - Update populate_tvrage.php. Mrg: PR 1681 from kevin123 - IRCScraper fixes. 2015-05-16 niel Mrg: PR 1680 from kevin123 - Use iconv for converting CP437, fix broking install. Add: PR 1679 from kaibosh - Add check_previews script, cleanup tool. 2015-05-15 niel Fix: Minor coding standards fixes. 2015-05-15 bart39 Mrg: PR 1678 from kevin123 - Move CBP deletion. Mrg: PR 1677 from kevin123 - Fix on advanced search page. Fix: correct collection regexes that caused Regex.php Line 344 error issue #1675. 2015-05-14 niel Mrg: PR 1673 from kevin123 - Fix broken pager on search page. Mrg: PR 1672 from Enverex - Implement local temporary caching for Amazon lookup failures. 2015-05-14 bart39 Add: Collection regexes part 1 from issue #1668 Mrg: PR 1671 from enverex - Make sure that the destroyed cookie matches the created cookie. 2015-05-11 niel Fix: Namespace issues - Thanks to Darius for compiling the list. Fix: Captcha namespace issue. Chg: Dropping initial backslash from most use statements. Fix: ReleaseExtra namespace issue in ajax_mediainfo - Thanks Greg. Mrg: PR 1664 from zetas - Captcha Refactor. Moving logic from BasePage into Captcha class. Fix: Changing 'verifypeer' to 'verifycert' in SABnzbd class to fix integration. Thanks to zetas. Fix: Console's 'Invalid xml response.' exception. Mrg: PR 1669 from tyldum - Do urldecode before working on 'cat' 2015-05-10 niel Mrg: Bringing in dev-namespace branch. 2015-04-10 bart39 Mrg: PR 1657 from kevin123 - Fix notices in various web pages. Mrg: PR 1650 from zetas - Adding ReCaptcha support. Mrg: PR 1656 from kevin123 - Move files around in misc/testing folder. ***NOTE*** this may break any custom scripts you have written. Mrg: PR 1654 from tasky - Fix Popporn error - causing xxx not to post process, also fixes #1655. Fix: Genre display in music pages, clear your smarty cache to correct. 2015-05-09 niel Mrg: PR 1653 from kevin123 - Fix an issue in query, add regexes. 2015-05-08 bart39 Mrg: PR 1652 from kevin123 - Fix issues with collection regexes relating to #1647. ***NOTE*** see http://tinyurl.com/k7vwc35 for details 2015-05-07 bart39 Chg: Remove Rotten Tomatoes quality settings as no longer required, correct the image url - fixes #1649. 2015-05-05 bart39 Mrg: PR 1648 from kevin123 - Fix 2 issues with regexes relating to #1635 / #1647. 2015-05-04 niel Mrg: PR 1646 from kevin123 - Changes to settings.php.example, Changes to DB. 2015-05-03 bart39 Chg: Alter ProcessReleases to loop as long as the number of releases or nzbs added was >= the limit (meaning there are more waiting to be created). Addresses Issue #1630 2015-05-02 niel Fix: Renamed $pdo to $predb that was missed in refactoring - Thanks to tasky. 2015-05-01 niel Chg: Changed handling of nZEDb.xml tag checks for dev branch. Forces tag element of '0.0.0'. 2015-04-30 niel Mrg: Merged in Db script changes from March. Added two scripts to .../cli/data for importing/exporting predb data. They're intended to replace the predb_dump script which will no longer be maintained. 2015-04-29 bart39 Fix: Invalid type check for Forking PPA min / max sizes when set to 0. 2015-04-29 niel Mrg: PR 1643 from Enverex - Empty database field negation and Alpha theme readability cleanups. 2015-04-28 bart39 Fix: Invalid type check for PPA min / max sizes when set to 0. 2015-04-17 niel Fix: Adding a check to see if the sqlpatch file was previously committed, before trying to update the commit. 2015-04-16 bart39 Fix: Increase column sizes for bookinfo.overview, consoleinfo.review and musicinfo.review due to truncation. Fix: undefined offset in ProcessAdditional. Fix: Fix issues with web RequestID lookups failing. 2015-04-14 bart39 Mrg: PR #1638 from darius - Fix the wrong table name in Regexes.php. Was using release naming regexes to create collections. 2015-04-11 bart39 Fix: Fix api query issue raised in comments for #1637. Fix: Correct see more link on TV posterwall to point to /series. Chg: Optimize TV Posterwall query. 2015-04-11 bart39 Fix: Call to releases::search missing one parameter for basic searches in search.php #1637 Mrg: PR #1636 from tasky - Added admin menu state changes. Mrg: PR #1634 from dariusIII - Fix typo that caused : PHP Notice: Undefined variable: in Binaries.php line 543. Fix: fix sql patch. Mrg: PR #1632 from dariusIII - Add X-DNZB-Failure header support. 2015-03-24 niel Chg: Merging in dev-scrutinizer branch which addresses a lot of code style issues. 2015-03-21 bart39 Fix: Fix Class not found error in Movie.php. 2015-03-20 niel * New: Added scrutinizer configuration file. 2015-03-20 bart39 Mrg: PR #1623 from darius - Fix oversized fanart images when viewing movie info popup. Mrg: PR #1622 from darius - Switch to fanart.tv v3 api, closes #1620. 2015-03-18 bart39 Fix: Fix patch 0321, if your mysql version < 5.6 then bookinfo, consoleinfo and musicinfo will be converted to myisam to support the FT indexes. 2015-03-17 niel * New: Added two scripts to .../cli/data for importing/exporting predb data. They're intended to replace the predb_dump script which will no longer be maintained. 2015-03-17 bart39 Add: Add naming regex for a.b.b4e.erotica Mrg: PR #1617 from kevin - Convert naming regexes. Chg: Better matching on whether to ignore lines in nfo beginning with Source. Add: FULLTEXT indexes on bookinfo, consoleinfo and musicinfo for better existing title matching. Add: add categorization for alt.binaries.b4e.erotica. Fix: Don't ignore renamed releases for local requestID lookup. 2015-03-06 bart39 Chg: Better handling of .vol in regex extensions. Mrg: PR #1618 from kevin - Convert collections regex to db. 2015-03-07 bart39 Fix: Min/Max sizes on Adv Search. 2015-03-06 niel Fix: Correcting tmp_pre table references to predb_imports in dump_predb script. 2015-03-06 bart39 Mrg: PR #1616 from kevin - Changes _tmb to _ori, to fix user setting, fixes #1613. Mrg: PR #1615 from kevin - Rename tmp_pre to predb_imports. Mrg: PR #1614 from kevin - Parsing black lists on white listed fields. 2015-03-05 bart39 Mrg: PR #1612 from kevin - Add support for category regexes in the DB. 2015-03-04 bart39 Mrg: PR #1610 from kevin - Dev regexes. 2015-03-02 bart39 Mrg: PR #1608 from kevin - Faster / more random hex string gen (for release guid and binary hash). Mrg: PR #1607 from kevin - Fixes for compressed NZB reading and return. 2015-02-27 bart39 Mrg: PR #1606 from kevin - Add database release naming regex support. Mrg: PR #1605 from kevin - Update opcache-gui to v2.0.1. 2015-02-26 bart39 Mrg: PR #1603 from kevin - Remove unneeded PHP version checks. Remove password compat library. Mrg: PR #1604 from kevin - Move all php ajax receiver files into 1 file. 2015-02-25 bart39 Chg: Add number of nzbs to import per process to tmux settings - Feaure Request #1287. Chg: Add new XXX categories to posterwall. Mrg: PR #1600 from kevin - Add support for in DB collections (grouping) regex. Mrg: PR #1599 from kevin - Changes to install templates. Mrg: PR #1602 from dariusIII - Add XXX WEB-DL category to XXX releases. ***NOTE*** run "php /misc/testing/Dev/recategorize.php all" to re-categorize existing releases. Fix: RottenTomatoes high-res images - clear your smarty cache. 2015-02-21 niel Chg: Changing defaults for 'show passworded releases' (now shows potentially passworded) and 'NZB split level' (now 4) for new installs. 2015-02-20 bart39 Fix: Group XXX pack releases in a.b.erotica correctly. Fix: Missing binaries from releases due to collection_id not being set. We suggest that you run reset_truncate after this update. NB: IMPORTANT - TPG users (that means you McFuzz) should run "php /nzedb/build/_runonce/tpg_add_collections_column_2015-02-20.php" if patch 0313 doesn't succeed. Then run this SQL: UPDATE settings SET value = '313' WHERE setting = 'sqlpatch'; - FAILURE TO DO SO WILL CAUSE INSERT ERRORS 2015-02-17 bart39 Chg: Regex updates / categorize fixes for SD XXX Chg: Update sphinxsearch RT index when manually editing release searchname. Chg: Optimize queries for new release posterwall. Fix: Issue 1594 - Fix word wrap on alpha theme. 2015-02-13 bart39 Fix: Reading a corrupt nzb would hang on 100% cpu. 2015-02-12 bart39 Fix: Fix dupecheck when inserting tvrage titles. 2015-02-09 bart39 Fix: Fix another issue with mysqldump_tables.php when using sockets. Chg: Make ReleaseRemover more informative of the type it is processing. Chg: Ignore PC > Mac category for removeExecutable (Core Releases include their exe file for some reason). 2015-02-07 bart39 Fix: Fix issue with mysqldump_tables.php when using socket. Mrg: PR 1589 from dariusIII - Updated regex for codec poster. 2015-02-06 bart39 Mrg: PR 1590 from dariusIII - Add XXX-SD category. ***NOTE*** run "php /misc/testing/Dev/recategorize.php all" to re-categorize existing releases. 2015-01-28 niel Fix: Removing text literals from whitespace collapsing as they screw up DB::queryDirect(). 2015-01-08 niel Chg: Added tmp_pre to schema as permanent table and changed predb scripts accordingly. 2015-01-07 niel Fix: Issue 1575 - Notice: Undefined variable: consoletools in /home/schwick/www/nZEDb/misc/update/predbftmatch.php on line 84 2015-01-28 niel Fix: Removing extra tab from innerfileblacklist row that causes the setting to not work. 2014-12-31 bart39 Mrg: PR 1573 from dariusIII - Changed trakt.tv imdb search to new format. 2014-12-30 niel Mrg: PR 1571 from kevinlekiller - Fix lighthttpd rewrite rule. ***NOTE*** Nginx users need to manually change the rewrite rule for file extensions as described in the Ubuntu install guide. 2014-12-28 niel Fix: Query in dump_predb.php to add new groups had a typo. Thanks to makkbe on github for the fix. 2014-12-24 b3rs3rk * Del: Deprecated AniDB cron script that won't work. Use the populate_anidb script instead, then resume postproc. 2014-12-23 niel Fix: Adding work-around to prevent tmux throwing Server not found errors. Chg: Renamed tmux's start script to run, to allow using start for starting the running flag as stop turns it off. Users running 'start.php' from cron or other scripts shouldn't notice a difference as the replacement also calls run if it detects that no nZEDb session is running. 2014-12-21 niel Mrg: PR 1566 from NZBmets - Adds a stop.php script to allow stopping tmux scripts from continuing. 2014-12-20 bart39 Add: Add Indexes. 2014-12-17 bart39 Fix: Don't rename from source in NFO processing. Fix: Missing quote in convert_mysql_tables.php. Fix: Missing genres for consoles. Fix: Missing parameter for tmux nzb import. Add: Additional regex for TV categorization. Add: Regex additions for CollectionsCLeaning and ReleaseCleaning. Fix: Don't match abTeevee releases against predb if it is just the season name. 2014-12-14 niel Mrg: PR 1562 from zetas/kingcat - Mail: Use supplied from address as reply-to. Fix: NZBGet was being sent incorrect URLs for NZB files, which resulted in it being redirected to the login page. 2014-12-12 niel * Adding script to batch import predb daily dumps without repeatedly calling the dump_predb script, which drops and readds triggers. 2014-12-01 b3rs3rk Fix: Contact us form erroring due to PHP Mailer class not found 2014-11-20 niel Mrg: PR 1545 from zetas/kingcat - Add PHPMailer Support. 2014-11-18 niel Mrg: Bringing badly merged removeCrapReleases WMV method into dev from next-master. Chg: Removing WMV removeCrap method from ALL. Mrg: PR 1551 from zetas - XSS Fix for Login & Register. 2014-11-17 niel Fix: Allowing unsupported PHP versions to make it as far as the requirements page, before using minimum version specific behaviour. 2014-11-15 niel Fix: Adding escaping to username in login page templates, to avoid XSS attacks. Alternative to PR 1549 from zetas. 2014-11-14 niel Fix: Broken tvrage updating in tmux. Closes issue 1548. 2014-11-14 bart39 Fix: Fix PreDB Search - Closes issue 1547. 2014-11-12 niel Chg: Moved and updated populate_tvrage script to be more easily accessible. 2014-11-10 niel Mrg: josh4trunks' PR 1534, which implements Issue 1519 - Add Unix domain socket support to create_se_tables.php. 2014-11-07 niel Mrg: Merging in PR 1543 from gregorystorme, which implements Issue 1530 - Feature Request: Add to My Movies. 2014-11-06 niel Fix: Setting default release completion value to 95. Fix: Replacing some 'partrepair' references with 'missed_parts' that were omitted previously due to excessive caution ;-) Fix: TPG Only - Tmux monitor showing incorrect Part Repair (possibly others) numbers. Chg: TPG Only - Slight improvement in Tmux monitor's updating numbers. Probably too small to notice for most users. 2014-10-31 niel Fix: Changing the triggers for releases_files table that were missed with the others. 2014-10-30 niel Fix: Correcting some output fornatting for amazon lookups. 2014-10-28 niel Fix: Incorrectly changed table releaseaudio to release_audio, when it should have been audio_data. 2014-10-27 niel Chg: Database table renaming to bring our schema more inline with our naming conventions. Still some to do. !!NOTE!! Db updates may take a long time, depending on your ammount of releases 2014-10-25 bart39 Fix: Missing parameter for binaries.php in /threaded/start.sh 2014-10-23 niel Fix: page_contents and forum_posts tables were not being filled during install step 2. 2014-10-20 niel Fix: Copied couple javascripts over to alpha theme from Default, to fix the Sending to NZBGet issue some users were having. NOTE: This is a temporary fix! Someone with better understanding of the alpha theme (kevin?) needs to take a proper look at this. Fix: Adding sanity checking for game's release dates. 2014-10-15 niel Fix: Issue 1526. Preventing empty path being used for checking permissions for sessionSavePath. 2014-10-11 niel Mrg: Merging PR 1528 from bfincher, Correct error in blacklist query by poster. Chg: Cleaning tmux startup checks, so that no messages about checks not being an error is needed. 2014-10-10 b3rs3rk Mrg: Merge dev-api into dev for nzb360 movie cover compatibility 2014-10-10 bart39 Mrg: Merge pull request #1527 from kaibosh. 2014-10-09 niel * New: Added basic support for coverurl attribute in API output. 2014-10-07 niel Fix: Misnamed constant. Closes issue 1522. 2014-10-06 b3rs3rk Chg: Use wordwrap instead of truncate to fix formatting issues with name/searchnames in browse, search, viewnzb Fix: Table formatting for cover views when searchnames are too large for auto column settings Fix: Movie covers not standard causing other formatting issues 2014-10-02 bart39 Mrg: Merge pull request #1518 from tasky. 2014-09-30 b3rs3rk Fix: Issue #1477 - MySQL Full-Text Search broken after implementation of Sphinx Fix: Whitespace\New line EOF (second try weirdness) and change SQL patch file perms to 0755 2014-09-30 niel Fix: Column definition of collection_id in binaries* tables. 2014-09-30 bart39 Fix: Monitor counts for pp types when that type of pp has been turned off. Chg: Add Misc->Other category for alt.binaries.u4e file renaming. Chg: Update Monitor explanation for Tmux edit page. Fix: Add missing NZB Import to Tmux Complete Sequential. Chg: ReleaseCleaning regex additions for a.b.frogs, a.b.kenpsx and various other updates. Chg: CollectionsCleaning regex additions / fixes. 2014-09-26 niel Chg: Convert binaries tables and code to use collection_id column; !!IMPORTANT!! TPG users: After running DbUpdate to process the patch, you MUST run php nzedb/build/_runonce/tpg_triggers_update_2014-09-25.php to convert the triggers. 2014-09-25 bart39 Mrg: Merge PR 1510 from tasky. 2014-09-25 niel * Cng: Refactored Git.php Git::check_bin to check for spaces in the path and deal with them appropriately. 2014-09-24 kevin Chg: Use PHP's finfo for magic file checking, falling back on O/S's file binary executable. Move all file usage to Utility function. 2014-09-24 bart39 Chg: use multiprocessing binaries / backfill instead of python in screen/threaded/start.sh script Fix: fix screen/threaded/start.sh script Fix: Blank content page when logged out. Fix: Remove "see more..." from logged out content page. Fix: More fixes to content page, to adhere to "Logged in / Admin / Everyone". Chg: Move all remaining utility functions into Utility class. Fix: fix screen/threaded/start.sh script 2014-09-23 kevin Fix: Missing comma in mysql-ddl.sql Fix: Fixes for windows operating system installation issues. Fix: Issue where Theaters page dies fatally on new installs if update_theaters.php is not run first. Add: Catch Rotten Tomato API errors on upcoming page. 2014-09-22 kevin Add: Check sessions path for read/write permissions on step 1 of install. 2014-09-15 bart39 Mrg: Merge PR 1503 from tasky. Fix: fix potential cause of corrupt nzb's Chg: reduce size of tv images on posterwall. Add: More regex additions 2014-09-15 b3rs3rk Fix: Force updated column in anidb_info to be populated on INSERT and updated on UPDATE scenarios to prevent API bans Fix: Anime title view displays language type (main, official) instead of anime type (Movie, TV Show, etc.) Fix: Bad copy/paste in reset_postprocessing for anime Add: Initial sleep for AniDB post process in case user respawns script too fast Add: Additional debug output if searchname can't be matched 2014-09-15 niel Fix: User cart problem. Changing userid to user_id in usercart table. * New: Added reporting reason for pre-commit hook refusing to commit. * New: Added setting to settings table to record the timestamp of the last time AniDB returned a 'ban' message. 2014-09-14 bart39 Mrg: Merge PR 1502 from tasky. 2014-09-13 bart39 Fix: another attempt at fixing scnzbefnet collections 2014-09-13 DariusIII Chg: Updated regexes for codecposter 2014-09-12 bart39 Add: More regex magic. Fix: possible fix for boneless splitting scnzbefnet par2 releases. Mrg: Merge PR 1499 from tasky. Fix: XXX / TV Posterwall 2014-09-12 b3rs3rk Mrg: dev-anime into dev for Anime Post processing support Fix: SQL patch doesn't drop new anidb_titles table if it exists Fix: File permissions for Desura/Greenlight and some SQL patches * Del: +\d patches from dev-anime merge Fix: Dupe check query in AniDB population Fix: Missing column that didn't make it to branch / Fix file perm for patch Fix: Regex constant errors in ReleaseCleaning due to shitty merge Add: Anime SQL patch fix to SQL schema 2014-09-11 b3rs3rk Chg: Re-work New Poster Wall queries - should improve response 2014-09-11 Bart39 Add: Add TV to new release posterwall. Add: Regex for a.b.amazing. Chg: Amend regex to cater for german characters. Add: Videoot XXX Xvid dvd rips in NameFixer 2014-09-10 Bart39 Mrg: Merging in PR 1497 from tasky. 2014-09-10 kevin Fix: Issue where empty nzb would show on API when no results were returned. 2014-09-10 kaibosh Fix: Fix for issue 1489 - Specify session name when selecting pane 2014-09-09 DariusIII Chg: Updated codecposter removal with german, french and dutch variants of txt file. 2014-09-09 bart39 Fix: Namespace issue. 2014-09-08 bart39 Add: Add python safe binaries / backfill scripts to multiprocessing. Add: Added fixrelnames to multiprocessing. Add: Added all multiprocessing examples / options to threaded.sh (copy to user_threaded.sh). 2014-09-08 kevin Add: Setting to limit max releases for pager count, can speed up the web pages, update settings.php with nZEDb_MAX_PAGER_RESULTS 2014-09-08 b3rs3rk Fix: WEB-DL Movie categorization when WEB-DL categorization is disabled Add: Movie override for a.b.warez byGroup categorization Chg: Update Tmux to run new multiproc scripts for safe backfill/fixRelNames 2014-09-07 b3rs3rk Add: WEB-DL category for Movies, they currently go into TV WEB-DL right now Fix: WEB-DL Movie categorization overridden by TV opening regex 2014-09-07 kevin Chg: Change releases to use count instead of SQL_CALC_FOUND_ROWS for pager, should speed up those queries. 2014-09-06 niel * New: Added couple methods to DB class to allow switching Logging errors on/off during runtime. Useful when you only want to catch errors on a single operation and not be flooded by other info. Mrg: Merging PR 1490 from tasky. Mrg: Merging PR 1491 from tasky. 2014-09-04 kevin Chg: Define nZEDb_RELEASE_SEARCH_TYPE in automated.config.php if settings.php doesn't exist. 2014-09-03 bart39 Mrg: Merging in PR 1487 from tasky. 2014-09-03 niel Mrg: Merging in PR 1485 from tasky. 2014-09-01 b3rs3rk Fix: Do not convert releases_se from SPHINX engine when converting mysql tables. 2014-09-01 kevin Chg: Force ignore cert checking on irc scraper, as all the synirc certs are either expired or self signed or invalid in some other way. Add: Support for openssl remote certificate checking on streams/CURL. Please update www/config.php using this guide: https://github.com/nZEDb/nZEDb/wiki/Setting-up-openssl Fix: Namespacing issue in DB. 2014-09-01 niel Mrg: Merging PR 1479 from tasky Fix: More name spacing issues. 2014-08-31 b3rs3rk Fix: NFO Proc Deletion SELECT not using guidChar/GroupID when threaded Fix: Forgot table referencing in above fix 2014-08-31 bart39 Fix: Merge Tasky's PR #1478 - Best to run misc/testing/DB/reset_postprocessing.php xxx true truncate to get full effect of true matches. Fix: Double escaping on Games release date / Scrutinizer fix. 2014-08-27 bart39 Fix: Only save console/games cover if cover is found. 2014-08-27 b3rs3rk Chg: Update collections/releases cleaning for Anime in a.b.anime and multimedia.anime.highspeed 2014-08-26 bart39 Fix: Actor / Director / Language info from IMDB. Fix: Display XXX / Music / Movie releases in cover view without a cover. Fix: Console error for null releasedate. 2014-08-26 niel Chg: Moved PostProcessing scripts into the new nzedb\processing namespace. 2014-08-26 b3rs3rk Fix: Bad path issue in Tmux NNTP Proxy alternate NNTP Fix: Issue #1472 Console Processing Errors Chg: Rework queries for gfRn to support new indexing scheme (coming) Chg: A few Tmux query changes to reduce monitor loop times (will complement the index changes) Fix: Attempt to fix consoleinfoid not being set in some instances Chg: Optimize browse queries for large release databases by forcing a straight join on Groups table Fix: missing PostProc namespace in update_releases.php Fix: Genre's populating Unknown for console processing Add: Patch to update releases with bad Console genre data * Rem: Bad patch +1 file Fix: Pretty sure console Genre is good to go this time Fix: Weird releasedate escaping in Console causing SQL errors in some cases Chg: Disable cover = 1 setting for console Chg: Improved Genre detection for Console - additional output showing genre on match (still lots of Unknowns because Amazon blows) Chg: Change a couple genre entries 2014-08-25 bart39 Fix: Update XXX releases correctly for no match. 2014-08-25 niel Fix: Attempt to detect remote MySQL server during install and use LOCAL for table loading if so. 2014-08-24 b3rs3rk Fix: Console SQL errors when review isn't set. 2014-08-23 b3rs3rk Fix: Bug where memcached sockets will not work with nZEDb because the port was defaulting and it needed to be 0 in offset 1 Fix: browseby errors in Movie and XXX 2014-08-23 kevin Fix: Bug in settings.tsv, extra tab character in mischashedretentionhours causing new installs to have empty value. Fix: Add missing 'Maximum repair tries:' to settings.tsv and fix typo in site edit. 2014-08-22 kevin Fix: Double number format in Binaries echo. 2014-08-22 b3rs3rk Chg: Move largely duplicated catSrch code to Category->getCategorySearch Chg: Remove dead $pdo's and switch all to $this->pdo Chg: Movies.php now uses getCategorySearch as well instead of its own function Chg: Clean up XXX Post proc some - set unique index on xxxinfo.title removing dupes and remove ODKU 2014-08-21 bart39 Fix: Amazon throttling dues to api error message change. Fix: Wrong sort method for musictrack category via amazon lookup. Add: Regex additions for ReleaseCleaning. Fix: invalid GiantBomb link in alpha theme. Fix: Error resetting games post processing. Fix: NameFixer typo's. 2014-08-21 b3rs3rk Chg: Re-work RottenTomato update function to remove duplication Fix: Typo in RottenTomato function Chg: Behavior of updateSingleColumn in NameFixer Fix: A few bugs in various scripts Chg: Revamp console post processing and improve matching 2014-08-20 b3rs3rk Chg: More optimizations to MiscSorter Fix: test_misc_sorter script errors due to removed functions Fix: Tmux Query for Process Console diff using Games count Chg: Remove a ton of repeated if conditions in NameFixer with single opening ifs Chg: Add function to NameFixer to update single columns in releases table Fix: A few errors in MiscSorter due to unhandled Amazon returns Chg: Optimize NameFixer more and fix more scrutinizer bugs Fix: 2 Regex compilation errors in NameFixer Fix: A few more scrutinizer issues 2014-08-20 kevin Add: Script to verify the important folder permisions. Chg: Make cover path checking optional, in case user has not run install yet in verify_permissions script. Chg: Catch Logger exceptions, solves blank pages for those with improper permissions on resources/logs folder/files. 2014-08-19 b3rs3rk Chg: Revamp MiscSorter Add: Categorization support by group for a.b.cd.images.sega-saturn Fix: Issues identified by Scrutinizer 2014-08-19 kevin Add: Regex support for alt.binaries.e-book.magazines Fix: Wrong array used in queue.php, reported/solution by user gaz_az. 2014-08-18 bart39 Fix: Typo. Fix: Typo in site edit. 2014-08-17 niel Mrg: Bringing in tasky's Steam scraping work. 2014-08-15 kevin Chg: Speed up addLanguage api function. 2014-08-15 bart39 Fix: API Issues. Fix: Only add row count to release query if releases found. Add: a.b.nl regex. Add: Ignore pictureset for PC categorization. 2014-08-14 bart39 Fix: Add mischashedretentionhours to 10-settings.tsv for new installs. Fix: Change query column to VARCHAR(1024) 2014-08-13 niel Fix: Another missed userid to user_id. Fix: Some more genreid to genre_id changes. 2014-08-13 b3rs3rk Fix: a metric ton of genreid columns that weren't changed to genre_id (ahem archer}) Fix: More genreid's in Genres.php that didn't get changed Chg: Optimize various TV Show and Movie RSS queries to leverage partitioning 2014-08-12 niel Chg: Converting usa of 'userid' to 'user_id'. Chg: Converting use of 'genreid' to 'genre_id'. 2014-08-12 b3rs3rk Fix: undefined index error in MiscSorter and SQL query syntax error Add: script to optimize nZEDb moving to/from Sphinx (reclaims space from releasesearch that is unused with Sphinx). Fix: Forgot to remove limit in insert for testing 2014-08-11 b3rs3rk Chg: Standardize some of MiscSorter... remove needless NNTP, replace some preg with string ops Fix: Typo onion in ReleaseRemover Fix: API calls broken due to unconditional sphinxSE join (if you are using Sphinx) without an actual query Chg: Revert work query change for MiscSorter 2014-08-10 kevin Chg: Cleanup of DbUpdate / put win checks for step2 failures. Fix: Issues in Settings.php Fix: Pager count issue. Chg: YOU MUST SET max_matches TO 10000 IN sphinx.conf IF YOU ARE RUNNING SPHINX AND RESTART SPHINX. Chg: Simplify pager count in releases by using SQL_CALC_FOUND_ROWS. 2014-08-10 b3rs3rk Add: PreDB FT match will now use Sphinx if it is available (Ridiculously fast compared to MySQL FTS) Fix: Codec query disjointed return in ReleaseRemover Chg: Greatly improve Sphinx search results Add: RemoveCrap no time limit can now use Sphinx instead of MySQL FTS (you will need to update your sphinx.conf). 2014-08-10 niel Fix: Change repository reference and remove unneeded command. 2014-08-09 b3rs3rk Mrg: kevinlekiller's dev-sphinx into dev (RTFM -> misc/sphinxsearch/README.md) for info 2014-08-08 b3rs3rk Chg: NFO Update query performance is poor with new Guid CHAR query addendum 2014-08-07 b3rs3rk Chg: Tmux - make PreDB counter queries more compatible for bigger release databases Chg: Re-work match_prefiles content in NameFixer to (hopefully) fix more scrutinizer issues 2014-08-06 niel Chg: Tmux - Reordered output in monitor pane. * New: Setting to specify date formatting in shell scripts. Defaults to YYYY-MM-DD HH:MM:SS. 2014-08-06 kevin Chg: Rename DebuggingException to LoggerException to match base class name. Chg: Clean up of Releases class after the move to ProcessReleases. Add: Setting to use the old search. Copy from www/settings.php.example to www/settings.php 2014-08-05 tasky Fix: id supposed to be title #1457 2014-08-05 bart39 Fix: unknown column in where clause 2014-08-05 niel Chg: Optimised TmuxOutput to improve monitor pane updates. 2014-08-05 kevin Chg: Pass all $runVar params by reference, hopefully fixing all timer issues in Tmux scripts. Chg: Minor changes to Tmux.php Chg: Monitor to only analyze releases. Add: More options to optimise method (specifying table name / running on local tables only). Chg: Change doConnect logic based on recent compression on demand changes. Chg: Use max downloads setting on sharing when starting without backfill. Chg: Sharing, set the actual first seen date. Chg: Much better logging performance, and many more user changeable settings in settings.php (copy from settings.php.example). Chg: Use constants everywhere for logging severity. Fix: Issue where alternate usp can be used for headers. #1456 Add: Static function to Nfo to simplify get query options. Chg: Remove obsolete stuff in Logger and simplify the set folder method. 2014-08-04 bart39 Mrg: tasky's GiantBomb search changes PR #1449 2014-08-04 b3rs3rk Chg: Re-work Match prefiles functions per scrutinizer recommendations 2014-08-03 b3rs3rk Fix: Bombing releaseRemover query for SCR Fix: Bugs according to scrutinizer Chg: Rework USP connection count gathering to have less paths... Fix: Pass PDO to SQL error function in tmux 2014-08-03 kevin Chg: Various changes to postdate method. Fix: Fixes for get_range. Chg: Various changes to daytopost method. Fix: Fix for set_backfill_start.php if user resets but does not run update_binaries.php Fix: Convert unixtime to date in set_backfill_start.php Fix: Few more issues in set_backfill_start.php 2014-08-02 b3rs3rk Fix: RequestIDLocal Single Alt was looking for the groupname from the groupname, not the groupname from the usenet name Fix: RequestIDLocal not showing renaming results when specifying true to show renames Fix: typo for binaries_run should be 'settings' not 'scripts' 2014-08-02 kevin Chg: Attempt to reduce dupe parts on "safe" scripts when user cancels the script by updating the groups table with time/article number every range. Fix: Various recommendations by scrutinizer. * Cln: Cleanup. Fix: Issues in ReleaseRemover.php Fix: Possible fix for binaries issue in tmux. 2014-08-02 niel Fix: Remove escaping causing problems in tmux. Chg: Alter date output to use international format in main tmux pain. 2014-08-02 bart39 Fix: _python not _php. Fix: Tmux basic sequential undefined variables. Fix: XXX Search filter for non Alpha Themes 2014-08-01 DariusIII Chg: Codec spam removal update 2014-08-01 bart39 Fix: UpdateTV for tmux complete sequential. Fix: Display issues for long titles on predb alpha theme. Fix: Typo in gamesorter.php causing undefined variable error. Add: CollectionsCleaning Regex additions. Fix: offset for groupfixrelnames predbft. Add: Misc>Hashed Retention Hours #1437 Fix: Categorize byGroup a.b.sounds.flac #1432, run php /misc/testing/Dev/recategorize.php all to fix Fix: Categorize HDTV Bluray, run php /misc/testing/Dev/recategorize.php all to fix 2014-08-01 tasky Chg: Scrutinizer recommendations. Fix: Wrong resource type / __construct fixed 2014-08-01 kevin * ---: Test scrutinizer. Chg: More changes for scrutinizer. Chg: More scrutinize recommendations. * Rem: Remove unused variables. Fix: Wrong var types. Fix: Type/doc issues. Chg: Initiate non-initiated arrays, add comments to empty catch blocks. 2014-08-01 b3rs3rk Mrg: tasky's XXX changes PR #1440 Mrg: dev-tmuxrevamp into dev (please make sure tmux is restarted) Fix: Fix typo in tmux monitor output for USP connections Fix: 'apps' undefined indexes -- remove a few scrutinized breaks Fix: Backfill disappearing like JB every tmux non sequential loop Chg: Backfill 'All' setting in tmux now runs the multiprocessing script with quantity you set group still runs a more worthless python script, Safe still runs the most worthless python script Fix: Same fix for basicsequential (tell tmux not to kill the pane every loop and respawn) Fix: backfill and partrepair counts in tmux 2014-07-31 b3rs3rk Mrg: tasky's XXX changes PR #1436 2014-07-31 kevin Chg: Update pynntp to 0.8.4, fix bugs in nnptp proxy (body was never returning anything, exceptions were not catched when server would return errors, nntp errors were not returned, causing weird behavior in net_nntp). 2014-07-31 niel Fix: Typoes in .../misc/testing/DB/convert_to_tpg.php causing undefined variable error. 2014-07-30 niel Chg: Standardising all usage of ColorCLI class to either $cli, $pdo->log, or $this->pdo->log depending on context. This reduces duplicated instances (and therefore RAM) and time taken to instantiate additional copies. 2014-07-30 kevin Fix: Fix issue where multiple scripts running on the same group could overwrite the binaries table "currentparts" count causing long release creation time because of invalid count. Add: For users on PHP 5.5.0 or higher, set the CLI process name in ProcessAdditional to the releaseid so you can know which release is causing the issue. Chg: Set full path to file to be easier to track for previous add. Chg: Save a select query in binaries scan by changing the insert query. Chg: Speed up process time of headers by doing the sha1 only once. 2014-07-29 kevin Chg: Add ignore to latest patch for those with duplicates. Fix: Issue where avconv returns single digit time vs ffmpeg's double digit time format, pad the string adding the missing 0's to mimic ffmpeg's output. Chg: Speed up article inserts even more. Fix: Put check to see if we downloaded 1 article header or not when inserting into binaries table. Fix: Part repair issue in Binaries. Fix: Check for empty parts query. Chg: Raise default min password_hash cost to 11. As noted previously, you should run the script to figure out a decent cost for your system. 10 is not recommended anymore by the PHP developper. Chg: Modify find_password_hash_cost.php to accept a time target argument. Recommended values are between 0.2 and 0.5 seconds. * Rem: Remove the forced require on multiprocessing settings.php as we do defined checks on all the vars anyways and all the settings are optional. Chg: Extract the extension from the video file when getting time, as ffmpeg has issues on some videos when using the wrong extension. Chg: More changes to getVideoTime to increases chances of non black previews. 2014-07-28 kevin Chg: Another massive boost to header insert speed. With these changes, if you have not followed INSTALL.txt which says to change the MySQL max_allowed_packet to 16M (or more) you might have issues, be warned. !!!!READ THIS!!!!: TPG users MUST run nzedb\build\_runonce\tpg_more_fixes.php Add: Debug message to binaries to show amount of bytes sent to MySQL when inserting parts. Add: Option to settings.php to disable SQL transactions. Update your settings.php file! 2014-07-28 taskym Add: Added IAFD, less memory usage, regex update #1431 2014-07-27 bart39 Chg: Don't display Releases that have not been processed by PP Additional (passwordstatus -1 to -6) if show passwords is set to not display potentially passworded. #1302 2014-07-27 tasky Fix: Popporn kept returning false #1425 2014-07-27 b3rs3rk Fix: local lookup query WHEREs were backwards sprintf'd Fix: forgot a LIKE Fix: Monitor not reflecting newestpre time despite having plenty of new Pres 2014-07-27 kevin Fix: warningOver method on ColorCLI. Fix: Missing max part repair not being used in a query. Chg: Maximum failed part downloads setting to not divide by 5, this will speed up post process additional. Fix: The logic for calculating failed/downloaded rar parts. Fix: Typo in nfo query. Chg: Check if maxsizetopostprocess is 0 in nfo, ignore if so. Add: Min / Max release size setting to process NFOs. Chg: Move NZB decompression to a central location. Chg: Remove timeout for avconv also, will look into alternatives. Chg: Get timeout to work on avconv/ffmpeg, needed the --foreground option. Add: Max NFO download retries setting. Add: Query limiters to Forking to prevent spawning of processes needlessly. Add: password_compat library recommended by php.net for php versions prior to 5.5 to replace our usage of crypt without a salt, which will make passwords more secure for our users still on php 5.4 2014-07-26 b3rs3rk * Merge Tasky's PR #1424 - updating changelog to reflect 2014-07-26 tasky Add: Add Game/XXX Info to nzb details: First Stage. Add: Hot Movies Icon and Fix layout 2014-07-26 bart39 Fix: Remove 'See full summary ?' from the end of imdb movie plot #1420 2014-07-26 kevin Fix: #1421 Add: Settings to settings.php for temporarily blocking site access to those sending too many requests. Chg: Show 404 page when page is missing. Chg: Move all tmpunrar deletions to ProcessAdditional to try to avoid external issues. Chg: Automatically use the new password_hash function if php version is 5.5 or higher, which is more secure than crypt and avoids warnings in PHP 5.6 for empty salt in crypt. * ---: If you are running PHP 5.5 or higher, run the misc/testing/dev/find_password_hash_cost.php script and set the number it gives in settings.php nZEDb_PASSWORD_HASH_COST to make the password algorithm stronger. Chg: Automatically rehash user passwords if needed. Add: Support for GNU Timeout, to kill unrar/ffmpeg/etc after set time (you can set the time / path to timeout in site edit, on linux it should be /usr/bin/timeout) Chg: Move safe_pull.php into switch.php Add: Renamed option to multiprocess/postprocess.php movie/tv Add: PHP multi-processing import script. Chg: Do not use timeout for ffmpeg, it stalls, avconv however does not stall with timeout, change the time command for avcong/ffmpeg's changes. 2014-07-25 b3rs3rk Fix: match_prefiles not honoring CLI arg limit Chg: Monitor now using proper PDO for work queries Chg: Removed tons of nasty if/then/else statements that weren't needed Fix: unkown $c assignment causing script failure in monitor Fix: undefined index errors in monitor.php 2014-07-25 kevin Chg: Re-use class instances in various places. Add: PHPDOC to Users. Chg: Re-use class instances when creating Users/UserSeries/XXX. Chg: Add PHPDOC to UserMovies and make it re-use Settings instances. Chg: TvRage to re-use class instances. Chg: Pass ColorCLI to PostProcess to pass to it's instanciated classes. Chg: Re-use Settings for TraktTv. Fix: Wrong BasePage var name usage. Chg: Re-use class instances on ReleaseRemover. Chg: Re-use class instances in various other places. Chg: Use BasePage's settings for many of the instanciations. Chg: Re-use class instances on Namefixer. Chg: Re-use class instances on Movie. Chg: Re-use BasePage's nzedb\db\Settings instance in as many www/admin files as possible to speed up page loads. Chg: BasePage, save a DB call by re-using the Settings instance for smarty, speeds up execution of all web-pages. Chg: Store and re-use the Users instance in BasePage instead of destroying it and later recreating another instance in index.php Add: Setting to settings.php for opening preinfo to the public. 2014-07-24 b3rs3rk Chg: Case a few if/elseif run ons in NameFixer -- more to do Fix: #1408 Issue with HDTS not being categorized properly 2014-07-24 bart39 Chg: use ColorCli for ProcessAdditional / NameFixer Chg: Reset gamesinfo_id and xxinfo_id when recategorizing Fix: Only use "like" matching when looking up release titles against existing tvrage shows if the name is more than one word Add: use ColorCli for Forking NB: Run php /misc/testing/DB/reset_postprocessing.php tv true to attempt to fix these. 2014-07-24 kevin Chg: Re-use class instances in Binaries. 2014-07-23 bart39 Fix: undefined variable 2014-07-23 taskym Add: Hot Movies Scraper Add: Process Hotmovies, Chg: Fetch XXX Info from scraper used Chg: Alter xxxinfo_id back to 0 for hotmovies processing Add: Echo if no xxx releases to process Fix: constants style Fix: SQL -- xxxinfo_id 2014-07-23 b3rs3rk Chg: Move ReqIDLocal class to controllers, begin to add options to thread by Guid Chg: Remove needless concats from TMUX sql queries. Chg: match_prefiles revamp and class script Chg: match_prefiles has now moved to /misc/update and options have changed. Chg: Remove old match_prefiles from /misc/testing/Dev Fix: backfill_threaded script being called by php in monitor instead of python 2014-07-23 niel Fix: Changing case on self::ADE. Fix: Code style violations 2014-07-23 kevin Chg: Make monitor use the old backfill, since they are not compatible yet. Chg: Re-use some class instances when initiating NNTP / Sharing, saves memory/CPU. Chg: Re-use class instances when initiating Backfill. Chg: Rename update_all to update_per_group for conistency. Chg: Re-use class instancess win initiating ProcessReleases. Fix: Issues in ReqIDLocal Chg: Move RequestID Local and Web into their own classes. 2014-07-22 bart39 Fix: Another fix for PredbFT matching issue with preid being blanked out after match. Fix: MultiProcessing nfo fix Chg: ProcessAdditional - only rename audio from mediainfo if not already predb matched. Fix: typo in /update/postprocess.php 2014-07-22 b3rs3rk Fix: Attempt to fix strange PreDBFT name matching... also fix issue with preid being blanked out after match Chg: Monitor.php now uses PHP forking for threaded operations (if you're using safe scripts, these will still be python) Chg: Switched majority of if/then/else logic to switch/case. Chg: groupFixReleaseNames is now using guid thread separation like the other threaded scripts 2014-07-22 kevin Add: Option to multiprocessing settings to change the way child process text is displayed (none, realtime, serially). Add: Setting for NFO threads. Add: More verbose to multi-processing. Chg: Make forking use tmux/bin/update-releases.php when TPG is on. Chg: Move some of the bin/ scripts into a central script. Add: php version of update_threaded.py Add: php multiprocess requestID, fix the python one at the same time. Chg: Re-use more class instances, save memory and process time. Fix: Use update_db.php on autopatcher/tmux optimize/patchDB Chg: Move postprocess_new.php into switch.php 2014-07-21 b3rs3rk Fix: NNTP being called in update_releases threaded removed -- much faster per thread 2014-07-21 kevin Chg: Add options to multiprocessing postprocess. Chg: Change multiprocessing postprocess to check if there's work first. Add: Settings file for multiprocessing. Add: Option to limit how much new headers to download on update_binaries. Chg: Only enable header compression if we use a method that requires it, saves time when using the instance for something that will never use it. Add: Option to disable text output from child processes on multiprocessing scripts. Chg: Change cached query in browse to use nZEDb_CACHE_EXPIRY_MEDIUM. Fix: Query in NFO (the between was reversed). Chg: Change multiprocessing/threading scripts to do nfo/ppadd/movie/tv by guid first letter, gives better workload. Add: Renamed only processing option for movies/tv. Fix: Reverse like string %. 2014-07-20 kevin Add: Multi processing scripts for binaries/backfill/postprocess/releases, written in PHP. 2014-07-20 b3rs3rk Fix: PreDB join timer logic in Tmux now runs full once and last week thereafter properly Add: ishashed to gfRn md5 work queries Chg: Revert decrypt_hashes all script to look outside category 7020 (Misc->Hashed) Chg: Improve NFO Proc count query and output 2014-07-19 b3rs3rk Chg: groupfixreleasenames var fixes and change to use categoryid instead of group_id Fix: groupID placement for PAR2 in gfrn / refactor pieces / fix whitespace Chg: add slower count logic to gfRn to be more exact on which categories to attempt Fix: last undefined in gfRn Chg: Remove postprocess_old_threaded from monitor as Amazon cannot make use of threaded ops and is a waste of overhead Chg: Revamp postprocess.php so it isn't complete shit Chg: Tweak some settings for gfRn Chg: Set Tmux Amazon to use Tmux php single thread script instead due to tmpunrar clearing in main postprocess.php 2014-07-19 kevin Fix: Hard-coded 15 workers in update_threaded.py Chg: Various changes to process additional / nfo for python scripts. Chg: Create temp dir if not exists and set up perms for threaded scripts - processadditional. Chg: Change python postprocess_threaded.py to do tv and movie by groupID instead (in line with Bart/b3rs3rk's changes) Chg: Call processAdditional directly, saving a DB instance in postprocess. Add: Logic to attempt to detect string size overflow in NNTP, preventing some rare fatal errors. * ---: Merge tasky's PR. 2014-07-19 bart39 Add: XXX to reset_postprocessing. Fix: Undefined variable in groupfixrelnames Chg: Various changes to process additional / nfo for python scripts. 2014-07-19 taskym Fix: Better Matching (gamesorter) Add: Maximum Requests (Games) 2014-07-18 b3rs3rk Fix: MySQL memory leaks from cache limit errors in PreDB FT Chg: Remove NNTP from Tmux PreDB / set checkPre tmux to run full once then for past week with large DB supported query Add: fixReleaseNames by Group that beats the pants off the old one (testing mode) Chg: Clean a few queries up in new group fix release names Chg: Don't start NNTP for fRN Groups par2/miscsorter if SQL doesn't return any releases Chg: Monitor.php now uses groupfixRelNames instead of the old fixReleasesNames (reset your thread/max per thread settings) 2014-07-18 kevin Fix: Missing UNCOMPRESS for plot on xxxinfo. Add: Customizable part-repair max tries. Add: (by Mike1) Query to tpg_fixes.php for getting size from parts into collections. 2014-07-17 taskym Chg: Plot to Blob, Compress plot, Fix: Selecting title 2014-07-17 niel Chg: Modifying DB::queryArray() to make it more efficient. 2014-07-17 b3rs3rk Chg: Move Tmux functions in monitor.php to Tmux class Chg: Move Tmux proc queries to Tmux class (will not require a restart of monitor.php to tweak queries) Chg: Greatly improve processing times for fixReleaseNames MD5 and remove needless loop. Chg: Monitor.php TPG row counts now use INFORMATION_SCHEMA instead as they don't need to be 100% accurate -- greatly increases monitor loop speed Chg: Parent Category counts now done using INFORMATION_SCHEMA.PARTITION table_row counts = much faster (try two) 2014-07-17 kevin Chg: Various speed-up to purge group/partrepair/blacklist. * Rem: Remove sab URL checking #1396. Chg: Speed up purging/reset group more, re-use more class instances, changes to optimise method. 2014-07-16 bart39 Fix: XXX processing / counts in monitor Fix: Set date to now if article header has no date 2014-07-16 niel Chg: Refactored CLI code out of DbUpdate and Versions classes and into their own scripts in .../cli NOTE: This means "php nzedb/db/DbUpdate.php true", now needs to be "php cli/update_db.php true" Fix: Processing tasky's SQL patch file. 2014-07-16 b3rs3rk Fix: TPG/Threaded for ProcessReleases move 2014-07-16 kevin Chg: Link to ubuntu guide. Fix: Cache check on query. Add: Redis cache support, in addition to multiple server support for memcached. You must copy the new settings from settings.php.example, the old settings in config.php are obsolete. Chg: Move ProcessReleases out of Releases. Chg: Speed up release creation. * ---: Merge PR by tasky. 2014-07-15 b3rs3rk Chg: Improve TV series listing site response Chg: Remove likes from predbft search query Chg: match_prefiles will find a few more audio matches Chg: More improvements (speed) to site queries for TV/Movie. 2014-07-15 kevin Chg: Change stage 3 for the trigger changes on automatic binaries/parts deletion. Chg: Refactor stage 4.5 to be similar to stage 3. Chg: Refactor various processReleases stages. 2014-07-15 bart39 Fix: Delete collections at filecheck = 5 at the end of Releases Stage 3. Fix: Undefined variable $site in requestID.php Add: CollectionsCleaning regex additions. 2014-07-14 niel Chg: Modified install step 2, to set sqlpatch setting using the value of the highest patch file found. 2014-07-14 b3rs3rk Chg: RequestID.php multi lookup (last chance match) much more accurate Fix: test-rottentomato not working Chg: Some categorization improvements. 2014-07-14 kevin Chg: Speed-up stage 5 more by buffering some variables. Fix: Wrong usage of NZB construct in 2 places, pass pdo to all NZB contructs at the same time. 2014-07-13 bart39 Fix: !!! TPG USERS MUST RUN nzedb/build/_runounce/tpg_fixes.php !!!!!!!!!!!!!!!!!!!!!!!!! Fix: Move collections deletion trigger to before delete. Fix: Only create trigger if tpg tables were added. Add: Regex addition. 2014-07-13 kevin Chg: !!! TPG USERS MUST RUN nzedb/build/_runounce/tpg_fixes.php !!!!!!!!!!!!!!!!!!!!!!!!! Chg: Move c/b/p deletion to stage 5. Chg: Update stage 7a query for trigger addition. Add: Echo's to stage 7a to see what's going on. Chg: Resolve weak warnings in DB for phpstorm. Add: Query to delete c/b/p missed on stage 5 in stage 7a. Fix: Issue where currently inserting c/b/p could be deleted by stage 7a. Chg: Change dupe delete query in stage 4 to reflect trigger changes. 2014-07-13 bart39 Fix: Console Cover View / Search filter. Add: PC Games Search Filter. Fix: Query error in show_table_sizes.php. Fix: Typo on Movies pages. 2014-07-12 bart39 Fix: typo 2014-07-12 kevin Chg: !!!! IF YOU ARE RUNNING TPG, YOU MUST RUN nzedb\_runonce\tpg_fixes.php !!!!!! Huge speed-up to stage 1 on update-releases. Chg: Speed up to stage 2 on update-releases. Add: Debug info to stage1 for query times. Add: Debug info to stage7a for query times. Fix: Timer on stage7a. 2014-07-11 kevin Fix: Issue where group_id could be set 0 on requestid. 2014-07-10 kevin Fix: Conditionals in ProcessAdditional causing process sample / process mediainfo / process passwords to fail. Chg: Use 7zip/unrar directly instead of unrar for extracting, which is slower than rarinfo but produces larger files to work on. Add: session_write_close(); to ajax group requests to allow the admin to use his site while purging/reseting/deleting groups. Chg: Move site-edit options around, easier to browse through. Add: Process additional: blacklist rar/zip inner files. Add: Process additional: ability to chose how many nested rar/zip files deep to go down. Add: Process additional: ability to chose between using rarinfo or unrar/7z directly for extracting zips/rars. 2014-07-09 bart39 Fix: Fix ReleaseRemover for specific blacklist Add: Regex fixes / additions Add: dump_predb.php - drop predbhash triggers before import and re-add afterwards - should improve import speed Fix: Optimize monitor queries Fix: Add other-hashed category to recategorize.php Fix: renametopre.php - set properlynamed when matched via predb filename Fix: requestid.php - check if 2nd parameter is set 2014-07-09 kevin Fix: Nzbget url missing a / when using a reverse proxy. Add: Headers to API/RSS, helps tracking problems. Fix: misc/update/backfill.php undefined Settings issue. 2014-07-09 DariusIII Fix: Wrong column name in recategorize.php. 2014-07-08 niel Fix: Admin => site-edit to work with Settings instead of Sites. 2014-07-08 bart39 Fix: Include PC Games lookup for postprocess amazon in tmux 2014-07-08 kevin Chg: \s* to \s+ in binaries parts regex between yEnc and parts count, there should be space there, speeds up by removing the trims. Chg: Remove message array object, not used anywhere else. Binaries. Chg: Merge the usenet index post ignore regex into the subject/part count regex. Binaries. Chg: Move TPG functions out of DB into Groups. 2014-7-08 b3rs3rk Fix: blank screen for users not logged in. Index.php calling $page->$pdo instead of $page->$settings to get settings from DB Fix: Login redirect function for home_path 2014-07-07 kevin Add: Trim to collection check, collection name and binaries name (fixes issue with some space between yEnc and part count). 2014-07-07 niel Chg: Refactored code to remove use of DB and Site classes in favour of combined Settings class. Should improve memory use and small performance boost. 2014-07-06 bart39 Fix: Monitor.php showing negative misc count 2014-07-06 b3rs3rk Chg: Monitor.php now shows PC work counts for unprocessed PC Game lookups Chg: Moved a few count queries in Monitor.php to the JOIN ON format instead of in where clause Add: More categorization improvements 2014-07-05 bart39 Fix: Typo in Releases.php, games cover view fixes. 2014-07-05 kevin Chg: Add back on duplicate key update to collection query, required for those running multiple instances of the script. Add: Check to see if Bytes is empty, set it to 0, binaries (possible fix). Add: Catch failed collections/binaries inserts and rollback the transaction. Chg: Speed up group purging by using joined query. 2014-07-04 kevin Chg: Binaries, more speedups to inserting headers, fix issue with part repair. Add: Speed-up for those with no enabled blacklists by buffering the SQL check. Chg: 4x+ speed-up of header processing by not sorting them (the benefits of sorting them is tiny vs the gain in performance). 2014-07-03 bart39 Fix: Fix RottenTomatoes covers due to api changes. 2014-07-03 b3rs3rk Fix: undefined offset 0 error for real in Games.php. 2014-07-03 kevin Fix: Issue where first_record could get wrongly changed, rename more variables in Binaries. Chg: Speed up header inserts (3-4x faster from my end). Chg: Insert to insert ignore to hide duplicate errors on binaries. Chg: Remove doubled period check on compressed headers. Add: Script for setting the backfill start article based on the group's oldest release. 2014-07-02 taskym Add: Add profile preference for Games cover view 2014-07-02 b3rs3rk Fix: undefined offset 0 error in Games.php lookup Chg: fastDelete releases query to remove concats Chg: New Poster Wall games sizing is now non-mongoloid 2014-07-02 kevin Add: Add in pull request by tasky for fetching PC game info from GiantBomb and amazon, and adds PC games to new poster wall. Fix: Patch for missing 'setting' for giantbomb api key. Fix: Blank page on games cover view. Add: (UPDATE TO settings.php, update it if you have it.) Setting to settings.php.example for hiding/showing missing autoloader files. Fix: misc/testing/PostProc/getGames.php and changes to Games->ParseTitle Chg: Update games regex to pick up more games. Add: Re-enable header compression if header compression was disabled during fetching headers due to a decompression error. Fix: Undefined namespace issues in utility. Chg: Update some IGN.com links. Chg: Add check to see if explode is false on getXOVER (in case string is empty). Chg: Changes to binaries to help with large sections of missing headers. Chg: Changes to binaries to speed up part repair. 2014-07-01 kevin * ---: Happy canada day to all. Add: Missing reqid group to tsv. Chg: Clean up schema. Fix: Update tsv settings sqlpatch to 239. Add: Settings file to www, all automated.config.php settings moved to it. Copy settings.php.example to settings.php and edit. Add: Option for removing white space from queries, helps with slow-query log. * Rem: Remove reverting of automated.config.php changes from commit for devs. Add: Extra options to settings.php.example for renaming releases using PAR2 or audio tags from media info. Copy them to your settings.php file. 2014-07-01 b3rs3rk Chg: Regex for IRCScraper now supports spaces in between parsing fields Fix: Deletion of old C, B, and P will now occur if parts are missing Chg: Begin to standardize queries for Releases.php Fix: fastDelete not working properly Fix: Broken queries in Releases.php Fix: Broken site browse query in Releases.php. Chg: More query standardization for Releases.php Fix: Typo in Releases.php 2014-06-30 kevin Add: Option for ignoring PRE titles on IRCScraper. 2014-06-30 niel Chg: Improving versioning output. 2014-06-28 kevin Chg: Don't add mediainfo to DB if it's empty XML. Add: Double period line start check to compressed data NNTP function. * Rem: Remove fetching of mediainfo from the sample videos, since they are re-encoded and their data does not correspond to the actual release. Fix: Corruption on some NNTP strings because of doubled period. 2014-06-27 bart39 Fix: Remove var_dump / fix query in ReleaseRemover. 2014-06-27 kevin Chg: Various changes/fixes to ProcessAdditional. 2014-06-27 b3rs3rk Chg: removeCrapReleases can now be run in false mode with a Blacklist ID that isn't set to active for testing Fix: Remove trailing whitespace Fix: typo in requestid.php that prevented 'full' from running properly 2014-06-26 kevin Add: Function to ProcessAdditional for recursively deleting files and folders within a folder. Add: Slightly faster method for parsing header array (class NNTP). Chg: Increase compression on NZB files, other slight speedups of NZB file creation. Chg: Buffer some NZB string data, increasing NZB write speed by almost 2x. Add: Setting for minimum release size to post process additional (to ignore NZB files and shit like that). Fix: Fix issue where passwordstatus might not be set. 2014-06-25 b3rs3rk Chg: Overhaul and class requestid.php Add: Title matching in multiple return requestIDs Fix: Trailing whitespaces in requestid.php Chg: Some variable factoring and comment edits Add: Slash removal from match_prefiles function Add: scnzb reequestid checks in requestid.php (still needs new triggers) Chg: Full work query for match_prefiles is now much more full 2014-06-24 niel Fix: Prevent tmux statistics from being queried/displayed if monitor_delay set to 0. Chg: Default tmux monitor delay is now 300 seconds instead of 30. If you have changed this it will be unaffected. * Rvt: Reverted above fix, as it causes too many missing variable notices. Looking for a better way. 2014-06-23 b3rs3rk Fix: RequestID Local setting -3 releases back to -1 reqidstatus Fix: Second try at fixing the PP hang -- add strlen check 2014-06-23 kevin Add: Patch to fix broken triggers causing search/api/other stuff not to work. Add: Fix by JRouleau for fixing triggers on new installs (needs a patch for existing sites). #1360 Fix: Missing single quotes on config.php.tpl causing install to fail on step 5. 2014-06-22 b3rs3rk Fix: requestID incorrectly matching requestID of zero 2014-06-22 bart39 Fix: requestID not set for web lookup causing insert errors 2014-06-21 kevin Fix: Various fixes in requestID (hitting web every run needlessly). Chg: Minor changes to NNTP. Fix: IRCClient, servers with numbers in their names stay on the initial sequence. Fix: Extra "LIKE" on preinfo. Add: Category search on preinfo. 2014-06-20 b3rs3rk Chg: A few more categorization changes Fix: trailing whitespace 2014-06-20 niel Fix: Adding white-space checks to queryOneRow LIMIT regex to catch queries spread over more than one line. 2014-06-20 kevin Add: Documentation for POST method of preinfo request ID lookup to preinfo.php Add: The POST method for request ID to preinfo.php (you can send a POST method to preinfo with a serialized array of requests for request ID's). Chg: Change requestID web to send multiple requests at once giving a big speed improvement. 2014-06-19 b3rs3rk Chg: Adopt switch/caseing for Categorize.php Fix: TV Categorization issue with recent changes 2014-06-18 kevin Chg: Remove some scandir's from ProcessAdditional to speed some things up. Chg: Rename all methods/properties with protected/private access level in Class NNTP. Add: User changeable socket timeout. You can add define('NNTP_SOCKET_TIMEOUT', 120); and define('NNTP_SOCKET_TIMEOUT_A', 120); to config.php, 120 is the seconds. Chg: Use the proper "mode" for setting the socket back to blocked. Add: Socket timeout property to NNTP. Fix: Missing check for downloading media binary in ProcessAdditional. Add: Central method for error response code checking (NNTP). Chg: Refactor of Net_NNTP. Chg: Slight speedup to body fetching by removing useless empty check. Chg: Change various scripts to use new NameFixer echo method. Add: Static method for echo'ing renamed releases. 2014-06-18 b3rs3rk Fix: PP additional hang due to filenames that start with a period and match_prefiles bug Chg: Properly categorize PS4 and PS4 in a.b.console.ps3 Fix: PS4 not post-processing correctly Fix: u4e rename results not colored correctly * Rev: Revert changes to colorize u4e rename as they won't work Fix: optimize-keys option being used for MySQL other than Percona in mysqldump_tables.php #1330 2014-06-15 DariusIII *Chg: Remove tmpunrar folder cleaning from monitor, interferes with other scripts. 2014-06-15 kevin Chg: Use custom function for fetching article body which is faster and uses less CPU. Chg: Cache total amount of files found in RAR or ZIP to speed up processing by preventing additional downloads of RAR or ZIP. Chg: Try to get original file names from rar. Combine array output of GNU File to increase chances of finding stuff. Check MPEG sequence, v2 from GNU file for mediainfo / samples/ etc. Fix: Fix for u4e not renaming in ProcessAdditional. 2014-06-14 DariusIII *Chg: Update the rename_u4e script to update the releases so they can be reprocessed again. 2014-06-14 kevin Chg: ProcessAdditional, Use recursive iterator on extracted files, match "codec spam" directly when checking RAR's and set them as "Potentially Passworded", various other small changes. 2014-06-14 bart39 Fix: #1352 predb filename 'readme' causing incorrect matches 2014-06-13 niel Add: .../nzedb/build/_runonce/tpg_groupid_fix.php. Thanks to b3rs3rk for testing. NOTE TPG users need to run this once to fix the groupid field in the extra tables. Alternative re-creating your TPG setup will do it too. 2014-06-13 kevin Fix: Make up file name for zip / rar files, prevents errors when files are named like this : "/47291_Disk Space Pro.app/Contents/_CodeSignature/CodeResources" Fix: GNU File non escaped file path causing issues. Add: PAR2 file checking to GNU File check (ProcessAdditional). Add: Use GNU File to increase chances of getting samples/mediainfo/etc on files that do not have the right extensions. Add: alt.binaries.mom / reset processing to u4e renaming function. Add: U4E stuff into ProcessAdditional Add: Deleting temp files to rename_u4e.php Add: Getting NFO's from ZIP/RAR (and nested ZIP/RAR) files. Chg: Update u4e script, works now. Chg: Update the u4e script, untested. * Remake ProcessAdditional. Clean up NameFixer class a bit. 2014-06-13 b3rs3rk Add: Non-operational rough rename script Chg: Categorization improvements for other usenet groups Chg: Change 1 to renameu4e 2014-06-12 niel Chg: Converting groupid to group_id in tables and code to follow Li3 conventions. 2014-06-11 kevin Add: Add the reconnect on MySQL has gone away to exec/queryexec. 2014-06-10 b3rs3rk Fix: RemoveCrap gibberish deleting hashed releases due to category switch Chg: AnimeTV check now runs before HDTV Check as it is much more specific Chg: Moving mutliple ifs to cleaner switches in Categorize (first test) Chg: More changes from multi ifs to switches in Categorize Fix: removeCrap Size removing legitimate cracks, trainers, keygens, etc Fix: PreDB File match on file insertion matching strange binary strings to invalid Pres Fix: Categorize Amazon web format books to Ebooks and strip the azw tags from Amazon lookups 2014-06-09 b3rs3rk Fix: Potential fix for hanging tmux monitor.php query (restart tmux session after pull) Chg: More categorization improvements Chg: Remove additional blank line in monitor.php 2014-06-09 kevin Add: Catch and reconnect lost MySQL connections. 2014-06-09 niel Add: Persistent connections option for DB. Defaults to false because of https://bugs.php.net/bug.php?id=63176 2014-06-07 niel Fix: Problem with mixing instance/static, that caused search to fail. 2014-06-06 kevin Chg: Change simple_php_yenc_decode check to a sub-string search to allow improper settings (ie: /path/to/simple_php_yenc_decode.so) 2014-06-06 niel Chg: Improvement to DB::queryOneRow for LIMIT clause checking. Add: New DB methods for checking/showing indexes. Chg: Made .../misc/testing/Dev/check_unique_indexes.php to use new methods. 2014-06-05 b3rs3rk Fix: misc/testing/dev/test-memcache.php not loading Mcached class properly 2014-06-05 kevin Chg: Modify nzb-import to be recursive and use less RAM. 2014-06-05 bart39 Fix: use queryDirect rather than queryOneRow for queries starting with SHOW INDEX 2014-06-05 DariusIII Chg: Updated the codec poster removal in ReleaseRemover.php. It might catch some legit releases. 2014-06-04 bart39 Fix: fix web lookup for requestid_threaded 2014-06-04 DariusIII Chg: Remove remaining grabnzbs dependencies and nzbs table 2014-06-03 bart39 Fix: Set reqidstatus correctly after local lookup 2014-06-03 kevin Chg: Stage 4, buffer checkpasswordedrar for speedup. Chg: Change queryOneRow to check if LIMIT is in the query, tack on LIMIT 1 if not to prevent queryArray from running out of RAM on large data sets. Chg: Make stage 4 easier to read. Chg: Minor changes to stage 4. 2014-06-03 b3rs3rk Add: PreDB Filename match check now runs after filename insert Chg: More categorization improvements for Console/Anime Chg: Local RequestID Lookup now runs regardless of setting in update_releases Fix: Stage4567 RequestID local lookup now runs indefinitely for Non-TPG folks (for real this time) 2014-06-02 bart39 Chg: Crossposted requestid web lookup Fix: Typo in misc/update/requestid.php 2014-06-02 DariusIII Chg: Remove grabnzbs from tmux, settings, Binaries.php, threaded.sh and site admin. 2014-06-01 kevin Chg: Change Alpha theme error output when there are no covers in cover view. Add: Links to ZNC/IRCScraper guides. 2014-06-01 niel Fix: Adding dynamic git path use to the Git library so that OSes with non-standard locations do not fail.. 2014-05-31 kevin Chg: Remove all web sources from Predb, please run IrcScraper from now on to get PRE's. Chg: Split up the console dropdown list by manufacturer to shorten it. 2014-05-31 b3rs3rk Chg: Category Improvements Fix: Issue #1307 -- Movies with MP3 in searchname get improperly categorized as Music->MP3 Add: New categories for next gen consoles Add: Regex categorization for next gen consoles Fix: 3DS categorization Add: Post Proc support for WiiU\Ps4\PSVITA. 2014-05-30 b3rs3rk Add: Misc Category for Hashed releases (run Dev/recategorize.php misc) Add: More categorization improvement for PC Games 2014-05-29 b3rs3rk Chg: Categorization improvements for Console, PC, and Anime TV Chg: Console post processing improvements 2014-05-29 kevin Fix: When removing the nzbget user/pass it wouldn't stick. Fix: Add missing from unixtime on predb web. Chg: Move some Web PRE source to IRC. Chg: Allow empty nzbget username/password. Chg: Comment out SRRDB from Web PreDB, will be added to IRC PreDB. 2014-05-28 bart39 Chg: Don't display movie info if imdbid = 0000000. 2014-05-28 b3rs3rk Fix: 3DS categorization (now in NDS cat) and Amazon post processing Chg: Better Amazon lookup support for Console releases Add: Console categorization for PSX/PS2 titles to Other Chg: Categorization for some PC Games newsgroups Add: Account for Amazon Console titles that have the platform name at the end of the title 2014-05-27 bart39 Chg: Add unique index for predb title to avoid dupes. 2014-05-27 b3rs3rk Add: Categorization for GameCube titles that aren't WiiWare (Console->Other instead of Misc->Other) Fix: Add Gamecube Amazon lookup platform fix Chg: NGC platform prep for lookup 2014-05-26 bart39 Chg: update schema to match last patch Chg: Disable update_predb_hashes and update_predb_md5 scripts as they are now defunct. Chg: Refactor PreDB final stage - remove md5/sha1 from predb table. Fix: fix issue with trigger causing duplicates 2014-05-26 NZBmets Chg: TMUX Powerline uspsetting segment to handle IPv6 and proper IPv4 parsing 2014-05-25 b3rs3rk Fix: Remove no longer existing foreign check from Movie PP 2014-05-25 bart39 Chg: Only reset release details if the category changes (requestid.php) Chg: Categorize against the cleaned searchname instead of usenet subject Add: Check if clean searchname matches predb filename Chg: Regex additions / fixes Chg: Only reset release details if the category changes Chg: Move declaration of $this->category to constructor Chg: Check cleaned searchname against predb title or filename as release is created Fix: Typo (cleansubject is title) 2014-05-25 kevin Chg: Cleanup/fixes in Categorize. Chg: Move categorization functions to their own class. Chg: Drop multiple language categorization due to lack of maintainers. 2014-05-24 kevin Fix: Potential fix for "Unitialized string offset 0" on NFO. Fix: Missing opening tags in NZBGet XML-RPC. Chg: Expand the RottenTomato class. Chg: Merge methods on \RequestID. Add: Better echo's on requestID. * Various refactoring/changes/fixes. Mainly in Binaries/Backfill classes. 2014-05-23 bart39 Chg: Don't display movie with an imdbid of 0000000 2014-05-23 DariusIII Chg: Change the way/text the grabnzb disabled message is displayed 2014-05-23 kevin Fix: Typo in releases.php (5c is 5b). Add: Limit on local requestid (make things quicker). Fix: Empty groupid in requestid. Fix: Fix/Refactor RequestID class. Fix: Update schema sqlpatch to 226. Fix: Wrong usage of _isConnected() Chg: Use _isConnected Add: Loop in NNTP decompression to wait for the server to return data on possible terminator (should help with "msgs is not array"). Chg: Use stream_socket_shutdown instead of fclose when closing the stream socket client on NNTP (faster). Chg: Don't use feof on _isConnected in NNTP for certain uses (feof can return false even if the socket is still open). 2014-05-21 b3rs3rk Chg: Class RequestID part one Fix: FTS result sizes in PreDB FT exceeding limits 2014-05-21 bart39 Chg: test gitbot again Fix: fix releases stage 4 / request id threaded / non threaded handling of requestid matching 2014-05-21 kevin Chg: Update rarinfo to newest (*Improves handling of corrupt RAR 5.0 archives*). 2014-05-20 Bart39 Fix: Releases stage 5b/5c requestid lookups 2014-05-20 b3rs3rk Fix: PreDB FT Match in fixReleaseNames should actually update searched now 2014-05-20 Bart39 Fix: Fixed the TMDB covers lookup path in Movie.php #1329 2014-05-19 Bart39 Chg: Use predbhash fulltext search for hash lookups Chg: Make RequestID lookups consistant between releases stage 5b/c and requestid_threaded 2014-05-19 b3rs3rk Chg: RequestID lookups split into two stages for local and web lookup (and actually seems to work now) Chg: PreDB FT count in fixreleaseNames no longer divides by 10 as it is faster than par2 2014-05-19 niel Fix: Remove attempt to set db connection attributes that are already set from install step2.php Chg: Prevent Settings from requiring config.php during install. * New: Added new Git class to nzedb\utility Chg: Refactored scripts using git to use new Git class. 2014-05-18 kevin Add: Script to test hashes/encodings (~270k possibilities). 2014-05-18 b3rs3rk * Re-work counting query in tmux monitor to reduce loop times * Change fixReleaseNames query for proper standards 2014-05-17 b3rs3rk * Various query optimizations in preparation for index overhaul 2014-05-17 bart39 Fix: page counts for books, console and music Chg: rename patch 225 Fix: regex error 2014-05-17 niel Fix: Pre-commit exits early if new patch checking runs into a problem. Chg: Making covers' constant truly default to .../resources/covers. Users with older installs should consider moving their covers from .../www/covers . Fix: Pass backup settings from newPatches to processPatches. Chg: Renaming patches with 'schema' for table name. Fix: Uncapitalised settings table name in patch 226. 2014-05-16 b3rs3rk Add: PreDB FT Match to fixReleaseNames and tmux 2014-05-16 bart39 Chg: Refactor predb stage 1 NB: new table will be created as MYISAM due to fulltext search, if you wish to alter to InnoDB you must be on mysql 5.6+ Chg: Regex improvements Chg: cross-posted requestid checks Chg: Refactor tmux variables for ircscraper/sharing windows Fix: Files in pre info popup showing with MB 2014-05-16 niel Chg: Improvements to Settings/Site detection for upgrading from older installs. Chg: Using separate settings value in DbUpdate only if needed (Improves memory use). Chg: Updated doc for creating patches. 2014-05-15 b3rs3rk Add: New category matching and refined filtering to match_predbfiles (no longer console only) Add: Full database (no category restriction with a separate method) filename matching for match_predbfiles Fix: Blank line in Utility EOF 2014-05-15 kevin Add: New ignorable source IRCScraper (copy from settings_example.php). Fix: Add missing setting for predb to settings table. Add: Time ago to comments (alpha theme). Fix: Fixes / tweaks to encode yEnc. 2014-05-14 kevin Chg: Update ubuntu guide. * Mov: Rename ubuntu guide. 2014-05-14 DariusIII Fix: Add missing $status for new types of matches in NameFixer 2014-05-13 bart39 Fix: set filesize to 0 if sum of parts returns NULL Fix: Verify tmpunrarpath is not null before removing dead folders Chg: Only reset collections / nzbs that are older then delay time check in site settings 2014-05-13 b3rs3rk Fix: $res variables in NameFixer predb match functions now check for false before rowCount() Chg: PreDB FT Match function query to rule out impossible matches / hanging matches Chg: Optimize FT Match query for speed Fix: PreDB Scrape from Web sources should no longer overwrite valid pre info if not set Add: Usenet name to updateReleases NameFixer function Fix: PreDB web scrape double escape string in MD5 on update Fix: Remaining PreDB dupe errors from uc and predbme / fix updateReleases for checkNames + NFO Add: PreDB FT Match Script (testing phase) 2014-05-13 kevin Add: POSIX Extension as requirement for unix operating systems to INSTALL.txt Chg: Predb web, use MySQL to md5/sha1 to avoid encoding issues. Fix: Fix multiple delete of releases on web browser. Fix: Add reloading of page when bulk editing releases on web page. Fix: Indent/various issues in admin theme. 2014-05-12 DariusIII Chg: Add huge file removal option to remove crap part of tmux admin page. 2014-05-11 kevin Add: Add change by predator314 to allow sickbeard/nzbdrone to pick up releases from Web-DL category on API. Add: Strip new lines / carriage returns from web predb titles before inserting. 2014-05-11 bubblun Add: New setting to delete releases with a size of over 200MB and just a single file/part. Those are very likely spam releases. 2014-05-11 b3rs3rk Add: PreDB FT Match Function to NameFixer 2014-05-10 kevin/niel Fix: Fix for UC changing predb output on html. Chg: Change a regex in predb. 2014-05-09 b3rs3rk Add: PreDB filename matching function and test script (use at own risk for now) Fix: decrypt_hashes show logic was backwards (showing the results of rename when show wasn't specified) Ahem - Bart39 2014-05-08 niel Fix: Definition of Covers constant now Settings is main class instead of Sites. Fix: Table default for site/settings. Fix: Typo for Sites class in PostProcess.php Add: Enabling patch checking for pre-commit hook. 2014-05-08 bart39 Fix: Incorrect parameter validation in decrypt_hashes Chg: Use releasesfiles ishashed for parsing titles. 2014-05-07 bubblun Chg: Changed 1MB crap size delete limit to 2MB to catch more spams #1310 2014-05-07 kevin Chg: Simplify predb class more. Chg: Check if the php posix extension loaded during install. Chg: Update ubuntu install guide. Add: The completion criteria to the delete releases GUI. Chg: Set the minimum completion to 0 so unprocessed releases don't get deleted. Add: Filename parsing to IRCScraper. 2014-05-07 niel Fix: Covers constant wasn't being set after recent update. 2014-05-07 b3rs3rk Fix: Syntax error in dump_predb (For real this time) Fix: dump_predb number of columns error 2014-05-06 bart39 Fix: echoing '.' causing screen errors. Fix: undefined index / offset in decrypt_hashes Chg: use NameFixer->matchPreDbHash for decrypt_hashes 2014-05-06 b3rs3rk Fix: fixreleasenames MD5 never exceeding dehashstatus 0 Chg: fixreleasenames.php in tmux now honors hashes with uppercase letters Chg: matchPredbHash will lowercase the hash before checking against predb table hashes Add: Option to delete_releases to FastDelete by completion Add: filename column in PreDB to start matching unique release filenames Add: ishashed column to releasefiles to reduce slow REGEXP querying Add: Indexes for new columns (remove unique from predb filename) Chg: Optimize fixreleasenames_threaded query for hash matching to use new rf.ishashed 2014-05-06 DariusIII Chg: Changed the regex in misc/update/nix/tmux/bin/requestid.php to match the regex change for reqids Chg: Updated threaded requestid to use the new reqid server url 2014-05-05 niel Chg: Defaulting covers path to .../resources/covers on new installs. Instructions for setting up your www conf are on the wiki. 2014-05-05 bart39 Chg: update requestid.php for new requestid regex. Fix: Fix regex for isrequestid triggers and add to schema. NB: run 'php /misc/update/requestid.php full' to find potential matches. 2014-05-04 bart39 Fix: compilation failed missing ) in ReleaseCleaning Chg: dump_predb.php - don't override existing groupid if groupname is null in the import Chg: fixed regex for requestid matching in ReleaseCleaning Chg: Improved regex for isrequestid triggers Chg: check for predb title matches against other groups where it matches fromname for known cross-posts. Chg: Regex additions / fixes for release / collection cleaning. Chg: Add count of releases recategorized in recategorize.php Add: Display predb nuked / reason in nzb details 2014-05-04 b3rs3rk Chg: dump_predb now only removes titles that have <= 8 chars as opposed to 15 (older valid pres were being deleted). 2014-05-04 kevin Add: Ability to ignore corrupt-net and categories to IRCScraper. Update your settings.php #1300 Chg: Update a predb source. 2014-05-04 niel Chg: Redid patch filename format to be ~.sql That's a tilde separating them. Chg: Renamed first 99 patches so they list better in GitHub (Grumble: why doesn't Github use a natrual sort). Fix: Filename matching after changing filename format. Chg: Renamed remaining patch files to new format. Chg: Alter regexes to use the full format now. Add: Basic method for processing new patches into Db and correct filename format. Needs more work to be useful. 2014-05-03 b3rs3rk Chg: Modify query for decrypt hashes to check MD5 or SHA depending upon hashlength 2014-05-02 bart39 Fix: insert error on patch 209 2014-05-02 kevin Chg: Change request ID URL, new site has ~600k reqid's and counting. Add: Ignoring of efnet channels to IRCScraper. #1300 Chg: Use TLS on step3 of install, better showing of NNTP errors. Add: Append the socket error / number to the PEAR error message when creating a NNTP stream resource fails. Chg: Update docs for ZEND Opcache. Add: Opcache stats page to admin (near the middle of the page). 2014-05-01 niel Chg: Changed the forum address in the READDME for the new location. Chg: Merged traid's updated convert_from_newznab script. Many thanks. 2014-05-01 b3rs3rk Chg: Force decrypt_hashes to do lower case letters only in the DB call to match hashes Add: decrypt_hashes when run in show mode will now specify the hash match type: MD5 or SHA1 instead of just MD5 2014-05-01 bart39 Fix: fix importing nuked and nukereason from predb dump Fix: typo in predb dump file name Fix: add missing fields to tmux schema for new install #1299 Fix: typo in dump_predb.php 2014-04-30 bart39 Fix: fix issue with miscsorter not updating releases it didnt rename. 2014-04-29 bart39 Fix: bad query in last sql patch - make sure you re-enable IRCScraper in tmux settings if you use it. Chg: Update tmux settings for IRCScraper changes Fix: undefined index in IRCScraper 2014-04-29 kevin Chg: Major changes to IRCScraper, now using our own PRE channel. Please redo settings.php. Might be issues. 2014-04-29 bart39 Chg: ignore releases that already have a preid for decrypt_hashes Fix: improve browsing performance by only checking 2 words on searching similar releases Chg: Category changes: check if tv for a.b.warez, disabled unknown check in isTV that ignored vaild tv releases Fix: values from settings table Chg: refactor queries in update binaries Fix: truncate console reviews to 3000 chars 2014-04-28 niel Fix: Changed patch 208 to be simpler. Chg: Adding regex for DbUpdate's path matching, as Utility::PATH_REGEX. Fix: Added full stop ('.') character to path regex constant. 2014-04-28 b3rs3rk Fix: sprintf error Line 625 predb, too many arguments and not enough inputs 2014-04-28 kevin Chg: IRCClient, only reply to pings from the server to prevent abusers from making us flood. 2014-04-28 bart39 Fix: temp workaround for srrdb update issues due to rss changes on their site. 2014-04-27 niel Fix: Reinstate Db/commit checking for tmux. 2014-04-27 kevin Chg: Update preinfo API documentation. Chg: Output Unix Time on preinfo API to avoid timezone issues. Fix: User edit overwriting queue type. Chg: Cleanup API backend. Add: offset to predb API. 2014-04-26 niel Fix: Changing badly quoted entry in menu.tsv Fix: Typo in quoting for query in dump_predb.php. 2014-04-26 b3rs3rk Fix: Remap PreDB.php functions to PredbHash instead of MD5 Fix: SxxExx namefixer regex no longer matches resolutions that harmfully renamed Anime releases 2014-04-26 bart39 Fix: missing > in NameFixer #1289 Fix: duplicate insert of isrenamed Fix: Blank searchnames from requestid web lookup 2014-04-26 kevin Fix: Undefined offsets in srrinfo. Add: API for PreDB. (can be used for matching sha1/hash/titles/requid). Chg: IRCScraper, remove some channel passwords, let user fill them in. Chg: Update ubuntu install guide, mention Avconv as an alternative to FFMpeg. Chg: Remove DB pings from last push, causes issues. Chg: Fix indents on pull request. 2014-04-25 kevin Add: Even faster yEnc decoding by using a PHP extension, see : https://github.com/kevinlekiller/simple_php_yenc_decode for instructions. Chg: If the user does not have the extension loaded, use the built in PHP method for yEnc. Add: DB pings to IRCClient when pinging or ponging IRC to prevent DB timeouts. 2014-04-25 b3rs3rk Add: Phase 2 of SHA matching implemented for fixReleaseNames and decrypt_hashes 2014-04-25 niel Fix: Reverting accidentally changed default settings. 2014-04-23 niel Fix: Typo in default tmpunrar path. 2014-04-22 niel Fix: Updating pre-commit hook files to fix problems updating versions. 2014-04-22 bart39 Fix: fix API errors Fix: renametopre.php incorrectly matching a.b.etc requestid releases against a.b.erotica releases NB: this will reset the searchname and preid against the affected releases - run /misc/testing/Dev/renametopre .php full preid to re-match them. Chg: Add fromname and size to ReleaseCleaner for potential use matching releases aginst predb titles for other groups. 2014-04-21 kevin Fix: Typo in requestid. Fix: IRCClient. The example code on php.net for fwrite is wrong and can create an infinite loop if the remote server closes the connection which causes fwrite to return 0 and not false - php.net only states false as a return value on error. 2014-04-21 b3rs3rk * Modify requestid local match script to ignore matches already PreDB matched and change script commenting 2014-04-21 niel Chg: Adding removal of bad rows in predb to patch 213. * New: Added method to Versions class to fetch the pre-commit version. Chg: Updated pre-commit hook. Dev's should run .../nzedb/build/addGitHook.php to install. 2014-04-20 niel Fix: Updated create table for patch 210, to avoid truncation of data. Chg: Removing a number of query failures from errors to ignore during patching. 2014-04-20 kevin Chg: Increase local ping chances by moving it out of the if/else block. IRCClient. Chg: Move local ping sends at the bottom of the chain to prioritize incoming messages IRCClient. Chg: Small changes to IRCClient. 2014-04-19 kevin Chg: Ping changes in IRC client. Add: Custom IRC Client to replace PEAR SmartIRC, encrypted IRC connections are now supported. 2014-04-19 b3rs3rk Add: Framework for SHA1 release PreDB matching 2014-04-18 niel Chg: Major change to Db schema. site table is now settings, and expanded for more granularity. Current code/templates should continue to work without change, but will have to change to take advantage of the increased granularity. Fix: Data file for settings table had extra tab for yydecoderpath, preventing it loading. Fix: DB::$pdo visibility now protected so child classes can access it. 2014-04-18 kevin Fix: Nfos showing as 1. 2014-04-17 kevin Chg: More changes to getMessages NNTp. Add: @access to some properties/methods. Chg: Save a bit of memory in getMessages. Fix: Various bugs in PP additional. Fix: Unexistant variable in tmux import. Chg: If file_get_contents is false on yydecode, return PEAR Error. Chg: Various changes to post proc additional. 2014-04-16 testarea1 Fix: Missing equals on span class on view NZB page for Alpha Theme #1273 2014-04-15 niel Fix: Change to regexes to allow Windows' paths to be matched in DbUpdate. Fix: ... and the Drive letter. Doh! * Rvt: a68c81723f0bf4a3c8ca29b8381e114c642b7935 in favour of putting GnuWin in system. * New: Windows users should read .../docs/GNUWIN.txt on how to add some of *nix's features on Windows installs Fix: Properly catching the PDOExceptions that were ignore during patching the Db. (namespace issue). 2014-04-15 bart39 Chg: More refactoring in ReleaseCleaning Fix: unknown modifier in ReleaseCleaning Chg: Simplify ReleaseCleaning Add: add a.b.movies to CollectionsCleaning Add: add more ReleaseCleaning regex for a.b.documentaries, a.b.etc, a.b.games, a.b.hdtv, a.b.mom, a.b.movies, a.b.movies.x264, a.b.nl, a.b.sound.mp3, a.b.sound.mp3.complete_cd, a.b.sounds.mp3 and a.b.teevee 2014-04-15 kevin Fix: Formatting issue on NFO pages. Fix: PreDb constant usage. Chg: isNfo method. Add GNU File for windows. Fix: Typos in IRCScraper. Chg: Move Nuke constants in PreDb. Chg: Hide unlink warnings in NNTP. 2014-04-14 kaibosh Chg: README.md: drop nntp-proxy as "feature". Insert comment sharing 2014-04-14 kevin Add: isNfo checking to alternate nfo. Chg: Change TVRage imgdata to mediumblob in schema, the images never go past 4MB. Chg: Set max size of NFO to 65KB, the max for BLOB column type. Add: Constants for NZB and NFO. Add: Constants for reqidstatus. Chg: Refactor Stage5b (RequestID) Fix: Fix some undefined variables. Chg: Simplify collectionscleaning. Fix: #1268 Group bulk add. Fix: Notice in removecrap. Chg: More refactoring of NNTP, add Yenc functions in NNTP, remove Yenc class. Fix: #1267 Use https for youtube videos to not cause issues on http sites. 2014-04-14 b3rs3rk Add: Option for removeCrap to specify a fourth argument for Blacklist ID (great for testing full time delete with new regex) 2014-04-13 kevin Add: Massive speed improvement to yEnc decoding (~400 times faster) by using yydecode binary (ubuntu/debian you can get it from the getdeb repository or you can compile it, takes a few seconds). This speeds up anything requiring yEnc decoding, like fetching rars/nfos. On post process additional going through 25 releases on a.b.teeve used to take 5 minutes, it takes about 15-20 seconds now. Chg: Change to get more NFO files. Chg: Change yydecoder to use random files to help with threaded scripts. Chg: Refactor nzbcontents.php making fetching NFO files faster (only scanning the NZB once for hidden/non hidden NFO's). 2014-04-13 b3rs3rk Add: Roelski's AniDB population changes -- needs a lot of work still Fix: Errant variable in populate_anidb Fix: Working AniDB full dat update 2014-04-13 bart39 Fix: fix potential permission issues with yydecode * New: add trakt, imdb and couchpotato icons to Theatres Chg: Theatres pages - rotten tomatoes icon will display fresh or rotten dependant on critic score Chg: make icon order on search page consistent with browse page 2014-04-13 niel Fix: removeWMV rename missed one in RemoveReleases. Fix: Fixing typo from previous commit. Chg: Changing regex named captures to use older version as PHP 5.5 doesn't seem to like the alternative versions. 2014-04-12 bart39 Fix: typo in movie processing * New: added /misc/testing/Dev/recategorize.php - will attempt to recategorize releases (useful if there are updates to category regex) 2014-04-12 b3rs3rk Fix: Issue #1264 - ReleaserRemover (removecrap blacklist) not actually deleting Chg: removecrap output to fit better within lines Add: Egandt's codec poster removal method to removecrap wmv check (now called codec) * Chg: removecrap time after first run now goes 4 hours back per function - 2 hours was not enough for file checks 2014-04-12 kevin Chg: Slight speedup on update binaries, by hitting collectionscleaning less often. Chg: Refactor Movies class. Fix: Typo in content.tsv causing site to not work. Chg: Big improvement to parsing of IMDB id's. 2014-04-12 niel Chg: Renamed all necessary SQL patches to work with new method. In the process discovered a few patches were badly sequenced so that patches would be ignored. This may be the cause of some problems with (much) older installs. NOTE: For some patches to work, the MySQL user must have FILE privileges, and the location of files must be accessible to ALL users. This means that all directories must be traversible, not just have read permissions on the files set for all. Chg: Switch patching preference to use new filename format, falling back to old method if needed. Fix: Bring kevin's and b3rs3rk's changes above back into the right timeline. * New: Script to allow bash scripts to get settings from the Db. 2014-04-11 b3rs3rk Add: Additional FT Match operations for removecrap remaining subject field Blacklist entries Add: Additional blacklist removecrap outputs 2014-04-11 niel * New: Added a limited parsing of variables from sql patch files. * New: Added a format for patch file naming: YYYY-MM-DD__
.sql The patch number will be used by DbUpdate to set the sqlpatch value in site if no UPDATE... statement is found. The old format will still work for now, but it is highly recommended to use this format else patches may not sequence correctly. Adding an UPDATE query into the file for setting the sqlpatch setting in site is not needed with this format. I'll gradually change the old file names and drop the UPDATE query as time permits, once all ar changed the old functionality will be removed. * New: Added AniDb data to the install process. Patch for current users using the variable parsing feature above included. 2014-04-10 kevin Chg: Install.txt to list all used extensions. Chg: Update docs for LOAD DATA INFILE Fix: Fix for some NFO's not displaying correctly. Chg: Make sure imdbid or tvrageid is not a negative number. Add: More support for X-DNZB HTTP headers, Content-Length on HTTP headers (gets rid of warnings in NZBGet). Add: Option for admins to hide themes from user profile edit. Chg: Use NZBGet's appendurl instead of append which will speed up javascript execution on send to queue. (thanks to hugbug @ nzbget.net for support) 2014-04-09 b3rs3rk Chg: Split removecrap blacklist into two functions (one for release names and searchnames and one for files) Add: Release names/searchnames blacklist function now uses FT Match filters for speed 2014-04-09 Bart39 Add: Add option whether to run comment sharing or not within tmux. Chg: correct description for Sharing timer in tmux settings. Chg: Modified Darius's sharing changes around the various tmux window options Chg: Updated options/comments in threaded.sh about choosing the right tmux pane(s) for nntpproxy 2014-04-09 DariusIII Chg: Edited the db patch, as it is redundant to do the alter when you are already dropping the table before that. Add: Added sharing window to tmux for comment sharing feature. 2014-04-09 kevin Add: Trakt.tv trailer links using your Trakt.tv API key on NZB details page for movies. If that fails, try http://www.traileraddict.com Add: New content page to other themes. Add: Link to more content from index. Fix: Fix for non alpha themes send to sab. Fix: Contents page. Fix: Mix of single/double quotations in 10-menu.tsv making queue/newposterwall not visible on new installs. 2014-04-09 niel Fix: duplicate key constraint error introduced by recent change to 2014-04-03_3_countries.sql patch. Chg: Stripping out unneeded escaping/quoting from data files. Chg: Altered format of SQL patches to properly reflect the first 8 characters being the date. 2014-04-08 niel Chg: Altered format of SQL patches to properly reflect the first 8 characters being the date. 2014-04-08 bart39 Fix: duplicate inserts to tvrage when rageid = -2 Chg: check if it's tv when categorizing a.b.moovee Fix: make PCGame categorization regex case sensitive to prevent incorrect matches 2014-04-08 kevin Chg: Add more null checks before inserting comments. Fix: Missing columns on schema. 2014-04-07 niel Fix: Waking up the Db connection before updating or inserting with the IRC scraper. 2014-04-07 bart39 Fix: fix predb links Fix: overriding efnet password 2014-04-07 kevin Add: Hover text on sharing page to show what the buttons do. Chg: Sharing, fetch before posting which should help prevent posting dupes. Add: Local check to see if we already have a shared comment before uploading (helps prevent dupes). Fix: Missing SH_ on sharing users. Fix: Undefined variable in tvrage. Chg: Nicer 'dot' output on sharing. Add: Sharing to resetdb.php Chg: Better storing of usernames on sharing. Add: Better backfill on sharing. 2014-04-06 kevin Chg: Various changes to Sharing. Chg: Reload page on purge or reset of sharing. Chg: IRCScraper, possibly no space between reqid and title for scnzb because stripcontrolcharacter method might remove it (there's a control char to end the color there). Chg: Change default fetch per run to same as schema. Fix: Fix for purging comments. Chg: Hide sharing users from users page. Add: Siteid to comments, will be used to purge sites. Add: Backfill option, purging option, reset option to sharing. Chg: Sharing change for less users. 2014-04-05 niel Chg: Improved DbUpdate's reporting. Fix: Rename $this->debug to $this->_debug. 2014-04-05 kevin Fix: Bug in releasecomment showing only 1 page. Chg: IRCScraper More random version strings. Fix: Issues with article numbers on 32bit versions of PHP. Chg: Changes that might help with IRC connections. Chg: Change the way time is gotten on sharing. Chg: Changes to echos in sharing. Chg: Show all comments in view comments admin page (comments with no releases). Chg: Put color on comments downloaded from sharing. Chg: Changes to reduce future dupes on sharing if Admin resets his guid somehow. Add: Sharing to misc/update/postprocess.php Add: Final changes for now to Sharing page in admin. Fix: Issue on step 2 install where error is being overwritten. Chg: Deal with remote changing nicknames. 2014-04-04 niel Chg: Fixed Bart's date below ;-) Pushing my changes from yesterday. Chg: Reallowing the use of patchDb. It is still deprecated but now handles the calling of DBUpdate for you. Fix: Missing 'ct' index in DB. Fix: patchDb undefined offset problem. Fix: DbUpdate namespace issues Chg: Fixing potential namespaces issues. Fix: Moving require_once in DbUpdate so it doesn't affect install step2. Chg: Cleaning up Memcache class a little 2014-04-04 bart39 Fix: space in goodreads/shelfari links Chg: add icons for books on New Releases posterwall * New: Add books to New Releases posterwall 2014-04-04 kevin Add: Working comment sharing (WIP, might have issues). Chg: Remake class sharing. (not functional yet) Fix: Fix add to queue. Fix: Inverted password/username help text in profileedit. Fix: Fix for sab details going away when switching to NZBGet. Fix: Alpha theme always showing queue even when disabled. Fix: Non existant properties "logger|debug" in class DB. Chg: Help text for queue type. Add: New queue icons. 2014-04-03 bart39 Fix: undefined variables in monitor.php Fix: blank browse pages Fix: pass $tmux_session into function Fix: Fix various tmux window issues when enabling/disabling tmux colors and IRCScraper Chg: Move Ircscraper function into monitor loop (credits DariusIII) Chg: Added note to threaded.sh about modifying $tmux_session for nntpproxy if using tmux colors. NB would suggest editing and re-saving user_threaded.sh for the new changes 2014-04-03 b3rs3rk Chg: Modify newposterwall queries to leverage partitioning -- considerable speed improvement (5.5+ safe) Fix: Bad query in Genre section of admin site for showing only genres with releases 2014-04-03 niel Chg: Refactoring DB class to allow passing of options (db arguments, ColorCLI instance, etc.) on instantiation. Also to better comply with conventions (ordering of public, protected, private properties and using $_ for protected ones). Chg: Moved all Utility functions to use the nzedb\utility namespace. Chg: Deprecated .../misc/testing/DB/patchDb.php in favour of .../nzedb/db/DbUpdate.php Fix: reverting schema patch pending investigating the problems. Fix: Duplicate entries for Korea in countries table. Changed to Korea, North and Korea, South. Fix: Apparently smarty doesn't like namespaces This separates some functions into their own file for Smarty. Chg: Making autopatcher work with new DbUpdate class. Fix: Missed three runCmd() needing namespacing Chg: Fixing code style. in PostProcessing Fix: Changed autopatcher.php to use new DBUpdate class instead of patchDb script. 2014-04-03 kevin Chg: Mention the difference between queue size and total size. Add: NZBGet queue support. Might have issues. Add: Starting adding NZBget to profile edit (locked out for now), patch to set Sab as default for now. Add: Patch for NZBGet columns. Add: Sabnzbd URL checking. Fix: Fixes to srrdb NFO fetching. Fix: Fixes to sab queue when set to settings other than user (site wide/disabled). Fix: Fix titles on prelist PreDb.php. 2014-04-02 bart39 Fix: predb invalid column count Fix: correct tmux session for nntpproxy in threaded.sh Chg: make IRCScraper a function in monitor.php Chg: move IRCScraper into monitor.php so it will resapwn if pane dies (credits to Darius III) Fix: duplicate insert attempts for predb abgx web update 2014-04-02 kevin Chg: Add phpdoc to Sabnzbd class. Chg: Cleanup view queue pages. * FIx: Possible fix for empty pre date on Tmux monitor. Fix: Possible fix for future newest pre date on Tmux monitor. Chg: Check if buffer is empty before inserting PreDB NFO. Fix: Prelist parsing in PreDB.php Add: Parsing of files to PreDB.php sources. Add: Getting NFO's from SRRDB on PreDB.php Fix: More fixes to NET_SmartIRC connect/disconnect/reconnect. Fix: Fixes to NET_SmartIRC reconnect. Fix: Various fixes to NET_SmartIRC. 2014-04-01 bart39 Fix: remove addate from predb update Fix: typo in schema 2014-04-01 b3rs3rk Chg: populate_tvrage and updateTvRage for tmux usage Add: duplicate checks for populate_tvrage so it can be run at interval without error Fix: trailing whitespace Chg: update merged changelog 2014-04-01 kev Chg: Remove adddate from predate (WARNING POTENTIALLY LONG PATCH, PLEASE BE PATIENT). Chg: Revamp PreDB pages. Add: Constants to disable pre sources #1244. Fix: Don't reset the requestid even if we already have it. PreDb.php Chg: Update smarty from 3.1 beta to 3.1.17 stable. Add: Smarty filter to speed up page loading. Add: Full dates on hover alpha theme PreDB page. Add: Parse size from files IRCScraper, clickable IRC links for tvnzb and scnzb PreDB templates. Fix: Get the groupid before storing in array IRCScraper. Fix: Escaping groupname in IRCScraper. Chg: Use DB directly instead of going through groups (saves some resources) IRCScraper. Fix: Future dates on predate in PreDb.php Chg: Show old category if new category is not set on Console output. IRCScraper. Fix: Always empty category on old select IRCScraper. Fix: Regex for tvnzb in IRCScraper. 2014-03-31 bart39 Fix: Fix tmux pane for IRCscraper if nntpproxy not used * New: Add IRCScraper window to tmux - enable corrupt/zenet and/or efnet. 2014-03-31 b3rs3rk * Add Full-text stopword table for InnoDB 5.6+ users -- this will make InnoDB FT search perform nearly identicallly to MyISAM in BOOLEAN MODE. As this table is only for InnoDB 5.6+, it is not going in schema or as a patch. See resources/db/README.txt and the referenced .sql file for more information. 2014-03-31 bart39 Fix: insert errors in Binaries.php Fix: typo in PreDb 2014-03-31 kevin Add: PRE of parsing of #alt.binaries.games.wii, #alt.binaries.games.xbox360, #scnzb, #tvnzb Add: Nuke parsing of #alt.binaries.games.wii, #alt.binaries.games.xbox360 Add: NUKE/UNNUKE/MODNUKE/etc parsing on a.b.moove Add: Clickable IRC links on the predb page. Chg: Remove nuked/unnuked icons, change for colored text, fixes width issues. Add: Parse more nukes in a.b.erotica. IRCScrapper. Add: Files/nuked to ajax(the icon with PRE info on releases). Add: Files/nuked to predb page. Fix: Insert query in IRCScrapper. Add: Parsing #alt.binaries.games.nintendods to IRCScraper. Add: Nuke reason to console output in IRCScrapper. Fix: credits to DariusIII ; Typos in IRCScrapper Add: Parsing nukes for a.b.erotica in IRCScrapper Add: Parsing of files/nukes to IRCScraper. Chg: Put zenet to default due to connection issues with corrupt. Add: Patch for adding nuked/files to predb (will start working on putting those in db) WARNING THIS CAN BE A SLOW PATCH, BE PATIENT! Add: Scraping a.b.console.ps3 in IRCScraper. Add: Scraping a.b.foreign in IRCScraper. Add: Ignoring Efnet channels in IRCScraper. Add: Check for non matching PHP/MySQL time in binary.php Chg: Use MySQL's current time if a time setting is wrong before inserting collections postdate. Chg: Sprintf string to integer for groupid in predb. Chg: Use contant for path to settings.php on IRCScraper. 2014-03-31 bart39 Fix: PreDb 10 minute sleep timer from last adddate never reached if using IRCScraper 2013-03-30 kevin Add: Random username generator to IRCScraper. Add: Toggle between Zenet and corrupt, make sure to edit Settings.php (add the new line from settings_example.php). Add: Zenet to IRCScraper (this has the same PRE as Corrupt-Net, use it if you can't connect to Corrupt, no point running both at the same time). Add: Option to use fsock on IRCScraper. Chg: Improve IRCScraper shell scripts. Fix: IRCScraper, a.b.erotica doesn't always have predate. Add: Show Category on text output of IRCScraper. Chg: Various changes to scraper. Fix: #1242 wrong tmpunrar paths. Fix: Path to users.php in stage 5 of install causing install to not work. Fix: Regex in IRCScraper a.b.teevee picking up wrong title. Chg: Simplify IRCScraper class more (no need to restart your bot) Chg: If usenet date is newer than now, set it to now. 2014-03-29 kevin Chg: SImplify methods even more in IRCScraper class. Add: alt.binaries.teevee scarping. Add: alt.binaries.erotica scraping. Add: alt.binaries.moove, also not testing since not had a post yet. Add: alt.binaries.flac to scraper, not tested since no one posted any yet. Chg: Force user to put username on IRCScraper, so no www-data / root in IRC channels. Chg: Smartirc to accept password per channel. Add: Script for scraping pre/reqid data from IRC (look in /misc/testing/IRCScraper/ change settings to your liking in settings.php, run with php scrape.php) Chg: Rename above script to scrapEfnet.php (so we can add scraping of other servers). Chg: Rename it again, but have argument : efnet or corrupt , add individual username/password per server. 2014-03-28 b3rs3rk * Fix small bug in monitor.php that prevents Theater/TV update from running in basic sequential tmux mode * Fix filesize constraint violation bug in Releases.php Stage 2 2014-03-28 bart39 Fix: LIMIT in wrong place in release searches 2013-03-28 kevin Chg: Improve music name parsing for amazon lookups. Chg: Better categorization/naming of inner-sanctum music. Fix: Query in releaseremover Chg: Some changes to categorization. Add: New blacklist to schemas. Fix: Infinite locking on deadlock checking of queryExec and queryInsert. * Possibles fixes for msgs not array problem. * Fix issue where group would not be reselected on reconnect. 2014-03-27 bart39 Chg: add guid to releasesearch for future use as per suggestion #1236 Chg: improved fulltext search as there are differences in myisam versus innodb 2014-03-27 niel Fix: Preventing failure to instatiate Versions from blocking web page generation. Chg: Moving main files from .../nzedb to .../nzedb/model-controller. 2013-03-27 kevin Add: Page for viewing debug log file in admin section of site. Add: Show running process ID on debug/logging output. Chg: Clean up load string on debugging. * New: Log NNTP getMessage when succesful. Chg: Use debug constants instead of numbers in NNTP. * New: NNTP, return group summary cache if same group is selected. Reselect group if connection dies. Fix: Fix for PHP bug with range on 1 or 2 number differences. Chg: Nicer log/debug output. * New: Option for showing resource usage (user/system CPU time, memory swaps, page faults) in debug logging, disabled by default. Fix: Bug in NNTPROXY disconnects us from it when an article is missing, the bug is still there, but put local changes to deal with the bug. Fix: Bug in NNTPROXY, BODY errors not being returned causing php's feof to return false (since it expects the socket to return data). (todo)All the other commands should be edited to return errors. Add: Change other commands to return errors in nntpproxy. Chg: Show release size on postproc additional. Fix: Regex for alt.binaries.comics.dcp Add: Regex to alt.binaries.comics.dcp (run script bellow) Add: Script to test ReleaseCleaner.php or rename releases with it (to rename comics.dcp, run php test-ReleaseCleaner.php alt.binaries.comics.dcp 100000 true) Fix: Not checking for failed queries before running rowCount in Releases.php causing program to exit fatally. 2014-03-27 bart39 Chg: Improve nzb details / searches by using releasesearch table and fulltext search against name/searchname 2014-03-26 niel * New: Adding method to Sites class to fetch single setting. Chg: Switching Versions to use Sites->getSetting() for checking 'sqlpatch'. Fix: Making Sites::getSetting retun single value for one setting, array for all. Chg: Renaming 'country' table to 'countries' * New: Adding a MySQL function to convert 'Country Name' to two character country code. Fix: Adding checks to prevent instantiating of Versions without a file available. Fix: renaming the property I missed before :-( 2014-03-26 kevin * Increase preciseness of daytopost. * Clean up / add phpdoc to some releases.php methods, list all the cover folders in releaseimage.php * Cast to int before sending to getOverview, resolves the nntpproxy issue. If your PHP has a PHP_INT_MAX of 2147483647 you will have issues on some groups. * Some cleanup of predb class. 2014-03-25 bart39 * updated convert_mysql_tables.php to not convert releasesearch table if converting to tokudb or to innodb if innodb version < 5.6 as FT indexes are not supported. 2014-03-25 kevin * Add PHP memory usage to logging/debugging. * Clean up logging of failed patches. * Even better logging of failed patches. * Better processing of release titles on tvrage by first filtering the release name then the season/episode. * TVRage class, don't process releases less than 1MB. * Removing casting to int (for 32 bit php compat) on some vars has caused issues since some of them were float, I rounded them, but this might cause issues again with 32 bit PHP's. * Add running time to debugging. * Redo daytopost function making it faster. Remove windows check from colorcli. 2014-03-25 b3rs3rk * Add FT Search table schema update and clean up a few schema issues in releases * Fixed typo in FT search schema pre-git commit * Remove DELIMITER from patch is it appears PatchDB accounts for this * Add index to fix slow trigger updates for FT search 2014-03-24 niel Fix: Prevent loading XML in Versions from causing an exception directly. 2014-03-24 b3rs3rk * Partially optimize queries for Site Stats being painfully slow with large number of releases 2014-03-24 kevin * Improve postdate function. * Update DB.php to check if the current SAPI is cli, echo accordingly, strict checking on dbSystem() * PHPdoc in ConsoleTools.php * Fix some issues with partrepair ignoring pear errors. * Check for debug constant on NNTP class. * Store NNTP instance as object in Binaries/Backfill classes. * Temp solution for those with unusable sites because of nZEDb.xml * Change echo's in backfill/binaries to be similar. * Binaries/backfill get rid of some microtime's and reuse some. 2014-03-23 b3rs3rk * Change work release queries for movie/tv to leverage partitioning (5.5+ safe) 2014-03-23 kevin * Use NZBExport class for web export. * Refactor removecrapreleases to the ReleaseRemover class. * Check if OMDB is down. * Refactor backfill.php, move post methods into date methods, fix some issues with target date/post. * Fix issue in ReleaseRemover blacklist where if no results were found subsequent blacklists were skipped. * Check nZEDb_ECHOCLI constant in various classes. * Use carriage return (rewrite) on nzb_export echo, looks better. 2014-03-22 niel * Moving newznab_api-specification from .../nzedb/api to .../docs 2014-03-22 kevin * Issue where group edit first/last id was not updating. #1226 * Fix for MySQL 5.6 #1226 * Add blacklist to remove virus codec poster. * Fix removeCrapReleases.php to work with poster and multiple groups. * Fix bug in category.php #1230 * Removecrapreleases blacklist - search through searchnames too. 2014-03-31 b3rs3rk * Change monitor.php query that runs for 10 seconds needlessly and an additional index is a waste for nzbstatus 2014-03-21 bart39 * Regex fixes / additions * include previously checked requestid's in misc/update/requestid.php 2014-03-21 kevin * Fix Math bug in predb pages. * Get rid of duplicate api/rss templates. * Clean up categories.php a bit * Improve movie name parsing when checking TMDB/IMDB. * Put check in movies.php to see if title is at least 40% similar, add regex for a.b.moovee * Changes to make Backfill.php and Binaries.php faster. * Fix warnings and other stuff in binaries.php * Fix bug where groups deactivate on save. #1226 2014-03-20 b3rs3rk * Change DISTINCT preid count in monitor.php to reflect preid > 0 as matched - drastic speed improvement 2014-03-20 niel * Modifying Changelog format for (hopefully) easier reading and better layout in text editors. 2014-03-20 kevin * Remove check if mail fails on sendinvite, a link is created in the browser anyways. * Fix error in util.php where method was used as constant. * Create NZBExport class, with option of exporting to Gzip (faster/takes less space, nzb-import accepts gzip now too). @todo: Change nzb-export on site to use the class. * Remake delete_releases.php, was not working #1227 * Simplify NZB path methods. * Move delete_releases contents into a class so it can eventually be used on the browser, add an option to ignore the user check. * Add GUI version of delere releases in admin section of site. 2014-03-19 niel * Moving some files from base into new docs directory. 2014-03-19 bart39 * update groupid on existing predb records when adding requestid from allfilled. 2014-03-19 kevin * Move documentation into docs folder. * Fix bug where install was not working on dev. * Refactor step2 of the install. * Use PEAR directly for isError method. * Possible fix for wrong identifier types in getMessages NNTP. * Show identifier type when identifier type is wrong. * Refactor and fix shit tons of bugs in groups.php * Comment out nzb_check_all script in alpha theme, does not work correctly. 2014-03-18 niel * Moving and renaming _build directory to .../nzedb/build NOTE: This impacts committing hooks, devs should run: php nzedb/build/gitHooks.php again, to fix the hooks. * Moving other dirs too. NOTE: You may need to fix permissions on the smarty template_c dir as it has moved to .../libs/smarty/templates_c from .../smarty/templates_c 2014-03-18 bart39 * fixed issue with predb.me updates being blocked 2014-03-18 kevin * Catch RecursiveIteratorIterator exceptions in resetdb.php if paths are not found. * Only have 1 admin theme (less maintenance). * Log patching errors. * Fix queries in predb to work in both pgsql and mysql. * Remove double dupe checks in predb. * Change on duplicate to updates in predb to work with MySQL and PgSQL. 2014-03-18 b3rs3rk * Fix PG triggers for hash/requestid. * Fix pg schema triggers again - fix Releases for PG and whitespaces * Change TvRage lookup querying for PP in PgSQL 2014-03-17 b3rs3rk * Fix Releases Stage1 for PG / change b.partcheck type in schema. * Remove pgsql patches until PG is actually ready and useable 2014-03-17 kevin * Refactor nzb-import. * Small changes to processAdditional. * Add de-gzip-ing of NZB files in NZB import. 2014-03-16 bart39 * fixed issue with dehashstatus being set lower than -7 * manually update patch version 2014-03-16 b3rs3rk * Fix PG schema errors proc_pp * More PG schema fixes and rearrange primary key alters * Update patch readme. * Revert boolean bit types to tinyint due to smarty errors * PG schema accidental rename fix * Fix mysql patch typo proc_sorter where proc_par2 should be * Added idx_releases_multi_name_fromname_size to drop sequence from partitioning 2014-03-16 kevin * Possible fix for missing NZB file. * Start cleaning up books.tpl * Don't try subsequent abgx URL's when it's down. * Finish cleaning up books page (alpha) * Update schemas to make alpha the new default theme. * Show chown string in install. 2014-03-15 bart39 * fixed issues where dbsystem renamed to dbSystem 2014-03-16 niel Fix: Cleaning up white-space issues. * New: Adding server version checking code to DB class. 2014-03-15 bart39 * fix send to couchpotato on new releases / movies 2014-03-15 b3rs3rk * Modify category selections in postproc scripts 2014-03-15 b3rs3rk * Fix one more slow console query 2014-03-15 kevin * Revamp music page on alpha theme. * And console page. * Add console to new post wall, and clean it up a bit. * Make sending to couchpotato not open a tab. * NewPosterWall Verify if the admin has disabled the category. * Improve NZB creation. 2014-03-14 kevin * Move all shared content from themes into 1 folder. YOU MUST DELETE SMARTY TEMPLATE CACHE. If you had a custom logo you must add it back (www/themes_shares/images/logo.png) * Add glyphicons instead of text on browse/search pages in alpha theme. * Change automated.config.php to be easier to understand for end-users. * Fix bugs in audio post processing. * Increase chances of post processing music drastically. * Add music to new poster wall. * Start adding icons to movies page. * Fix for some rars having zip extensions. (they have setup.exe in them) * Implement throttle checking directly into the amazon class. * Check if predbme is down on the first link. 2014-03-13 bart39 * revert monitor.php changes as only compatible with mysql 5.6+ 2014-03-13 niel Fix: Variable name typoes in utility/Versions.php 2014-03-13 b3rs3rk * Optimize Monitor.php work queries to use partitions... 2014-03-13 kevin * Fix bad path to schema in check unique indexex. * Add category and names of allfilled predb to DB. * Parse allfilled sites in predb templates. * Show how many allfilled data we pulled. * Fix error with patchdb looking for Util.php in nzedb namespace. * Clean up/fix bugs in search. * Check for dupes in allfilled. (so it doesn't echo 100 each time) * Add search to PreDB. * Nicer looking PreDB search box. * Many bug fixes in browse/search pages. * Changes to make predb pages nicer. * More uniform ad placement accros pages. * Clean up movie pages a bit. * Split book processing by categoryID. * Move failed-logins and droppedyenc logs to resources/logs. * Deprecate debuginfo DB setting in favor of nZEDb_DEBUG constant. 2014-03-13 niel Chg: Seperating data and definition from Db schema files. 2014-03-12 b3rs3rk * Change mysql schema partition releases table by categoryid -- Many ALTERs 2014-03-12 bart39 Fix: only do requestid web lookup if predb_irc.nzedb.com is up Fix: re-added site-edit requestid max hours setting that somehow got removed 2014-03-12 niel Chg: Moving .../db dir to .../resources/db Chg: Fixing trailing white-space from previous commit ;-) Fix: Moving missed files added before my push ;-) 2014-03-12 kevin * User changeable themes in profile edit. (Apply the SQL patch). * Fix the "legend" in alpha admin site edit, simple/default profile edit (the large text thing). * Make predb template easier to maintain, add changes to other themes and fix for showing the size, add N/A when no size or no category. * Change predb page to show all info to all users, put rest of the changes in all the themes (nzbindex/binsearch icons, N/A when no category or size, fix for some sizes not showing, more category links, usenet-crawler link, requestid link). * Use defined category names in predb template to make it look better. * Fix register bug in alpha theme. * Removecrapreleases run on the groups the blacklist have. * Fix the contact us pages (they had all kind of issues.) * Fix typo in sitemap.php causing the page to not load. * Don't show login at bottom of alpha theme if user is logged in. * Hide ads on alpha theme if they are disabled. * Remove vendor from script literal, path doesn't exist. 2014-03-11 kevin * Fix issues in viewnzb (couchpotato details are wrong and getting wrong titles for some stuff). * Add nzbindex and binsearch icons to predb instead of text. * Add more category links to predb and add link to usenet-crawler predb. 2014-03-10 bart39 * fixed some echo CLI formatting 2014-03-10 b3rs3rk * Remove unnecessary join from fixreleasenames_threaded.py 2014-03-10 bart39 * reverted previous change to releases->stage7a as one big delete is quicker than looping in php 2014-03-10 kevin * Change min username/password length to work better with people who converted from newznab. * Fix indent in alpha theme. * Check if a var is set in monitor.php * Update jquery qtip URL. * Use some local stylesheets and scripts. * Add missing fontawesome-webfont.woff file on alpha theme. 2014-03-09 kevin * Option for hiding CLI output in automated.config.php(for post proc right now). * Hiding of CLI output in AniDb.php, Backfill.php, Binaries.php, etc * Check if the user put the wrong setting for grabnzbs. * NNTP only echo data received once we have it. 2014-03-09 bart39 * refactor query * regex addition/fixes * typo in reset_postprocessing.php 2014-03-07 bart39 Fix: #1203 add Half SBS to 3d Category 2014-03-07 kevin Fix: Error message not set in NNTP. * Change: More checks in postproc. * Refactor ReleaseImage.php, fix bug where it wasn't deleting preview images and it was trying to delete imdb images, don't use imagecreatefromstring 2 times. * Check for duplicate predb rows when inserting usenet crawler. * When we fail to download yEnc articles for the rar in postprocess, try different articles. Fix spacing in movie.php echo's. * Decompress par2, run the binary data through namefixer. 2014-03-06 bart39 Fix: fixed typos in previous change Fix: fixed music / book processing where "Lookup All" only checked those not renamed Fix: fixed issue with "Lookup all Console" only checking those not renamed Fix: fixed issue updating bookInfo 2014-03-06 kevin * Remove check for images smaller than 12 bytes in releaseimage, causes issues with amazon. * Remove checking of capabilities, too many servers don't support it. * Fix issue where postproc was running ffmpeg when the path wasn't set. 2014-03-05 kevin * More refactor of post proc. * Use TLS instead of SSL on the nntp connection, TLS is more secure. * Fix some issues connecting to usenet. * Add a script to use NET_NNTP's debug when debugging NNTP. * Check if XFeature GZip Compress is in the list of capabilities. * If we switch of NNTP server on the same instance, reset the capabilities. * Change phpdoc in yenc causing weak warnings in nntp. 2014-03-05 bart39 Fix: fixed issue with postprocess_threaded.py 2013-03-04 niel Chg: Reverting default covers path change Chg: Adding next-master and master to branches that allow pre-commit to update the commit number. 2014-03-04 kevin * Remove checks that were redone multiple times or checks that were not useful in postprocess to speed it up. 2014-03-03 jonnyboy * added script check_unique_indexes.php to check/add UNIQUE INDEXES missing from db that are in the schema 2014-03-03 kevin * Rework how alternate NNTP server works. Don't enable compression if server is tweaknews. * Change: Remove inneficienies from postproc. Add: API requests count on profile page. Fix: #1204 When there's a problem enabling compression and the response is 500, it is not reported as an error to PEAR, so the getMessage property doesn't exist. * Don't log NNTP disconnects unless we are already connected. * Minor changes to getSample, add -y to ffmpeg to overwrite, change the regex in the loop. 2014-03-02 bart39 Fix: fixed queries in nzb-import 2014-03-02 jonnyboy * removed delete releases from Admin page, never finished 2014-03-02 kevin * Change how sample previews are taken, get the last possible frame, which means most of the pictures are not black anymore. * Refactor debugging. * Debugging to Binaries. * Debugging to backfill. * Add pruning of old logs. * Log failed queries. * Compress old log files. * Fix bug in backfill daysOld method, most of the time it was trying to do math using a date in string of text. 2014-03-01 jonnyboy * silence error 2014-03-01 bart39 Fix: fixed query in getAPIRequests 2014-03-01 kevin * Change: Debugging in its own class, start logging in DB. * Change: Commit.sh change debug/logging to false before committing, true after. * Addition: Logging to NNTP.php, Turn on debugging in site->admin if you want to use it, logs are in resources/logs * Addition: Displaying debug messages to CLI, edit nzedb/Logging.php for options. * Change: Comment out the debug info in binaries.php -> maybe add it later on to a log file? * Addition: #1201 Api requests # on user-list page. * Remove: Redundant part of query in apirequests method. * New: Logging to files for debug info. 2014-03-01 niel Fix: fixing constants in Install/step1. Chg: Changed button text for instal step 6. * New: Added covers and tmpunrarpath to install step 6 Fix: Updating some template text that I missed before. Fix: Util::hasCommand doesn't need the namespace. 2014-03-01 jonnyboy * fixed typo in Binaries.php * fixed typo in schema 2014-03-01 niel Chg: Fixing trailing white-space introduced to group-list.tpl. 2014-03-01 bart39 * tv/music regex additions 2014-02-28 jonnyboy * changed to catch all variations updated GrabNZBs to remove '#' fro '#a.b.teevee' for dupe checking missed tooltips 2014-02-28 bart39 * changed query for requestid in-progress count to use a UNION instead of OR so that it makes use of indexes fixed query in releases->stage7a 2014-02-27 niel Chg: Moving duplicated function to Util.php and renaming. 2014-02-27 jonnyboy * fixed queries in releases->stage7a added tooltips for group-list added pk to logging 2014-02-27 bart39 * regex additions don't categorize as pc if it looks like audio/console 2014-02-27 niel Chg: Changing default locations for covers, nzb, and temp files to use nZEDb/resources. New installs will use these locations unless you change them. Existing installs will continue to use their current locations. If you want to move files from the old locations to the new look at _runonce/relocateAll.php and uncomment the locations you want to move. 2014-02-27 jonnyboy * updated GrabNZBs and Releases to see 1% variation in size as the same size fixed CollectionsCleaning.php to not group rips where requestid is same but release is different updated releases->stage7a to remove inner join converted column to partcheck->bit, filecheck->tinyint updated binaries/backfill to highlight time updated monitor, moved analyze tables before initial display updated releases->stage7a to loop over deletes instead of 1 massive delete(mysql) 2014-02-26 niel Chg: Fixing indentation in Books.php to use tabs not spaces. 2014-02-25 jonnyboy * changed preid column default 0, added 3 regexes for a.b.comics, added index 2014-02-24 jonnyboy * fixed bug in grabnzbs_threaded.py updated patchDB.php to catch ALTER IGNORE errors and retry 2014-02-24 bart39 * cleaned up book titles for more matches against amazon fixed unnecessary join in query when browsing Releases 2014-02-23 bart39 * updated dump_predb.php to remove any records where title <=15 when importing predb dump 2014-02-23 jonnyboy * fixed usage in postprocess_old_threaded.py updated python scripts to use connection from info.py 2014-02-23 bart39 * fixed remaining invalid indents in threaded scripts removed invalid indents 2014-02-23 kaibosh * remove unecessary derefer call to local movie links in default & light themes 2014-02-23 jonnyboy * updated python scripts to use socket when port is null updated mysqldump_tables.php to use socket if set 2014-02-22 jonnyboy * updated mysqldump_tables.php usage updated mysqldump_tables.php to use zcat instead of gunzip fixed mysqldump_tables.php to properlly identify Percona updated mysqldump_tables.php to use ColorCLI() fixed typo in schema.mysql updated binaries_threaded.py to accept groupid, array of groupids, group name or all active groups updated active_groups.php, removed Ubuntu 13.10 INSTALL GUIDE.txt 2014-02-21 bart39 * added BigMarlin's Ubuntu 13.10 install guide 2014-02-20 jonnyboy * removed remaining bitwise columns to their own columns, no indexes have been created for them removed tmux->monitor->analyze from each loop 2014-02-19 jonnyboy * possible fix to newposterwall.tpl 2014-02-18 bart39 * Tv/Music Regex additions fixed typos in Books.php and TvRage.php queries 2014-02-18 kevin * Fix : Calling obsolete method name doConnect_A in various scripts. Resolves #1195 2014-02-17 bart39 * fixed typo in fixreleasenames_threaded 2014-02-17 jonnyboy * update query to ignore %exes% 2014-02-16 jonnyboy * fixed monitor and analyzing tables timer 2014-02-16 bart39 * fixed typo in PreDB.php changed resetSearchnames to 8 characters or less (some tv/book titles are 9 or more) added more music regex add pc category check for ebook groups in byGroup() 2014-02-16 -> ajoergensen-> add missing ( in renametopre.php 2014-02-16 jonnyboy * fixed typo in show_table_sizes.php 2014-02-16 bart39 * fixed typos in queries 2014-02-16 kaibosh * updated README.md add DB section, more info for noobs 2014-02-15 jonnyboy * updated README.md to show that the pastebin link to wafflehouse code was removed from pastebin removing nzbstatus, renamed, hashed, requestid, categorized from bitwise updated install scripts to point to correct tmpunrar path moved post processing scripts to correct path fixed backfill_groups.php 2014-02-15 niel Chg: Removing the covers constant from automatied.config.php. It will be generated from a Db setting in future. 2014-02-15 jonnyboy * colorized output added disconnect after delete in grabnzbs_threaded.py updated populate_tvrage.php updated autopatcher.php, fixed divide by 0 in active_groups.php update $binaries->data, $backfill->data to correctly identify an error 2014-02-15 kevin * PEAR->Protocol->Client->_sendCommand() Wrong type returned, can cause unpredictable issues. 2014-02-15 jonnyboy * fixed output on failed movie->updateUpcoming fixed typo in releases->searchSQL, changed search terms explanation to show only terms available reverted changes to gitignore, added extra selectgroup in binaries->scan changed light theme to redirect to list when nothing in cover view fixed install scripts, removed empty files, .gitignore instead 2014-02-14 jonnyboy * redo of last patch, missed one for bookinfo 2014-20-14 kevin * nZEDb->NNTP Remove obsolete methods for connecting. nZEDb->NNTP Change destructor to use local method for disconnection, change local method of disconnect to verify if the connection is active. nZEDb->NNTP->doConnect() Attempt to resolve retry issues, comment the code. Make sure we can reach 0 retries. nZEDb->NNTP->_getXfeatureTextResponse() Move $errorCode lower, if $bytesReceived is 0 it would run for no reason. Rename some variables and fix some typos. 2014-02-14 jonnyboy * updated schema to add unique indexs on movieinfo->imdbid, consoleinfo->asin, musicinfo->asin changed SDTV/HDTV category regex 2014-02-14 niel Fix: Updating usage of PEAR::isError to use the instantiated class instead. This will prevent a bunch of Strict warnings. 2014-02-13 jonnyboy * removed delete unique index when creating tpg collections tables updated smarty autoloader 2014-02-13 kevin * nZEDb->NNTP->getArticle() (renamed from get_Article()) Parse the article, give the return array keys (From, Message, etc), optionally decode yEnc. PEAR->NET_NNTP_CLIENT->disconnect() Null the group summary when disconnecting. PEAR->NET_NNTP Remove deprecated method, resolve identation issues. nZEDb->NNTP->getArticle() Accept an article-number as well as a message-ID. nZEDb->NNTP->getArticle() Fix for multiline header keys. nZEDb->NNTP->getHeader() New method for downloading a full article header. nZEDb->NNTP->formatMessageID() New method for checking if the message-ID has the required triangular brackets. nZEDb->NNTP->postArticle() New method for uploading articles to usenet. nZEDb->NNTP->splitLines() New method for spliting lines longer than 510 chars and appending \r\n nZEDb->NFO Add PhpDoc. 2014-02-13 niel Chg: Changes to autoloading. Each "namespace" (nzedb, libs, and Smarty) gets its own autoloader. Fix: Replacing the theme path constant I inadvertantly killed :-( 2014-02-12 kevin * NNTP.php Change failure returns to pear error (even though this is depreceated in PEAR, most of our scripts look for these), getArticles method was invalid (the return from the parent function was an array and we were trying to return a string), change getMessage method to verify if the selected group is the same using the parent's object, change grabNZB to use getMessages method. * NNTP.php _decodeYenc() Return the input string if data is not yEnc. * NNTP.php getMessage() Use the parent method group() to check if the group is already selected. 2014-02-12 jonnyboy * fixed bug in backfill_safe_threaded.py not running on correct group when binaries_safe.py not being used added method to convert_mysql_tables.php to convert all parts to MyISAM Dynamic, the rest same as cinnodb updated show_table_sizes.php to show current values force 'USE INDEX(ix_releases_status)' in postprocess_threaded.py updated Dev/*.php scripts to use ColorCLI() and removed unneeded requires 2014-02-11 jonnyboy * fixed monitor, inccorect placement of forced use index updated delete_releases.php to echo query before running it updated monitor.php to force 'USE INDEX(ix_releases_status)' updated remove_exact_dupes.php to delete to highest id first, might save some re-processing updated nzb-imported.php to consider 1% variation in size to be the same when searching for existing release updated remove_exact_dupes.php to allow purging releases with a variance of 1% in size added mediainfo/ffmpg monitoring to monitor_binaries_backfill_pp.php corrected query to compare $cleanerName, removed unnecessary queries updated query to enforce the groupid 2014-02-10 jonnyboy * added routine to drop/create index when creating tpg collections tables added unique constraint to collectionhash added monitor_binaries_backfill.php, added 2 required arguments added script to verify images exist for books, music and consoles reverted more, fixing .gitignore 2014-02-10 kevin * Comment/additional changes to xfeature gzip decompression. 2014-02-10 jonnyboy * attempt to revert some file path changes 2014-02-09 jonnyboy * changed populate nzbs to insert/update instead if check first then insert/update 2014-02-09 kevin * changed nntp compression to verify end of stream before decompress nzedb/NNTP.php ; Disconnect from usenet if still connected when the class goes out of scope. 2014-02-09 niel Chg: Adding 'coverspath' setting to schema. 2014-02-09 jonnyboy * changed order in if added nZEDb_THEMES for pointing to fs themes path changed browse->flags to work with all themes where flags are available, added tooltip to show country 2014-02-08 niel Fix: Adding the missing slash to the themes path. 2014-02-08 bart39 * regex addition/fixes fixed preg_replace in test-all-regexes.php removed extra space 2014-02-08 jonnyboy * updated show_table_sizes.php to show egine and format removed persistant mysql connections from DB.php, not needed or recommended with mysql added another myisam row format to updated convert_mysql_tables.php and improved usage instructions reduced sleep time in populating queue in python scripts added option to optimize all tables at once, force optimize all tables or analyze only optimise.php added analyze tables every 60 min to monitor.php 2014-02-07 niel Chg: Updated install steps so that they correctly use the autoloader. 2014-02-07 jonnyboy * fixed links to libs in install scripts, fixed more links removed extra space 2014-02-06 jonnyboy * add regex for teevee fixing spaces to tabs, merged statments 2014-02-06 egandt * fix for Categories when dealing with anime ImageSets 2014-02-06 bart39 * fixed console/music search filters paste error accidently removed require_once nZEDb_LIBS . 'AmazonProductAPI.php' group music releases by musicinfo fixed duplicate musicinfo records, you may want to run misc/testing/DB/reset_postprocessing.php music true truncate to reprocess 2014-02-06 niel Chg: Part 2 (ish) of directory changes/moves 2014-02-05 bart39 * removed un-needed dereferer link fixed console, books and movie templates in alpha theme fixed a.b.mp3 regex in ReleaseCleaning 2014-02-05 jonnyboy * fixed bug in backfill->daytopost where new groups were not starting when using 'Days' changed buttons in light theme console and music 2014-02-04 bart39 * regex additions only reset searchnames <=15 if name is > 15 in renametopre group console release in cover view (like movies) fixed book/movie cover view typos fixed duplicate consoleinfo records, you may want to run misc/testing/DB/reset_postprocessing.php consoles true truncate to reprocess 2014-02-04 jonnyboy * fixed tvrage edit 2014-02-04 niel Chg: Removing a left over debug message 2014-02-04 jonnyboy * fixed delete_disabled_category_releases.php, removed unneeded require statements 2014-02-02 niel Fix: Missing quote in query. 2014-02-02 kevin * Add phpdoc to NZB.php, get closer to 80 chars per line, change a function to use the site class instance object instead of creating another instance of class site. * Quick cleanup of the ZipFile class. * Work more on sharing class. * Improve debug output on sharing class. 2014-02-02 jonnyboy * fixed bug in convert_mysql_tables.php not converting releasenfo to dynamic innodb when using cinnodb 2014-02-01 jonnyboy * fixed bug in nntpproxy.php, added option to run python binaries_threaded.py alt.binaries.teevee added dereferrer to movies list updated renaming scripts to reset id's when seachname is set 2014-02-01 kevin Chg: Added phpdoc notes to NNTP.php, changed some functions to protected, objects to private. Chg: Combined the doConnect and doConnectA methods in NNTP.php. Chg: Encapsulate the evalution to make the expressions clearer. Chg: Mention that to decode yenc, the library is a better alternative, remove TODO on doconnect_a. Del: Removed pdo_notes.txt 2014-02-01 kaibosh * Update hardware section of README.md Insert link to summary page produced by mymovielist 2014-02-01 niel Chg: Moved one file (simple_html_dom.php) to nZEDb_LIBS. There are a few others we should move too. Tidy up. Removed most commented out require_once lines. Some formatting changes for coding standard 2014-01-30 bart39 * check for requestid match before looping through group regex moved all www.town.ag regexes to generic_town and check them before looping through groups fixed duplicate case statement removed regexes that were renaming releases with requestid's 2014-01-30 jonnyboy * added remove_exact_dupes.php to remove duplicate releases that match on name, poster, group and size fixed testing/nzb-import.php to not import import exact duplicates changed Releases.php to use $db->queryDirect instead of $db->prepare/execute or $db->query 2014-01-29 jonnyboy * added pr from KRUgold updated schema for missing showbacks 2014-01-29 bart39 * added categorization for XXX Packs added regex for a.b.music for CollectionsCleaning/ReleaseCleaning removed ReleaseCleaning regex that was matching requestid releases in a.b.moovee corrected test-all-regexes to use CollectionsCleaning 2014-01-29 jonnyboy * pulled in egandts pr, partially cleaned up output in nzb-import.php, fixed a typo updated update_predb_md5.php to re-match predb to releases after removing duplicates fixed bug in Movie.php, fixed bug in nzb-import.php fixed bug in PreDb.php allowing dupes from omgwthfnzbs, you may want to run misc/testing/Dev/update_predb_md5.php to clean the dupes 2014-01-29 niel Chg: Merging in third party library move (from nZEDb/www/libs/... to nZEDb/libs/...). Chg: Using file to check for text files in NFO, added check for non-printable characters after text check. Chg: Oops for got to remove my debugging copy file from Nfo. 2014-01-29 jonnyboy * updated Releases.php, seems Releases->processReleasesStage7b was not running unless running tmux scripts updated DB.php, db->optimise to only optimise tables with a min of 5% free space 2014-01-28 jonnyboy * minor change to Releases->searchSQL, for ft search, at least 1 term must have + 2014-01-28 niel Chg: Removing trailing white-space from README.md (It makes the pre-commit hook complain when merging). Chg: Fixing typo in runHooks 2014-01-28 jonnyboy * removed unnecessary resolve using ss, added another pass to try to get usp count fixed bug in details view when using ft index added parameter to Releases->searchSQL to choose ft index or not. 2014-01-28 niel Fix: git hook script correctly detects the dev branch now. Chg: Partial reverting changes to tmux/monitor.php. It needs to show actual commit, not expected, i misunderstood the purpose :-( 2014-01-28 jonnyboy * updated step3.php added 'XFeature GZIP compression, by wafflehouse : http://pastebin.com/A3YypDAJ' 2014-01-28 kaibosh * README.md rewrite 2014-01-27 jonnyboy * fixed install not adding triggers merged egandts pr, fix bad link in predb table 2014-01-26 niel Chg: Changing runHooks to only update version for the 'dev' branch, to reduce merge conflicts. Chg: Moving third party libraries from nZEDb/www/lib to nZEDb/libs. Chg: Adding check to queryDirect for failure, to avoid invalid parameter passed to foreach errors when queries go wrong. 2014-01-26 bart39 * fixed typo in Releases.php moved music checks before movie checks in determineCategoryNormal as music videos were incorrectly being categorized as movies 2014-01-26 jonnyboy * fixed api queries, but i am considering adding a ft index check for fromname 2014-01-26 niel Fix: Suppressing errors for I/O timeout for PreDb lookups Fix: Allow pre-commit hook to override commit number in Versions (branch numbers may be higher than dev's). 2014-01-25 jonnyboy * added this patch for those that do not have the triggers updated patchDB.php to better read the output changed Versions.php to increment the current commit + 1 2014-01-25 egandt * added new group that conatins Adult Manga, includes Collection and Release naming for the group 2014-01-25 niel * New: Added a git pre-commit hook file and a script to install/update it. I'll add more functionality to the hook as I can. New: Added a git/hooks/precommit entry to versions file. Fix: Changed UpdateVersions class to Versions, as it will be doing more than just updating. Chg: Changed Versions to only allow the pre-commit hook to set the commit number to the *next* value instead of current one. 2014-01-24 bart39 * changed updateBookInfo query so that it checks if the bookinfo already exists (matching asin) this prevents a lot of duplicates previous change got reverted somehow by niel's commit 2014-01-24 niel * Fix: Changes to commit.sh and UpdateVersions.php so they work. Chg: Updated versions file manually. New: Added new script commit in base directory to help with committing changes. It uses interactive mode for adding files to the index so that only those relevant to a change can be committed. Additionally it opens the changelog for updating before performing the git commit. It relies upon a git hook (not written yet) to call the UpdateVersions class. Fix: Removed the crap at the end Fix: Added explicit adding of the Changelog to staging after the editor is closed. Fix: Typo in date of egandt's changlog entry. Fix: manually updating versions before push 2014-01-24 jonnyboy * fixed light->calendar, but can't figure the padding, if i add it, it borks the theme 2014-01-24 bart39 * fixed grabnzb's queries 2014-01-24 jonnyboy * removed _scripts from remaining files, updated paths shown in admin->index.php fixed bug in reset_truncate.php when true not echoing tables truncated added another pattern to regex for valid headers fixed UpdateVersions.php to update nZEDb.xml, fixed start.php and monitor.php to correctly get values from nZEDb.xml changed DB.php to properlly set utf-8, may be the cause of some errors set renametopre.php and rixReleaseNames.php that when using preid, it only compares to predb table 2014-01-24 egandt * typo in mis/testind/DB/patchDB for templates_c (was template_c) 2014-01-24 bart39 * fixed some collection cleaning regexes for requestid's 2014-01-24 jonnyboy * updated convert_to_mysql.php when using innodb compressed, to set releasenfo as innodb dynamic, since the content is compressed 2014-01-24 bart39 * changed book cover view so that books are grouped by bookinfoid (similar concept to movie cover view) fixed book order by clause for author 2014-01-24 -> Draven714 -> updated Username check, PHP 5.3 compatible install, SAB Url & API Key check 2014-01-23 bart39 * fixed typos added a.b.music to Category byGroup() added a.b.town.cine & a.b.town.xx to ReleaseCleaning added ebook to NameFixer filecheck added another regex to CollectionsCleaning 2014-01-23 jonnyboy * removed all predb titles 15 characters or less, set PreDb.php to not add any titles 15 characters or less most renaming scripts will set preid as it processes fixed 'Add to CouchPotato' in light->upcoming fixed bug in search where $searchsql not set changed array form from [] to array() 2014-01-23 niel * Fixed minor typo 2014-01-23 niel * Added script VersionUpdates.php in nZEDb/_build directory. It helps maintains an XML file of version info, instead of having to put versions in the code. 2014-01-22 jonnyboy * updated regex for predb matching in ReleaseCleaning.php, added set preid during update fixed bug in ajax_tvinfo.php, added simple_html_dom.php to easily iterate html dom added usenet-crawler to predb, fixed but in Releases->searchbyRageId added option to fixReleaseName using preid, processing all releases not matched to preid, helpfull when new predb dump or regexes added fixed bug in test-memcache.php 2014-01-21 egandt * regex fixes for the group alt.binaries.e-book.magazines as the generic format failed to match 2014-01-21 jonnyboy * removed early exit from fixReleaseNames 2014-01-21 niel * Slight improvement to smarty fix. 2014-01-20 niel * Updated autoloader for the path change to smarty. Added hacky fix for smarty throwing exception when trying to clear templates on PHP 5.3+ 2014-01-20 jonnyboy * fixed bug in InstallPage.php 2014-01-20 bart39 * fixed missing braces on regex 2014-01-20 jonnyboy * added option to use fulltext ix_releases_name_searchname_ft(name, searchname) instead of 2 seaparate indexes adding missed references to ReleaseCleaning and CollectionsCleaning, added remove preid from release when searchname is reset using renametopre.php proper fix to safe scripts, removed selectGroup from NNTP->getArticles as its not needed to select the group prior to downloading an article added delete from nzbs table on duplicate and not replacing, fixed typo in resetSearchname.php removed reference to incorrect function, merged dev-smarty, added missing reference to $show in resetSearchname.php 2014-01-20 egandt * split NameCleaning into ReleaseCleaning and CollectionsCleaning, simply refactored teh code nothing else, also a few changes to comments to ensure that the code would work if uncommented 2014-01-20 egandt * added a number of new groups, fixed logging in populate_anidb 2014-01-20 jonnyboy * changed button in browse.tpl moved smarty path, please run sudo chmod -R 777 smarty/templates_c/ reverted change to predb, please run 'update predb set nfo = REPLACE(nfo, 'nzb.isasecret.com', 'www.newshost.co.za');' 2014-01-19 bart39 * fixed couchpotato integration on alpha theme added a.b.games.dox to byGroup in category added more audio regexes to namecleaning 2014-01-19 jonnyboy * moved couchpotato to user, instead of site 2014-01-19 niel * Adding a couple tests for NZB path setting and changing text for one error message. 2014-01-19 jonnyboy * possible fix to safe scripts putting excessive parts into part repair add CouchPotato url/api to site=edit, fixed link 'Send to CouchPotato' 2014-01-18 jonnyboy * added script show_table_sizes.php to show data, index, free space used in all tables, changed regex for predb matching, now matches all but ~465k predb titles added predb.tpl change posted by mordor, fixed bug in change_USP_provider.php added full text search to site search, works only if you have these indexes - ix_releases_searchname_ft and/or ix_releases_name_ft if you search on releases.name - ix_releases_name_ft is required if you search on releases.searchname - ix_releases_searchname_ft is required as posted in the forum, ^& do not work with this search added explanation for useful operators when using full text searches 2014-01-17 josh * fixed link in alpha->login.tpl 2014-01-17 niel * adding php close tag to a file and fixing typo in AniDb output message. 2014-01-16 jonnyboy * added kill command for ffmpeg and mediainfo, set at 60 sec, added color to nntpproxy output added CAT_PC_ISO to Category.php, basic check for now, looking only for \biso\b removed "Usenet Index Post 1389796935 yEnc (01/01)" until I can check it better 2014-01-15 jonnyboy * cleaned up pages/*, added misc/testing/DB/convert_to_tpg_alt.php until ThePeeps can fix his script added "Usenet Index Post 1389796935 yEnc (01/01)" as nzb post, best used with GrabNZBs 2014-01-15 bart39 * fixed renametopre 2014-01-14 Roelski * Correction in nix screen testing paths (call to fixreleasenames), Corrected call to function determineCategory in lib/releases.php. This should fix categorisations. 2014-01-14 jonnyboy * corrected path in monitor.php, added option to process group of groupid's - reneametopre.php update Category.php, fixed predb.php fixed install scripts, fixed renametopre.php for hours, fixed monitor to get correct number of matched predbs, added SAFE script names to identify safe scripts in web ui 2014-01-14 niel * Fixing typo in SQL (missing space before HOUR). 2014-01-13 bart39 * fixed bad patch 2014-01-13 bart39 * added site option for numbers of hours to re-check request id's after adding releases that didn't match initially updated the patch number for the anidb patch that was added on the 8th 2014-01-13 jonnyboy * possible fix to DB.php, fixed pages.php and fileist.php, changes predb matching to loop through the releases, its a little slower, but less intense for large datasets 2014-01-12 jonnyboy * added missing $nntp, added missing echooutput, fixed delete_releases.php 2014-01-12 bart39 * fixed typo, fixed missing parameter in renametopre 2014-01-12 jonnyboy * added remaining folders fixed relocateOldDirectoryContents.php, fixed typo in /nzb-import.php, updated reqestid_threaded.py to add/update predb fixed typo in threaded.sh, fixed typo in update_groups.php fixed typo, increased number of groups matched for anime updated fixReleaseNames.php to improve speed and output, default is not to show counter, to display the name changes add last argument 'show' fixReleaseNames.php is faster with less load than fixreleasesnames_threaded.py, except for nfo, fixReleaseNames.php nfo now loops through each release opening each nfo as it goes, instead of opening every nfo before it starts, all (re)naming uses predb match first, then regexes fixed bug in nzb-import.php not using filenames, added some comments to threaded.sh updated many other scripts, merged niel's pr 2014-01-10 -> ajoergensen-> added "PDO::MYSQL_ATTR_LOCAL_INFILE => true" to MySQL connection options. Needed for dump_predb.php remote. You also need to configure the MySQL server to all loading loading files (see http://goo.gl/L4cUij - Basically you need local-infile=1 in my.cnf for both [mysql] and [mysqld] and make sure mysqld is not started with --local-infile=0) 2014-01-09 niel * Brought everything up to FIG PSR0 standard. This allows scripts to automatically load classes so that include/require(_once) should not be needed in files. 2014-01-09 Roelski * Fixes for populate_anidb. Accept null dates as api doesnt always give them (or correct ones). Add no anime to process in lib anidb 2014-01-09 bart39 * fixed typo with requestid lookup in releases stage 5b fixed typo's in namefixer 2014-01-08 jonnyboy * commented out auto disable backfill until I can find the cause, increased matches to headers, added regex to add yEnc headers that do not have it, but match the pattern 2014-01-07 jonnyboy * updated the predb regex added regex to match predb style to predb names before using regexes to clean the name - renametopre.php improved performance and output - reset_postprocessing.php, added color to patchDB.php added update_predb_md5.php to reset predb md5's after title change 2014-01-06 bart39 * fixed issue with categorizing by group while adding releases 2014-01-06 jonnyboy * fixed missings references in themes, fixed typo in site-edit, added patch to remove null from categoryid fixed bug in pp additional where 'sh: Permission denied' when mediainfo path not set added fix_autoinc.php to fix "unable to find the AUTOINC column id" fixed dump_predb.php to use local groupid, dump not updated for this yet 2014-01-05 jonnyboy * fixed bug in namecleaning.php fixed renametopre.php to also use internal regexes, fixed porn categorization changed groups->reset to not disable group, removed porn from movie lookup, added reset searhname = name when searchname is single digit or letter, updated Release_scripts/* to use color and added usage where there was none 2014-01-04 jonnyboy * requestid.php, added optional final argument to reprocess releases posted newer than x min, changed output to not count releases whose name did not change 2014-01-04 bart39 * More regex additions/fixes 2014-01-03 Roelski * Fixed check in populate_anidb.php if anidb already had id. Changed some text. 2014-01-03 jonnyboy * fixed group add and bulk group add, changed output of pp addtional when fail to show which piece(attemp) it failed on 2014-01-02 Roelski * Changed double screen in threaded screen script. Added threaded backfill to script. 2014-01-01 jonnyboy * fix for sendtosab ssl/Hoochster * improved local lookup for tv/movies 2013-12-31 jonnyboy * VERY IMPORTANT PATCH - IF YOU RAN misc/testing/DB_scripts/rename_to_lower.php, THEN YOU MUST STOP ALL SCRIPTS AND RUN AGAIN, NOW PLEASE MESSAGE ME IN IRC IF YOU RAN THIS SCRIPT changed posted/added date to date time in nzb view, fixed output of updateMovieInfo.php to display correct count updated resetRelnameStatus.php to allow resetting of rename bits only 2013-12-30 jonnyboy * added scrollbar and fixed count on movies->cover view in light theme, moved style to css added more info Rotten Tomotoes, Theater link in light theme fixed newposterwall to center the row of images and use the whole row fixed typo in util.php not showing country flag, changed buttons in light/search, changed newposterwall, to show only releases with covers fixed query in getMovieRange() to only return movies with covers since it is for cover view, removed bad formed query renamed jonnyboy theme to light fixed commit.sh to update monitor.php commit version fixed bug in theme/admin pages using incorrect path for scripts removed SQL_CALC_FOUND_ROWS from query for predb row count 2013-12-29 jonnyboy * added option to enable/disable movie backgrounds in theme updated site-edit comments for os/mysql changes necessary for TPG 2013-12-29 niel * fixing sql patch version in tmux start.php 2013-12-29 jonnyboy * added rename_to_lower.php to rename all table columns to lowercase, removed useless patch fixed incorrect usage of counter, fixed incorrect usage of var added patch to rename all tables/columns to lower case 2013-12-28 jonnyboy * added rottentomatoes image quality selection to site-edit, changes the image quality when select theater fixed rottentomatoes lookup, changed image to high resolution fixed release-edit for imdbid and anidbid added farnart.tv lookup for movie covers and backgrounds, you need an api key from fanart.tv to use it 2013-12-27 jonnyboy * added background image to movie cover view, still need to get the alpha value and hover settings correct fixed new user add during install, added first/last name to user-edit added find_new_groups.php added 2 column display in jonnyboy->movies, needs some tweaks to pager and multi select 2013-12-26 jonnyboy * added tooltip release info to wall added patch to add menuitem for newposterwall added imdb to newposterwall added css for newposterwall for current themes fixed add user and register, including optional real first/last names fixed IMDB lookup, changed sleep timers for tmdb/imdb update scripts, added updateTvRage.php reverted change to use relative url, added missing files to theme 2013-12-24 jonnyboy * reverted function signup to before adding user real name, temp fix, until its added to the register page reverted all changes to themes other than jonnyboy, cleaned up jonnyboy theme 2013-12-23 bart39 * More regex additions/fixes for movie/audio/books/tv fixed adding/updating tvrage data 2013-12-23 jonnyboy * reset exec bit for bash scripts changed query for movie image view updated jonnyboy theme, updated postprocess_threaded.py to also use parent categoryid most commit changes are due to Netbeans making permission changes 2013-12-22 bart39 * More regex additions/fixes for movie/audio/books/tv 2013-12-22 jonnyboy * added utf8 to tmux.conf removed anime and tvrage prepopulate data from schemas added local lookup for books, music and console(may be buggy), added easier to read output for books, music and console changed sleep timer for amazon, so that each amazon lookup only takes 1 sec, does not sleep if local or lookup exceeded 1 sec fixed monitor running on/off 2013-12-21 bart39 * More regex additions/fixes for movie/audio 2013-12-21 jonnyboy * updated movie.php to get movie backdrops changed site to use relative urls for all menu items, instead of a mix of relative and full urls added option to run postprocess_threaded.py on categroyid, changed monitor to use ColorCLI, changing brackets, changed output of pp amazon scripts 2013-12-21 egandt * Fixes to Anime display and reading for new table structure 2013-12-20 ThePeePs * Added First/Last names for users Fixed email function in util.php Fixed formating for password reset and invite emails. Invite emails will show inviting user's "real name" if set instead of username. Fixed "reset password" link in alpha theme. 2013-12-20 bart39 * More regex additions/fixes mainly warez groups 2013-12-19 jonnyboy * possible fix to postdate 2013-12-19 bart39 * Additional book regexes added to namecleaning 2013-12-18 jonnyboy * fixed bug in category.php not getting audiobooks into correct cat, added regexes for another movie group 2013-12-17 jonnyboy * added option to not display renaming in requestid.php, added abgx to predb, not much there 2013-12-17 bart39 * Additional regexes added to namecleaning 2013-12-16 niel * Adding misc/testing/DB_scripts/setUserPasswordHash.php to allow resetting of passwords to current method. Changing password hashing method to make them more secure. crypt() uses the best algorithm your system has available. YOU WILL NEED TO RESET YOUR PASSWORD. Removing now unnecessary 'siteseed' setting from site table. Updating the convert from newznab script to accommodate these changes. 2013-12-16 jonnyboy * added requestid.php for local lookup, is faster than using python script for local and is recommended added script to import/export predb dump to allow for insert and update merged unmerged pull requests for TMDB.php 2013-12-14 jonnyboy * attempt to fix is null error in stage, releases.php, added OMDb API lookup as first lookup for imdb id 2013-12-13 niel * Moved initializing of DB::$c so that it is available if initializing the pdo object fails. 2013-12-13 jonnyboy * added additional output to postprocessing additional, fixed a couple of predb bugs 2013-12-08 jonnyboy * added added lookups to requestid lookup, fixed bug in tmux not counting/processing amazon since added clean option 2013-12-08 jonnyboy * added requestid lookup to current predb, fixed zenet 2013-12-07 jonnyboy * added scripts for downloading headers to file and parse headers with current regexes removed threads for pp amazon, added clean option for anidb, book, console and music pp, fixed patches 2012-12-07 egandt * added new parameter to sites table (optional) modified through sites->edit screen to select which book categories to lookup on Amazon. 2013-12-06 jonnyboy * updated tmux for pgsql - working, fixed bug in monitor - pane not found, update_releases.php still not working with pgsql 2013-12-05 niel * Changing anidb table. Dropping id column (not needed as anidbid is numeric and unique) adding imdbid and tvdbid columns 2013-12-05 jonnyboy * change table names for tpg 2013-12-04 jonnyboy * updated and verified pgsql schema and all patches. 2013-12-03 jonnyboy * removed incomplete patch, added color to more scripts, added functions to consoletools for overwrite color, added ability to reset specific bits using resetRelnameStatus.php, added option to import x number nzbs, then exit 2013-12-02 jonnyboy * moved releases.hashed and releases.request to bitwise, changed bitwise to smallint unsigned, fixed bug in db.php, moved hdtv and bdrip to hd, if searchname contains part# but not s/e numbers, not tv, fixed bug in tpg partrepair 2013-12-02 niel * refactored db.php 2013-12-01 jonnyboy * changed 4 spaces to tab, removed excess whitespace on blank lines added notices to start.php to better explain the tmux output(iguyking) moved nzbstatus to bitwise, added color to all python scripts, added color to more php scripts, fixed bug in fixreleasenames par2 not couting total changed fixed bug in monitor.php not get correct newest releases name added sort to messages in an attempt to get shortest subject inserted as releases.name fixed bug in grabnzbs not setting bitwise 4, expanded option to add parts to partrepair for any backfill script added utf8_encode to insert for name, searchname and fromname, added a.b.audiobooks to releaseCleaner changed gzip compression level from 6 to 5, since the difference in compression in negligeable but the difference in time is noticeable ***NOTE*** I have discovered that the nzbs imported using GrabNZBs do not have the same release file size as those created by nZEDb. So duplicates will be inserted into the db. This can be verified by opening both nzbs and comparing the message-id's. You will see the same message-id's in both nzbs, but the file size will differ. The difference appears to be from USP providers, the posted nzb and size is from the originating USP and may vary in size from your USP. 2013-11-25 jonnyboy * updated miscsorter.php to echo updated changes same as other rename scripts, fixed bug in fixreleasenames filename where renamed to folder\filename changed relnamestatus to bitwise, running this batch will reset relnamestatus to 0, please run 'renametopre.php full all' after running the patch and before anything else you can now run all renaming scripts and only category 7010 will be rechecked(may contain bugs :)) fixed bug in monitor.php 2013-11-24 jonnyboy * added 2 pp panes to complete seq, amazon so can run 24/7 and fixreleasenames.py (all options) so this does not slow down the loop, at least until bitwise is done 2013-11-23 jonnyboy * added file to export user settings using pastebinit added option to log 'yEnc' dropped headers, more regexes, added not that using GrabNZBs and replacing nzbs is not necessary, may remove in the future moved misc sorter into fixreleasenames_threaded.py, not sure if it works, changed fixreleasenames_threaded.py to only process misc cat(7010) and relnamestatus (0, 1) added all fixreleasenames_threaded.py choices to tmux, removed misc sorter from its own pane reverted all changes to collectionsCleaner, had a serious misunderstanding of that functions purpose, only affected a few groups, look at the diff and see if you index those groups, a reset of those groups affected groups is necessary, sorry begin adding color to python scripts fixed bug where not all releases were being categorized 2013-11-21 jonnyboy * added regexes to a.b.teevee, changing the way releaseCleaner works 2013-11-20 jonnyboy * updated resetdb.php to delete all release files and truncate all release related tables 2013-11-19 -> Whitelighter->fixed bug in releases.php where poster was always being set to ' 2013-11-19 jonnyboy * added correct arg to screen scripts for optimise fixed bug in binaries.php where we were dropping all posts like yEnc. (1/1) instead of yEnc (1/1), pointed out by mukler 2013-11-17 jonnyboy * fixed bug in update_releases.php, fixed bug in removeCrapReleases.php fixed bug in postprocessing, only effected threaded script changed postprocess_threaded_py nfo and additional to get all of -1 and add from -2 and so on until limit is reached comment out error in install3.php, converting to new color scheme 2013-11-17 -> Whitelighter->added additional indexes to partrepair table. 2013-11-17 -> Whitelighter->improved binaries.php->updateGroup processing. Get article dates from scan function instead of calling postdate. Plus improved output to user and minor bug fixes. 2013-11-17 jonnyoby * added misc/update_scripts/nntpproxy.php, allows using nntpproxy in scripts other than tmux script, it creates its on session 'NNTPProxy' but does not attach to it. if you run script again, it will attach, not create another session, to attach to session run tmux a -t NNTPProxy updated active_groups.php to include renamed and predme matched counts, more regexes add 2013-11-16 jonnyboy * disabled misc/testing/DB_scripts/backfill_predb.php added requestid lookup to releases_threaded.py, both per group and without changed output for threaded postprocess additional [release.id] instead of [1], removed extra '!' echo in grabnzbs for replaced dupe added maximum parts to download when usign GrabNZBs added check for valid xml in check_nzbs.php added unique index on predb md5 possible fix for utf-8 encode errors in py postprocess, added half second sleep after making an nntp connection, to allow nntpproxy time to wake up 2013-11-15 jonnyboy * Added more regexes to namecleaning, added 2 functions to colorcli, fixed bugs 2013-11-14 niel * Changed dates to use international format 2013-11-14 ThePeePs * Added Script in testing/DB_scripts to convert to TPG. 2013-11-14 niel * Conversion of require(_once) constructs to use path constants. 2013-11-13 niel * Providing dynamic application base directory for shell scripts. 2013-11-11 jonnyboy * moved all nntp connection responsiblity to the calling script, this allows for the same connection to be used throughout the process, it is closed only on error or process ends 2013-11-10 jonnyboy * added clean option to movies/tv pp in tmux added getAttribute function to db, removed rows_examined until I can determine db brand added pane that could be used as a live 'slow query monitor' to tmux 2913-11-10 nuthead * rewritten sql in file releases.php to give speed boost 2013-11-08 ThePeePs * added option to choose more then one type of Crap Release rather then None/All/One (see tmux-edit page) 2013-11-06 jonnyboy * added script to grab all shows from tvrage at 1 time added option to add unreceived parts to partrepair when running safe threaded scripts, added partrepair run when running binary safe thread script updated populate_anidb.php, but since i can not open anidb.net, I can not test the script, I assume I am permabanned merged egant's pull request, it is untested, I spent an hour changing and fixing the pull request before I could merge it merged Bart39's push added option to allow grabnzbs to replace releases currently in the db 2013-11-05 jonnyboy * added script to test a release name against all regexes, show regex and match added more groups and regexes 2013-11-04 jonnyboy * updated patchDB to handle errors and ignore certain errors fixed schema.mysql and bad patches 2013-11-03 jonnyboy * added some of the changes presented by niel added option to set update releases threads when using tablepergroup hopefully a fix for postdate, error found by tuxeh added more regexes and groups to release cleaner added missing lines to schema added some indexes, added to the trigger, both to improve query performance, once I'm done going through the queries, some indexes will be removed you may need to run the patch manually if something fails, the patch may not work with pgsql. I will try to set up a vm for pgsql to test the schema and all queries. 2013-10-25 jonnyboy * changed renametopre.php to use releaseCleaner before added regexes 2013-10-24 jonnyboy * begin importing nntpproxy by greenbender 2013-10-21 jonnyboy * begin - adding option to use table per group 2013-10-19 jonnyboy * added dry run option to clean_nzbs.php begin using threaded fixreleasenames in tmux changed monitor newest release to newest release posted, not newest release added updated threaded scripts to process all of -1 before processing any -2 removed part repair threaded, it was slower than non threaded removed nzb-import-bulk.php, it does not function properly with duplicates and pdo added changes to part repair by Whitelighter 2013-10-16 jonnyboy * created new table for safe scripts improved output for check_usenet_groups.php changed guid creation to improve speed changed import scripts dupe detection, was copying nzbs even if release not added fixed a couple of bugs in releases 2013-10-15 jonnyboy * updated python script for category in pp additional 2013-10-14 jonnyboy * added update to nzbstatus fixed a few bugs 2013-10-13 jonnyboy * allow requestid to work with relnamestatus 0 and 1 added new db connection to nzb-reog fixed a few bugs in pgsql schema, added some regexes to renametopre.php 2013-10-11 jonnyboy * fixed a few bugs(kaibosh) 2013-10-06 jonnyboy * reverted my previous patch removed check for dupe before release creation 2103-10-05 jonnyboy * added my rename script, would be better that these reges were part of namefixer/namecleaner 2013-10-03 ThePeePs * Added Script to update article numbers for groups when changing USP's rather than resetting all groups. 2013-10-03 jonnyboy * changed update/insert queries with last_record and first_record from dec to string stage 7b query 3 not needed to run every loop, it is slow, so added check to only run sometimes fixed bug in releases.php not catching duplicates properly hide getid3.php line 1641 errors fixed a couple bugs in python scripts 2013-09-30 jonnyboy * fixed binaries_safe_threaded.py fixed many bugs 2013-09-25 jonnyboy * added table for country codes, tvrage does not always return an abbreviation added yesterdays patch to schema, correct patch for pgsql 2013-09-24 jonnyboy * numerous changes queries, improved query speed, fixed some bugs 2013-09-21 jonnyboy * fixed a few bugs updated python scripts to use Psycopg, untested updated install texts to reflect changes for Psycopg updated binaries safe to start new groups 2013-09-19 jonnyboy * fixed stage 4 thx kevin123 2013-09-18 jonnyboy * bugfixes 2013-09-17 jonnyboy * moved triggers out of schema and into separate file, fixed step2.php made color pane optional fixed bug in fixreleasenames par2 2013-09-16 jonnyboy * added pron to monitor changed python script to escape strings bug fixes fixed update releases showing insert release greater than actual inserted 2013-09-15 jonnyboy * fixed a few bugs added changes by bblanchon added categorize to requestid, fixed a few bugs, added set relnamestatus = 6 when releaseCleaner cleans name 2013-09-14 jonnyboy * added "S1 D1" names to regex for TV renaming added par2 filecheck to fixreleasenames, fixed bug in parsePAR2 added option to set maximum per run in threaded fixreleasenames removed typo from FAQ 2013-09-12 jonnyboy * added update tv/movies and tmux_colors to tmux added script to show colors available to tmux, this should help you remove bad colors 2013-09-11 jonnyboy * changed query for pp to speed up query on large databases 2013-09-10 jonnyboy * added option to postprocess movie/tv only renamed releases added Safe Binary Threaded update, this maximizes thread usage for all groups, instead of running 1 thread to grab all from 1 group, this should be considered testing only, for now added check for $nntp in parsePAR2 2013-09-09 jonnyboy * updated backfill_groups.php and active_groups.php rewrote the trigger to add another check 2013-09-08 jonnyboy * fixed bad patch 119, added triggers for and added index changed pp additonal first query to passwordstatus BETWEEN -2 and -1, seems that -1 and -1 or = -1 takes a very long time fixed bug in grabnzbs where failed to get article deleted collection from collections, added more output to grabnzbs, added unique index to nzbs fixed python script echo properlly when run from php script, other minor tweaks 2103-09-07 jonnyboy * fixed bug where update_binaries not using compression after first grab fixed bug where update_binaries not getting correct set of headers, when postdate fails initial attempt, may need to reset_truncate.php to be safe fixed bug where update_binaries not running correctly on new groups(i hope) fixed bug where parsePAR2 was not using alternate nntp, other minor fixes 2013-09-02 jonnyboy * various, numberous little bug fixes 2013-08-31 jonnyboy * added threaded versions for fixreleasesnames and update_releases, these should be considered alpha and could create invalid releases cleaned up a few bugs 2013-08-29 jonnyboy * changed queries for pg update for changes to decrypt_hashes.php typo in monitor.php removed unneeded column from nzbs table 2013-08-29 kevin * August 23 to 29: Convert to php database objects. Almost full support for postgresql (still needs work). Now there is a seperate schema / patches for both database types, make sure to read the readme in db if you are submiting patches. The install has been modified to support postgresql, but it has been locked for now while I keep working on it. Start working on comment sharing throughout sites (ThePeePs will work on the rest with our help). Fixes to par2 and toggle option to turn on and off adding the files to the filelist. Changes to the install page (more checks and clearer text). Changes to namefixer to not rerun the same release, also changes to relnamestatus, consolidating relstatus and adding more types. Changes to backfill's postdate to fallback on the last known date or try a different article to get a date. Other random stuff. Various bug fixes. 2013-08-28 jonnyboy * patch rename column 2013-08-27 jonnyboy * reverted nntplib.py to one that works with both 2.* and 3.* changed nzbs.group to nzbs.groupname fixed clean_nzbs.php to remove nzbs and releases 2013-08-25 jonnyboy * added regex to releaseCleaner that gets most predb style names changed remove creap releases password to all negative search items and not remove releases that are applications/misc added code to renumber content if new content ordinal is 1 2013-08-22 jonnyboy * removed "added and r.nzbstatus = 0 to all stage 4.5 queries, since it is for deleting before the nzbs are created" and moved stage 4.5 out of the loop updated stage4567 to run max 3 loops, would run indefinately before updated missing items from alhpa theme site-edit/tmux-edit added and r.nzbstatus = 0 to all stage 4.5 queries, since it is for deleting before the nzbs are created added option to site-edit to allow user control of of delay time updated predb matched to get from releases table 2013-08-21 kevin * Predb changes, not the release holds the preid, the nzb details page has pre info and the browse/search pages have pre info. 2013-08-21 jonnyboy * added color to h4 tag possible fix for db lose connection in tmux when db is not local added option for alternate sequential run in tmux 2013-08-21 kevin * Add memcache support. Add the following under define('NNTP_SSLENABLED_A', false); in your config.php. Set to true to enable. (for ubuntu -> sudo apt-get install memcached php5-memcache) // Whether to use memcached or not. define('MEMCACHE_ENABLED', false); define('MEMCACHE_HOST', '127.0.0.1'); define('MEMCACHE_PORT', '11211'); // Amount of time to keep a query in ram in seconds. define('MEMCACHE_EXPIRY', '900'); // To compress the queries using zlib or not (more cpu usage and less ram usage if set to true, inverse for false); define('MEMCACHE_COMPRESSION', true); Also edit /etc/php5/apache2/php.ini, add extension=memcache.so to the dynamic extensions section and restart apache2. 2013-08-20 kevin * 08 17 to 08 20 : More clean up, convert the simple theme, more regex for matching etc.., fix queries for poster/subject searching, change movie.php to catch movies better. 2013-08-16 kevin * Fix more issues in postprocess.php More checks on hidden nfos to see if it's an NFO or not. 2013-08-15 kevin * 08 13 to 08 15 : Clean up files in www/lib, add fetching names from PAR2 files. 2013-08-15 ThePeePs * Site stats for alpha theme. 2013-08-15 Josh * Update themes. 2013-08-12 bodrick * Fixed bug with namefixer, if print changes only, status was still being set to updated. 2013-08-12 kevin * Categorize S01E01E02 / S01E01A properly, clean up more files. 2013-08-11 kevin * Clean up/fix bugs in a bunch of files in www/lib 2013-08-10 kevin * Clean up postprocess.php 2013-08-09 kevin * More regex in namecleaning. 2013-08-08 kevin * Fix a bug in releases.php where releases under minimum file/size setting were not deleted. Add more regex for matching/name cleaning. 2013-08-07 kevin * 7zip to decompress nfos froms zips during post process (/usr/bin/7za on ubuntu, 7z command line windows(untested on windows)). Fix many bugs in post proc. 2013-08-06 sinfulj * Add a new theme (currently in alpha testing). 2013-08-05 kevin * Clean up postprocess.php, make sure there are no duplicate names for releaseID's in the releasefiles table, more regex in namecleaning. 2013-08-05 wtf911 * Attempt to fix duplicate tvrage entries when running threaded. 2013-08-04 sinfulj * Fix up some theme issues. 2013-08-04 kevin * Add more regex, fix up a few issues, reset collection hash again with these changes. 2013-08-03 kevin * Update namecleaning, requires a reset of the collection hash. 2013-08-02 kevin * When many releases are added at the same time the hash for the guid can be the same, so add mt_rand while hashing. Clean up postprocess.php a bit. 2013-08-01 ThePeePs * Add logging of failed site login attempts. 2013-08-01 kevin * Add more regex to namecleaning. 2013-07-30 kevin * Clean up binaries.php and backfill.php and attempting to fix the connection errors. Modify files that use namecleaning to send the groupID. Modify namecleaning collectionsCleaner to be notified if there are files or not. Drop the name column on the collections table since it is useless now. 2013-07-20 jonnyboy * added release name to output of decrypt_hashes.php added release count per group to active_groups.php fixed bug in predb with zenet added 5 indexes to releases to improve postprocess queries improved query time in monitor 2013-07-19 jonnyboy * fixed bug in postprocess(windows) fixed bug in safe backfill, was adding parts to partrepair, you many need to run: truncate table partrepair; fixed bug in predb, you will need to run this query: update predb set title = replace (title, ' - omgwtfnzbs.org', ''); 2013-07-18 jonnyboy * added alternate nntp to install fixed bug in orlydb fixed bug in threaded postprocess attempt to fix sab view queue 2013-07-16 jonnyboy * changed output for nzb errors during nfo processing fixed bug in threaded import using tmux fixed pass by reference error added group check in binaries scan typo in postprocess.php fixed bug in grabnzbs fixed bug in nfo nntp connection added option to import gzipped nzbs, not working in www/admin/nzb-import.php changed import copy file to save stream, increased import speed fixed typo in namecleaning.php 2013-07-15 jonnyboy * replaced external decrypt hashes script with internal one added preg_replace to grabnzbs and nzb-import to remove part number from end of subject 2013-07-15 kevin * update namecleaning, Added some regex to name cleaning. Make sure that yEnc is before part count in binaries.php (some High Compressed virus posts were getting through). 2013-07-14 jonnyboy * reverted last changed default user view to list view updated rarinfo libs added additional monitor paths in tmux - request added limit to requestID per run added powerline segment for NNTP connections - ThePeePs added lines to monitor to show NNTP connections - Mike1 2013-07-13 jonnyboy * gave GrabNZBs its own thread count fixed type errors typos cleanup backfill.php 2013-07-13 -> Junkman690-> readd RSS namespace to make the rss feeds work again. Make it point to nZEDb install for info 2013-07-12 jonnyboy * added NNTP error checking in postprocess and nfo nzb-import and grabNZBs now use site edit Crosspost time fixed a bug when switch nntp provider and groups not available or invalid first_post 2013-07-11 jonnyboy * tmux -added option to use removecrapreleases all or just 1 setting fixed bug in postprocess_threaded.py 2013-07-11 jonnyboy * added 3 loop limit to releases stage4567 updated nntplib.py, fixed a bug when switch nntp provider and groups not available fixed bug in tmux-seq when not running any backfill fixed bug in postback, when reconnecting to nntp, need to set group name first 2013-07-11 kevin * added the new regexes to namecleaning releaseCleaner, removed the "universal" one from the groups. changed the group regexes in releaseCleaner to make sure they don't match on other groups. make sure exe doesn't get into tv. Added alt.binaries.multimedia.anime to releaseCleaner. Changed collectionsCleaner so in the future it can do groups. 2013-07-11 jonnyboy * added 'trim' to releases name in nzb-import and grabNZBs fixed bug in postprocess.php beginning the move of pre/requestID matching to release creation, instead of separate process later 2013-07-10 jonnyboy * fixed bug in backfill causing some issue with nntp stall moved python lib files 2013-07-09 jonnyboy * added limit clause when running populate gids from tmux added query to grabnzbs that appear incomplete but are older than 2 hours fixed bug in grabznbs creating gid at same time as update_releases changed poster to fromname delete_releases.php added nzbstatus check for gid creation added db connect string to start of loop in monitor.php, should help the with disabled by running issues updated start.php to latest patch 2013-07-07 jonnyboy * added update_relases run when have exceeded limits in seq updated all python scripts, put closing stuffin in main(), removed thread deamon's was causing shutdown issues with 2.* added gid to grabzbs and import threaded scripts, still need to add to non threaded updated monitor predb to match the other totals, fixed typo in populate_nzb_guid.php tmux - removed unneeded/unused timers 2013-07-07 Miatrix * Added populate_nzb_guid.php in the misc/testing/DB_scripts folder to update existing releases with the guid 2013-07-07 Miatrix * updated the creation of releases to populate the nzg_guid column with a md5 hash based on the 1st post. This will allow possible spotnab integration at a later date. 2013-07-07 jonnyboy * updated monitor pane for requestID integrated threaded requestID into releases.php, no need to run separate python script fixed testing/nzb-import.php not deleting the nzbs fixed skipping releases when importing by filename added more rss feeds for predb.me 2013-07-06 jonnyboy * fixed patch Added threaded requestID for initial pull 2013-07-06 Miatrix * Added Request ID Lookup. This looks up requests from the URL we provide to fix naming where possible. This is very usefull for pron, but helps sometimes on tv/movies/console releases. 2013-07-06 jonnyboy * removed remove stale folders from threaded pp additional, wrong place 2013-07-05 jonnyboy * fixed bug in tmux-edit and monitor fixed bug in postprocess a little cleanup, removed optimize/patch from tmux-edit added formatting to numbers in safe backfill tmux - split pp addtional and pp nfo added partrepair threaded added remove stale folders from threaded pp additional 2013-07-05 jonnyboy * really fixed it, updated tmux-edit with an example of the formula used fixed issue with safe backfill threaded, not using the correct number of threads fixed issue with postprocess threaded nfo 2013-07-05 Miatrix * Added 2 options to control the video sample to the site edit screen. One is segments to download. If you find your samples arn't long enough you can increase this though it will mean that you download more from your usenet provider. The other option is the max length (in seconds) for the preview. Added 1 option to control the sample image. When in seconds to try to grab the image. Fixed an issue where the same files were listed multiple times in the releasefiles table. This was due to the code processing the 1st and last rar file of the archive. 2013-07-05 jonnyboy * updated schema for missing patches 2013-07-04 kevin * Update the FAQ. 2013-07-04 devmem * Reverted changes in categorisation and added HD movie check to a.b.movee Altered ordering of if() in namefixer to improve efficiency 2013-07-04 jonnyboy * removed nntp lib from pp python script removed optimize and patchdb from tmux scripts cymysql has been updated to use sockets, python scripts also, you will need to: please run everything, not just the next line run sudo pip install --upgrade cymysql -or- run sudo easy_install --upgrade cymysql run sudo pip-3.2 install --upgrade cymysql run sudo pip-3.3 install --upgrade cymysql to use sockets, add (be sure the path is correct) define('DB_SOCKET', '/var/run/mysqld/mysqld.sock'); to you www/config.php or, not use sockets, add define('DB_SOCKET', ''); to you www/config.php 2013-07-03 jonnyboy * fixed imported nzbs not pp fixed usefilename to use filename instead of clean name fixed bug in omport threadd when path has no subfolders fixed bug in import true added patch to update for new setting added option to use filenames with nzb-import - tmux added option to use alternate nntp provider for grabnzbs updated python nnpt lib added new connection, if error removed if connected when definately not connected 2013-07-02 jonnyboy * added small delay around python connection removed nntp connect where not needed, removed delay between doQuit and doConnect added a small delay between doQuit and doConnect, in a attempt to allow the connection to terminate before trying a new connection. 2013-07-01 jonnyboy * added variable timeout to nntp.php 2013-06-30 jonnyboy * changed nzb retention for GrabNZBs to partretentionhours added script to show sleeptime using Consoletools added dateadded column to nzbs table, added code to delete incomplete nzbs older than 4 hours added nzbs to monitor, total(distinct), pending started adding code to install scripts for socket and alternate nntp 2013-06-29 ugo * added language flags to movie page updateded test_misc_sorter.php 2013-06-29 jonnyboy * added script to create a ramdisk and move mysql tables to it modified file to delete releases based on poster, searchname, name or guid, using = or like added simple script to run all threaded scripts sequentially removed hard coded db name from clean_nzb, added safety argv made tmux colors array user defineable changed query for music to process added output to start of threaded scripts separated decrypt hashes and predb fixed grabnzbs not setting haspreview = -1 fixed backfill safe loop over completed groups changed progessive sleep time to use min sleep timer if timer would be less than that renamed patch added blank line to robot.txt replaced && with ; because python scripts exit and sleeps were not working changed echo output in postprocess doecho and/or debug changed patch numbers added cats to predb removed hard coded db name from patch 2013-06-28 ugo * added code to check by the user for broken releases added robot.txt files to deny all indexers by default some minor changes to other parts 2013-06-28 jonnyboy * backfill safe will loop to next group, if available posts is less than 10000 2013-06-28 devmem * Fixed removeCrapReleases to also process when argv[1] is false 2013-06-28 devmem * Added extra column 'relstatus' to table 'releases' to enable bitwise ops on releases Edited lib/framework/db.php to start adding constants for relstatus Updated namefixer to only process releases not processed before Corrected jonnyboys dates (he was 1 month ahead - it's still June) 2013-06-28 jonnyboy * backfill safe will loop to next group, if available posts is less than 10000 oops, removed sys.exit from safe backfill added back changes to site-edit rewrote all python scripts added back changes to releases.php added output back to postprocess reverted some changes looking for nntp hang bug 2013-06-27 jonnyboy * may have fixed some connection issues added legend to output in postprocess removed second rm -rf, bad placement changed fixreleasenames to use inner join insteaqd of left join changed tmpunrar folder creation to chmod 0777 from 0764, just in case moved delete stale tmpunrar from threaded script to monitor