update.txt 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. If you are updating from a previous version make sure every update info from
  2. the version your are updating from is done.
  3. ## version 2.8.2 - Dragon Chapel
  4. + Add query debug setting to config file.
  5. See config.default.php for QUERY_DEBUG constant. Add it to your local config.php
  6. + Add log file path constant to config file.
  7. See config.default.php for LOGFILE constant. Add it to your local config.php
  8. + Update your tables with the following SQL statements. Replace #REPLACE_ME# with your current table prefix.
  9. ALTER TABLE `#REPLACE_ME#_link` ADD INDEX (`created`);
  10. ALTER TABLE `#REPLACE_ME#_link` ADD INDEX (`status`);
  11. ALTER TABLE `#REPLACE_ME#_categoryrelation` ADD INDEX (`categoryid`);
  12. ALTER TABLE `#REPLACE_ME#_tagrelation` ADD UNIQUE `tagid` (`linkid`, `tagid`);
  13. ALTER TABLE `#REPLACE_ME#_tagrelation` ADD INDEX (`linkid`);
  14. ALTER TABLE `#REPLACE_ME#_category` ADD INDEX (`name`);
  15. ALTER TABLE `#REPLACE_ME#_category` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
  16. ALTER TABLE `#REPLACE_ME#_categoryrelation` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
  17. ALTER TABLE `#REPLACE_ME#_link` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
  18. ALTER TABLE `#REPLACE_ME#_tag` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
  19. ALTER TABLE `#REPLACE_ME#_tagrelation` DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
  20. ALTER TABLE `#REPLACE_ME#_tag` CHANGE `name` `name` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  21. ALTER TABLE `#REPLACE_ME#_link` CHANGE `link` `link` MEDIUMTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  22. ALTER TABLE `#REPLACE_ME#_link` CHANGE `description` `description` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  23. ALTER TABLE `#REPLACE_ME#_link` CHANGE `title` `title` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  24. ALTER TABLE `#REPLACE_ME#_link` CHANGE `image` `image` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  25. ALTER TABLE `#REPLACE_ME#_link` CHANGE `hash` `hash` CHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  26. ALTER TABLE `#REPLACE_ME#_link` CHANGE `search` `search` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  27. ALTER TABLE `#REPLACE_ME#_category` CHANGE `name` `name` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci NOT NULL;
  28. + Folder lib/MysqlDump and its contents can be removed.
  29. ## version 2.8.1 - Deathwind
  30. + Added debug setting into config. See config.default.php for DEBUG constant.
  31. Add it to your local config.php
  32. + Removed WKHTMLTOPDF_USE and WKHTMLTOPDF_COMMAND from config file.
  33. and replaced with COMPLETE_PAGE_SCREENSHOT and COMPLETE_PAGE_SCREENSHOT_COMMAND
  34. ## version 2.8 - Wastelands
  35. + Nothing.
  36. ## version 2.7 - Sacred Grove
  37. + New syntax in config file. Switched from define() to const syntax.
  38. Use config.default.php as a template to update your config.
  39. ## version 2.6 - Hypostyle
  40. + Update config file with the new language setting. See config.default and
  41. translation.txt for more information
  42. + Run update search index to use the URL within the search index for your existing data.
  43. ## version 2.5 - Winnowing Hall
  44. + Update config file with the two new constants. See config.default and
  45. snapshots-of-linked-webpage.txt for more information
  46. define('WKHTMLTOPDF_USE',false);
  47. define('WKHTMLTOPDF_COMMAND','/absolute/path/to/wkhtmltoimage');
  48. ## version 2.4 - Seven Portals (2020-02-16)
  49. + Run (after authentication) at /index.php?p=stats the "Search index update"
  50. to make the search work again correctly. At success, there is no confirmation.
  51. To validate you can now search for single words case-insensitive.
  52. + Update config file with two new settings. See config.default for more info
  53. define('EMAIL_JOB_PROTECT', false);
  54. define('EMAIL_JOB_PROTECT_SECRET', 'SOME_SECRET_STRING');
  55. + All files in webroot/asset/js/ EXCEPT the new editlink.js can be removed